Skip to content

Flaky TestRuntimeReconfigGrowClusterSize  #19216

Open
@ahrtr

Description

Which Github Action / Prow Jobs are flaking?

/home/prow/go/src/github.com/etcd-io/etcd/bin/etcdctl (/home/prow/go/src/github.com/etcd-io/etcd/bin/etcdctl_--endpoints=http://localhost:20000,http://localhost:20005_member_promote_5d2dab3fee7266f0_-w_json) (58870): {"level":"warn","ts":"2025-01-17T04:53:28.794025Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:65","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x9e88b48/localhost:20000","method":"/etcdserverpb.Cluster/MemberPromote","attempt":0,"error":"rpc error: code = FailedPrecondition desc = etcdserver: can only promote a learner member which is in sync with leader"}
/home/prow/go/src/github.com/etcd-io/etcd/bin/etcdctl (/home/prow/go/src/github.com/etcd-io/etcd/bin/etcdctl_--endpoints=http://localhost:20000,http://localhost:20005_member_promote_5d2dab3fee7266f0_-w_json) (58870): Error: etcdserver: can only promote a learner member which is in sync with leader
    runtime_reconfiguration_test.go:181: 
        	Error Trace:	/home/prow/go/src/github.com/etcd-io/etcd/tests/e2e/runtime_reconfiguration_test.go:181
        	            				/home/prow/go/src/github.com/etcd-io/etcd/tests/e2e/runtime_reconfiguration_test.go:78
        	Error:      	Received unexpected error:
        	            	match not found.  Set EXPECT_DEBUG for more info Errs: [unexpected exit code [1] after running [/home/prow/go/src/github.com/etcd-io/etcd/bin/etcdctl --endpoints=http://localhost:20000,http://localhost:20005 member promote 5d2dab3fee7266f0 -w json]], last lines:
        	            	{"level":"warn","ts":"2025-01-17T04:53:28.794025Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:65","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x9e88b48/localhost:20000","method":"/etcdserverpb.Cluster/MemberPromote","attempt":0,"error":"rpc error: code = FailedPrecondition desc = etcdserver: can only promote a learner member which is in sync with leader"}
        	            	Error: etcdserver: can only promote a learner member which is in sync with leader
        	Test:       	TestRuntimeReconfigGrowClusterSize/grow_cluster_size_from_1_to_3_with_learner
    logger.go:146: 2025-01-17T04:53:28.799Z	INFO	closing test cluster...
    logger.go:146: 2025-01-17T04:53:28.799Z	INFO	stopping server...	{"name": "TestRuntimeReconfigGrowClusterSizegrow_cluster_size_from_1_to_3_with_learner-test-0"}

Refer to https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/etcd-io_etcd/19198/pull-etcd-e2e-386/1880111907646476288

Which tests are flaking?

.

Github Action / Prow Job link

No response

Reason for failure (if possible)

No response

Anything else we need to know?

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions