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

Test TestHandleJobsDontBlock fails #3626

Closed
overvenus opened this issue Nov 26, 2021 · 1 comment
Closed

Test TestHandleJobsDontBlock fails #3626

overvenus opened this issue Nov 26, 2021 · 1 comment
Labels
area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component.

Comments

@overvenus
Copy link
Member

Which jobs are flaking?

cdc_ghpr_leak_test

Which test(s) are flaking?

ownerSuite.TestHandleJobsDontBlock

Jenkins logs or GitHub Actions link

[2021-11-26T04:47:23.460Z] [2021/11/26 12:45:16.297 +08:00] [ERROR] [async_sink.go:141] ["Execute DDL failed"] [ChangeFeedID=test-changefeed] [error="[CDC:ErrExecDDLFailed]exec DDL failed"] [errorVerbose="[CDC:ErrExecDDLFailed]exec DDL failed\ngithub.com/pingcap/errors.AddStack\n\t/nfs/cache/mod/github.com/pingcap/errors@v0.11.5-0.20211009033009-93128226aaa3/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\t/nfs/cache/mod/github.com/pingcap/errors@v0.11.5-0.20211009033009-93128226aaa3/normalize.go:159\ngithub.com/pingcap/ticdc/cdc/owner.(*asyncSinkSuite).TestExecDDLError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/async_sink_test.go:188\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"] [ddl="{\"StartTs\":0,\"CommitTs\":2,\"TableInfo\":null,\"PreTableInfo\":null,\"Query\":\"\",\"Type\":0}"] [stack="github.com/pingcap/ticdc/cdc/owner.(*asyncSinkImpl).run\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/async_sink.go:141"]

[2021-11-26T04:47:23.460Z] [2021/11/26 12:45:18.717 +08:00] [ERROR] [changefeed.go:111] ["an error occurred in Owner"] [changefeedID=changefeed-id-test] [error="fake error"] [errorVerbose="fake error\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeedSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed_test.go:194\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"] [stack="github.com/pingcap/ticdc/cdc/owner.(*changefeed).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed.go:111\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeedSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed_test.go:196\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739"]

[2021-11-26T04:47:23.460Z] [2021/11/26 12:45:20.061 +08:00] [ERROR] [feed_state_manager.go:253] ["processor report an error"] [changefeedID=changefeed-id-test] [captureID=capture-id-test] [error="{\"addr\":\"127.0.0.1:0000\",\"code\":\"[CDC:ErrEtcdSessionDone]\",\"message\":\"fake error for test\"}"] [stack="github.com/pingcap/ticdc/cdc/owner.(*feedStateManager).errorsReportedByProcessors\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:253\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManager).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:64\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManagerSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager_test.go:203\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739"]

[2021-11-26T04:47:23.461Z] [2021/11/26 12:45:20.065 +08:00] [ERROR] [feed_state_manager.go:253] ["processor report an error"] [changefeedID=changefeed-id-test] [captureID=capture-id-test] [error="{\"addr\":\"127.0.0.1:0000\",\"code\":\"[CDC:ErrEtcdSessionDone]\",\"message\":\"fake error for test\"}"] [stack="github.com/pingcap/ticdc/cdc/owner.(*feedStateManager).errorsReportedByProcessors\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:253\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManager).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:64\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManagerSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager_test.go:219\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739"]

[2021-11-26T04:47:23.461Z] [2021/11/26 12:45:20.068 +08:00] [ERROR] [feed_state_manager.go:253] ["processor report an error"] [changefeedID=changefeed-id-test] [captureID=capture-id-test] [error="{\"addr\":\"127.0.0.1:0000\",\"code\":\"[CDC:ErrEtcdSessionDone]\",\"message\":\"fake error for test\"}"] [stack="github.com/pingcap/ticdc/cdc/owner.(*feedStateManager).errorsReportedByProcessors\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:253\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManager).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:64\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManagerSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager_test.go:219\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739"]

[2021-11-26T04:47:23.461Z] [2021/11/26 12:45:20.072 +08:00] [ERROR] [feed_state_manager.go:253] ["processor report an error"] [changefeedID=changefeed-id-test] [captureID=capture-id-test] [error="{\"addr\":\"127.0.0.1:0000\",\"code\":\"[CDC:ErrEtcdSessionDone]\",\"message\":\"fake error for test\"}"] [stack="github.com/pingcap/ticdc/cdc/owner.(*feedStateManager).errorsReportedByProcessors\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:253\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManager).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager.go:64\ngithub.com/pingcap/ticdc/cdc/owner.(*feedStateManagerSuite).TestHandleError\n\t/home/jenkins/agent/workspace/cdc_ghpr_leak_test/go/src/github.com/pingcap/ticdc/cdc/owner/feed_state_manager_test.go:219\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\ngithub.com/pingcap/check.(*suiteRunner).forkTest.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850\ngithub.com/pingcap/check.(*suiteRunner).forkCall.func1\n\t/nfs/cache/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739"]
[2021-11-26T04:47:23.461Z] 
[2021-11-26T04:47:23.461Z] ----------------------------------------------------------------------
[2021-11-26T04:47:23.461Z] FAIL: owner_test.go:370: ownerSuite.TestHandleJobsDontBlock
[2021-11-26T04:47:23.461Z] 
[2021-11-26T04:47:23.461Z] owner_test.go:434:
[2021-11-26T04:47:23.461Z]     c.Assert(err, check.IsNil)
[2021-11-26T04:47:23.461Z] ... value *errors.withStack = context canceled ("context canceled")
[2021-11-26T04:47:23.461Z] 
[2021-11-26T04:47:23.461Z] OOPS: 30 passed, 1 FAILED
[2021-11-26T04:47:23.461Z] --- FAIL: Test (24.32s)
[2021-11-26T04:47:23.461Z] FAIL
[2021-11-26T04:47:23.461Z] FAIL	github.com/pingcap/ticdc/cdc/owner	24.678s

Anything else we need to know

  • Does this test exist for other branches as well?

  • Has there been a high frequency of failure lately?

@overvenus overvenus added component/test Unit tests and integration tests component. area/ticdc Issues or PRs related to TiCDC. labels Nov 26, 2021
@Rustin170506
Copy link
Member

It seems like it hasn't happened again for a long time, so turn it off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component.
Projects
None yet
Development

No branches or pull requests

2 participants