Skip to content

Flaky TestContentClient testing #4927

@fuweid

Description

@fuweid
time="2021-01-11T16:01:53Z" level=info msg="start to pull seed image" image="docker.io/library/alpine:latest"
--- FAIL: TestContentClient (4.72s)
    --- FAIL: TestContentClient/CommitErrorState (3.46s)
Error:         testsuite.go:119: Cleanup failed: unknown
            github.com/containerd/containerd/errdefs.init
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/errdefs/errors.go:43
            runtime.doInit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:5480
            runtime.doInit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:5475
            runtime.doInit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:5475
            runtime.doInit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:5475
            runtime.main
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:190
            runtime.goexit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/asm_amd64.s:1373
            unlinkat /var/lib/containerd-test/io.containerd.content.v1.content/ingest/9101c5f249b4cb38a50dddda86a787c09f31099573c87c525fc50774ac21d05d: directory not empty
            github.com/containerd/containerd/errdefs.FromGRPC
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/errdefs/grpc.go:107
            github.com/containerd/containerd/content/proxy.(*proxyContentStore).Abort
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content/proxy/content_store.go:187
            github.com/containerd/containerd.newContentStore.func2
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content_test.go:60
            github.com/containerd/containerd/content/testsuite.makeTest.func1.1
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content/testsuite/testsuite.go:118
            github.com/containerd/containerd/content/testsuite.makeTest.func1
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content/testsuite/testsuite.go:139
            testing.tRunner
            	/opt/hostedtoolcache/go/1.14.13/x64/src/testing/testing.go:1050
            runtime.goexit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/asm_amd64.s:1373
            failed to abort c1-commiterror-state
            github.com/containerd/containerd.newContentStore.func2
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content_test.go:61
            github.com/containerd/containerd/content/testsuite.makeTest.func1.1
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content/testsuite/testsuite.go:118
            github.com/containerd/containerd/content/testsuite.makeTest.func1
            	/home/runner/work/containerd/containerd/src/github.com/containerd/containerd/content/testsuite/testsuite.go:139
            testing.tRunner
            	/opt/hostedtoolcache/go/1.14.13/x64/src/testing/testing.go:1050
            runtime.goexit
            	/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/asm_amd64.s:1373
FAIL

just feel weird about go 1.14.13 version in the stack

https://github.com/containerd/containerd/pull/4682/checks?check_run_id=1682303514

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions