Skip to content

Conversation

@ashcrow
Copy link
Member

@ashcrow ashcrow commented Aug 15, 2019

  • Clean the dnf/yum cache before running commands
  • Pin Fedora repos
  • Call dnf directly instead of yum

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 15, 2019
@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

Error getting repository data for built, repository not found

@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

I'm looking to see where built.repo is defined. I'm wondering if it may have been accidentally removed somewhere but is still expected by this build.

@ashcrow ashcrow force-pushed the clean-cache-and-use-f30 branch from 59cc9aa to 0896ba7 Compare August 15, 2019 16:51
@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

Looks like f29 required in the name for other dependencies in the CI set up. Switched back to f29 to see if it passes.

@ashcrow ashcrow changed the title WIP: os/Dockerfile: Use F30, dnf, and clean cache WIP: os/Dockerfile: Use dnf and clean cache Aug 15, 2019
@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

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
@ashcrow ashcrow force-pushed the clean-cache-and-use-f30 branch from 0896ba7 to 7fb6654 Compare August 15, 2019 17:34
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 15, 2019
@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

/test e2e-cmd

@ashcrow ashcrow changed the title WIP: os/Dockerfile: Use dnf and clean cache os/Dockerfile: Use dnf and clean cache Aug 15, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2019
@ashcrow ashcrow changed the title os/Dockerfile: Use dnf and clean cache os/Dockerfile: Use dnf, pin repos, and clean cache Aug 15, 2019
@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

/test e2e-aws

@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

The image builds fine, just need to get past the other CI targets.

@ashcrow
Copy link
Member Author

ashcrow commented Aug 15, 2019

/cc @jlebon

@ashcrow
Copy link
Member Author

ashcrow commented Aug 16, 2019

/test e2e-cmd

@ashcrow
Copy link
Member Author

ashcrow commented Aug 16, 2019

no such image 😕

/test e2e-cmd

@jlebon
Copy link
Member

jlebon commented Aug 16, 2019

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.

@ashcrow
Copy link
Member Author

ashcrow commented Aug 16, 2019

@jlebon more or less yes. The Fedora mirrors have been flaky at random times causing significant failures.

@ashcrow
Copy link
Member Author

ashcrow commented Aug 16, 2019

s: "error waiting for the pod 'test-cmd' to complete: the pod errored trying to run the command",

/test e2e-cmd

@ashcrow
Copy link
Member Author

ashcrow commented Aug 19, 2019

/test e2e-cmd

@ashcrow
Copy link
Member Author

ashcrow commented Aug 20, 2019

Failed:

[Suite:openshift/test-cmd][Serial][Disruptive] test-cmd: test/cmd/policy-storage-admin.sh [Suite:openshift] expand_less

/test e2e-cmd

@cgwalters
Copy link
Member

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

@ashcrow
Copy link
Member Author

ashcrow commented Aug 20, 2019

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.

True. This PR is attempting to work around the pain for the short term, not a forever fix.

@vrutkovs
Copy link
Contributor

FAILURE after 0.000s: test/cmd/basicresources.sh:175: executing 'oc set probe -f /var/tests/test/cmd/testdata/hello-openshift/hello-pod.json --local -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'port: port': the command returned the wrong error code; the output content test failed
There was no output from the command.
Standard error from the command:
error: --get-url could not be parsed as a valid URL: parse https://127.0.0.1:port/path: invalid port ":port" after host
[ERROR] hack/lib/cmd.sh:241: `return "${return_code}"` exited with status 1.

/retest

@jlebon
Copy link
Member

jlebon commented Oct 3, 2019

I guess if it helps in the short-term...
/approve

(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?)

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ashcrow, jlebon
To complete the pull request process, please assign smarterclayton
You can assign the PR to them by writing /assign @smarterclayton in a comment when ready.

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

Details Needs approval from an approver in each of these files:

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

@openshift-ci-robot
Copy link

@ashcrow: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-gcp-upgrade 7fb6654 link /test e2e-gcp-upgrade

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.

Details

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. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 18, 2020
@openshift-ci-robot
Copy link

@ashcrow: PR needs rebase.

Details

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.

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 18, 2020
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 17, 2020
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci-robot
Copy link

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants