tests/rhcos/upgrade: drop use of sudo for unpriv pods#2830
Merged
miabbott merged 1 commit intocoreos:mainfrom Apr 28, 2022
miabbott:rhcos_upgrade_unpriv
Merged
tests/rhcos/upgrade: drop use of sudo for unpriv pods#2830miabbott merged 1 commit intocoreos:mainfrom miabbott:rhcos_upgrade_unpriv
miabbott merged 1 commit intocoreos:mainfrom
miabbott:rhcos_upgrade_unpriv
Conversation
Member
Author
|
See openshift/os#786 (comment) We'll need this backported to |
Member
Author
|
FCOS pipeline failed on ...which is entirely unrelated to this change |
Member
Author
Member
Author
|
Same test is failing on RHCOS, too. Looks like it both cases it is waiting indefinitely for the NTP server to appear: |
Member
Author
|
@sohankunkerkar you have experience with the failing test case; could you look into these failures? Edit: created issue - coreos/fedora-coreos-tracker#1184 |
Member
|
/retest |
cgwalters
reviewed
Apr 26, 2022
When running the `rhcos.upgrade.from-ocp-rhcos` test in an unprivileged pod in the Prow clusters, the test fails during the unpacking of the `oc` binary because it is trying to use `sudo` to write to `/usr/bin`. But since #2777 we have the `oc` binary installed in `cosa`, so just drop the code doing the install of the binary.
Member
Author
|
/retest |
mike-nguyen
approved these changes
Apr 26, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running the
rhcos.upgrade.from-ocp-rhcostest in anunprivileged pod in the Prow clusters, the test fails during the
unpacking of the
ocbinary because it is trying to usesudotowrite to
/usr/bin.To work around this, remove the use of
sudoand split thecurlandtarcommands into separate calls. (Usingbash -cwasn't workingfor me locally or in cluster)