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 is unstable #7702

Closed
lhy1024 opened this issue Jan 12, 2024 · 0 comments · Fixed by #8034
Closed

TestScheduleTestSuite is unstable #7702

lhy1024 opened this issue Jan 12, 2024 · 0 comments · Fixed by #8034
Labels
type/ci The issue is related to CI.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Jan 12, 2024

Flaky Test

Which jobs are failing

--- FAIL: TestScheduleTestSuite (71.71s)
    testutil.go:275: start test TestAPI in pd mode
    testutil.go:305: start test TestAPI in api mode
    --- FAIL: TestScheduleTestSuite/TestAPI (64.81s)
        scheduler_test.go:413: 
            	Error Trace:	/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:413
            	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:520
            	            				/home/runner/work/pd/pd/tests/testutil.go:309
            	            				/home/runner/work/pd/pd/tests/testutil.go:270
            	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:133
            	Error:      	Not equal: 
            	            	expected: map[string]interface {}{"1":[]interface {}{map[string]interface {}{"end-key":"", "start-key":""}}}
            	            	actual  : map[string]interface {}{"1":[]interface {}{map[string]interface {}{"end-key":"", "start-key":""}}, "2":[]interface {}{map[string]interface {}{"end-key":"", "start-key":""}}}
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
            	            	@@ -1,3 +1,9 @@
            	            	-(map[string]interface {}) (len=1) {
            	            	+(map[string]interface {}) (len=2) {
            	            	  (string) (len=1) "1": ([]interface {}) (len=1) {
            	            	+  (map[string]interface {}) (len=2) {
            	            	+   (string) (len=7) "end-key": (string) "",
            	            	+   (string) (len=9) "start-key": (string) ""
            	            	+  }
            	            	+ },
            	            	+ (string) (len=1) "2": ([]interface {}) (len=1) {
            	            	   (map[string]interface {}) (len=2) {
            	Test:       	TestScheduleTestSuite/TestAPI
    testutil.go:275: start test TestDisable in pd mode
    testutil.go:305: start test TestDisable in api mode
    --- FAIL: TestScheduleTestSuite/TestDisable (0.40s)
        api_check.go:29: 
            	Error Trace:	/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:29
            	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:157
            	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:105
            	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:638
            	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:609
            	            				/home/runner/work/pd/pd/tests/testutil.go:309
            	            				/home/runner/work/pd/pd/tests/testutil.go:270
            	            				/home/runner/work/pd/pd/tests/server/api/scheduler_test.go:587
            	Error:      	Not equal: 
            	            	expected: 200
            	            	actual  : 500
            	Test:       	TestScheduleTestSuite/TestDisable
            	Messages:   	resp: "[PD:scheduler:ErrSchedulerExisted]scheduler existed"

CI link

https://github.com/tikv/pd/actions/runs/7486974975/job/20378414748?pr=7691

Reason for failure (if possible)

Anything else

@lhy1024 lhy1024 added the type/ci The issue is related to CI. label Jan 12, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in #8034 Apr 8, 2024
ti-chi-bot bot added a commit that referenced this issue Apr 8, 2024
close #6627, close #7702

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
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.

1 participant