Skip to content
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

flake: completion test: ioctl(TUNSETIFF): Operation not permitted #9086

Closed
edsantiago opened this issue Jan 25, 2021 · 7 comments
Closed

flake: completion test: ioctl(TUNSETIFF): Operation not permitted #9086

edsantiago opened this issue Jan 25, 2021 · 7 comments
Labels
flakes Flakes from Continuous Integration locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

I don't even know where to begin with this one:

podman run -d --name exited-sWcfgQam1qWZAnOIe7X3kRnxoLX6K3-con --pod exited-sWcfgQam1qWZAnOIe7X3kRnxoLX6K3 quay.io/libpod/testimage:20200929 echo exited
time="2021-01-15T06:26:40-06:00" level=error msg="error starting some container dependencies"
time="2021-01-15T06:26:40-06:00" level=error msg="\"/usr/bin/slirp4netns failed: \\\"ioctl(TUNSETIFF): Operation not permitted\\\\nWARNING: Support for seccomp is experimental\\\\nchild failed(1)\\\\nWARNING: Support for seccomp is experimental\\\\n\\\"\""
Error: error starting some containers: internal libpod error
[ rc=126 (** EXPECTED 0 **) ]

run_podman run --name exited-$random_container_name -d $IMAGE echo exited

Only two instances, one today, one last week:

sys: podman shell completion test

@Luap99 do you have any idea what this could be about?

@edsantiago edsantiago added the flakes Flakes from Continuous Integration label Jan 25, 2021
@Luap99
Copy link
Member

Luap99 commented Jan 25, 2021

@AkihiroSuda @giuseppe What does this error message mean?
/usr/bin/slirp4netns failed: \\\"ioctl(TUNSETIFF): Operation not permitted\\\\nWARNING: Support for seccomp is experimental\\\\nchild failed(1)\\\\nWARNING: Support for seccomp is experimental

The test is just as simple podman pod create followed by podman run with that pod.

run_podman pod create --name exited-$random_pod_name
run_podman run -d --name exited-$random_pod_name-con --pod exited-$random_pod_name $IMAGE echo exited

@AkihiroSuda AkihiroSuda changed the title flake: completion test: Support for seccomp is experimental flake: completion test: ioctl(TUNSETIFF): Operation not permitted Jan 25, 2021
@AkihiroSuda
Copy link
Collaborator

AkihiroSuda commented Jan 25, 2021

slirp4netns seems facing a permission error because it is not properly joining the UserNS.

As slirp4netns is almost single-threaded, I guess this issue is a race condition on Podman side rather than on slirp4netns side, but not 100% sure.

@edsantiago
Copy link
Member Author

Thank you for logging that instance. Unfortunately, my flake-finder tool only catalogs by test name; it does not capture the error string[*]. The flake you report above is in the podman attach to a container with --sig-proxy set to false test, and there are no flakes in that test within the last 60 days. (Your PR #8910 in which this happened is not in my database because I only count PRs that are merged -- it is nearly impossible to programmatically distinguish "flake" from "actual error in an in-progress PR").

[*] because that is a Much Harder Problem

I've just done a manual perusal of the flake tool, log by log, and all I see is #9379 (newly filed) and #7139 and a few others that are new but they're one- or two-offs, and I'm on PTO this week so they can wait.

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Mar 22, 2021

@edsantiago Any update on this?

@edsantiago
Copy link
Member Author

The only instances I see of this are on f32, and it looks like we got rid of CI on f32 (#9474). I guess we can close this.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flakes Flakes from Continuous Integration locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

4 participants