Open rleungx opened 4 months ago
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
I tried this test on my local Mac, and every time I encountered this issue, here is the error log. I observed that after member 2(8195c4f470081d6c, "http://127.0.0.1:57908") exited, member 1(517aa5d5512611cd, "http://127.0.0.1:57902") also exited by itself, causing the error later on. However, I couldn't find the reason why member 1 exited along with member 2.
Also, I did not replicate this issue on a Linux machine.
Flaky Test
Which jobs are failing
CI link
https://github.com/tikv/pd/actions/runs/8718669939/job/23916391513?pr=8082
Reason for failure (if possible)
Anything else