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

[FLAKY DEBUG, NO RETRIES] Current focus: IPFS/Compose failure #3305

Closed
wants to merge 2 commits into from

Conversation

apostasie
Copy link
Contributor

No description provided.

@apostasie apostasie force-pushed the dev-ipfs-test-fix branch 3 times, most recently from cd11477 to 1b6ee66 Compare August 13, 2024 17:50
@apostasie
Copy link
Contributor Author

Failures on first run:

Concerning attach failure:

    container_attach_linux_test.go:58: assertion failed: 
        Command:  /usr/bin/unbuffer -p /usr/local/bin/nerdctl --namespace=nerdctl-test run -it --name nerdctl-testattach ghcr.io/stargz-containers/alpine:3.13-org
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        Expected stdout to contain "read detach keys"
--- FAIL: TestAttach (4.02s)

Transient third-party failure:

TestPushPlainHTTPFails

        time="2024-08-13T18:06:44Z" level=info msg="trying next host" error="failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Astargz-containers%2Fregistry%3Apull&service=ghcr.io: 502 Bad Gateway" host=ghcr.io
        time="2024-08-13T18:06:44Z" level=fatal msg="failed to resolve reference \"ghcr.io/stargz-containers/registry:2-org\": failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Astargz-containers%2Fregistry%3Apull&service=ghcr.io: 502 Bad Gateway"

Rootless networking failure:

=== RUN   TestLogin
=== PAUSE TestLogin
=== CONT  TestLogin
    login_linux_test.go:273: assertion failed: res.ExitCode is not exitCode: 
        Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test --debug-full login --username OSBP93J6rViRAEsMVVqGzgCWwPOW6SubEtkSGhoO∞ --password 1hd21fUejwtWS1lnwuorQwaV_NYsAxKz9d8soTPw:∞ --hosts-dir /tmp/TestLogin3472430970/104/certs.d2933824469 --insecure-registry=true http://172.17.0.2:5003/
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   time="2024-08-13T18:14:14Z" level=warning msg="WARNING! Using --password via the CLI is insecure. Use --password-stdin."
        time="2024-08-13T18:14:14Z" level=warning msg="skipping verifying HTTPS certs for \"172.17.0.2:5003\""
        time="2024-08-13T18:14:14Z" level=debug msg="Found hosts dir \"/tmp/TestLogin3472430970/104/certs.d2933824469\""
        time="2024-08-13T18:14:14Z" level=debug msg="len(regHosts)=1"
        time="2024-08-13T18:14:14Z" level=debug msg="no scope specified for token auth challenge" host="172.17.0.2:5003"
        time="2024-08-13T18:15:41Z" level=error msg="failed to call tryLoginWithRegHost" error="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[http://172.17.0.2:5000/auth\](http://172.17.0.2:5000/auth/)": read tcp 172.17.0.2:39980->172.17.0.2:5000: read: connection reset by peer" i=0
        time="2024-08-13T18:15:41Z" level=fatal msg="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[http://172.17.0.2:5000/auth\](http://172.17.0.2:5000/auth/)": read tcp 172.17.0.2:39980->172.17.0.2:5000: read: connection reset by peer"
        
        
--- FAIL: TestLogin (347.56s)

@apostasie apostasie marked this pull request as draft August 13, 2024 21:02
@apostasie apostasie mentioned this pull request Aug 16, 2024
@apostasie
Copy link
Contributor Author

?

    image_list_test.go:113: assertion failed: 0 (int) != 1 (res.ExitCode int): 
        Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test images --filter label=foo=bar1
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   time="2024-08-17T15:32:01Z" level=fatal msg="content digest sha256:78fd31264402b92e3db740596484af9676ac35b1c1e3b8d9f6d1a9e9c38e7328: not found"
        
        
--- FAIL: TestImagesFilter (4.80s)

IPFS push re-use of closed network connection:

=== RUN   TestIPFSComposeUp/ipfs-address
    ipfs_linux_test.go:139: assertion failed: 0 (int) != 1 (res.ExitCode int): 
        Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test push --ipfs-address=/ip4/172.17.0.2/tcp/5000 ipfs://ghcr.io/stargz-containers/wordpress:5.7-org
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   time="2024-08-17T15:31:43Z" level=info msg="pushing image \"ghcr.io/stargz-containers/wordpress:5.7-org\" to IPFS"
        time="2024-08-17T15:31:43Z" level=info msg="ensuring image contents"
        time="2024-08-17T15:31:44Z" level=warning msg="ipfs push failed" error="Post \"http://172.17.0.2:5000/api/v0/add?cid-version=1&pin=true\": write tcp 172.17.0.2:33058->172.17.0.2:5000: use of closed network connection"
        time="2024-08-17T15:31:44Z" level=fatal msg="Post \"http://172.17.0.2:5000/api/v0/add?cid-version=1&pin=true\": write tcp 172.17.0.2:33058->172.17.0.2:5000: use of closed network connection"
        
        
    --- FAIL: TestIPFSComposeUp/ipfs-address (2.18s)

@apostasie apostasie changed the title [FLAKY DEBUG] IPFS/Compose failure [FLAKY DEBUG, NO RETRIES] Current focus: IPFS/Compose failure Aug 17, 2024
@apostasie
Copy link
Contributor Author

We should just disable retries on main.
Closing.

@apostasie apostasie closed this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant