=== RUN TestImagePullPlainHttpWithDefaultPort
testutil.go:518: buildkitHost="unix:///run/buildkit-nerdctl-test/buildkitd.sock"
testregistry_linux.go:49: hostIP="10.4.0.1", listenIP="0.0.0.0", listenPort=80
image_pull_linux_test.go:100: testImageRef="10.4.0.1/nerdctl-testimagepullplainhttpwithdefaultport:3.13-org"
image_pull_linux_test.go:101: testImageRef="10.4.0.1/nerdctl-testimagepullplainhttpwithdefaultport:3.13-org"
image_pull_linux_test.go:110: assertion failed: res.ExitCode is not exitCode: manifest-sha256:ab6e161731c111cd98b26c5ab916a88db69c26f15147f908483028e369e33e2d: waiting |--------------------------------------|
config-sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310: waiting |--------------------------------------|
elapsed: 0.1 s total: 0.0 B (0.0 B/s)
manifest-sha256:ab6e161731c111cd98b26c5ab916a88db69c26f15147f908483028e369e33e2d: waiting |--------------------------------------|
config-sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310: waiting |--------------------------------------|
elapsed: 0.1 s total: 0.0 B (0.0 B/s)
time="2023-10-09T23:12:07Z" level=info msg="pushing as a reduced-platform image (application/vnd.docker.distribution.manifest.v2+json, sha256:ab6e161731c111cd98b26c5ab916a88db69c26f15147f908483028e369e33e2d)"
time="2023-10-09T23:12:07Z" level=warning msg="skipping verifying HTTPS certs for \"10.4.0.1\""
time="2023-10-09T23:12:07Z" level=warning msg="server \"10.4.0.1\" does not seem to support HTTPS, falling back to plain HTTP" error="failed to do request: Head \"[https://10.4.0.1/v2/nerdctl-testimagepullplainhttpwithdefaultport/blobs/sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310\](https://10.4.0.1/v2/nerdctl-testimagepullplainhttpwithdefaultport/blobs/sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310/)": dial tcp 10.4.0.1:443: connect: connection refused"
time="2023-10-09T23:12:07Z" level=fatal msg="failed to do request: Head \"[https://10.4.0.1/v2/nerdctl-testimagepullplainhttpwithdefaultport/blobs/sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310\](https://10.4.0.1/v2/nerdctl-testimagepullplainhttpwithdefaultport/blobs/sha256:7b02920f69ddee20ed1d53bf4016a7ce0c75c082e154bb8a85de451123616310/)": dial tcp 10.4.0.1:443: connect: connection refused"
--- FAIL: TestImagePullPlainHttpWithDefaultPort (2.81s)
FAIL cmd/nerdctl.TestImagePullPlainHttpWithDefaultPort (re-run 1) (2.81s)
=== RUN TestPushPlainHttpInsecureWithDefaultPort
testutil.go:518: buildkitHost="unix:///run/buildkit-nerdctl-test/buildkitd.sock"
testregistry_linux.go:49: hostIP="10.4.0.1", listenIP="0.0.0.0", listenPort=80
image_push_linux_test.go:96: testImageRef="10.4.0.1/nerdctl-testpushplainhttpinsecurewithdefaultport:3.13-org"
image_push_linux_test.go:99: assertion failed: res.ExitCode is not exitCode: index-sha256:83bf22e8705adaaaf38634266c57a41fb2fb9867f61bf942e13b8432b2d7cda4: waiting |--------------------------------------|
manifest-sha256:e103c1b4bf019dc290bcc7aca538dc2bf7a9d0fc836e186f5fa34945c5168310: waiting |--------------------------------------|
config-sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c: waiting |--------------------------------------|
elapsed: 0.1 s total: 0.0 B (0.0 B/s)
index-sha256:83bf22e8705adaaaf38634266c57a41fb2fb9867f61bf942e13b8432b2d7cda4: waiting |--------------------------------------|
manifest-sha256:e103c1b4bf019dc290bcc7aca538dc2bf7a9d0fc836e186f5fa34945c5168310: waiting |--------------------------------------|
config-sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c: waiting |--------------------------------------|
elapsed: 0.1 s total: 0.0 B (0.0 B/s)
time="2023-10-09T23:12:10Z" level=info msg="pushing as a reduced-platform image (application/vnd.docker.distribution.manifest.list.v2+json, sha256:83bf22e8705adaaaf38634266c57a41fb2fb9867f61bf942e13b8432b2d7cda4)"
time="2023-10-09T23:12:10Z" level=warning msg="skipping verifying HTTPS certs for \"10.4.0.1\""
time="2023-10-09T23:12:10Z" level=warning msg="server \"10.4.0.1\" does not seem to support HTTPS, falling back to plain HTTP" error="failed to do request: Head \"[https://10.4.0.1/v2/nerdctl-testpushplainhttpinsecurewithdefaultport/blobs/sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c\](https://10.4.0.1/v2/nerdctl-testpushplainhttpinsecurewithdefaultport/blobs/sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c/)": dial tcp 10.4.0.1:443: connect: connection refused"
time="2023-10-09T23:12:10Z" level=fatal msg="failed to do request: Head \"[https://10.4.0.1/v2/nerdctl-testpushplainhttpinsecurewithdefaultport/blobs/sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c\](https://10.4.0.1/v2/nerdctl-testpushplainhttpinsecurewithdefaultport/blobs/sha256:49f356fa4513676c5e22e3a8404aad6c7262cc7aaed15341458265320786c58c/)": dial tcp 10.4.0.1:443: connect: connection refused"
--- FAIL: TestPushPlainHttpInsecureWithDefaultPort (1.42s)
FAIL cmd/nerdctl.TestPushPlainHttpInsecureWithDefaultPort (re-run 1) (1.42s)
Originally posted by @AkihiroSuda in containerd/nerdctl#2555 (comment)
The nerdctl test suite does not pass the PR that bumps up containerd (Go module) to v1.7.7