-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: l4lb: gather more infos about docker-in-docker issues #32570
Merged
Conversation
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
Sometimes, the L4LB tests timeout waiting for the docker (in docker) instance to be ready. ``` +[06:55:18] docker run --privileged --name lb-node -d --network cilium-l4lb -v /lib/modules:/lib/modules docker:dind ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 +[06:55:18] docker exec -t lb-node mount bpffs /sys/fs/bpf -t bpf +[06:55:18] docker run --name nginx -d --network cilium-l4lb nginx 544abbd0503584c582da50480d5f96eae5ecadb426d48d6fee078558b45451b2 +[06:55:18] docker exec -t lb-node docker ps +[06:55:18] sleep 1 +[06:55:19] docker exec -t lb-node docker ps +[06:55:19] sleep 1 +[06:55:20] docker exec -t lb-node docker ps Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running +[06:55:20] sleep 1 +[06:55:21] docker exec -t lb-node docker ps Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running +[06:55:21] sleep 1 +[06:55:22] docker exec -t lb-node docker ps Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running +[06:55:22] sleep 1 +[06:55:23] docker exec -t lb-node docker ps Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running +[06:55:20] docker exec -t lb-node docker ps Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running ``` Unfortunately, fetching the LB logs after the failed test doesn't help either, as this fails with the same error. ``` Run docker exec -t lb-node docker logs cilium-lb docker exec -t lb-node docker logs cilium-lb ... Error response from daemon: Container ca31f2a72a098bf612d569fee976e7e17779a1546337748dc62b63c99da13271 is not running ``` Therefore, this commit adds an additional job step that fetches the status and logs of the docker instance itself. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
/test |
aanm
approved these changes
May 16, 2024
tklauser
approved these changes
May 16, 2024
15 tasks
12 tasks
10 tasks
This was referenced Jun 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/CI
Continuous Integration testing issue or flake
backport-done/1.13
The backport for Cilium 1.13.x for this PR is done.
backport-done/1.14
The backport for Cilium 1.14.x for this PR is done.
backport-done/1.15
The backport for Cilium 1.15.x for this PR is done.
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/ci
This PR makes changes to the CI.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sometimes, the L4LB tests timeout waiting for the docker (in docker) instance to get ready.
Unfortunately, fetching the LB logs after the failed test doesn't help either, as this fails with the same error.
Therefore, this commit adds an additional job step that fetches the status and logs of the docker instance itself.
Examples: