[WIP] Run test daemons in a network namespace.#39579
[WIP] Run test daemons in a network namespace.#39579cpuguy83 wants to merge 3 commits intomoby:masterfrom
Conversation
a751b88 to
3c137bf
Compare
9430b0b to
8f2cde6
Compare
8f2cde6 to
eab38f1
Compare
|
Ok, generally pretty close here but I am running into issues with things hitting localhost. |
|
@tonistiigi There are a couple of places where I have a proxy server setup. Some TLS tests make this a bit annoying. |
eab38f1 to
37e35f6
Compare
ff0584f to
fc3c4ba
Compare
8a26d67 to
582598f
Compare
e2ed291 to
f539934
Compare
|
Is it expected that janky is not running integration tests, @thaJeztah @tiborvass |
|
Nevermind I forgot I cherry-picked in a fix for the flaky test detector and that fix was apparently not right. |
2f6f167 to
88cd472
Compare
This isolates test daemons further, particularly for global resources such as iptables and port-space. Signed-off-by: Brian Goff <[email protected]>
Signed-off-by: Brian Goff <[email protected]>
88cd472 to
cf19ef6
Compare
|
Well I think this would be mostly ready except tests are taking WAY longer to run and I do not know why. The slowest netns config I've seen is 4s (that is creating the ns and setting up the bridge) and that is an outlier, most are under 1s, meanwhile tests that should take 2s are taking 12 (as an example). Example from this PR: And another PR: |
|
|
Signed-off-by: Brian Goff <[email protected]>
|
🙁 As compared to master: |
|
Going to close this as there's some as of yet unexplained performance impact here, it also ended up being a really complex change... Maybe someone else wants to pick this up? |
This isolates test daemons further, particularly for global resources
such as iptables and port-space.