-
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
windows: system connection: unexpected ports #22844
Comments
Mhh yeah some non printable char sounds logical but why would that flake? I guess such things should be consistent. Still seeing this? I guess I can throw up a PR to trim spaces from the string and then we can see if it sill reproduces in the future. |
Actually I now looked at the code and the issue is not a invisible char. The code matches This means all connections should have the same port. And per the code there we only created a single machine so why do we have connections from another machine still in there? This sounds to be more like an issue with invalid cleanup. Given that other tests in the log failed with
So I assume something more general is broken in the windows testing, I would think that relates directly to #22843. |
Still happening as of last week. This is an infrequent one:
|
Can someone instrument podman/cmd/podman/machine/init.go Lines 216 to 217 in 045413b
|
I can but what is the point? We can add Most likely the best fix is to make use of |
Looking at it there are more problems in teardown() One weird failure that is not shown at all because it is not considered fatal
|
Currently all podman machine rm errors in AfterEach were ignored. This means some leaked and caused issues later on, see containers#22844. To fix it first rework the logic to only remove machines when needed at the place were they are created using DeferCleanup(), however DeferCleanup() does not work well together with AfterEach() as it always run AfterEach() before DeferCleanup(). As AfterEach() deletes the dir the podman machine rm call can not be done afterwards. As such migrate all cleanup to use DeferCleanup() and while I have to touch this fix the code to remove the per file duplciation and define the setup/cleanup once in the global scope. Signed-off-by: Paul Holzinger <[email protected]>
Maybe it's a windows^M
thing?My misunderstanding. The error message means "I want 50443 and ONLY 50443, nothing else". The 50229 is what's causing the problem.
The text was updated successfully, but these errors were encountered: