-
Notifications
You must be signed in to change notification settings - Fork 4.8k
os/Dockerfile: Use dnf, pin repos, and clean cache #23613
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
Conversation
|
|
I'm looking to see where |
59cc9aa to
0896ba7
Compare
|
Looks like |
|
Looking to pin repos instead of using mirrors. |
- Clean the dnf/yum cache before running commands - Call dnf directly instead of yum - Pin to a specific set of Fedora repos
0896ba7 to
7fb6654
Compare
|
/test e2e-cmd |
|
/test e2e-aws |
|
The image builds fine, just need to get past the other CI targets. |
|
/cc @jlebon |
|
/test e2e-cmd |
|
/test e2e-cmd |
|
Is the motivation here using mirrors because they can flake? If a build observes many of them failing in a single run, there might something else wrong which using a specific mirror won't fix. |
|
@jlebon more or less yes. The Fedora mirrors have been flaky at random times causing significant failures. |
|
/test e2e-cmd |
|
/test e2e-cmd |
|
Failed: /test e2e-cmd |
|
Ultimately though, if we're going to use Fedora content in CI, we need to make the mirroring more robust, not work around it at every call site. That said another way to work around this would be changing the system to use coreos-assembler instead like openshift/machine-config-operator#682 |
True. This PR is attempting to work around the pain for the short term, not a forever fix. |
/retest |
|
I guess if it helps in the short-term... (But again, it's not clear to me if this would fix the original issue. IIRC, multiple mirrors were failing in a single run, right?) |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ashcrow, jlebon The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@ashcrow: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
@ashcrow: PR needs rebase. DetailsInstructions 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/test-infra repository. |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
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/test-infra repository. |
Uh oh!
There was an error while loading. Please reload this page.