-
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
CI Cleanup: Remove cgroups v1 & runc support #23020
Conversation
@edsantiago I sent you a slack message, posting it here assuming it was lost: I noticed a TON of system test calls to skip_if_cgroupsv1() and some is_cgroupsv2(). I'm guessing there are a lot of similar e2e conditionals. I'm unsure if I should bother updating/removing all of them for the new "cgroups v2 only" world-order. I'm assuming no, but do you have a different opinion? |
Does downstream QE run these tests with cgroupsv1 on RHEL 9? If so I think it is best to keep them for a while at least. If not I like to remove them, although I wouldn't block this PR on it. That could happen in a follow up, I think there a bigger CI priorities right now compared to removing a bunch of conditionals. |
Saw your message, am still catching up from PTO. I'd say removing the cgroups conditionals is a rainy-day exercise for the future. Although it seems trivial, it won't be (I expect linter issues, easy but tedious). Oh, and Paul's point is a good one: I had assumed that podman v5 is cgroupsv2-only, but I never know what RHEL is going to do. For the time being, I think it's best to not tackle cgroups conditionals. |
Thanks for the feedback guys, I too had not considered the RHEL case 😊 Do we even ever have "rainy days" 🤣 |
test/system/120-load.bats
Outdated
# See https://github.com/containers/podman/pull/21431 | ||
if [[ -n "$PODMAN_IGNORE_CGROUPSV1_WARNING" ]]; then | ||
skip "impossible to test due to pitfalls in our SSH implementation" | ||
fi | ||
|
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.
@edsantiago PTAL this sys podman debian-13 root host sqlite
failure is curious. ISTM like PODMAN_IGNORE_CGROUPSV1_WARNING
being forced 'true' was hiding this failure somehow.
The test error is coming from the end of run_podman()
, but the condition catching it is really complex. Since the rootless version passed, should I add a special-case in setup_environment()
on rootful Debian, where setup_rootless()
enables lingering for $ROOTLESS_USER
(like the warning message suggests)?
This smells like an ssh problem. Maybe a missing |
Looks like we cross-posted.
I'm pretty sure there is no |
Force-push: Added test |
Same/similar failure despite lingering being enabled for the rootless user. Thinking more, I wonder if this is happening because |
Answer: Doesn't appear to be. There's no modification of the rootless user's I think the next step is to just go hands-on with |
What system version is used? On fedora we saw a regression were lingering was broken on 256-rc1 to 3 using 256-rc4 or final release fixed it again AFAIK |
I think that may be the problem: systemd on debian is Since rootless tests work despite the bad systemd, I would suggest just leaving this ssh test disabled for now. Unless someone feels like building new CI VMs. |
Maybe add a |
Confirmed, looks like Lokesh's recent builds have |
Force-push: Added skip for scp test on debian |
Assuming it's a flake and re-running. |
@edsantiago want me to wait for #23058 to go in, then re-test this w/o the debian/systemd scp test skip? |
Ya I saw that 23059. IMO (I didn't look closely) ISTM could easily be a networking/quay timeout of some form. I think it's probably just a coincidence with the new skips. |
I don't understand why you included #23059, but otherwise LGTM. Fingers crossed for debian CI |
Oh my bad, for some reason I thought the timeout fixed the scp problem. Must have been brain-tired 😊 |
With (esp. Debian) CI VM images built by https://github.com/containers/automation_images/ pull/338 CI no-longer tests with runc nor cgroups v1. Add logic to fail under these conditions. Prune back high-level YAML/script envars and logic formerly required to support these things. Signed-off-by: Chris Evich <cevich@redhat.com>
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, rhatdan 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 |
With (esp. Debian) CI VM images built by containers/automation_images#338 CI no-longer tests with runc nor cgroups v1. Add logic to fail under these conditions. Prune back high-level YAML/script envars and logic formerly required to support these things.
Does this PR introduce a user-facing change?