Created
February 20, 2024 15:05
-
-
Save makohoek/c13a71ea7513403c42d64b4ac983fc3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ ~/work/baylibre/ci/concourse/repo-resource/ droze/optimize-check* make test | |
docker build . \ | |
--tag "repo-resource:latest" | |
[+] Building 1.7s (17/17) FINISHED docker:default | |
=> [internal] load build definition from Dockerfile 0.0s | |
=> => transferring dockerfile: 724B 0.0s | |
=> [internal] load metadata for docker.io/library/python:3-slim 1.4s | |
=> [auth] library/python:pull token for registry-1.docker.io 0.0s | |
=> [internal] load .dockerignore 0.0s | |
=> => transferring context: 2B 0.0s | |
=> [ 1/11] FROM docker.io/library/python:3-slim@sha256:5c73034c2bc151596ee0f1335610735162ee2b148816710706afec4757ad5b1e 0.0s | |
=> [internal] load build context 0.0s | |
=> => transferring context: 313B 0.0s | |
=> CACHED [ 2/11] RUN apt update && apt install -y git procps && apt upgrade -y && apt autoremove && rm -rf /var/lib/apt/lists/* 0.0s | |
=> CACHED [ 3/11] RUN git config --global user.email repo-resource@concourse-ci.org && git config --global user.name repo-resource && git config --global color.ui never 0.0s | |
=> CACHED [ 4/11] COPY ssh_config /root/.ssh/config 0.0s | |
=> CACHED [ 5/11] COPY repo_resource/requirements.txt /opt/resource/requirements.txt 0.0s | |
=> CACHED [ 6/11] RUN pip install -r opt/resource/requirements.txt 0.0s | |
=> CACHED [ 7/11] COPY repo_resource/check.py /opt/resource/check 0.0s | |
=> CACHED [ 8/11] COPY repo_resource/in_.py /opt/resource/in 0.0s | |
=> CACHED [ 9/11] COPY repo_resource/out.py /opt/resource/out 0.0s | |
=> CACHED [10/11] COPY repo_resource/common.py /opt/resource/repo_resource/common.py 0.0s | |
=> CACHED [11/11] RUN chmod +x /opt/resource/* 0.0s | |
=> exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:c9e0e4abf5f8f8fb7d680b8ba3adab067e0099bdcac696b740a4d9c498bc3c99 0.0s | |
=> => naming to docker.io/library/repo-resource:latest 0.0s | |
docker build . -f Dockerfile.development \ | |
--tag "testing-repo-resource:latest" | |
[+] Building 0.3s (9/9) FINISHED docker:default | |
=> [internal] load build definition from Dockerfile.development 0.0s | |
=> => transferring dockerfile: 221B 0.0s | |
=> [internal] load metadata for docker.io/library/repo-resource:latest 0.0s | |
=> [internal] load .dockerignore 0.0s | |
=> => transferring context: 2B 0.0s | |
=> [1/4] FROM docker.io/library/repo-resource:latest 0.0s | |
=> [internal] load build context 0.0s | |
=> => transferring context: 23.87kB 0.0s | |
=> CACHED [2/4] COPY repo_resource /root/repo_resource 0.0s | |
=> CACHED [3/4] COPY development/ssh/ /root/development/ssh/ 0.0s | |
=> CACHED [4/4] WORKDIR /root/ 0.0s | |
=> exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:5fbe3a733ff9eb67cb602a54fe7b34c0a6ede0464bd016899c0c73c1b4abaeed 0.0s | |
=> => naming to docker.io/library/testing-repo-resource:latest 0.0s | |
docker run testing-repo-resource | |
Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
aosp/device/generic/common: 033d50e2298811d81de7db8cdea63e349a96c9ba | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
aosp/device/generic/common: 033d50e2298811d81de7db8cdea63e349a96c9ba | |
..Downloading manifest from this-is-not-an-url | |
.Version is not valid xml | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
Fetching revision for aosp/device/google/atv... | |
aosp/device/google/atv: c1b86abb045d58feb5b13c8bf38f885c6b117dd2 | |
Fetching revision for aosp/device/google/cuttlefish... | |
aosp/device/generic/common: 5353689521d8281e038a3a1dbc8bf10e0a86b3bb | |
Fetching revision for aosp/device/google/trout... | |
aosp/device/google/trout: ae14885f74c78ad1ed6c3bed53eb4321037747de | |
Fetching revision for aosp/device/ti/beagle-x15... | |
aosp/device/google/cuttlefish: 24bd2013fa287e659d978b4fb9bd1d3c67e73324 | |
aosp/device/ti/beagle-x15: f0fb65a243dd966f018719d2627ad23e029ffd75 | |
Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
Fetching revision for aosp/device/google/atv... | |
aosp/device/google/atv: c1b86abb045d58feb5b13c8bf38f885c6b117dd2 | |
Fetching revision for aosp/device/google/cuttlefish... | |
aosp/device/generic/common: 5353689521d8281e038a3a1dbc8bf10e0a86b3bb | |
Fetching revision for aosp/device/google/trout... | |
aosp/device/google/trout: ae14885f74c78ad1ed6c3bed53eb4321037747de | |
Fetching revision for aosp/device/ti/beagle-x15... | |
aosp/device/ti/beagle-x15: f0fb65a243dd966f018719d2627ad23e029ffd75 | |
aosp/device/google/cuttlefish: 24bd2013fa287e659d978b4fb9bd1d3c67e73324 | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
aosp/device/generic/common: 033d50e2298811d81de7db8cdea63e349a96c9ba | |
.Downloading manifest from https://android.googlesource.com/tools/manifest | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/tools/fetch_artifact... | |
Fetching revision for aosp/platform/prebuilts/go/linux-x86... | |
aosp/tools/fetch_artifact: 7d5d8c7e36eb15d8a5389ca19e3b0aeb1daa1326 | |
aosp/platform/prebuilts/go/linux-x86: 5ebff427a62e5647925e834f43d36308a3f82b47 | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
aosp/device/generic/common: 033d50e2298811d81de7db8cdea63e349a96c9ba | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for aosp/device/generic/common... | |
aosp/device/generic/common: 033d50e2298811d81de7db8cdea63e349a96c9ba | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for gitlab/baylibre-ci/concourse-ci/projects-jobs/rita.git... | |
Cannot fetch project https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git | |
Cmd('git') failed due to: exit code(128) | |
cmdline: git ls-remote https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git main | |
stderr: 'remote: Not Found | |
fatal: repository 'https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git/' not found' | |
Error fetching some project repo | |
EWARNING:root:private_key has no newline termination, adding it | |
Downloading manifest from git@github.com:makohoek/demo-manifests.git | |
manifests: | |
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. | |
git@github.com: Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
manifests: sleeping 4.0 seconds before retrying | |
manifests: | |
git@github.com: Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
fatal: cannot obtain manifest git@github.com:makohoek/demo-manifests.git | |
.WARNING:root:private_key has no newline termination, adding it | |
Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for gitlab/baylibre-ci/concourse-ci/projects-jobs/rita.git... | |
Cannot fetch project https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git | |
Cmd('git') failed due to: exit code(128) | |
cmdline: git ls-remote https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git main | |
stderr: 'remote: Not Found | |
fatal: repository 'https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git/' not found' | |
Error fetching some project repo | |
EWARNING:root:private_key has no newline termination, adding it | |
Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for gitlab/baylibre-ci/concourse-ci/projects-jobs/rita.git... | |
Cannot fetch project https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git | |
Cmd('git') failed due to: exit code(128) | |
cmdline: git ls-remote https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git main | |
stderr: 'remote: Not Found | |
fatal: repository 'https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git/' not found' | |
Error fetching some project repo | |
.Downloading manifest from https://android.googlesource.com/platform | |
manifests: | |
fatal: repository 'https://android.googlesource.com/platform/' not found | |
manifests: sleeping 4.0 seconds before retrying | |
manifests: | |
fatal: repository 'https://android.googlesource.com/platform/' not found | |
fatal: cannot obtain manifest https://android.googlesource.com/platform | |
.Downloading manifest from https://android.googlesource.com/platform | |
manifests: | |
fatal: repository 'https://android.googlesource.com/platform/' not found | |
manifests: sleeping 4.0 seconds before retrying | |
manifests: | |
fatal: repository 'https://android.googlesource.com/platform/' not found | |
fatal: cannot obtain manifest https://android.googlesource.com/platform | |
.Downloading manifest from https://android.googlesource.com/platform/manifest-typo | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for baylibreci/concourse-ci/utils/docker-projects.git... | |
Cannot fetch project https://gitlab.com/baylibreci/concourse-ci/utils/docker-projects.git | |
Cmd('git') failed due to: exit code(128) | |
cmdline: git ls-remote https://gitlab.com/baylibreci/concourse-ci/utils/docker-projects.git master | |
stderr: 'fatal: could not read Username for 'https://gitlab.com': terminal prompts disabled' | |
Error fetching some project repo | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
device/generic/common: Downloading bundle: https://android.googlesource.com/device/generic/common/clone.bundle | |
From https://android.googlesource.com/device/generic/common | |
* [new tag] android-12.0.0_r32 -> android-12.0.0_r32 | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
repo sync has finished successfully. | |
Saved manifest to /tmp/tmp5cvi12v8/manifest_snapshot | |
Saving manifest to /tmp/repo-resource-cache/.repo_manifest.xml | |
Saved manifest to /tmp/tmp3l38b5d9/manifest_snapshot | |
.Version is not valid xml | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
device/generic/common: Downloading bundle: https://android.googlesource.com/device/generic/common/clone.bundle | |
From https://android.googlesource.com/device/generic/common | |
* [new tag] android-12.0.0_r32 -> android-12.0.0_r32 | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
repo sync has finished successfully. | |
Saved manifest to /tmp/tmp9rya6a4l/manifest_snapshot | |
Saving manifest to /tmp/repo-resource-cache/.repo_manifest.xml | |
Saved manifest to /tmp/tmp7qbja_91/manifest_snapshot | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
device/generic/common: Downloading bundle: https://android.googlesource.com/device/generic/common/clone.bundle | |
From https://android.googlesource.com/device/generic/common | |
* [new tag] android-12.0.0_r32 -> android-12.0.0_r32 | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
repo sync has finished successfully. | |
Saved manifest to /tmp/tmpxj5l661i/manifest_snapshot | |
Saving manifest to /tmp/repo-resource-cache/.repo_manifest.xml | |
Saved manifest to /tmp/tmpz858xx_d/manifest_snapshot | |
..Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
Updating project revisions in manifest | |
Fetching revision for gitlab/baylibre-ci/concourse-ci/projects-jobs/rita.git... | |
Cannot fetch project https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git | |
Cmd('git') failed due to: exit code(128) | |
cmdline: git ls-remote https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git main | |
stderr: 'remote: Not Found | |
fatal: repository 'https://github.com/makohoek/ssh://git@gitlab.com/baylibre-ci/concourse-ci/projects-jobs/rita.git/' not found' | |
Error fetching some project repo | |
EDownloading manifest from https://android.googlesource.com/tools/manifest | |
repo has been initialized in /tmp/repo-resource-cache | |
tools/fetch_artifact: Downloading bundle: https://android.googlesource.com/tools/fetch_artifact/clone.bundle | |
From https://android.googlesource.com/tools/fetch_artifact | |
* [new branch] master -> aosp/master | |
From https://android.googlesource.com/platform/prebuilts/go/linux-x86 | |
* [new branch] master -> aosp/master | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
Updating files: 100% (13348/13348), done. | |
repo sync has finished successfully. | |
Saved manifest to /tmp/tmpxvoz804d/manifest_snapshot | |
Saving manifest to /tmp/repo-resource-cache/.repo_manifest.xml | |
Saved manifest to /tmp/tmpkbbs_dsd/manifest_snapshot | |
.Downloading manifest from https://github.com/makohoek/demo-manifests.git | |
repo has been initialized in /tmp/repo-resource-cache | |
device/generic/common: Downloading bundle: https://android.googlesource.com/device/generic/common/clone.bundle | |
From https://android.googlesource.com/device/generic/common | |
* [new tag] android-12.0.0_r32 -> android-12.0.0_r32 | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
repo sync has finished successfully. | |
Saved manifest to /tmp/tmpw6m2_f52/manifest_snapshot | |
Saving manifest to /tmp/repo-resource-cache/.repo_manifest.xml | |
Saved manifest to /tmp/tmp9j1m9fo9/manifest_snapshot | |
. | |
====================================================================== | |
ERROR: test_ssh_private_key (repo_resource.test_check.TestCheck.test_ssh_private_key) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/root/repo_resource/test_check.py", line 195, in test_ssh_private_key | |
versions = check.check(instream) | |
^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/check.py", line 55, in check | |
raise e | |
File "/root/repo_resource/check.py", line 52, in check | |
repo.update_manifest(jobs=check_jobs) | |
File "/root/repo_resource/common.py", line 406, in update_manifest | |
raise e | |
File "/root/repo_resource/common.py", line 384, in update_manifest | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/common.py", line 384, in <genexpr> | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^ | |
TypeError: cannot unpack non-iterable NoneType object | |
====================================================================== | |
ERROR: test_ssh_private_key_without_newline (repo_resource.test_check.TestCheck.test_ssh_private_key_without_newline) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/root/repo_resource/test_check.py", line 214, in test_ssh_private_key_without_newline | |
versions = check.check(instream) | |
^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/check.py", line 55, in check | |
raise e | |
File "/root/repo_resource/check.py", line 52, in check | |
repo.update_manifest(jobs=check_jobs) | |
File "/root/repo_resource/common.py", line 406, in update_manifest | |
raise e | |
File "/root/repo_resource/common.py", line 384, in update_manifest | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/common.py", line 384, in <genexpr> | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^ | |
TypeError: cannot unpack non-iterable NoneType object | |
====================================================================== | |
ERROR: test_ssh_private_key (repo_resource.test_in.TestIn.test_ssh_private_key) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/root/repo_resource/test_in.py", line 123, in test_ssh_private_key | |
versions = check.check(instream) | |
^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/check.py", line 55, in check | |
raise e | |
File "/root/repo_resource/check.py", line 52, in check | |
repo.update_manifest(jobs=check_jobs) | |
File "/root/repo_resource/common.py", line 406, in update_manifest | |
raise e | |
File "/root/repo_resource/common.py", line 384, in update_manifest | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/root/repo_resource/common.py", line 384, in <genexpr> | |
revisionTable = dict((proj, rev) for proj, rev in revisionList) | |
^^^^^^^^^ | |
TypeError: cannot unpack non-iterable NoneType object | |
---------------------------------------------------------------------- | |
Ran 26 tests in 61.917s | |
FAILED (errors=3) | |
fast: 1.7846932989996276 slow: 2.0098645589969237 | |
make: *** [Makefile:17: test] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment