Open
Description
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