Flaky test: clientSuite.TestDropStaleRequest #4586
Labels
area/ticdc
Issues or PRs related to TiCDC.
may-affects-4.0
may-affects-5.0
may-affects-5.1
may-affects-5.2
may-affects-5.3
may-affects-5.4
severity/minor
type/bug
The issue is confirmed as a bug.
What did you do?
[2022-02-14T07:44:21.195Z] [2022/02/14 15:35:14.258 +08:00] [ERROR] [client.go:1072] ["tikv reported compatibility error, which is not expected"] [changefeed=] [rpcCtx="region ID: 3, meta: id:3 peers:<id:4 store_id:1 > , peer: id:4 store_id:1 , addr: 127.0.0.1:37083, idx: 0, reqStoreType: TiKvOnly, runStoreType: tikv"] [error="required_version:"v4.0.7" "] [stack="github.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).handleError\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:1072\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).eventFeed.func4\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:583\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57"]
[2022-02-14T07:44:21.195Z]
[2022-02-14T07:44:21.195Z] ----------------------------------------------------------------------
[2022-02-14T07:44:21.195Z] FAIL: client_test.go:1884: clientSuite.TestDropStaleRequest
[2022-02-14T07:44:21.195Z]
[2022-02-14T07:44:21.195Z] client_test.go:1981:
[2022-02-14T07:44:21.195Z] c.Errorf("expected event %v not received", expectedEv)
[2022-02-14T07:44:21.195Z] ... Error: expected event { span: [61, 62), resolved-ts: 120 3} not received
[2022-02-14T07:44:21.195Z]
[2022-02-14T07:44:21.195Z] client_test.go:1981:
[2022-02-14T07:44:21.195Z] c.Errorf("expected event %v not received", expectedEv)
[2022-02-14T07:44:21.195Z] ... Error: expected event { span: [61, 62), resolved-ts: 130 3} not received
[2022-02-14T07:44:21.195Z]
[2022-02-14T07:44:21.195Z] [2022/02/14 15:35:23.114 +08:00] [ERROR] [client.go:1068] ["tikv reported duplicated request to the same region, which is not expected"] [regionID=3] [stack="github.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).handleError\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:1068\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).eventFeed.func4\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:583\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57"]
[2022-02-14T07:44:21.195Z] [2022/02/14 15:35:31.242 +08:00] [ERROR] [client.go:369] ["check tikv version failed"] [error="[CDC:ErrVersionIncompatible]version is incompatible: TiKV 3.0.10 is not supported, the minimal compatible version is 5.1.0-alpha"] [errorVerbose="[CDC:ErrVersionIncompatible]version is incompatible: TiKV 3.0.10 is not supported, the minimal compatible version is 5.1.0-alpha\ngithub.com/pingcap/errors.AddStack\n\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/normalize.go:164\ngithub.com/pingcap/tiflow/pkg/version.CheckStoreVersion\n\t/home/jenkins/agent/workspace/ut-check/tiflow/pkg/version/check.go:181\ngithub.com/pingcap/tiflow/cdc/kv.(*CDCClient).newStream.func1\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:367\ngithub.com/pingcap/tiflow/pkg/retry.run\n\t/home/jenkins/agent/workspace/ut-check/tiflow/pkg/retry/retry_with_opt.go:54\ngithub.com/pingcap/tiflow/pkg/retry.Do\n\t/home/jenkins/agent/workspace/ut-check/tiflow/pkg/retry/retry_with_opt.go:32\ngithub.com/pingcap/tiflow/cdc/kv.(*CDCClient).newStream\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:353\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).requestRegionToStore\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:762\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).eventFeed.func2\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:523\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"] [storeID=1] [changefeed=] [stack="github.com/pingcap/tiflow/cdc/kv.(*CDCClient).newStream.func1\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:369\ngithub.com/pingcap/tiflow/pkg/retry.run\n\t/home/jenkins/agent/workspace/ut-check/tiflow/pkg/retry/retry_with_opt.go:54\ngithub.com/pingcap/tiflow/pkg/retry.Do\n\t/home/jenkins/agent/workspace/ut-check/tiflow/pkg/retry/retry_with_opt.go:32\ngithub.com/pingcap/tiflow/cdc/kv.(*CDCClient).newStream\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:353\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).requestRegionToStore\n\t/home/jenkins/agent/workspace/ut-check/tiflow/cdc/kv/client.go:762\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).eventFeed.func2\n\t/home/jenkins/agent/workspace/ut-
What did you expect to see?
https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/1615/pipeline/
What did you see instead?
/
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
Upstream TiKV version (execute
tikv-server --version
):(paste TiKV version here)
TiCDC version (execute
cdc version
):master
The text was updated successfully, but these errors were encountered: