Flaky test: `TestIPFSAddrWithKubo`

Open
#4,838 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
testing

Research direction

Start with TestIPFSAddrWithKubo and the failure at kubo.go:78; inspect the linked GitHub Actions job and its logs to understand why Kubo does not answer within five attempts. Done means the test is no longer flaky and passes reliably under the affected Actions run.

Written by the indexing model from the issue text.

Description

area/ci area/ipfs

https://github.com/containerd/nerdctl/actions/runs/24203353832/job/70653393206

    kubo.go:78: assertion failed: error is not nil: error after 5 attempts: Get "http://172.17.0.2:5001/api/v0": context deadline exceeded (Client.Timeout exceeded while awaiting headers): failed starting kubo registry in a timely manner: error after 5 attempts: Get "http://172.17.0.2:5001/api/v0": context deadline exceeded (Client.Timeout exceeded while awaiting headers) - logs: generating ED25519 keypair...done
Dominant language
Go
Stars
10.5k
Forks
853
Avg merge
6d 14h
Merged PRs (30d)
38

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/nerdctl

All issues in containerd/nerdctl

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.