-
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
Netavark userns test: give aardvark time to come up #18342
Netavark userns test: give aardvark time to come up #18342
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that is a very unfortunate thing but I don't see us fixing this any time soon so this LGTM.
453a5cb
to
763b35d
Compare
OOPS! Re-pushed because I looked at flake logs and realized that this is flaking in the non-Netavark test also. |
Oh good I really need to clean these duplicates up, so many pointless skipIfCNI/Netavark stuff in there. These tests are equivalent, we don't need two tests for the same thing. |
Good point. This is the ONLY diff between those two tests: --- test/e2e/aaa 2023-04-25 09:32:09.641689452 -0600
+++ test/e2e/bbb 2023-04-25 09:32:23.550742868 -0600
@@ -1,5 +1,6 @@
- It("podman network works across user ns", func() {
- netName := stringid.GenerateRandomID()
+ It("podman Netavark network works across user ns", func() {
+ SkipIfCNI(podmanTest)
+ netName := createNetworkName("")
create := podmanTest.Podman([]string{"network", "create", netName})
create.WaitWithDefaultTimeout()
Expect(create).Should(Exit(0)) @Luap99 I'm happy to compress those two into one, in this PR, but I don't know if there's a valid important difference between a network named by |
No if you want feel free to do that, I am also fine merging it like that. |
Nasty test flake, "bad address nc-server.dns.podman" Cause: "There is absolutely no guarantee that aardvark-dns is ready before the container is started." (source: Paul). Workaround (not a real solution): wait before doing a host lookup. Also: remove a 99%-duplicate test. Closes: containers#16272 (I hope) Signed-off-by: Ed Santiago <[email protected]>
763b35d
to
bdf3679
Compare
Cleanup is one of life's little joys, and I would like some joy today. Repushed with duplication removed and with updated commit message. Thanks again for your feedback. |
Understandable, LGTM |
/lgtm |
Nasty test flake, "bad address nc-server.dns.podman"
Cause: "There is absolutely no guarantee that aardvark-dns
is ready before the container is started." (source: Paul).
"Solution" (not really): wait before doing a host lookup.
Closes: #16272 (I hope)
Signed-off-by: Ed Santiago [email protected]