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

TestForwardTSOUnexpectedToFollower2 is unstable #8397

Closed
okJiang opened this issue Jul 15, 2024 · 3 comments · Fixed by #8595
Closed

TestForwardTSOUnexpectedToFollower2 is unstable #8397

okJiang opened this issue Jul 15, 2024 · 3 comments · Fixed by #8595
Labels
type/ci The issue is related to CI.

Comments

@okJiang
Copy link
Member

okJiang commented Jul 15, 2024

Flaky Test

Which jobs are failing

--- FAIL: TestForwardTSOUnexpectedToFollower2 (8.36s)
    server_test.go:446: 
        	Error Trace:	/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:446
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:485
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:440
        	Error:      	Received unexpected error:
        	            	rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster
        	Test:       	TestForwardTSOUnexpectedToFollower2
    server_test.go:313: 
        	Error Trace:	/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:313
        	            				/opt/hostedtoolcache/go/1.21.12/x64/src/runtime/panic.go:541
        	            				/opt/hostedtoolcache/go/1.21.12/x64/src/testing/testing.go:999
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:446
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:485
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:440
        	Error:      	Should be empty, but was [{"service-addr":"http://127.0.0.1:36189/","version":"None","git-hash":"None","deploy-path":"/home/runner/work/pd/pd/tests/integrations/mcs/tso","start-timestamp":1721034672} {"service-addr":"http://127.0.0.1:46735/","version":"None","git-hash":"None","deploy-path":"/home/runner/work/pd/pd/tests/integrations/mcs/tso","start-timestamp":1721034673}]
        	Test:       	TestForwardTSOUnexpectedToFollower2
FAIL

CI link

https://github.com/tikv/pd/actions/runs/9936654996/job/27445363927?pr=8396

Reason for failure (if possible)

Anything else

@okJiang okJiang added the type/ci The issue is related to CI. label Jul 15, 2024
@lhy1024
Copy link
Contributor

lhy1024 commented Jul 29, 2024

@lhy1024
Copy link
Contributor

lhy1024 commented Aug 9, 2024

@okJiang
Copy link
Member Author

okJiang commented Aug 14, 2024

https://github.com/tikv/pd/actions/runs/10380826679/job/28741293148?pr=8515

    server_test.go:393: 
        	Error Trace:	/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:393
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:432
        	            				/home/runner/work/pd/pd/tests/integrations/mcs/tso/server_test.go:387
        	Error:      	Received unexpected error:
        	            	rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster
        	Test:       	TestForwardTSOUnexpectedToFollower2

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