Repository navigation
Closed
Labels
bugSomething isn't working
Description
Description
Regularly seeing:
=== RUN TestCreate/logs
container_create_test.go:68: ======================== Pre-test cleanup ========================
container_create_test.go:68: ======================== Test setup ========================
container_create_test.go:68: ======================== Test Run ========================
command.go:112: /usr/local/bin/nerdctl --namespace=nerdctl-test logs testcreate-container-13f956b8
command.go:112: assertion failed: expression is false: strings.Contains(stdout, compare): Output does not contain: "foo"
Command: /usr/local/bin/nerdctl --namespace=nerdctl-test logs testcreate-container-13f956b8
ExitCode: 0
Stdout:
Stderr:
Env:
HOSTNAME=7a31bdc569d5
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
SYSTEMD_EXEC_PID=80
container=docker
HOME=/root
LANG=C.UTF-8
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/docker-entrypoint.service/memory.pressure
INVOCATION_ID=b617c8bc19b646fab[564](https://github.com/containerd/nerdctl/actions/runs/12128694305/job/33815645478?pr=3716#step:7:565)5ab9fa1d7038
TERM=xterm
USER=root
SHLVL=3
CGO_ENABLED=0
_=/usr/local/bin/gotestsum
PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
***
DOCKER_CONFIG=/tmp/TestCreatelogs930266936/001
NERDCTL_TOML=/tmp/TestCreatelogs930266936/001/nerdctl.toml
container_create_test.go:68: ======================== Processing subtests ========================
case.go:164: ======================== Post-test cleanup ========================
--- FAIL: TestCreate/logs (0.02s)
It is unclear if the test is somehow broken, or if we have a deeper issue with logs.
Steps to reproduce the issue
No response
Describe the results you received and expected
na
What version of nerdctl are you using?
main
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
apostasie commentedon Dec 2, 2024
Possibly a recent regression.
Haven't seen this before.
Cannot reproduce locally.
[-]TestCreate/logs appears to be flaky[/-][+]CI failure: nerdctl - TestCreate/logs appears to be flaky[/+][-]CI failure: nerdctl - TestCreate/logs appears to be flaky[/-][+][CI]: failure nerdctl - TestCreate/logs appears to be flaky[/+]Shubhranshu153 commentedon May 5, 2025
@apostasie assign this to me
apostasie commentedon May 6, 2025
@Shubhranshu153 I am not a maintainer.
Tag @AkihiroSuda: can you assign ^?
Shubhranshu153 commentedon May 9, 2025
This one we fixed with (#4196) and can close it