-
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
podman run --cgroups=disabled: missing "supervisor" #11191
Comments
Can we change the test to be less specific? I /supervisor critical to the test? |
This test verifies that the container is running as the same cgroup that launched it if we run with |
@giuseppe thoughts? |
we create the
I don't see any other way of ending up under One thing we could try to make the test more robust is to avoid going through its PID to read the cgroup with
|
A friendly reminder that this issue had no activity for 30 days. |
@giuseppe @edsantiago @mheon any movement on this issue? |
opened a PR to simplify the test: #11561 |
#11561 has merged. Closing, with fingers crossed. |
This is happening again, sort of, except now it's the opposite:
(it used to be the other way around). Podman run [It] podman run with cgroups=disabled runs without cgroups
|
I think these old PRs were failing because they were not rebased yet to include the fix. Have you seen again this flake in the last week? |
No, not since the 10-01 instances reported above. Okay, I'll close again - thank you! |
Podman run [It] podman run with cgroups=disabled runs without cgroups
|
Note: google-startup-scripts.service is "special". It's run early on by systemd during boot with "unconfined" SELinux labels. This is responsible for executing the Cirrus-CI agent process, which in turn executes the commands from the YAML. i.e. this is a case where running the test in CI is actually different from running it manually (esp. as far as SELinux is concerned). The process tree should look something like: systemd -> google-startup-scripts.service -> cirrus-agent (name unknown) -> bash -> make @giuseppe what does this |
(Re-opening, since clearly the issue has popped up again after rebasing.) |
@giuseppe as discussed, there's a cgroup name-clash ( |
@cevich @edsantiago opened a PR to help debugging this issue: #12120 |
Ref: containers#11191 Signed-off-by: Chris Evich <[email protected]>
we are having a hard time figuring out a failure in the CI: containers#11191 Rename the sub-cgroup created here, so we can be certain the error is caused by this part. [NO NEW TESTS NEEDED] we need this for the CI. Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe It reproduced again with your new name (log)
So that means it cannot be systemd, it must be a podman or crun bug, eh? |
yeah, it seems it is all our fault :/ |
another attempt:#12162 |
Proof positive that no matter how hard we try, we're still human. But a positive way of looking at it is: At least we don't need to patch systemd + wait for a new version to be released + incorporate that into our VMs 😁 |
the --cgroups=split test changes the current cgroup as it creates a sub-cgroup. This can cause a race condition in tests that are reading the current cgroup. Closes: containers#11191 Signed-off-by: Giuseppe Scrivano <[email protected]>
the --cgroups=split test changes the current cgroup as it creates a sub-cgroup. This can cause a race condition in tests that are reading the current cgroup. Closes: containers#11191 Signed-off-by: Giuseppe Scrivano <[email protected]>
One of the integration tests is flaking when reading
/proc/NNN/cgroup
:Podman run [It] podman run with cgroups=disabled runs without cgroups
The text was updated successfully, but these errors were encountered: