Skip to content

unstable test: TestGetCgroupCPU #39786

Closed
@purelind

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

=== RUN   TestGetCgroupCPU
    cgroup_cpu_test.go:45: 
        	Error Trace:	/home/jenkins/.tidb/tmp/5b8829669b2a941b840f9eb369e2b54f/sandbox/processwrapper-sandbox/2105/execroot/__main__/bazel-out/k8-fastbuild/bin/util/cgroup/cgroup_test_/cgroup_test.runfiles/__main__/util/cgroup/cgroup_cpu_test.go:45
        	Error:      	Received unexpected error:
        	            	no cpu controller detected
        	            	github.com/pingcap/tidb/util/cgroup.getCgroupCPU
        	            		util/cgroup/cgroup_cpu.go:33
        	            	github.com/pingcap/tidb/util/cgroup.GetCgroupCPU
        	            		util/cgroup/cgroup_cpu_linux.go:28
        	            	github.com/pingcap/tidb/util/cgroup.TestGetCgroupCPU
        	            		util/cgroup/cgroup_cpu_test.go:44
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1446
        	            	runtime.goexit
        	            		GOROOT/src/runtime/asm_amd64.s:1594
        	Test:       	TestGetCgroupCPU
--- FAIL: TestGetCgroupCPU (0.00s)

link https://ci.pingcap.net/blue/organizations/jenkins/tidb-unit-test-hourly/detail/tidb-unit-test-hourly/13322/tests

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions