-
Notifications
You must be signed in to change notification settings - Fork 695
Closed
Labels
Description
Description
Test output is minimal.
It is unclear if the test failed to bring up the stack, or if there actually is a networking issue (note: this is rootful).
Test must be rewritten for better debugging information.
Steps to reproduce the issue
No response
Describe the results you received and expected
=== RUN TestComposeUpWithExternalNetwork
compose_up_linux_test.go:447: assertion failed:
Command: /usr/local/bin/nerdctl --namespace=nerdctl-test exec nerdctl-testcomposeupwithexternalnetwork-1 wget -qO- http://nerdctl-testcomposeupwithexternalnetwork-2
ExitCode: 1
Error: exit status 1
Stdout:
Stderr: wget: can't connect to remote host (10.4.1.4): Connection refused
time="2025-04-20T20:00:27Z" level=fatal msg="exec failed with exit code 1"
Failures:
ExitCode was 1 expected 0
Expected stdout to contain "<title>Welcome to nginx!</title>"
Expected no error
--- FAIL: TestComposeUpWithExternalNetwork (2.99s)
FAIL cmd/nerdctl/compose.TestComposeUpWithExternalNetwork (2.99s)
What version of nerdctl are you using?
main
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response