Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

shimv2 tests failing randomly #502

@chavafg

Description

@chavafg

Description of problem

Since the introduction of #490, the shimv2 started to fail randomly on all CI jobs.

08:47:57     container_stats_test.go:301: Fetch container stats for sandbox truncID and container truncID filter 
08:47:57     container_stats_test.go:318: Verify container stats for sandbox "04796b82a6d2c7c5159c3c581ae45a6b352e32ed0b2abf7847432988290383bc" and container "8c6b169c3c2237e1f93fee5738538fc5c24e4db0dc6a2cf2c501d3688ada58d6" filter
08:47:57     container_stats_test.go:318: Verify container stats for sandbox "04796b82a6d2c7c5159c3c581ae45a6b352e32ed0b2abf7847432988290383bc" and container "04f11f92a67646848edac381d9cf49ce3b692ec49985fea1e7c92208af2f78d9" filter
08:47:57     container_stats_test.go:318: Verify container stats for sandbox "04796b82a6d2c7c5159c3c581ae45a6b352e32ed0b2abf7847432988290383bc" and container "7bf6385af51459377d5f691f1dcafbae702b1f827927e9e29b0b4b432c479203" filter
08:47:57     assertions.go:237: 
                        
	Error Trace:	container_stats_test.go:274
08:47:57         
			container_stats_test.go:323
08:47:57         
	Error:		Received unexpected error rpc error: code = Unknown desc = failed to stop container "8c6b169c3c2237e1f93fee5738538fc5c24e4db0dc6a2cf2c501d3688ada58d6": container not running: unknown
08:47:57         
08:47:57     assertions.go:237: 
                        
	Error Trace:	container_stats_test.go:270
08:47:57         
			container_stats_test.go:323
08:47:57         
	Error:		Received unexpected error rpc error: code = Unknown desc = failed to set removing state for container "8c6b169c3c2237e1f93fee5738538fc5c24e4db0dc6a2cf2c501d3688ada58d6": container is still running, to stop first
08:47:57         
08:47:57 FAIL
08:47:57 ./hack/test-utils.sh: line 53: 107643 Terminated              keepalive "sudo PATH=${PATH} ${ROOT}/_output/containerd ${CONTAINERD_FLAGS}" ${RESTART_WAIT_PERIOD} &> ${report_dir}/containerd.log
08:47:57 make[1]: *** [Makefile:116: test-integration] Error 1
08:47:57 make[1]: Leaving directory '/tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/containerd/cri'
08:47:57 make: *** [Makefile:101: shimv2] Error 2

/cc @lifupan @bergwolf @sboeuf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions