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

TestGlobalAndLocalTSO failed #6250

Open
rleungx opened this issue Mar 30, 2023 · 1 comment · Fixed by #6292
Open

TestGlobalAndLocalTSO failed #6250

rleungx opened this issue Mar 30, 2023 · 1 comment · Fixed by #6292
Labels
type/ci The issue is related to CI.

Comments

@rleungx
Copy link
Member

rleungx commented Mar 30, 2023

Flaky Test

Which jobs are failing

--- FAIL: TestGlobalAndLocalTSO (25.27s)
    client_test.go:458: 
        	Error Trace:	/home/runner/work/pd/pd/tests/integrations/client/client_test.go:458
        	            				/home/runner/work/pd/pd/tests/integrations/client/asm_amd64.s:1598
        	Error:      	Received unexpected error:
        	            	rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of dc-2 allocator
        	            	github.com/tikv/pd/client.(*pdTSOStream).processRequests
        	            		/home/runner/work/pd/pd/client/tso_stream.go:134
        	            	github.com/tikv/pd/client.(*tsoClient).processRequests
        	            		/home/runner/work/pd/pd/client/tso_dispatcher.go:702
        	            	github.com/tikv/pd/client.(*tsoClient).handleDispatcher
        	            		/home/runner/work/pd/pd/client/tso_dispatcher.go:443
        	            	runtime.goexit
        	            		/opt/hostedtoolcache/go/1.20.1/x64/src/runtime/asm_amd64.s:1598
        	            	github.com/tikv/pd/client.(*tsoRequest).Wait
        	            		/home/runner/work/pd/pd/client/tso_dispatcher.go:93
        	            	github.com/tikv/pd/client.(*client).GetLocalTS
        	            		/home/runner/work/pd/pd/client/client.go:629
        	            	github.com/tikv/pd/tests/integrations/client_test.requestGlobalAndLocalTSO.func1
        	            		/home/runner/work/pd/pd/tests/integrations/client/client_test.go:457
        	            	runtime.goexit
        	            		/opt/hostedtoolcache/go/1.20.1/x64/src/runtime/asm_amd64.s:1598
        	Test:       	TestGlobalAndLocalTSO

CI link

https://github.com/tikv/pd/actions/runs/4563140126/jobs/8051267525?pr=6249

Reason for failure (if possible)

Anything else

@rleungx rleungx added the type/ci The issue is related to CI. label Mar 30, 2023
ti-chi-bot pushed a commit that referenced this issue Apr 10, 2023
@rleungx
Copy link
Member Author

rleungx commented Sep 20, 2023

@rleungx rleungx reopened this Sep 20, 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.

1 participant