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

TestEtcdClientSync is flaky #8085

Open
rleungx opened this issue Apr 17, 2024 · 1 comment · Fixed by #8084
Open

TestEtcdClientSync is flaky #8085

rleungx opened this issue Apr 17, 2024 · 1 comment · Fixed by #8084
Labels
type/ci The issue is related to CI.

Comments

@rleungx
Copy link
Member

rleungx commented Apr 17, 2024

Flaky Test

Which jobs are failing

--- FAIL: TestEtcdClientSync (0.86s)
    etcdutil_test.go:185: 
        	Error Trace:	/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil_test.go:185
        	Error:      	Received unexpected error:
        	            	[PD:etcd:ErrEtcdMemberRemove]etcdserver: server stopped: etcdserver: server stopped
        	            	github.com/pingcap/errors.AddStack
        	            		/home/runner/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/errors.go:174
        	            	github.com/pingcap/errors.(*Error).GenWithStackByCause
        	            		/home/runner/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/normalize.go:307
        	            	github.com/tikv/pd/pkg/utils/etcdutil.RemoveEtcdMember
        	            		/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil.go:136
        	            	github.com/tikv/pd/pkg/utils/etcdutil.TestEtcdClientSync
        	            		/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil_test.go:184
        	            	testing.tRunner
        	            		/opt/hostedtoolcache/go/1.21.9/x64/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
        	Test:       	TestEtcdClientSync

CI link

https://github.com/tikv/pd/actions/runs/8718669939/job/23916391513?pr=8082

Reason for failure (if possible)

Anything else

@rleungx rleungx added the type/ci The issue is related to CI. label Apr 17, 2024
ti-chi-bot bot added a commit that referenced this issue Apr 17, 2024
close #8085

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

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
@lhy1024
Copy link
Contributor

lhy1024 commented Apr 23, 2024

2024-04-23T06:55:55.9231651Z --- FAIL: TestEtcdClientSync (0.88s)
2024-04-23T06:55:55.9232127Z     etcdutil_test.go:199: 
2024-04-23T06:55:55.9232909Z         	Error Trace:	/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil_test.go:199
2024-04-23T06:55:55.9233719Z         	Error:      	Received unexpected error:
2024-04-23T06:55:55.9234787Z         	            	[PD:etcd:ErrEtcdMemberRemove]etcdserver: server stopped: etcdserver: server stopped
2024-04-23T06:55:55.9235639Z         	            	github.com/pingcap/errors.AddStack
2024-04-23T06:55:55.9237146Z         	            		/home/runner/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/errors.go:174
2024-04-23T06:55:55.9238280Z         	            	github.com/pingcap/errors.(*Error).GenWithStackByCause
2024-04-23T06:55:55.9239879Z         	            		/home/runner/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/normalize.go:307
2024-04-23T06:55:55.9241015Z         	            	github.com/tikv/pd/pkg/utils/etcdutil.RemoveEtcdMember
2024-04-23T06:55:55.9242025Z         	            		/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil.go:136
2024-04-23T06:55:55.9243000Z         	            	github.com/tikv/pd/pkg/utils/etcdutil.TestEtcdClientSync
2024-04-23T06:55:55.9244077Z         	            		/home/runner/work/pd/pd/pkg/utils/etcdutil/etcdutil_test.go:198
2024-04-23T06:55:55.9244777Z         	            	testing.tRunner
2024-04-23T06:55:55.9245760Z         	            		/opt/hostedtoolcache/go/1.21.9/x64/src/testing/testing.go:1595
2024-04-23T06:55:55.9246460Z         	            	runtime.goexit
2024-04-23T06:55:55.9247287Z         	            		/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
2024-04-23T06:55:55.9247988Z         	Test:       	TestEtcdClientSync

https://github.com/tikv/pd/actions/runs/8796064689/job/24138225547?pr=8116

@lhy1024 lhy1024 reopened this Apr 23, 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

Successfully merging a pull request may close this issue.

2 participants