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

scheduler test failed with unexpected scheduling state #6359

Closed
binshi-bing opened this issue Apr 22, 2023 · 5 comments · Fixed by #6377
Closed

scheduler test failed with unexpected scheduling state #6359

binshi-bing opened this issue Apr 22, 2023 · 5 comments · Fixed by #6377
Labels
type/ci The issue is related to CI.

Comments

@binshi-bing
Copy link
Contributor

Flaky Test

Which jobs are failing

--- FAIL: TestScheduler (6.81s)
scheduler_test.go:121:
Error Trace: /home/runner/work/pd/pd/tests/pdctl/scheduler/scheduler_test.go:121
/home/runner/work/pd/pd/tests/pdctl/scheduler/scheduler_test.go:463
Error: Not equal:
expected: "paused"
actual : "normal"

    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -1 +1 @@
    	            	-paused
    	            	+normal
    	Test:       	TestScheduler

FAIL

CI link

https://github.com/tikv/pd/actions/runs/4769963772/jobs/8480815256?pr=6358

Reason for failure (if possible)

Anything else

@binshi-bing binshi-bing added the type/ci The issue is related to CI. label Apr 22, 2023
@binshi-bing
Copy link
Contributor Author

ti-chi-bot bot pushed a commit that referenced this issue Apr 25, 2023
close #6359

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx reopened this Apr 25, 2023
@lhy1024
Copy link
Contributor

lhy1024 commented Sep 1, 2023

after 2d3cd4c#diff-3b0c38bb47c0492da4e0cf5b1034e6f549716c25c40fa584385bb861bb2a6015 in #6584
it executes before checking the result in a loop, which test stable.

I will close it, feel free to reopen it if you meet again.

@lhy1024 lhy1024 closed this as completed Sep 1, 2023
@rleungx
Copy link
Member

rleungx commented Sep 7, 2023

@rleungx rleungx reopened this Sep 7, 2023
@lhy1024
Copy link
Contributor

lhy1024 commented Sep 7, 2023

--- FAIL: TestScheduler (5.26s)
    scheduler_test.go:121: 
        	Error Trace:	/home/runner/work/pd/pd/tests/pdctl/scheduler/scheduler_test.go:121
        	            				/home/runner/work/pd/pd/tests/pdctl/scheduler/scheduler_test.go:146
        	Error:      	Not equal: 
        	            	expected: "1 store(s) RegionNotMatchRule; "
        	            	actual  : "1 store(s) StoreScoreDisallowed; 1 store(s) RegionNotMatchRule; "
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-1 store(s) RegionNotMatchRule; 
        	            	+1 store(s) StoreScoreDisallowed; 1 store(s) RegionNotMatchRule; 
        	Test:       	TestScheduler

It seems to be in different places.

@rleungx
Copy link
Member

rleungx commented Sep 11, 2023

Close it because they are different problems. The new problem is tracked by #7062.

@rleungx rleungx closed this as completed Sep 11, 2023
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.

3 participants