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

TestAllocID is flaky #8701

Open
okJiang opened this issue Oct 14, 2024 · 0 comments
Open

TestAllocID is flaky #8701

okJiang opened this issue Oct 14, 2024 · 0 comments
Labels
type/ci The issue is related to CI.

Comments

@okJiang
Copy link
Member

okJiang commented Oct 14, 2024

Flaky Test

Which jobs are failing

    server_test.go:98: 
        	Error Trace:	/home/runner/work/pd/pd/tests/integrations/mcs/scheduling/server_test.go:98
        	Error:      	Received unexpected error:
        	            	API server leader is not found
        	            	github.com/tikv/pd/pkg/mcs/scheduling/server.(*Cluster).getAPIServerLeaderClient
        	            		/home/runner/work/pd/pd/pkg/mcs/scheduling/server/cluster.go:243
        	            	github.com/tikv/pd/pkg/mcs/scheduling/server.(*Cluster).AllocID
        	            		/home/runner/work/pd/pd/pkg/mcs/scheduling/server/cluster.go:225
        	            	github.com/tikv/pd/tests/integrations/mcs/scheduling.(*serverTestSuite).TestAllocID
        	            		/home/runner/work/pd/pd/tests/integrations/mcs/scheduling/server_test.go:97
        	            	reflect.Value.call
        	            		/opt/hostedtoolcache/go/1.23.2/x64/src/reflect/value.go:581
        	            	reflect.Value.Call
        	            		/opt/hostedtoolcache/go/1.23.2/x64/src/reflect/value.go:365
        	            	github.com/stretchr/testify/suite.Run.func1
        	            		/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:202
        	            	testing.tRunner
        	            		/opt/hostedtoolcache/go/1.23.2/x64/src/testing/testing.go:1690
        	            	runtime.goexit
        	            		/opt/hostedtoolcache/go/1.23.2/x64/src/runtime/asm_amd64.s:1700
        	Test:       	TestServerTestSuite/TestAllocID

CI link

https://github.com/tikv/pd/actions/runs/11323255302/job/31487695893?pr=8699

Reason for failure (if possible)

Anything else

@okJiang okJiang added the type/ci The issue is related to CI. label Oct 14, 2024
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

No branches or pull requests

1 participant