Skip to content
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

fix: util/network: add option not to re-use namespaces from pool #5686

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

profnandaa
Copy link
Collaborator

There is an issue with HnsEndpoints on WS2019, after first time use, they can't be re-attached. See #5668. HCS CreateComputeSystem fails with:

The requested operation for attach namespace failed.

As a work-around, have an option for PoolSize=-1 to turn off the namespace pooling functionality and have each namespace only be used once and discarded.

To enable this, you run buildkit with the additional flag: --containerd-cni-pool-size=-1.

Fixes #5668

There is an issue with `HnsEndpoints` on WS2019, after first time
use, they can't be re-attached. See moby#5668. HCS CreateComputeSystem
fails with:

```
The requested operation for attach namespace failed.
```

As a work-around, have an option for PoolSize=-1 to turn off the
namespace pooling functionality and have each namespace only be used
once and discarded.

To enable this, you run buildkit with the additional flag:
`--containerd-cni-pool-size=-1`.

Fixes moby#5668

Signed-off-by: Anthony Nandaa <[email protected]>
@nerddtvg
Copy link

nerddtvg commented Jan 31, 2025

I was able to build and test this today. I can confirm it works as expected, no namespace reuse and the build succeeds. Log excerpts from a test with and without the pool size set are below.

One comment on the PR, is there any reason to purposefully restrict this to Windows only? While I understand this is mostly a bug around Server 2019, it's possible people may want to disable the cache entirely for other reasons. Possibly NAT IP contention, especially if they're not frequently building images they may want to leave the pool space available.

Dockerfile tested:

FROM mcr.microsoft.com/dotnet/runtime:8.0-windowsservercore-ltsc2019

SHELL ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell", "-NonInteractive", "-NoProfile", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN ipconfig /all
RUN nslookup google.com
RUN ping google.com

ENTRYPOINT ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell", "-Command", "$sec = Get-Random -Minimum 10 -Maximum 100 ; Write-Host $sec ; Start-Sleep -Seconds $sec"]

No pool size setting:

#4 [1/4] FROM mcr.microsoft.com/dotnet/runtime:8.0-windowsservercore-ltsc2019@sha256:feca15ab0fa7f47610aabfd72f9d87c9926b520b67c824003e9d44aaf2095424
#4 extracting sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf
#4 extracting sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf 1.7s done
#4 DONE 235.1s

#5 [2/4] RUN ipconfig /all
#5 13.13
#5 13.13 Windows IP Configuration
#5 13.13
#5 13.13    Host Name . . . . . . . . . . . . : buildkitsandbox
#5 13.13    Primary Dns Suffix  . . . . . . . :
#5 13.14    Node Type . . . . . . . . . . . . : Hybrid
#5 13.14    IP Routing Enabled. . . . . . . . : No
#5 13.14    WINS Proxy Enabled. . . . . . . . : No
#5 13.14    DNS Suffix Search List. . . . . . : yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 13.15
#5 13.15 Ethernet adapter vEthernet (pai82b12dfadh6g8c7fvm25g2_nat):
#5 13.15
#5 13.15    Connection-specific DNS Suffix  . : yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 13.15    Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
#5 13.15    Physical Address. . . . . . . . . : 00-15-5D-0D-D1-D2
#5 13.15    DHCP Enabled. . . . . . . . . . . : No
#5 13.15    Autoconfiguration Enabled . . . . : Yes
#5 13.15    Link-local IPv6 Address . . . . . : fe80::89b3:ad54:be8f:22aa%17(Preferred)
#5 13.15    IPv4 Address. . . . . . . . . . . : 172.24.110.29(Preferred)
#5 13.15    Subnet Mask . . . . . . . . . . . : 255.255.240.0
#5 13.15    Default Gateway . . . . . . . . . : 172.24.96.1
#5 13.15    DNS Servers . . . . . . . . . . . : 168.63.129.16
#5 13.15    NetBIOS over Tcpip. . . . . . . . : Disabled
#5 13.15    Connection-specific DNS Suffix Search List :
#5 13.15                                        yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 DONE 14.5s

#6 [3/4] RUN nslookup google.com
#6 ERROR: process "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell -NonInteractive -NoProfile -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nslookup google.com" did not complete successfully: failed to create shim task: hcs::CreateComputeSystem vzi3ekthbvjgilw2zh6yal1e9: The requested operation for attach namespace failed.
------
 > [3/4] RUN nslookup google.com:
------
Dockerfile:6
--------------------
   4 |
   5 |     RUN ipconfig /all
   6 | >>> RUN nslookup google.com
   7 |     RUN ping google.com
   8 |
--------------------
error: failed to solve: process "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell -NonInteractive -NoProfile -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nslookup google.com" did not complete successfully: failed to create shim task: hcs::CreateComputeSystem vzi3ekthbvjgilw2zh6yal1e9: The requested operation for attach namespace failed.
time="2025-01-31T16:01:15Z" level=fatal msg="no image was built"
time="2025-01-31T15:57:02Z" level=debug msg="diffcopy took: 2.764ms" span="[internal] load .dockerignore" spanID=ed0ff15bf4c4626f traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg="saved lw8g66ruineq96uq02atji1b4 as context:context-.dockerignore:" span="[internal] load .dockerignore" spanID=2c9bcc814294e4a3 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg="Calling proc (1)"
time="2025-01-31T15:57:02Z" level=debug msg="Calling proc (2)"
time="2025-01-31T15:57:02Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:feca15ab0fa7f47610aabfd72f9d87c9926b520b67c824003e9d44aaf2095424" mediatype=application/vnd.docker.distribution.manifest.v2+json size=1374 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:ebc5421cfcbca75e85ea59dae1160271288df4fd2056a776b2ecda2d6e941d0c" mediatype=application/vnd.docker.container.image.v1+json size=2873 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T15:57:02Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=297622 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:48bfc7541b4c3fbe1c7082693e08377835d453f8c6febb3ac0bb3355872b1d54" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=34276613 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:e4348ec5a378f303edbbf0af9fe0500bd42b664c55ce1fb92190bc8fa43cb17b" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=1292 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=1720268357 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T15:57:02Z" level=debug msg=fetch digest="sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=401943816 spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:00:57Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:00:57Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:00:57Z" level=debug msg="creating new network namespace pai82b12dfadh6g8c7fvm25g2" span="[2/4] RUN ipconfig /all" spanID=d29f17df8f43fa5f traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:00:57Z" level=debug msg="hcn::HostComputeNamespace::Create id="
time="2025-01-31T16:00:57Z" level=debug msg="hcn::HostComputeNamespace::Create JSON: {\"Type\":\"Guest\",\"SchemaVersion\":{\"Major\":2,\"Minor\":0}}"
time="2025-01-31T16:00:57Z" level=debug msg="finished creating network namespace pai82b12dfadh6g8c7fvm25g2" span="[2/4] RUN ipconfig /all" spanID=d29f17df8f43fa5f traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:00:58Z" level=debug msg="finished setting up network namespace pai82b12dfadh6g8c7fvm25g2" span="[2/4] RUN ipconfig /all" spanID=d29f17df8f43fa5f traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:01:14Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:01:14Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:01:14Z" level=debug msg="returning network namespace pai82b12dfadh6g8c7fvm25g2 from pool" span="[3/4] RUN nslookup google.com" spanID=d77ed33a873db168 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:01:15Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = process \"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell -NonInteractive -NoProfile -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nslookup google.com\" did not complete successfully: failed to create shim task: hcs::CreateComputeSystem vzi3ekthbvjgilw2zh6yal1e9: The requested operation for attach namespace failed." spanID=3a54211a49cd7481 traceID=31998a0d1aa5ba14797703cef095c62b
process "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell -NonInteractive -NoProfile -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nslookup google.com" did not complete successfully: failed to create shim task: hcs::CreateComputeSystem vzi3ekthbvjgilw2zh6yal1e9: The requested operation for attach namespace failed.
5824 v0.0.0+unknown C:\Program Files\buildkit\buildkitd.exe --containerd-worker=true --containerd-cni-config-path=C:\Program Files\containerd\cni\conf\0-containerd-nat.conf --containerd-cni-binary-dir=C:\Program Files\containerd\cni\bin --debug --log-file=C:\Windows\Temp\buildkitd.log
main.unaryInterceptor
        C:/Users/user/Git/buildkit/cmd/buildkitd/main.go:706
google.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1
        C:/Users/user/Git/buildkit/vendor/google.golang.org/grpc/server.go:1202
github.com/moby/buildkit/api/services/control._Control_Solve_Handler
        C:/Users/user/Git/buildkit/api/services/control/control_grpc.pb.go:289
google.golang.org/grpc.(*Server).processUnaryRPC
        C:/Users/user/Git/buildkit/vendor/google.golang.org/grpc/server.go:1394
google.golang.org/grpc.(*Server).handleStream
        C:/Users/user/Git/buildkit/vendor/google.golang.org/grpc/server.go:1805
google.golang.org/grpc.(*Server).serveStreams.func2.1
        C:/Users/user/Git/buildkit/vendor/google.golang.org/grpc/server.go:1029
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1700

5824 v0.0.0+unknown C:\Program Files\buildkit\buildkitd.exe --containerd-worker=true --containerd-cni-config-path=C:\Program Files\containerd\cni\conf\0-containerd-nat.conf --containerd-cni-binary-dir=C:\Program Files\containerd\cni\bin --debug --log-file=C:\Windows\Temp\buildkitd.log
github.com/moby/buildkit/solver/llbsolver/ops.(*ExecOp).Exec
        C:/Users/user/Git/buildkit/solver/llbsolver/ops/exec.go:493
github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
        C:/Users/user/Git/buildkit/solver/jobs.go:1102
github.com/moby/buildkit/util/flightcontrol.(*call[...]).run
        C:/Users/user/Git/buildkit/util/flightcontrol/flightcontrol.go:122
sync.(*Once).doSlow
        C:/Program Files/Go/src/sync/once.go:76
sync.(*Once).Do
        C:/Program Files/Go/src/sync/once.go:67
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1700

5824 v0.0.0+unknown C:\Program Files\buildkit\buildkitd.exe --containerd-worker=true --containerd-cni-config-path=C:\Program Files\containerd\cni\conf\0-containerd-nat.conf --containerd-cni-binary-dir=C:\Program Files\containerd\cni\bin --debug --log-file=C:\Windows\Temp\buildkitd.log
github.com/moby/buildkit/solver.(*edge).execOp
        C:/Users/user/Git/buildkit/solver/edge.go:966
github.com/moby/buildkit/solver/internal/pipe.NewWithFunction[...].func2
        C:/Users/user/Git/buildkit/solver/internal/pipe/pipe.go:78
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1700

time="2025-01-31T16:01:15Z" level=debug msg="session finished: <nil>" spanID=2e4a9b00e81a28a4 traceID=31998a0d1aa5ba14797703cef095c62b
time="2025-01-31T16:02:46Z" level=info msg="stopping server"
time="2025-01-31T16:02:46Z" level=debug msg="cleaning up cni pool"
time="2025-01-31T16:02:46Z" level=debug msg="releasing cni network namespace pai82b12dfadh6g8c7fvm25g2"
time="2025-01-31T16:02:46Z" level=debug msg="hcn::HostComputeNamespace::Delete id=608b7e48-8870-40f9-a75f-d90937856c92"
buildkitd: got 1 SIGTERM/SIGINTs, forcing shutdown
github.com/moby/buildkit/util/appcontext.Context.func1.1
        C:/Users/user/Git/buildkit/util/appcontext/appcontext.go:38
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1700

Setting --containerd-cni-pool-size=-1:

#4 [1/4] FROM mcr.microsoft.com/dotnet/runtime:8.0-windowsservercore-ltsc2019@sha256:feca15ab0fa7f47610aabfd72f9d87c9926b520b67c824003e9d44aaf2095424
#4 extracting sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf
#4 extracting sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf 1.6s done
#4 DONE 235.9s

#5 [2/4] RUN ipconfig /all
#5 12.81    Host Name . . . . . . . . . . . . : buildkitsandbox
#5 12.81
#5 12.81 Windows IP Configuration
#5 12.81
#5 12.81    Primary Dns Suffix  . . . . . . . :
#5 12.82    Node Type . . . . . . . . . . . . : Hybrid
#5 12.82    IP Routing Enabled. . . . . . . . : No
#5 12.82    WINS Proxy Enabled. . . . . . . . : No
#5 12.82    DNS Suffix Search List. . . . . . : yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 12.83
#5 12.83 Ethernet adapter vEthernet (rtj8rz6disekz3jevcizngjjx_nat):
#5 12.83
#5 12.83    Connection-specific DNS Suffix  . : yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 12.83    Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
#5 12.83    Physical Address. . . . . . . . . : 00-15-5D-0D-DB-F7
#5 12.83    DHCP Enabled. . . . . . . . . . . : No
#5 12.83    Autoconfiguration Enabled . . . . : Yes
#5 12.83    Link-local IPv6 Address . . . . . : fe80::a181:3b0d:9b95:788c%17(Preferred)
#5 12.83    IPv4 Address. . . . . . . . . . . : 172.24.105.56(Preferred)
#5 12.83    Subnet Mask . . . . . . . . . . . : 255.255.240.0
#5 12.83    Default Gateway . . . . . . . . . : 172.24.96.1
#5 12.83    DNS Servers . . . . . . . . . . . : 168.63.129.16
#5 12.83    NetBIOS over Tcpip. . . . . . . . : Disabled
#5 12.83    Connection-specific DNS Suffix Search List :
#5 12.83                                        yzspoegj5jtuzenk3d2ra04d2g.bx.internal.cloudapp.net
#5 DONE 14.3s

#6 [3/4] RUN nslookup google.com
#6 7.256 Non-authoritative answer:
#6 7.258 Server:  UnKnown
#6 7.258 Address:  168.63.129.16
#6 7.258
#6 7.258 Name:    google.com
#6 7.258 Addresses:  2607:f8b0:4004:c21::66
#6 7.258          2607:f8b0:4004:c21::8b
#6 7.258          2607:f8b0:4004:c21::71
#6 7.258          2607:f8b0:4004:c21::8a
#6 7.258          192.178.155.138
#6 7.258          192.178.155.102
#6 7.258          192.178.155.113
#6 7.258          192.178.155.101
#6 7.258          192.178.155.100
#6 7.258          192.178.155.139
#6 7.258
#6 DONE 8.4s

#7 [4/4] RUN ping google.com
#7 6.952 with 32 bytes of data:
#7 6.952
#7 6.952 Pinging google.com [172.253.63.139] Reply from 172.253.63.139: bytes=32 time=1ms TTL=101
#7 7.957 Reply from 172.253.63.139: bytes=32 time=2ms TTL=101
#7 8.972 Reply from 172.253.63.139: bytes=32 time=2ms TTL=101
#7 9.987 bytes=32 time=2ms TTL=101
#7 9.987
#7 9.987 Ping statistics for 172.253.63.139:
#7 9.987     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
#7 9.987 Approximate round trip times in milli-seconds:
#7 9.987     Minimum = 1ms, Maximum = 2ms, Average = 1ms
#7 9.987 Reply from 172.253.63.139:
#7 DONE 11.1s

#8 exporting to docker image format
#8 exporting layers
#8 exporting layers 3.7s done
#8 exporting manifest sha256:75f668f8def93cb2ddc103168305b344fd6ea355e49dee6cc6cd2b1f81dad643 0.1s done
#8 exporting config sha256:1d889a52fba817693e559c20eed78d7bbd309dc22c02ad3bcf67b42e5e35a721 0.1s done
#8 sending tarball
#8 sending tarball 95.8s done
#8 DONE 99.6s
unpacking windows@sha256:75f668f8def93cb2ddc103168305b344fd6ea355e49dee6cc6cd2b1f81dad643 (sha256:75f668f8def93cb2ddc103168305b344fd6ea355e49dee6cc6cd2b1f81dad643)...
Loaded image: windows@sha256:75f668f8def93cb2ddc103168305b344fd6ea355e49dee6cc6cd2b1f81dad643
time="2025-01-31T16:05:29Z" level=debug msg="diffcopy took: 2.7622ms" span="[internal] load .dockerignore" spanID=a4f67a97197b9e14 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg="saved w5iwxhf96cgwbvhqrtrkba6if as context:context-.dockerignore:" span="[internal] load .dockerignore" spanID=295c95efd347a8a1 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:05:29Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:05:29Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:feca15ab0fa7f47610aabfd72f9d87c9926b520b67c824003e9d44aaf2095424" mediatype=application/vnd.docker.distribution.manifest.v2+json size=1374 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:ebc5421cfcbca75e85ea59dae1160271288df4fd2056a776b2ecda2d6e941d0c" mediatype=application/vnd.docker.container.image.v1+json size=2873 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T16:05:29Z" level=debug msg="checked for cached auth handler namespace" cached=true key="mcr.microsoft.com/dotnet/runtime::pull" name=mcr.microsoft.com/dotnet/runtime scope=pull
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:2c05242d23cf7bdaf078897cfa6c3662a8007ed8f6b57f54b03ea8f446cd69bf" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=297622 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:48bfc7541b4c3fbe1c7082693e08377835d453f8c6febb3ac0bb3355872b1d54" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=34276613 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:e4348ec5a378f303edbbf0af9fe0500bd42b664c55ce1fb92190bc8fa43cb17b" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=1292 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=1720268357 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:05:29Z" level=debug msg=fetch digest="sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4" mediatype=application/vnd.docker.image.rootfs.diff.tar.gzip size=401943816 spanID=ead5902905e8ee99 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:25Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:09:25Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:09:25Z" level=debug msg="returning network namespace rtj8rz6disekz3jevcizngjjx from pool" span="[2/4] RUN ipconfig /all" spanID=eba5611443335073 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:25Z" level=debug msg="creating new network namespace ktl4ru7ypto8b7hoxebsl2i1k" span="[2/4] RUN ipconfig /all" spanID=eba5611443335073 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:25Z" level=debug msg="hcn::HostComputeNamespace::Create id="
time="2025-01-31T16:09:25Z" level=debug msg="hcn::HostComputeNamespace::Create JSON: {\"Type\":\"Guest\",\"SchemaVersion\":{\"Major\":2,\"Minor\":0}}"
time="2025-01-31T16:09:25Z" level=debug msg="finished creating network namespace ktl4ru7ypto8b7hoxebsl2i1k" span="[2/4] RUN ipconfig /all" spanID=eba5611443335073 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:25Z" level=debug msg="finished setting up network namespace ktl4ru7ypto8b7hoxebsl2i1k" span="[2/4] RUN ipconfig /all" spanID=eba5611443335073 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:39Z" level=debug msg="releasing cni network namespace rtj8rz6disekz3jevcizngjjx"
time="2025-01-31T16:09:39Z" level=debug msg="hcn::HostComputeNamespace::Delete id=5fd22495-3c3b-48d8-a105-7ee56f01cad2"
time="2025-01-31T16:09:42Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:09:42Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:09:42Z" level=debug msg="returning network namespace ktl4ru7ypto8b7hoxebsl2i1k from pool" span="[3/4] RUN nslookup google.com" spanID=2e594c69208ad8e2 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:42Z" level=debug msg="creating new network namespace 6laetrlmewv6psbpfulbs96fw" span="[3/4] RUN nslookup google.com" spanID=2e594c69208ad8e2 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:42Z" level=debug msg="hcn::HostComputeNamespace::Create id="
time="2025-01-31T16:09:42Z" level=debug msg="hcn::HostComputeNamespace::Create JSON: {\"Type\":\"Guest\",\"SchemaVersion\":{\"Major\":2,\"Minor\":0}}"
time="2025-01-31T16:09:42Z" level=debug msg="finished creating network namespace 6laetrlmewv6psbpfulbs96fw" span="[3/4] RUN nslookup google.com" spanID=2e594c69208ad8e2 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:42Z" level=debug msg="finished setting up network namespace 6laetrlmewv6psbpfulbs96fw" span="[3/4] RUN nslookup google.com" spanID=2e594c69208ad8e2 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:47Z" level=debug msg="releasing cni network namespace ktl4ru7ypto8b7hoxebsl2i1k"
time="2025-01-31T16:09:48Z" level=debug msg="hcn::HostComputeNamespace::Delete id=3719dbe3-df58-4c33-ab04-cbf2c63798f8"
time="2025-01-31T16:09:50Z" level=debug msg="Calling proc (1)"
time="2025-01-31T16:09:50Z" level=debug msg="Calling proc (2)"
time="2025-01-31T16:09:50Z" level=debug msg="returning network namespace 6laetrlmewv6psbpfulbs96fw from pool" span="[4/4] RUN ping google.com" spanID=153125036bc8f661 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:50Z" level=debug msg="creating new network namespace 0tdelbfl06ybvodj4i7u0ubkz" span="[4/4] RUN ping google.com" spanID=153125036bc8f661 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:50Z" level=debug msg="hcn::HostComputeNamespace::Create id="
time="2025-01-31T16:09:50Z" level=debug msg="hcn::HostComputeNamespace::Create JSON: {\"Type\":\"Guest\",\"SchemaVersion\":{\"Major\":2,\"Minor\":0}}"
time="2025-01-31T16:09:50Z" level=debug msg="finished creating network namespace 0tdelbfl06ybvodj4i7u0ubkz" span="[4/4] RUN ping google.com" spanID=153125036bc8f661 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:50Z" level=debug msg="finished setting up network namespace 0tdelbfl06ybvodj4i7u0ubkz" span="[4/4] RUN ping google.com" spanID=153125036bc8f661 traceID=c6fb78dbf665ee2f660b6febe163029d
time="2025-01-31T16:09:59Z" level=debug msg="releasing cni network namespace 6laetrlmewv6psbpfulbs96fw"
time="2025-01-31T16:09:59Z" level=debug msg="hcn::HostComputeNamespace::Delete id=eedeb066-618e-4710-8207-366b4742e2f8"
time="2025-01-31T16:11:39Z" level=debug msg="session finished: <nil>" spanID=69360a61c60bbf30 traceID=c6fb78dbf665ee2f660b6febe163029d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buildkit on Windows Server 2019 Unable to Reuse Namespaces / Endpoints
2 participants