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

unstable bank test #11806

Closed
CharlesCheung96 opened this issue Nov 27, 2024 · 0 comments · Fixed by #11407
Closed

unstable bank test #11806

CharlesCheung96 opened this issue Nov 27, 2024 · 0 comments · Fixed by #11407
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component. severity/minor type/bug The issue is confirmed as a bug.

Comments

@CharlesCheung96
Copy link
Contributor

Which jobs are flaking?

cdc-integration-mysql-test

Which test(s) are flaking?

bank test

Jenkins logs or GitHub Actions link

[2024/11/27 10:41:24.960 +08:00] [ERROR] [case.go:266] ["bank test verify failed"] [error="verify balance failed, accounts2 expect 100000, but got 100056, endTs: 2024-11-27 10:41:15"] [errorVerbose="verify balance failed, accounts2 expect 100000, but got 100056, endTs: 2024-11-27 10:41:15\nmain.(*bankTest).verify.func1\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:290\[ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.run\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:57\ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.Do\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:34\nmain.(*bankTest).verify\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:262\nmain.run.func2\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:594\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1594](http://ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.run/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:57/ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.Do/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:34/nmain.(*bankTest).verify/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:262/nmain.run.func2/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:594/ngolang.org/x/sync/errgroup.(*Group).Go.func1/n/t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78/nruntime.goexit/n/t/usr/local/go/src/runtime/asm_amd64.s:1594)"] [stack="main.(*bankTest).verify.func1.1\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:266\nmain.(*bankTest).verify.func1\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:290\[ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.run\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:57\ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.Do\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:34\nmain.(*bankTest).verify\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:262\nmain.run.func2\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:594\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78](http://ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.run/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:57/ngithub.jparrowsec.cn/pingcap/tiflow/pkg/retry.Do/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/pkg/retry/retry_with_opt.go:34/nmain.(*bankTest).verify/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:262/nmain.run.func2/n/t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:594/ngolang.org/x/sync/errgroup.(*Group).Go.func1/n/t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78)"]
[2024/11/27 10:41:24.961 +08:00] [PANIC] [case.go:595] ["downstream verify failed"] [error="[CDC:ErrReachMaxTry]reach maximum try: 10, error: verify balance failed, accounts2 expect 100000, but got 100056, endTs: 2024-11-27 10:41:15: verify balance failed, accounts2 expect 100000, but got 100056, endTs: 2024-11-27 10:41:15"] [stack="main.run.func2\n\t/home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:595\[ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78](http://ngolang.org/x/sync/errgroup.(*Group).Go.func1/n/t/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78)"]
panic: downstream verify failed

goroutine 109 [running]:
[go.uber.org/zap/zapcore.CheckWriteAction.OnWrite](http://go.uber.org/zap/zapcore.CheckWriteAction.OnWrite)(0x1?, 0x1?, {0x0?, 0x0?, 0xc00020db60?})
        /go/pkg/mod/[go.uber.org/[email protected]/zapcore/entry.go:196](http://go.uber.org/[email protected]/zapcore/entry.go:196) +0x65
[go.uber.org/zap/zapcore.(*CheckedEntry).Write](http://go.uber.org/zap/zapcore.(*CheckedEntry).Write)(0xc00031c0d0, {0xc000686440, 0x1, 0x1})
        /go/pkg/mod/[go.uber.org/[email protected]/zapcore/entry.go:262](http://go.uber.org/[email protected]/zapcore/entry.go:262) +0x3ec
[go.uber.org/zap.(*Logger).Panic](http://go.uber.org/zap.(*Logger).Panic)(0xc000686440?, {0x916acc?, 0xc000032180?}, {0xc000686440, 0x1, 0x1})
        /go/pkg/mod/[go.uber.org/[email protected]/logger.go:284](http://go.uber.org/[email protected]/logger.go:284) +0x59
[github.com/pingcap/log.Panic](http://github.com/pingcap/log.Panic)({0x916acc?, 0x13?}, {0xc000686440?, 0xa0da08?, 0xc0007e0de0?})
        /go/pkg/mod/[github.com/pingcap/[email protected]/global.go:54](http://github.com/pingcap/[email protected]/global.go:54) +0x8b
main.run.func2()
        /home/jenkins/agent/workspace/pingcap/tiflow/release-6.5/pull_cdc_integration_test/tiflow/tests/integration_tests/bank/case.go:595 +0xa85
[golang.org/x/sync/errgroup.(*Group).Go.func1()](http://golang.org/x/sync/errgroup.(*Group).Go.func1())
        /go/pkg/mod/[golang.org/x/[email protected]/errgroup/errgroup.go:78](http://golang.org/x/[email protected]/errgroup/errgroup.go:78) +0x64
created by [golang.org/x/sync/errgroup.(*Group).Go](http://golang.org/x/sync/errgroup.(*Group).Go)
        /go/pkg/mod/[golang.org/x/[email protected]/errgroup/errgroup.go:75](http://golang.org/x/[email protected]/errgroup/errgroup.go:75) +0xa5
exit status 2
+ stop_tidb_cluster
script returned exit code 1

Anything else we need to know

  • Does this test exist for other branches as well?

  • Has there been a high frequency of failure lately?

@CharlesCheung96 CharlesCheung96 added the component/test Unit tests and integration tests component. label Nov 27, 2024
@CharlesCheung96 CharlesCheung96 added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. severity/minor affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. labels Nov 27, 2024
ti-chi-bot bot pushed a commit that referenced this issue Nov 27, 2024
ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this issue Nov 27, 2024
ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this issue Nov 27, 2024
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Dec 3, 2024
ti-chi-bot bot pushed a commit that referenced this issue Dec 3, 2024
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Dec 12, 2024
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Dec 12, 2024
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Dec 12, 2024
ti-chi-bot bot pushed a commit that referenced this issue Dec 12, 2024
ti-chi-bot bot pushed a commit that referenced this issue Jan 3, 2025
ti-chi-bot bot pushed a commit that referenced this issue Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant