Skip to content
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

CI failure: nerdctl - TestCreate/logs appears to be flaky #3717

Open
apostasie opened this issue Dec 2, 2024 · 1 comment
Open

CI failure: nerdctl - TestCreate/logs appears to be flaky #3717

apostasie opened this issue Dec 2, 2024 · 1 comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim

Comments

@apostasie
Copy link
Contributor

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

@apostasie
Copy link
Contributor Author

apostasie commented Dec 2, 2024

Possibly a recent regression.
Haven't seen this before.
Cannot reproduce locally.

@apostasie apostasie changed the title TestCreate/logs appears to be flaky CI failure: nerdctl - TestCreate/logs appears to be flaky Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim
Projects
None yet
Development

No branches or pull requests

1 participant