Skip to content

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

Closed

Description

@apostasie

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

Activity

  1. apostasie commented on Dec 2, 2024

    @apostasie
    ContributorAuthor

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

  2. changed the title [-]TestCreate/logs appears to be flaky[/-] [+]CI failure: nerdctl - TestCreate/logs appears to be flaky[/+] on Dec 4, 2024
  3. changed the title [-]CI failure: nerdctl - TestCreate/logs appears to be flaky[/-] [+][CI]: failure nerdctl - TestCreate/logs appears to be flaky[/+] on Apr 16, 2025
  4. Shubhranshu153 commented on May 5, 2025

    @Shubhranshu153
    Contributor

    @apostasie assign this to me

  5. apostasie commented on May 6, 2025

    @apostasie
    ContributorAuthor

    @Shubhranshu153 I am not a maintainer.

    Tag @AkihiroSuda: can you assign ^?

  6. added
    bug
    and removed
    kind/unconfirmed-bug-claim
    on May 6, 2025
  7. Shubhranshu153 commented on May 9, 2025

    @Shubhranshu153
    Contributor

    This one we fixed with (#4196) and can close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions