-
Notifications
You must be signed in to change notification settings - Fork 711
Closed as not planned
Labels
area/cie.g., CI failuree.g., CI failurequestionFurther information is requestedFurther information is requested
Description
Description
TestLoginWithPlainHttp/{regHost:127.0.0.1_regPort:5000_useRegPort:true_username:admin_password:validTestPassword_shouldSuccess:true_registry:0xc00087c8a0_shouldUseInSecure:true}
login_linux_test.go:172: Good password
testing.go:1490: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
--- FAIL: TestLoginWithPlainHttp/{regHost:127.0.0.1_regPort:5000_useRegPort:true_username:admin_password:validTestPassword_shouldSuccess:true_registry:0xc00087c8a0_shouldUseInSecure:true} (0.06s)
FAIL cmd/nerdctl.TestLoginWithPlainHttp/{regHost:127.0.0.1_regPort:5000_useRegPort:true_username:admin_password:validTestPassword_shouldSuccess:true_registry:0xc00087c8a0_shouldUseInSecure:true} (0.06s)
=== RUN TestLoginWithPlainHttp
testregistry_linux.go:76: hostIP="10.4.0.1", listenIP="0.0.0.0", listenPort=5000, authPort=5001
testregistry_linux.go:152: Writing "/tmp/TestLoginWithPlainHttp[410](https://github.com/containerd/nerdctl/actions/runs/6676961715/job/18153290242#step:6:411)4224326/004/certs.d2153916044/10.4.0.1:5000/hosts.toml": "\nserver = \"[https://10.4.0.1:5000\](https://10.4.0.1:5000/)"\n[host.\"[https://10.4.0.1:5000\](https://10.4.0.1:5000/)"]\n ca = \"/tmp/TestLoginWithPlainHttp4104224326/001/ca3297043694/ca.cert\"\n\t\t"
testregistry_linux.go:76: hostIP="10.4.0.1", listenIP="0.0.0.0", listenPort=80, authPort=5002
testregistry_linux.go:152: Writing "/tmp/TestLoginWithPlainHttp4104224326/008/certs.d1309872666/10.4.0.1:80/hosts.toml": "\nserver = \"[https://10.4.0.1:80\](https://10.4.0.1:80/)"\n[host.\"[https://10.4.0.1:80\](https://10.4.0.1:80/)"]\n ca = \"/tmp/TestLoginWithPlainHttp4104224326/005/ca598583313/ca.cert\"\n\t\t"
login_linux_test.go:185: assertion failed: res.ExitCode is not exitCode: time="2023-10-28T13:05:28Z" level=warning msg="WARNING! Using --password via the CLI is insecure. Use --password-stdin."
time="2023-10-28T13:05:28Z" level=warning msg="skipping verifying HTTPS certs for \"127.0.0.1:5000\""
time="2023-10-28T13:05:28Z" level=debug msg="Found hosts dir \"/tmp/TestLoginWithPlainHttp4104224326/004/certs.d2153916044\""
time="2023-10-28T13:05:28Z" level=debug msg="len(regHosts)=1"
time="2023-10-28T13:05:28Z" level=debug msg="no scope specified for token auth challenge" host="127.0.0.1:5000"
time="2023-10-28T13:05:28Z" level=error msg="failed to call tryLoginWithRegHost" error="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[https://10.4.0.1:5001/auth\](https://10.4.0.1:5001/auth/)": tls: failed to verify certificate: x509: certificate signed by unknown authority" i=0
time="2023-10-28T13:05:28Z" level=fatal msg="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[https://10.4.0.1:5001/auth\](https://10.4.0.1:5001/auth/)": tls: failed to verify certificate: x509: certificate signed by unknown authority"
--- FAIL: TestLoginWithPlainHttp (13.22s)
FAIL cmd/nerdctl.TestLoginWithPlainHttp (13.22s)
https://github.com/containerd/nerdctl/actions/runs/6676961715/job/18153290242
Steps to reproduce the issue
Describe the results you received and expected
https://github.com/containerd/nerdctl/actions/runs/6676961715/job/18153290242
What version of nerdctl are you using?
master
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response
Metadata
Metadata
Assignees
Labels
area/cie.g., CI failuree.g., CI failurequestionFurther information is requestedFurther information is requested