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

Flaky test: TestRunPIDsLimit #42416

Open
thaJeztah opened this issue May 25, 2021 · 0 comments
Open

Flaky test: TestRunPIDsLimit #42416

thaJeztah opened this issue May 25, 2021 · 0 comments
Labels
area/testing kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

Comments

@thaJeztah
Copy link
Member

Seeing this test fail a couple of times recently:
e.g. #42393 (comment)
also failed on #42412
Looks like it failed a long time ago as well #36589 (comment)

=== RUN   TestDockerSuite/TestRunPIDsLimit
    --- FAIL: TestDockerSuite/TestRunPIDsLimit (0.99s)
        docker_cli_run_unix_test.go:1395: assertion failed:
            Command:  /usr/local/cli/docker run --name skittles --pids-limit 4 busybox cat /sys/fs/cgroup/pids/pids.max
            ExitCode: 125
            Error:    exit status 125
            Stdout:
            Stderr:   runtime/cgo: pthread_create failed: Resource temporarily unavailable
            SIGABRT: abort
            PC=0x91ce6b m=2 sigcode=18446744073709551610

            goroutine 0 [idle]:
            runtime: unknown pc 0x91ce6b
            stack: frame={sp:0x7f5fa52546c0, fp:0x0} stack=[0x7f5fa4a55148,0x7f5fa5254d48)
            00007f5fa52545c0:  0000000000000000  0000000000000000
            00007f5fa52545d0:  0000000000000000  0000000000000000
            00007f5fa52545e0:  0000000000000000  0000000000000000
            00007f5fa52545f0:  0000000000000000  0000000000000000
            00007f5fa5254600:  0000000000000000  0000000000000000
            00007f5fa5254610:  0000000000000000  0000000000000000
            00007f5fa5254620:  0000000000000000  0000000000000000
            00007f5fa5254630:  00007f5fa5254660  000000000042c547 <runtime.netpollready+119>
            00007f5fa5254640:  00007f5fa3216e38  0000000100000077
            00007f5fa5254650:  0000000000000000  0000000000000000
            00007f5fa5254660:  00007f5fa5254ca8  000000000042cee2 <runtime.netpoll+242>
            00007f5fa5254670:  00007f5fa52546a0  00007f5fa3216e38
            00007f5fa5254680:  0000000000000077  0000000000000001
            00007f5fa5254690:  0000000000000000  0000000000000001
            00007f5fa52546a0:  00007f5fa52546d0  000000000041f12c <runtime.(*mTreap).end+76>
            00007f5fa52546b0:  0000000000000000  0000000000000001
            00007f5fa52546c0: <0000000000000000  0000000100000000
            00007f5fa52546d0:  00007f5fa5254760  0000000000428a5d <runtime.(*mheap).scavengeLocked+557>
            00007f5fa52546e0:  0000000000ff98e8  0000000000000003
            00007f5fa52546f0:  0000000000000001  000000000041ae14 <runtime.(*fixalloc).alloc+116>
            00007f5fa5254700:  00007f5fa7494008  0000000000000038
            00007f5fa5254710:  0000000000000000  0000000000000000
            00007f5fa5254720:  0000000000000000  00007f5fa7494008
            00007f5fa5254730:  00007f5fa5254788  000000000041f40d <runtime.(*mTreap).insert+253>
            00007f5fa5254740:  fffffffe7fffffff  ffffffffffffffff
            00007f5fa5254750:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254760:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254770:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254780:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254790:  ffffffffffffffff  ffffffffffffffff
            00007f5fa52547a0:  ffffffffffffffff  ffffffffffffffff
            00007f5fa52547b0:  ffffffffffffffff  ffffffffffffffff
            runtime: unknown pc 0x91ce6b
            stack: frame={sp:0x7f5fa52546c0, fp:0x0} stack=[0x7f5fa4a55148,0x7f5fa5254d48)
            00007f5fa52545c0:  0000000000000000  0000000000000000
            00007f5fa52545d0:  0000000000000000  0000000000000000
            00007f5fa52545e0:  0000000000000000  0000000000000000
            00007f5fa52545f0:  0000000000000000  0000000000000000
            00007f5fa5254600:  0000000000000000  0000000000000000
            00007f5fa5254610:  0000000000000000  0000000000000000
            00007f5fa5254620:  0000000000000000  0000000000000000
            00007f5fa5254630:  00007f5fa5254660  000000000042c547 <runtime.netpollready+119>
            00007f5fa5254640:  00007f5fa3216e38  0000000100000077
            00007f5fa5254650:  0000000000000000  0000000000000000
            00007f5fa5254660:  00007f5fa5254ca8  000000000042cee2 <runtime.netpoll+242>
            00007f5fa5254670:  00007f5fa52546a0  00007f5fa3216e38
            00007f5fa5254680:  0000000000000077  0000000000000001
            00007f5fa5254690:  0000000000000000  0000000000000001
            00007f5fa52546a0:  00007f5fa52546d0  000000000041f12c <runtime.(*mTreap).end+76>
            00007f5fa52546b0:  0000000000000000  0000000000000001
            00007f5fa52546c0: <0000000000000000  0000000100000000
            00007f5fa52546d0:  00007f5fa5254760  0000000000428a5d <runtime.(*mheap).scavengeLocked+557>
            00007f5fa52546e0:  0000000000ff98e8  0000000000000003
            00007f5fa52546f0:  0000000000000001  000000000041ae14 <runtime.(*fixalloc).alloc+116>
            00007f5fa5254700:  00007f5fa7494008  0000000000000038
            00007f5fa5254710:  0000000000000000  0000000000000000
            00007f5fa5254720:  0000000000000000  00007f5fa7494008
            00007f5fa5254730:  00007f5fa5254788  000000000041f40d <runtime.(*mTreap).insert+253>
            00007f5fa5254740:  fffffffe7fffffff  ffffffffffffffff
            00007f5fa5254750:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254760:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254770:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254780:  ffffffffffffffff  ffffffffffffffff
            00007f5fa5254790:  ffffffffffffffff  ffffffffffffffff
            00007f5fa52547a0:  ffffffffffffffff  ffffffffffffffff
            00007f5fa52547b0:  ffffffffffffffff  ffffffffffffffff

            goroutine 1 [runnable, locked to thread]:
            syscall.Syscall6(0x101, 0xffffffffffffff9c, 0xc000222cf0, 0x80001, 0x0, 0x0, 0x0, 0x3, 0x80001, 0x0)
            	syscall/asm_linux_amd64.s:44 +0x5
            github.com/opencontainers/runc/vendor/golang.org/x/sys/unix.openat(0xffffffffffffff9c, 0xc00019d0d8, 0xf, 0x80001, 0x0, 0xc00019d0d8, 0xf, 0xa01f40)
            	github.com/opencontainers/runc/vendor/golang.org/x/sys/unix/zsyscall_linux.go:77 +0xbb
            github.com/opencontainers/runc/vendor/golang.org/x/sys/unix.Open(...)
            	github.com/opencontainers/runc/vendor/golang.org/x/sys/unix/syscall_linux.go:90
            github.com/opencontainers/runc/libcontainer.(*linuxStandardInit).Init(0xc000150f90, 0x0, 0x0)
            	github.com/opencontainers/runc/libcontainer/standard_init_linux.go:197 +0x7b6
            github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc0000e8120, 0x0, 0x0)
            	github.com/opencontainers/runc/libcontainer/factory_linux.go:402 +0x4e7
            main.glob..func6(0xc0000a89a0, 0x0, 0xc000130350)
            	github.com/opencontainers/runc/init.go:49 +0x4b
            github.com/opencontainers/runc/vendor/github.com/urfave/cli.HandleAction(0xa11500, 0xb09d50, 0xc0000a89a0, 0xc0000a89a0, 0x0)
            	github.com/opencontainers/runc/vendor/github.com/urfave/cli/app.go:523 +0xbe
            github.com/opencontainers/runc/vendor/github.com/urfave/cli.Command.Run(0xae295f, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb03408, 0x51, 0x0, ...)
            	github.com/opencontainers/runc/vendor/github.com/urfave/cli/command.go:174 +0x51c
            github.com/opencontainers/runc/vendor/github.com/urfave/cli.(*App).Run(0xc0000bc540, 0xc00000e0a0, 0x2, 0x2, 0x0, 0x0)
            	github.com/opencontainers/runc/vendor/github.com/urfave/cli/app.go:276 +0x718
            main.main()
            	github.com/opencontainers/runc/main.go:165 +0xbb1

            goroutine 7 [syscall]:
            os/signal.signal_recv(0x0)
            	runtime/sigqueue.go:147 +0x9c
            os/signal.loop()
            	os/signal/signal_unix.go:23 +0x22
            created by os/signal.init.0
            	os/signal/signal_unix.go:29 +0x41

            rax    0x0
            rbx    0x6
            rcx    0x91ce6b
            rdx    0x0
            rdi    0x2
            rsi    0x7f5fa52546c0
            rbp    0xbd837a
            rsp    0x7f5fa52546c0
            r8     0x0
            r9     0x7f5fa52546c0
            r10    0x8
            r11    0x246
            r12    0x1634d20
            r13    0x0
            r14    0xb95f1c
            r15    0x0
            rip    0x91ce6b
            rflags 0x246
            cs     0x33
            fs     0x0
            gs     0x0
            /usr/local/cli/docker: Error response from daemon: OCI runtime start failed: cannot start an already running container: unknown.
            time="2021-05-25T10:24:54Z" level=error msg="error waiting for container: context canceled"


            Failures:
            ExitCode was 125 expected 0
            Expected no error
@thaJeztah thaJeztah added kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. area/testing labels May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Projects
None yet
Development

No branches or pull requests

1 participant