-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: try to fix more networking flakes
There's a whole slew of networking-related flakes whose common element seems to be improper use of curl. Fix those by: * add --retry --retry-connrefused; and/or * add -S ("show errors". Plain -s silences everything!); and/or * test exit status from curl; and/or * add wait_for_port after "podman run -d", to avoid races * log commands, to make debugging easier Important note: wait_for_port() was not working with rootless podman ports. Trivial proof: $ podman run -d --name foo -p 8192:80 \ quay.io/libpod/testimage:20221018 \ /bin/busybox-extras httpd -f -p 80 $ grep :2000 /proc/net/tcp [no results] Solution: use ss tool; it seems to handle this just fine. There may be a better solution. Oh, also, add -t1 to a podman restart, to shave 18s from test run. Fixes: #20335 and, I think, a handful of others Signed-off-by: Ed Santiago <[email protected]>
- Loading branch information
1 parent
5568985
commit c0fb8fe
Showing
4 changed files
with
40 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters