Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip build- prefix from docker image task labels #585

Merged
merged 2 commits into from
Oct 25, 2024

fix(docker): don't open files in `stream_context_tar`

9234c49
Select commit
Loading
Failed to load commit list.
Merged

Strip build- prefix from docker image task labels #585

fix(docker): don't open files in `stream_context_tar`
9234c49
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / docker-image-skopeo succeeded Oct 25, 2024 in 2m 50s

FirefoxCI (pull_request)

Build the docker image skopeo for use by dependent tasks (Treeherder push)

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-10-25T19:01:10.845Z
Resolved: 2024-10-25T19:02:52.889Z
Task Execution Time: 1 minute, 42 seconds, 44 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/chain-of-trust.json
- public/chain-of-trust.json.sig
- public/image.tar.zst
- public/logs/certified.log
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-10-25 19:01:10.894Z] Task ID: beOloA64RKKGhaa177QrHw
[taskcluster 2024-10-25 19:01:10.895Z] Worker ID: 2359244221916271662
[taskcluster 2024-10-25 19:01:10.895Z] Worker Group: us-west1-b
[taskcluster 2024-10-25 19:01:10.895Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-2
[taskcluster 2024-10-25 19:01:10.895Z] Worker Pool: taskgraph-1/images-gcp
[taskcluster 2024-10-25 19:01:10.895Z] Worker Version: 38.0.5
[taskcluster 2024-10-25 19:01:10.895Z] Public IP: 34.83.100.65
[taskcluster 2024-10-25 19:01:10.895Z] Hostname: taskgraph-1-images-gcp-qvjrgh3hrwem5bydg-b1hg

5a90e6335300 - Started downloading
5a90e6335300 - Downloaded in 0.229 seconds
Digest: sha256:7fe70dcedefffffa03237ba5d456d42e0d7461de066db3f7a7c280a104869cd5
Status: Downloaded newer image for mozillareleases/image_builder@sha256:7fe70dcedefffffa03237ba5d456d42e0d7461de066db3f7a7c280a104869cd5
[taskcluster 2024-10-25 19:01:15.172Z] === Task Starting ===
[build-image] Downloading context.
[build-image] Building image.
INFO[0000] Resolved base name golang:1.14 to skopeo     
INFO[0000] Resolved base name golang:1.14 to umoci      
INFO[0000] Retrieving image manifest golang:1.14        
INFO[0000] Retrieving image golang:1.14 from registry index.docker.io 

...(186 lines hidden)...

Preparing to unpack .../libssl3_3.0.14-1~deb12u2_amd64.deb ...

Unpacking libssl3:amd64 (3.0.14-1~deb12u2) ...

Selecting previously unselected package libpython3.11-minimal:amd64.

Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u3_amd64.deb ...

Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u3) ...

Selecting previously unselected package libexpat1:amd64.

Preparing to unpack .../libexpat1_2.5.0-1+deb12u1_amd64.deb ...

Unpacking libexpat1:amd64 (2.5.0-1+deb12u1) ...

Selecting previously unselected package python3.11-minimal.

Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u3_amd64.deb ...

Unpacking python3.11-minimal (3.11.2-6+deb12u3) ...

Setting up libssl3:amd64 (3.0.14-1~deb12u2) ...

Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u3) ...

Setting up libexpat1:amd64 (2.5.0-1+deb12u1) ...

Setting up python3.11-minimal (3.11.2-6+deb12u3) ...

Selecting previously unselected package python3-minimal.

(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6417 files and directories currently installed.)

Preparing to unpack .../00-python3-minimal_3.11.2-1+b1_amd64.deb ...

Unpacking python3-minimal (3.11.2-1+b1) ...

Selecting previously unselected package readline-common.

Preparing to unpack .../01-readline-common_8.2-1.3_all.deb ...

Unpacking readline-common (8.2-1.3) ...

Selecting previously unselected package openssl.

Preparing to unpack .../02-openssl_3.0.14-1~deb12u2_amd64.deb ...

Unpacking openssl (3.0.14-1~deb12u2) ...

Selecting previously unselected package ca-certificates.

Preparing to unpack .../03-ca-certificates_20230311_all.deb ...

Unpacking ca-certificates (20230311) ...

Selecting previously unselected package krb5-locales.

Preparing to unpack .../04-krb5-locales_1.20.1-2+deb12u2_all.deb ...

Unpacking krb5-locales (1.20.1-2+deb12u2) ...

Selecting previously unselected package media-types.

Preparing to unpack .../05-media-types_10.0.0_all.deb ...

Unpacking media-types (10.0.0) ...

Selecting previously unselected package libbrotli1:amd64.

Preparing to unpack .../06-libbrotli1_1.0.9-2+b6_amd64.deb ...

Unpacking libbrotli1:amd64 (1.0.9-2+b6) ...

Selecting previously unselected package libkrb5support0:amd64.

Preparing to unpack .../07-libkrb5support0_1.20.1-2+deb12u2_amd64.deb ...

Unpacking libkrb5support0:amd64 (1.20.1-2+deb12u2) ...

Selecting previously unselected package libk5crypto3:amd64.

Preparing to unpack .../08-libk5crypto3_1.20.1-2+deb12u2_amd64.deb ...

Unpacking libk5crypto3:amd64 (1.20.1-2+deb12u2) ...

Selecting previously unselected package libkeyutils1:amd64.

Preparing to unpack .../09-libkeyutils1_1.6.3-2_amd64.deb ...

Unpacking libkeyutils1:amd64 (1.6.3-2) ...

Selecting previously unselected package libkrb5-3:amd64.

Preparing to unpack .../10-libkrb5-3_1.20.1-2+deb12u2_amd64.deb ...

Unpacking libkrb5-3:amd64 (1.20.1-2+deb12u2) ...

Selecting previously unselected package libgssapi-krb5-2:amd64.

Preparing to unpack .../11-libgssapi-krb5-2_1.20.1-2+deb12u2_amd64.deb ...

Unpacking libgssapi-krb5-2:amd64 (1.20.1-2+deb12u2) ...

Selecting previously unselected package libsasl2-modules-db:amd64.

Preparing to unpack .../12-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ...

Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...

Selecting previously unselected package libsasl2-2:amd64.

Preparing to unpack .../13-libsasl2-2_2.1.28+dfsg-10_amd64.deb ...

Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ...

Selecting previously unselected package libldap-2.5-0:amd64.

Preparing to unpack .../14-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ...

Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...

Selecting previously unselected package libnghttp2-14:amd64.

Preparing to unpack .../15-libnghttp2-14_1.52.0-1+deb12u1_amd64.deb ...

Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...

Selecting previously unselected package libpsl5:amd64.

Preparing to unpack .../16-libpsl5_0.21.2-1_amd64.deb ...

Unpacking libpsl5:amd64 (0.21.2-1) ...

Selecting previously unselected package librtmp1:amd64.

Preparing to unpack .../17-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...

Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...

Selecting previously unselected package libssh2-1:amd64.

Preparing to unpack .../18-libssh2-1_1.10.0-3+b1_amd64.deb ...

Unpacking libssh2-1:amd64 (1.10.0-3+b1) ...

Selecting previously unselected package libcurl4:amd64.

Preparing to unpack .../19-libcurl4_7.88.1-10+deb12u7_amd64.deb ...

Unpacking libcurl4:amd64 (7.88.1-10+deb12u7) ...

Selecting previously unselected package curl.

Preparing to unpack .../20-curl_7.88.1-10+deb12u7_amd64.deb ...

Unpacking curl (7.88.1-10+deb12u7) ...

Selecting previously unselected package libonig5:amd64.

Preparing to unpack .../21-libonig5_6.9.8-1_amd64.deb ...

Unpacking libonig5:amd64 (6.9.8-1) ...

Selecting previously unselected package libjq1:amd64.

Preparing to unpack .../22-libjq1_1.6-2.1_amd64.deb ...

Unpacking libjq1:amd64 (1.6-2.1) ...

Selecting previously unselected package jq.

Preparing to unpack .../23-jq_1.6-2.1_amd64.deb ...

Unpacking jq (1.6-2.1) ...

Selecting previously unselected package libgpm2:amd64.

Preparing to unpack .../24-libgpm2_1.20.7-10+b1_amd64.deb ...

Unpacking libgpm2:amd64 (1.20.7-10+b1) ...

Selecting previously unselected package libldap-common.

Preparing to unpack .../25-libldap-common_2.5.13+dfsg-5_all.deb ...

Unpacking libldap-common (2.5.13+dfsg-5) ...

Selecting previously unselected package libncursesw6:amd64.

Preparing to unpack .../26-libncursesw6_6.4-4_amd64.deb ...

Unpacking libncursesw6:amd64 (6.4-4) ...

Selecting previously unselected package libtirpc-common.

Preparing to unpack .../27-libtirpc-common_1.3.3+ds-1_all.deb ...

Unpacking libtirpc-common (1.3.3+ds-1) ...

Selecting previously unselected package libtirpc3:amd64.

Preparing to unpack .../28-libtirpc3_1.3.3+ds-1_amd64.deb ...

Unpacking libtirpc3:amd64 (1.3.3+ds-1) ...

Selecting previously unselected package libnsl2:amd64.

Preparing to unpack .../29-libnsl2_1.3.0-2_amd64.deb ...

Unpacking libnsl2:amd64 (1.3.0-2) ...

Selecting previously unselected package libreadline8:amd64.

Preparing to unpack .../30-libreadline8_8.2-1.3_amd64.deb ...

Unpacking libreadline8:amd64 (8.2-1.3) ...

Selecting previously unselected package libsqlite3-0:amd64.

Preparing to unpack .../31-libsqlite3-0_3.40.1-2_amd64.deb ...

Unpacking libsqlite3-0:amd64 (3.40.1-2) ...

Selecting previously unselected package libpython3.11-stdlib:amd64.

Preparing to unpack .../32-libpython3.11-stdlib_3.11.2-6+deb12u3_amd64.deb ...

Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u3) ...

Selecting previously unselected package libsasl2-modules:amd64.

Preparing to unpack .../33-libsasl2-modules_2.1.28+dfsg-10_amd64.deb ...

Unpacking libsasl2-modules:amd64 (2.1.28+dfsg-10) ...

Selecting previously unselected package publicsuffix.

Preparing to unpack .../34-publicsuffix_20230209.2326-1_all.deb ...

Unpacking publicsuffix (20230209.2326-1) ...

Selecting previously unselected package python3.11.

Preparing to unpack .../35-python3.11_3.11.2-6+deb12u3_amd64.deb ...

Unpacking python3.11 (3.11.2-6+deb12u3) ...

Selecting previously unselected package zstd.

Preparing to unpack .../36-zstd_1.5.4+dfsg2-5_amd64.deb ...

Unpacking zstd (1.5.4+dfsg2-5) ...

Setting up media-types (10.0.0) ...

Setting up libkeyutils1:amd64 (1.6.3-2) ...

Setting up libpsl5:amd64 (0.21.2-1) ...

Setting up libgpm2:amd64 (1.20.7-10+b1) ...

Setting up libtirpc-common (1.3.3+ds-1) ...

Setting up libbrotli1:amd64 (1.0.9-2+b6) ...

Setting up libsqlite3-0:amd64 (3.40.1-2) ...

Setting up libsasl2-modules:amd64 (2.1.28+dfsg-10) ...

Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...

Setting up krb5-locales (1.20.1-2+deb12u2) ...

Setting up libldap-common (2.5.13+dfsg-5) ...

Setting up libkrb5support0:amd64 (1.20.1-2+deb12u2) ...

Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...

Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...

Setting up libncursesw6:amd64 (6.4-4) ...

Setting up libk5crypto3:amd64 (1.20.1-2+deb12u2) ...

Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ...

