-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
test/e2e: do not use apk in builds #16399
Conversation
As far as I can tell there is no reason to use apk in these tests. They just build an image and check for it and never use the installed binary. Network calls are always unstable and therefore should be avoided when possible, this ensures no/less flakes. Fixes containers#16391 Signed-off-by: Paul Holzinger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice catch!
LGTM |
windows smoke test looks broken, was already rerun once: https://cirrus-ci.com/task/6678299677032448 |
This smells like a task-dependency problem to me, but the YAML looks correct 😕 Did the |
...ya, looks like the
I know how to fix this... |
...okay, that should get this PR sorted once it (or something similar) merges and you rebase this one. |
un-ping @n1hility |
@Luap99 for future reference, if you get completely wedged like this, please feel free to ping me on IRC or matrix. I'm sometimes slow to notice my github mail (and sometimes it gets delivered pretty slowly). |
RUN apk update | ||
RUN apk add bash`, ALPINE) | ||
RUN echo hello > /hello | ||
RUN echo hello2 > /hello2`, ALPINE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a cut and paste error , ALPINE)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's OK? That's the argument for the FROM %s
in the sprintf()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for doing this
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, Luap99 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:
Approvers can indicate their approval by writing |
I'm OK with someone force-merging this, but since it's (probably) not urgent, I have a preference for rebasing on main (with #16401) so we can confirm that that PR works as it was meant to. |
As far as I can tell there is no reason to use apk in these tests. They just build an image and check for it and never use the installed binary. Network calls are always unstable and therefore should be avoided when possible, this ensures no/less flakes.
Fixes #16391
Does this PR introduce a user-facing change?