-
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
CI: debian remote startup is very slow #19010
Comments
Do we have a good matrix somewhere between what is different in these setups? That might help to nail it down. |
I don't know of any matrix. But... why would only I wonder... could it be the |
Followup: |
Might be apparmor. I instrumented my PR so the server runs with
(sometimes the +1 is on the line after apparmor_parser instead.) I think I'm going to try |
Nope, no difference. Giving up on this for now. This is going to require someone with access to a debian VM. |
I tried it with hack/get_ci_vm.sh and yes debian is incredible slow for some reason.
while local
However for info it is slow for both:
And no idea how podman-remote version manages to be slower than info. |
Ok it is likely to the version querying. |
but........ but |
see pkg/api/handlers/compat/version.go There is no libpod only endpoint so it reuses whatever the docker version endpoint produces. |
Do not use podman info/version as they are expensive and clutter the log for no reason. Just checking if we can connect to the socket should be good enough and much faster. Fix the non existing error checking, so that we actually see an useful error when this does not work. Also change the interval, why wait 2s for a retry lets take 100ms steps instead. Fixes containers#19010 Signed-off-by: Paul Holzinger <[email protected]>
Do not use podman info/version as they are expensive and clutter the log for no reason. Just checking if we can connect to the socket should be good enough and much faster. Fix the non existing error checking, so that we actually see an useful error when this does not work. Also change the interval, why wait 2s for a retry lets take 100ms steps instead. Fixes containers#19010 Signed-off-by: Paul Holzinger <[email protected]>
[Split from #15272 ]
Podman-remote e2e tests on debian are very slow.
Take for example these results: f38 and debian (
usage cgroupns
test chosen pseudorandomly, no special reason). 2.760s on f38, 4.650 on debian.Almost every part of the Ginkgo task is slower on debian. Looking at the
Exit
lines on each, we see:I downloaded the raw logs, ran a little perl/find/math on them, and time spent in
BeforeEach
on debian is 2122s, compared to 908 on f38. That's pretty huge. (Time spent inIt
and inAfterEach
is comparable).I think there's something broken in podman-remote startup on debian. I think it's taking too long. Can someone with access to a debian VM PTAL?
The text was updated successfully, but these errors were encountered: