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

Unstable test TestPoolTuneScaleUpAndDown #42163

Closed
Tracked by #41316
iosmanthus opened this issue Mar 13, 2023 · 0 comments · Fixed by #42187 or #42744
Closed
Tracked by #41316

Unstable test TestPoolTuneScaleUpAndDown #42163

iosmanthus opened this issue Mar 13, 2023 · 0 comments · Fixed by #42187 or #42744
Labels
component/test severity/moderate type/bug The issue is confirmed as a bug.

Comments

@iosmanthus
Copy link
Contributor

Bug Report

[8,378 / 8,631] 229 / 266 tests; Testing //resourcemanager/pool/spool:spool_test (shard 2 of 2); 299s remote-cache, linux-sandbox ... (140 actions running)



TIMEOUT: //resourcemanager/pool/spool:spool_test (Summary)

      /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/resourcemanager/pool/spool/spool_test/shard_2_of_2/test.log

      /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/resourcemanager/pool/spool/spool_test/shard_2_of_2/test_attempts/attempt_1.log

      /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/resourcemanager/pool/spool/spool_test/shard_2_of_2/test_attempts/attempt_2.log

ERROR: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/resourcemanager/pool/spool/BUILD.bazel:25:8: Testing //resourcemanager/pool/spool:spool_test (shard 2 of 2) failed: Test failed, aborting

==================== Test output for //resourcemanager/pool/spool:spool_test (shard 2 of 2):

=== RUN   TestPoolTuneScaleUpAndDown

    spool_test.go:101: expect 8 workers running, but got 6

    spool_test.go:109: 

        	Error Trace:	resourcemanager/pool/spool/spool_test.go:109

        	Error:      	Not equal: 

        	            	expected: 2

        	            	actual  : 0

        	Test:       	TestPoolTuneScaleUpAndDown

--- FAIL: TestPoolTuneScaleUpAndDown (0.70s)

=== RUN   TestRunWithNotEnough

--- PASS: TestRunWithNotEnough (1.00s)

FAIL

coverage: 2.3% of statements

--

Coverage runner: Not collecting coverage for failed test.

The following commands failed with status 1

/home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/5259/execroot/__main__/bazel-out/k8-fastbuild/bin/resourcemanager/pool/spool/spool_test_/spool_test.runfiles/__main__/resourcemanager/pool/spool/spool_test_/spool_test

================================================================================

==================== Test output for //resourcemanager/pool/spool:spool_test (shard 2 of 2):

=== RUN   TestPoolTuneScaleUpAndDown

    spool_test.go:101: expect 8 workers running, but got 7

    spool_test.go:109: 

        	Error Trace:	resourcemanager/pool/spool/spool_test.go:109

        	Error:      	Not equal: 

        	            	expected: 2

        	            	actual  : 1

        	Test:       	TestPoolTuneScaleUpAndDown

--- FAIL: TestPoolTuneScaleUpAndDown (0.70s)

=== RUN   TestRunWithNotEnough

--- PASS: TestRunWithNotEnough (1.00s)

FAIL

coverage: 2.3% of statements

--

Coverage runner: Not collecting coverage for failed test.

The following commands failed with status 1

/home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/5317/execroot/__main__/bazel-out/k8-fastbuild/bin/resourcemanager/pool/spool/spool_test_/spool_test.runfiles/__main__/resourcemanager/pool/spool/spool_test_/spool_test

================================================================================

==================== Test output for //resourcemanager/pool/spool:spool_test (shard 2 of 2):

=== RUN   TestPoolTuneScaleUpAndDown

    spool_test.go:101: expect 8 workers running, but got 5

-- Test timed out at 2023-03-13 18:20:03 CST --

================================================================================

ERROR: Test failed, aborting

INFO: Elapsed time: 364.274s, Critical Path: 340.02s

INFO: 8436 processes: 5192 remote cache hit, 1121 internal, 2123 linux-sandbox.

INFO: Build completed, 1 test FAILED, 8436 total actions

Test cases: finished with 5480 passing and 1 failing out of 5481 test cases



Executed 80 out of 266 tests: 229 tests pass, 1 fails locally and 36 were skipped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
3 participants