Setting up libssh2-1:amd64 (1.10.0-3+b1) ...

Setting up python3-minimal (3.11.2-1+b1) ...

Setting up libkrb5-3:amd64 (1.20.1-2+deb12u2) ...

Setting up openssl (3.0.14-1~deb12u2) ...

Setting up readline-common (8.2-1.3) ...

Setting up publicsuffix (20230209.2326-1) ...

Setting up zstd (1.5.4+dfsg2-5) ...

Setting up libonig5:amd64 (6.9.8-1) ...

Setting up libjq1:amd64 (1.6-2.1) ...

Setting up libreadline8:amd64 (8.2-1.3) ...

Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...

Setting up ca-certificates (20230311) ...

Updating certificates in /etc/ssl/certs...

140 added, 0 removed; done.

Setting up libgssapi-krb5-2:amd64 (1.20.1-2+deb12u2) ...

Setting up jq (1.6-2.1) ...

Setting up libcurl4:amd64 (7.88.1-10+deb12u7) ...

Setting up curl (7.88.1-10+deb12u7) ...

Setting up libtirpc3:amd64 (1.3.3+ds-1) ...

Setting up libnsl2:amd64 (1.3.0-2) ...

Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u3) ...

Setting up python3.11 (3.11.2-6+deb12u3) ...

Processing triggers for libc-bin (2.36-9+deb12u8) ...

Processing triggers for ca-certificates (20230311) ...

Updating certificates in /etc/ssl/certs...

0 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d...

done.

INFO[0085] COPY push_image.sh /usr/local/bin/           
INFO[0085] COPY policy.json /etc/containers/policy.json 
INFO[0085] RUN chmod a+x /usr/local/bin/push_image.sh   
INFO[0085] Cmd: /bin/sh                                 
INFO[0085] Args: [-c chmod a+x /usr/local/bin/push_image.sh] 
INFO[0085] Running: [/bin/sh -c chmod a+x /usr/local/bin/push_image.sh] 
INFO[0085] COPY --from=skopeo /go/src/out/skopeo /usr/local/bin/ 
INFO[0085] COPY --from=umoci /go/src/out/umoci /usr/local/bin/ 
INFO[0085] RUN mkdir /builds &&     groupadd -g 1000 -o worker &&     useradd -d /builds/worker -s /bin/bash -m worker -g 1000 -o -u 1000 &&     mkdir /builds/worker/artifacts &&     chown worker:worker /builds/worker/artifacts 
INFO[0085] Cmd: /bin/sh                                 
INFO[0085] Args: [-c mkdir /builds &&     groupadd -g 1000 -o worker &&     useradd -d /builds/worker -s /bin/bash -m worker -g 1000 -o -u 1000 &&     mkdir /builds/worker/artifacts &&     chown worker:worker /builds/worker/artifacts] 
INFO[0085] Running: [/bin/sh -c mkdir /builds &&     groupadd -g 1000 -o worker &&     useradd -d /builds/worker -s /bin/bash -m worker -g 1000 -o -u 1000 &&     mkdir /builds/worker/artifacts &&     chown worker:worker /builds/worker/artifacts] 
INFO[0085] USER worker                                  
INFO[0085] Cmd: USER                                    
INFO[0085] ENV SHELL=/bin/bash     HOME=/builds/worker     USER=worker 
INFO[0085] WORKDIR /builds/worker                       
INFO[0085] Cmd: workdir                                 
INFO[0085] Changed working directory to /builds/worker  
INFO[0085] CMD ["/bin/bash", "--login"]                 
INFO[0085] Taking snapshot of full filesystem...        
INFO[0089] Skipping push to container registry due to --no-push flag 
[build-image] Repacking image.
Getting image source signatures
Writing manifest to image destination
[build-image] Compressing image.
[taskcluster 2024-10-25 19:02:51.087Z] === Task Finished ===
[taskcluster 2024-10-25 19:02:52.234Z] Successful task run with exit code: 0 completed in 101.341 seconds