-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cirrus: Implement containerized system testing #8727
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cevich The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM |
This is going to be a tricky one. The |
.cirrus.yml
Outdated
container_system_test_task: | ||
<<: *local_system_test_task | ||
alias: container_system_test | ||
skip: *branch |
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.
Trivial low-priority question: is this *branch
deliberate? In looking at the Cirrus graph, I notice that this is the only one of the right-hand boxes (system tests) that has it set; all the others -- rootless, local, remote -- skip on CI:DOCS but not on BRANCH. I don't see a strong reason to go either way, I'm just asking because it's a curious inconsistency.
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.
Is it just me, or is the graph beginning to look like a... um... cetacean?
Or I COULD just close this PR 😁 TBH, this doesn't sound too awful. The containerized tests are executed through a re-run of
Yes, I stuck it there because the containerized integration tests have it. All it does is bypass containerized testing when a PR merges or a branch is (otherwise) pushed. Long ago this was "okay-ed", since these tests are low-risk/low-value at the branch-level (assuming they passed PR testing). TBH, we probably could skip a lot more testing on branches, that would improve the cron-based fail-rate as well as make Matt's life easier come release-time.
Are you're ocular orbs spherical today? Clearly it's a Elephant standing in line at the McDonalds drive-through, during a McRib BOGO sale*
|
6c5d233
to
f1bc72b
Compare
Might as well get the ball rolling while waiting for other test results... |
3806a8b
to
a633b76
Compare
...hmmm, well that's no good: gopath_cache is failing to restore |
e9e9690
to
30248e0
Compare
b821729
to
a5c6041
Compare
d10b5e5
to
0db5531
Compare
@edsantiago this seems to be the main item left failing. Could this be fixed by a bind-mount of that socket from the host, conditional on containerized execution of the system-tests?? |
4622216
to
71a43b6
Compare
now Hmmm...welp, I dislike sharing something called 'private', but let's try the same medicine there... |
...hmmm, that doesn't appear to work. With
|
I think you could change the events-backend from journald to file. I believe the issue is attempts to connect to systemd socket from inside of a container. |
Is there a way to execute system tests without waiting for others to complete before? |
c3c5cd3
to
88f16e1
Compare
Thanks @rhatdan trying it with (I'm not sure where |
The logic is way to complex since it also needs to not break |
Thanks! |
@edsantiago would it be a PITA to modify the system-tests such that: When I'm pretty sure the setting of $container is podman (maybe docker) built-in behavior, so it should be a reliable indicator. |
88f16e1
to
f4c89a6
Compare
(f4c89a6 is my naive attempt) |
That's not going to work with podman-remote. Don't even bother. |
🤷♂️ CI is already "bothering"...but it told me it doesn't mind 😄 |
@edsantiago hmmm, maybe was worth. Even with that option I still see errors like:
So it seems we're going to need a much more complicated solution 😓 |
f4c89a6
to
353430f
Compare
containers#8714 (comment) Signed-off-by: Chris Evich <[email protected]>
Signed-off-by: Chris Evich <[email protected]>
Signed-off-by: Chris Evich <[email protected]>
353430f
to
db2f235
Compare
Giving up on this, it's too complicated to be properly implemented anytime soon. |
Fixes #8714 (comment)