You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CI]: TestNetworkInspect is flaky in windows #4322
+------------------------------------------------------------------------------------------------------------+
| ➡️ | ⚙️ C:\Users\runneradmin\go\bin\nerdctl.exe create --name testnetworkinspect-verify-that-only-act |
| | ive-containers-appear-in-the-0a54a379 --network testnetworkinspect-verify-that-only-active-conta |
| | iners-appear-in-the-844e8a21 registry.k8s.io/e2e-test-images/nginx:1.14-2 |
+------------------------------------------------------------------------------------------------------------+
| | 🚫 command returned a non-zero exit code |
+------------------------------------------------------------------------------------------------------------+
| | ⚠️ 1 |
+------------------------------------------------------------------------------------------------------------+
| | 🟠 time="2025-06-22T21:52:24Z" level=warning msg="default network named \"nat\" does not have an |
| | internal nerdctl ID or nerdctl-managed config file, it was most likely NOT created by nerdctl" |
| | time="2025-06-22T21:52:24Z" level=warning msg="default network named \"nat\" does not have an in |
| | ternal nerdctl ID or nerdctl-managed config file, it was most likely NOT created by nerdctl" |
| | time="2025-06-22T21:52:25Z" level=warning msg="networking setup error has occurred" error="plugi |
| | n type=\"nat\" failed (add): hcnCreateNetwork failed in Win32: The object already exists. (0x139 |
| | 2) {\"Success\":false,\"Error\":\"The object already exists. \",\"ErrorCode\":2147947410}" |
| | time="2025-06-22T21:52:25Z" level=warning msg="default network named \"nat\" does not have an in |
| | ternal nerdctl ID or nerdctl-managed config file, it was most likely NOT created by nerdctl" |
| | time="2025-06-22T21:52:25Z" level=fatal msg="plugin type=\"nat\" failed (add): hcnCreateNetwork |
| | failed in Win32: The object already exists. (0x1392) {\"Success\":false,\"Error\":\"The object a |
| | lready exists. \",\"ErrorCode\":2147947410}"
Activity
apostasie commentedon Jun 17, 2025
@Shubhranshu153 can you add the log output? + the link to the build that failed?
apostasie commentedon Jun 17, 2025
eg:
:)
apostasie commentedon Jun 23, 2025
apostasie commentedon Jun 23, 2025
Wondering if windows network create is asynchronous...
apostasie commentedon Jul 2, 2025
https://github.com/microsoft/windows-container-networking/blob/master/common/core/network.go#L145
So, the windows CNI plugin will create the network if it does not exist during CmdAdd (this is just plain wrong).
https://github.com/microsoft/windows-container-networking/blob/master/common/core/network.go#L399-L421
Why is it not finding the existing network (
GetNetworkByName)? Unclear. Maybe hcnEnumerateNetworks is somehow faulty.apostasie commentedon Jul 2, 2025
Also note that reading through that stuff, most of it does not seem safe to use concurrently...
test(windows): do not run TestNetworkInspectWithContainers in parallel