Skip to content

[LEGACY] [CI]: ipfs /root/.ipfs/api not available #4118

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

Open
apostasie opened this issue Apr 17, 2025 · 0 comments
Open

[LEGACY] [CI]: ipfs /root/.ipfs/api not available #4118

apostasie opened this issue Apr 17, 2025 · 0 comments
Labels
area/ci e.g., CI failure bug Something isn't working

Comments

@apostasie
Copy link
Contributor

Description

Seen on EL8 - which is notoriously slower than other environment.

Looks like ipfs could be very slow to start - or timeouting somehow.

/root/.ipfs/api is not there when we need it.

Steps to reproduce the issue

Describe the results you received and expected

    issues_linux_test.go:156: 
        
        +------------------------------------------------------------------------------------------------------------+
        | ➡️      | ⚙️ /usr/local/bin/nerdctl image push ipfs://ghcr.io/stargz-containers/alpine:3.13-org            |
        +------------------------------------------------------------------------------------------------------------+
        |         | 🚫 command returned a non-zero exit code                                                         |
        +------------------------------------------------------------------------------------------------------------+
        |         | ⚠️ 1                                                                                             |
        +------------------------------------------------------------------------------------------------------------+
        |         | 🟠 time="2025-04-17T07:15:41Z" level=info msg="pushing image \"ghcr.io/stargz-containers/alpine: |
        |         | 3.13-org\" to IPFS"                                                                              |
        |         | time="2025-04-17T07:15:41Z" level=info msg="ensuring image contents"                             |
        |         | time="2025-04-17T07:15:41Z" level=warning msg="failed to ensure the existence of image \"ghcr.io |
        |         | /stargz-containers/alpine:3.13-org\"" error="open /root/.ipfs/api: no such file or directory"    |
        |         | time="2025-04-17T07:15:41Z" level=warning msg="ipfs push failed" error="open /root/.ipfs/api: no |
        |         |  such file or directory"                                                                         |
        |         | time="2025-04-17T07:15:41Z" level=fatal msg="open /root/.ipfs/api: no such file or directory"    |
        +------------------------------------------------------------------------------------------------------------+
        | 🌱      | HOME=/root                                                                                       |
        |         | PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin |
        |         | :/bin                                                                                            |
        |         | NERDCTL_TOML=/tmp/TestIssue3425with_ipfs840600782/001/nerdctl.toml                               |
        |         | DOCKER_CONFIG=/tmp/TestIssue3425with_ipfs840600782/001                                           |
        |         | IPFS_PATH=/root/.ipfs                                                                            |
        +------------------------------------------------------------------------------------------------------------+
        | ⏰      | <1s (limit: 3m0s)                                                                                |
        +------------------------------------------------------------------------------------------------------------+
        | 📁      | /tmp/TestIssue3425with_ipfs840600782/001                                                         |
        +------------------------------------------------------------------------------------------------------------+

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Apr 17, 2025
@AkihiroSuda AkihiroSuda added bug Something isn't working area/ci e.g., CI failure and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Apr 20, 2025
@apostasie apostasie changed the title [CI]: ipfs /root/.ipfs/api not available [LEGACY] [CI]: ipfs /root/.ipfs/api not available Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants