=== CONT TestNetworkInspect/with_namespace
network_inspect_test.go:280: ======================== Pre-test cleanup ========================
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test network rm testnetworkinspect-with-namespace-932ede11
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test namespace remove testnetworkinspect-with-namespace-932ede11
network_inspect_test.go:280: ======================== Test setup ========================
network_inspect_test.go:280: ======================== Test Run ========================
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test network create testnetworkinspect-with-namespace-932ede11
command.go:112: assertion failed: expect.ExitCode is not result.ExitCode: Expected exit code: 0
Command: /usr/local/bin/nerdctl --namespace=nerdctl-test network create testnetworkinspect-with-namespace-932ede11
ExitCode: 1
Error: exit status 1
Stdout:
Stderr: time="2025-01-30T06:09:57Z" level=fatal msg="route ip+net: no such network interface"
Env:
SHELL=/bin/bash
LOGNAME=rootless
XDG_SESSION_TYPE=tty
HOME=/home/rootless
LANG=C.UTF-8
SSH_CONNECTION=::1 49330 ::1 22
XDG_SESSION_CLASS=user
USER=rootless
SHLVL=1
XDG_SESSION_ID=3
XDG_RUNTIME_DIR=/run/user/1001
SSH_CLIENT=::1 49330 22
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
OLDPWD=/home/rootless
_=/usr/local/bin/gotestsum
PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
***
DOCKER_CONFIG=/tmp/TestNetworkInspectwith_namespace1856660511/001
NERDCTL_TOML=/tmp/TestNetworkInspectwith_namespace1856660511/001/nerdctl.toml
case.go:164: ======================== Post-test cleanup ========================
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test network rm testnetworkinspect-with-namespace-932ede11
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test namespace remove testnetworkinspect-with-namespace-932ede11
What operating system are you running this on?
None
Container
What happened?
Relevant log output