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

[release-4.16] NO-JIRA: extensions/Dockerfile: bump builder to f40 #1547

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #1545

/assign c4rt0

Fedora 38 is EOL and the repos are no longer accessible at the canonical
locations.

This should probably be part of our FCOS rebase checklist.
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 15, 2024
Copy link
Contributor

@marmijo marmijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

@jbtrystram jbtrystram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2024
Copy link
Contributor

openshift-ci bot commented Jul 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: c4rt0, jbtrystram, marmijo, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [c4rt0,jbtrystram,marmijo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jlebon
Copy link
Member

jlebon commented Jul 15, 2024

/label backport-risk-assessed
/label cherry-pick-approved

@openshift-ci openshift-ci bot added backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. labels Jul 15, 2024
@jlebon
Copy link
Member

jlebon commented Jul 15, 2024

Hmm, CI failing on:

INFO[2024-07-15T16:31:56Z] Executing test rhcos-9-build-test-metal      
{"component":"entrypoint","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:169","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.ExecuteProcess","level":"error","msg":"Process did not finish before 3h0m0s timeout","severity":"error","time":"2024-07-15T19:24:46Z"} 

So it looks like we're timing out, but I don't see any logs from the test to see how far it got.

But anyway, I did build the 4.16 extensions container locally with this PR and it built fine:

...
[2/3] STEP 1/4: FROM quay.io/fedora/fedora:40 AS builder
Trying to pull quay.io/fedora/fedora:40...
Getting image source signatures
Copying blob sha256:ddd3b575ac5ebaf0c8397e996c250807872324b4032fed0847d75cc432f9e045
Copying config sha256:6c425e157c618220d5b8379afccc61ab8904c7a17f63f4f09f3fad3e06fe5284
Writing manifest to image destination
[2/3] STEP 2/4: COPY --from=os /usr/share/rpm-ostree/extensions/ /usr/share/rpm-ostree/extensions/
--> a1bf76c0bbac
[2/3] STEP 3/4: RUN dnf install -y createrepo_c
Fedora 40 - x86_64                               14 MB/s |  20 MB     00:01
Fedora 40 openh264 (From Cisco) - x86_64        3.0 kB/s | 1.4 kB     00:00
Fedora 40 - x86_64 - Updates                     11 MB/s | 8.6 MB     00:00
Dependencies resolved.
================================================================================
 Package                 Architecture Version               Repository     Size
================================================================================
Installing:
 createrepo_c            x86_64       1.1.3-1.fc40          updates        78 k
Installing dependencies:
 createrepo_c-libs       x86_64       1.1.3-1.fc40          updates       111 k
 drpm                    x86_64       0.5.2-5.fc40          fedora         64 k

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 253 k
Installed size: 601 k
Downloading Packages:
(1/3): drpm-0.5.2-5.fc40.x86_64.rpm             1.7 MB/s |  64 kB     00:00
(2/3): createrepo_c-1.1.3-1.fc40.x86_64.rpm     425 kB/s |  78 kB     00:00
(3/3): createrepo_c-libs-1.1.3-1.fc40.x86_64.rp 509 kB/s | 111 kB     00:00
--------------------------------------------------------------------------------
Total                                           356 kB/s | 253 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : drpm-0.5.2-5.fc40.x86_64                               1/3
  Installing       : createrepo_c-libs-1.1.3-1.fc40.x86_64                  2/3
  Installing       : createrepo_c-1.1.3-1.fc40.x86_64                       3/3
  Running scriptlet: createrepo_c-1.1.3-1.fc40.x86_64                       3/3

Installed:
  createrepo_c-1.1.3-1.fc40.x86_64     createrepo_c-libs-1.1.3-1.fc40.x86_64
  drpm-0.5.2-5.fc40.x86_64

Complete!
--> acb6cf6b5afe
[2/3] STEP 4/4: RUN createrepo_c /usr/share/rpm-ostree/extensions/
Directory walk started
Directory walk done - 102 packages
Temporary output repo path: /usr/share/rpm-ostree/extensions/.repodata/
Pool started (with 5 workers)
Pool finished
--> b9cf00947d2b
[3/3] STEP 1/3: FROM registry.access.redhat.com/ubi9/ubi:latest
Trying to pull registry.access.redhat.com/ubi9/ubi:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob sha256:f50ab65647ec96ba313779f24c41e04bc6fde3e3ee79ee377ea8fd1901b896d5
Copying config sha256:e9beb314b7a29d0dfba95a266d7942fd0d3a02578b166beeb1e716f28172935c
Writing manifest to image destination
Storing signatures
[3/3] STEP 2/3: COPY --from=builder /usr/share/rpm-ostree/extensions/ /usr/share/rpm-ostree/extensions/
--> 98ed4954c1bf
[3/3] STEP 3/3: LABEL "version"="416.94.202407152004-0"
[3/3] COMMIT localhost/extensions-container
--> ab55f06c12e8
Successfully tagged localhost/extensions-container:latest
ab55f06c12e8262f2541f4d5c43db64da4a37092e339d555b10d97c350b708e2
time="2024-07-15T20:12:10Z" level=error msg="Unable to write build event: \"write unixgram @291ca->/run/systemd/journal/socket: sendmsg: no such file or directory\""
+ skopeo copy containers-storage:localhost/extensions-container oci-archive:/dev/virtio-ports/ociarchiveout
time="2024-07-15T20:12:10Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
Getting image source signatures
Copying blob sha256:f36b8ecab85c5c9826a874ef53e376c73e537fdf69e4f18011e763210554cd91
Copying blob sha256:4f6bd4eb56195e24c153f653e3ede8980ec2711cd73c32dddebaf4910e535290
Copying config sha256:ab55f06c12e8262f2541f4d5c43db64da4a37092e339d555b10d97c350b708e2
Writing manifest to image destination
Built builds/416.94.202407152004-0/x86_64/rhcos-416.94.202407152004-0-extensions-container.x86_64.ociarchive

/override ci/prow/rhcos-9-build-test-metal

Copy link
Contributor

openshift-ci bot commented Jul 15, 2024

@jlebon: Overrode contexts on behalf of jlebon: ci/prow/rhcos-9-build-test-metal

In response to this:

Hmm, CI failing on:

INFO[2024-07-15T16:31:56Z] Executing test rhcos-9-build-test-metal      
{"component":"entrypoint","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:169","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.ExecuteProcess","level":"error","msg":"Process did not finish before 3h0m0s timeout","severity":"error","time":"2024-07-15T19:24:46Z"} 

So it looks like we're timing out, but I don't see any logs from the test to see how far it got.

But anyway, I did build the 4.16 extensions container locally with this PR and it built fine:

...
[2/3] STEP 1/4: FROM quay.io/fedora/fedora:40 AS builder
Trying to pull quay.io/fedora/fedora:40...
Getting image source signatures
Copying blob sha256:ddd3b575ac5ebaf0c8397e996c250807872324b4032fed0847d75cc432f9e045
Copying config sha256:6c425e157c618220d5b8379afccc61ab8904c7a17f63f4f09f3fad3e06fe5284
Writing manifest to image destination
[2/3] STEP 2/4: COPY --from=os /usr/share/rpm-ostree/extensions/ /usr/share/rpm-ostree/extensions/
--> a1bf76c0bbac
[2/3] STEP 3/4: RUN dnf install -y createrepo_c
Fedora 40 - x86_64                               14 MB/s |  20 MB     00:01
Fedora 40 openh264 (From Cisco) - x86_64        3.0 kB/s | 1.4 kB     00:00
Fedora 40 - x86_64 - Updates                     11 MB/s | 8.6 MB     00:00
Dependencies resolved.
================================================================================
Package                 Architecture Version               Repository     Size
================================================================================
Installing:
createrepo_c            x86_64       1.1.3-1.fc40          updates        78 k
Installing dependencies:
createrepo_c-libs       x86_64       1.1.3-1.fc40          updates       111 k
drpm                    x86_64       0.5.2-5.fc40          fedora         64 k

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 253 k
Installed size: 601 k
Downloading Packages:
(1/3): drpm-0.5.2-5.fc40.x86_64.rpm             1.7 MB/s |  64 kB     00:00
(2/3): createrepo_c-1.1.3-1.fc40.x86_64.rpm     425 kB/s |  78 kB     00:00
(3/3): createrepo_c-libs-1.1.3-1.fc40.x86_64.rp 509 kB/s | 111 kB     00:00
--------------------------------------------------------------------------------
Total                                           356 kB/s | 253 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
 Preparing        :                                                        1/1
 Installing       : drpm-0.5.2-5.fc40.x86_64                               1/3
 Installing       : createrepo_c-libs-1.1.3-1.fc40.x86_64                  2/3
 Installing       : createrepo_c-1.1.3-1.fc40.x86_64                       3/3
 Running scriptlet: createrepo_c-1.1.3-1.fc40.x86_64                       3/3

Installed:
 createrepo_c-1.1.3-1.fc40.x86_64     createrepo_c-libs-1.1.3-1.fc40.x86_64
 drpm-0.5.2-5.fc40.x86_64

Complete!
--> acb6cf6b5afe
[2/3] STEP 4/4: RUN createrepo_c /usr/share/rpm-ostree/extensions/
Directory walk started
Directory walk done - 102 packages
Temporary output repo path: /usr/share/rpm-ostree/extensions/.repodata/
Pool started (with 5 workers)
Pool finished
--> b9cf00947d2b
[3/3] STEP 1/3: FROM registry.access.redhat.com/ubi9/ubi:latest
Trying to pull registry.access.redhat.com/ubi9/ubi:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob sha256:f50ab65647ec96ba313779f24c41e04bc6fde3e3ee79ee377ea8fd1901b896d5
Copying config sha256:e9beb314b7a29d0dfba95a266d7942fd0d3a02578b166beeb1e716f28172935c
Writing manifest to image destination
Storing signatures
[3/3] STEP 2/3: COPY --from=builder /usr/share/rpm-ostree/extensions/ /usr/share/rpm-ostree/extensions/
--> 98ed4954c1bf
[3/3] STEP 3/3: LABEL "version"="416.94.202407152004-0"
[3/3] COMMIT localhost/extensions-container
--> ab55f06c12e8
Successfully tagged localhost/extensions-container:latest
ab55f06c12e8262f2541f4d5c43db64da4a37092e339d555b10d97c350b708e2
time="2024-07-15T20:12:10Z" level=error msg="Unable to write build event: \"write unixgram @291ca->/run/systemd/journal/socket: sendmsg: no such file or directory\""
+ skopeo copy containers-storage:localhost/extensions-container oci-archive:/dev/virtio-ports/ociarchiveout
time="2024-07-15T20:12:10Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
Getting image source signatures
Copying blob sha256:f36b8ecab85c5c9826a874ef53e376c73e537fdf69e4f18011e763210554cd91
Copying blob sha256:4f6bd4eb56195e24c153f653e3ede8980ec2711cd73c32dddebaf4910e535290
Copying config sha256:ab55f06c12e8262f2541f4d5c43db64da4a37092e339d555b10d97c350b708e2
Writing manifest to image destination
Built builds/416.94.202407152004-0/x86_64/rhcos-416.94.202407152004-0-extensions-container.x86_64.ociarchive

/override ci/prow/rhcos-9-build-test-metal

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@marmijo
Copy link
Contributor

marmijo commented Jul 15, 2024

/retest

@sdodson sdodson added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Jul 15, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD c22f952 and 2 for PR HEAD a0b37f9 in total

@c4rt0
Copy link
Contributor

c4rt0 commented Jul 16, 2024

/retest-required

@jlebon
Copy link
Member

jlebon commented Jul 16, 2024

Opened #1551 to track the timeouts. For now, let's unbreak the pipelines.

/override ci/prow/rhcos-9-build-test-qemu

Copy link
Contributor

openshift-ci bot commented Jul 16, 2024

@jlebon: Overrode contexts on behalf of jlebon: ci/prow/rhcos-9-build-test-qemu

In response to this:

Opened #1551 to track the timeouts. For now, let's unbreak the pipelines.

/override ci/prow/rhcos-9-build-test-qemu

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 9eaf092 into openshift:release-4.16 Jul 16, 2024
5 checks passed
Copy link
Contributor

openshift-ci bot commented Jul 16, 2024

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos-9-build-test-metal a0b37f9 link true /test rhcos-9-build-test-metal

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants