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

TestScheduleTestSuite/TestAPI is unstable #6627

Closed
HuSharp opened this issue Jun 16, 2023 · 1 comment · Fixed by #8034
Closed

TestScheduleTestSuite/TestAPI is unstable #6627

HuSharp opened this issue Jun 16, 2023 · 1 comment · Fixed by #8034
Assignees
Labels
type/ci The issue is related to CI.

Comments

@HuSharp
Copy link
Member

HuSharp commented Jun 16, 2023

Flaky Test

Which jobs are failing

2023-06-16T09:30:18.1799734Z --- FAIL: TestScheduleTestSuite (13.96s)
2023-06-16T09:30:18.1800068Z     --- FAIL: TestScheduleTestSuite/TestAPI (11.60s)
2023-06-16T09:30:18.1800323Z         scheduler_test.go:547: 
2023-06-16T09:30:18.1800906Z             	Error Trace:	/home/runner/work/pd/pd/server/api/scheduler_test.go:547
2023-06-16T09:30:18.1801916Z             	            				/home/runner/work/pd/pd/server/api/scheduler_test.go:381
2023-06-16T09:30:18.1802198Z             	Error:      	Not equal: 
2023-06-16T09:30:18.1802525Z             	            	expected: 1
2023-06-16T09:30:18.1802845Z             	            	actual  : 0
2023-06-16T09:30:18.1803200Z             	Test:       	TestScheduleTestSuite/TestAPI

CI link

https://github.com/tikv/pd/actions/runs/5288378224/jobs/9570004665

Reason for failure (if possible)

Anything else

@HuSharp HuSharp added the type/ci The issue is related to CI. label Jun 16, 2023
@HuSharp HuSharp changed the title TestAPI is unstable TestScheduleTestSuite/TestAPI is unstable Sep 28, 2023
@lhy1024
Copy link
Contributor

lhy1024 commented Nov 22, 2023

again

2023-11-22T09:32:30.9732094Z --- FAIL: TestScheduleTestSuite (103.39s)
2023-11-22T09:32:30.9732545Z     --- FAIL: TestScheduleTestSuite/TestAPI (85.09s)
2023-11-22T09:32:30.9733031Z         testutil.go:264: start to run test in pd mode
2023-11-22T09:32:30.9733502Z         testutil.go:268: finish to run test in pd mode
2023-11-22T09:32:30.9733960Z         testutil.go:273: start to run test in api mode
2023-11-22T09:32:30.9734258Z         api_check.go:29: 
2023-11-22T09:32:30.9735157Z             	Error Trace:	/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:29
2023-11-22T09:32:30.9736441Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:157
2023-11-22T09:32:30.9737696Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:87
2023-11-22T09:32:30.9739031Z             	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:687
2023-11-22T09:32:30.9740488Z             	            				/opt/hostedtoolcache/go/1.21.4/x64/src/runtime/asm_amd64.s:1650
2023-11-22T09:32:30.9740841Z             	Error:      	Not equal: 
2023-11-22T09:32:30.9741289Z             	            	expected: 200
2023-11-22T09:32:30.9741736Z             	            	actual  : 500
2023-11-22T09:32:30.9742239Z             	Test:       	TestScheduleTestSuite/TestAPI
2023-11-22T09:32:30.9743303Z             	Messages:   	resp: [PD:scheduler:ErrSchedulerNotFound]scheduler not found
2023-11-22T09:32:30.9743619Z         testutil.go:64: 
2023-11-22T09:32:30.9744528Z             	Error Trace:	/home/runner/work/pd/pd/pkg/utils/testutil/testutil.go:64
2023-11-22T09:32:30.9746036Z             	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:686
2023-11-22T09:32:30.9747393Z             	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:562
2023-11-22T09:32:30.9748425Z             	            				/home/runner/work/pd/pd/tests/testutil.go:277
2023-11-22T09:32:30.9749627Z             	            				/home/runner/work/pd/pd/tests/testutil.go:259
2023-11-22T09:32:30.9750920Z             	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:117
2023-11-22T09:32:30.9751482Z             	Error:      	Condition never satisfied
2023-11-22T09:32:30.9751976Z             	Test:       	TestScheduleTestSuite/TestAPI
2023-11-22T09:32:30.9752104Z FAIL

https://github.com/tikv/pd/actions/runs/6955247357/job/18923644485?pr=7403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/ci The issue is related to CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants