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

Flaky test: clientSuite.TestDropStaleRequest #4586

Closed
Tracked by #2246
maxshuang opened this issue Feb 14, 2022 · 1 comment
Closed
Tracked by #2246

Flaky test: clientSuite.TestDropStaleRequest #4586

maxshuang opened this issue Feb 14, 2022 · 1 comment

Comments

@maxshuang
Copy link
Contributor

maxshuang commented Feb 14, 2022

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
@Rustin170506
Copy link
Member

It didn't resurface again for a long time. So close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants