[CI] Canary is hanging-up

Open
#4,363 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
ci-cd, testing-qa

Research direction

Start with the linked GitHub Actions job and compare its hung test list with a successful build. Check the legacy container tests after TestCopyToContainer and TestCopyFromContainer, which are known to finish, to identify the offending test. Done means locating the hanging test or rewriting the relevant legacy tests so command execution timeouts apply.

Written by the indexing model from the issue text.

Description

area/ci bug
Description

Despite recently upping the timeout to 60 minutes, canary runs occasionally get stuck.

Since it happens with legacy tests (where we do not timeout command execution) we unfortunately have very little information.

TestCopyToContainer and TestCopyFromContainer do finish.

Presumably, another container test is stuck.

https://github.com/containerd/nerdctl/actions/runs/15838570010/job/44647113095?pr=4359

Two things could be done:

  • continue rewriting container tests
  • diff the hung build with the list of tests from a successful build to figure out which one is the offending test
Steps to reproduce the issue
Describe the results you received and expected

Not hang

What version of nerdctl are you using?

main

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

None

Host information

No response

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.