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

TestMySQLSinkFlushResovledTs is unstable. #3989

Closed
Tracked by #2246
asddongmen opened this issue Dec 20, 2021 · 6 comments
Closed
Tracked by #2246

TestMySQLSinkFlushResovledTs is unstable. #3989

asddongmen opened this issue Dec 20, 2021 · 6 comments
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component.

Comments

@asddongmen
Copy link
Contributor

Which jobs are flaking?

#3980

Which test(s) are flaking?

TestMySQLSinkFlushResovledTs

Jenkins logs or GitHub Actions link

=== Failed

[2021-12-20T08:29:09.556Z] === FAIL: cdc/sink TestMySQLSinkFlushResovledTs (0.01s)

[2021-12-20T08:29:09.556Z] [2021/12/20 16:26:36.726 +08:00] [INFO] [mysql_params.go:249] ["sink uri is configured"] ["format dsn"="root:******@tcp(127.0.0.1:4000)/?interpolateParams=true&multiStatements=true&allow_auto_random_explicit_insert=1&readTimeout=2m&tidb_txn_mode=optimistic&time_zone=%22UTC%22&timeout=2m&writeTimeout=2m"]

[2021-12-20T08:29:09.556Z] [2021/12/20 16:26:36.726 +08:00] [INFO] [mysql.go:142] ["Start mysql sink"]

[2021-12-20T08:29:09.556Z]     mysql_test.go:1163: 

[2021-12-20T08:29:09.556Z]         	Error Trace:	mysql_test.go:1163

[2021-12-20T08:29:09.556Z]         	Error:      	Should be true

[2021-12-20T08:29:09.556Z]         	Test:       	TestMySQLSinkFlushResovledTs

[2021-12-20T08:29:09.556Z] 

https://ci.pingcap.net/blue/organizations/jenkins/atom-ut/detail/atom-ut/5980/pipeline

Anything else we need to know

  • Does this test exist for other branches as well?

  • Has there been a high frequency of failure lately?

@asddongmen asddongmen added the component/test Unit tests and integration tests component. label Dec 20, 2021
@maxshuang
Copy link
Contributor

Another one:
=== RUN TestMySQLSinkFlushResovledTs
[2021/12/21 11:26:00.537 +08:00] [INFO] [mysql_params.go:249] ["sink uri is configured"] ["format dsn"="root:******@tcp(127.0.0.1:4000)/?interpolateParams=true&multiStatements=true&allow_auto_random_explicit_insert=1&readTimeout=2m&tidb_txn_mode=optimistic&time_zone=%22UTC%22&timeout=2m&writeTimeout=2m"]
[2021/12/21 11:26:00.537 +08:00] [INFO] [mysql.go:142] ["Start mysql sink"]
mysql_test.go:1163:
Error Trace: mysql_test.go:1163
Error: Should be true
Test: TestMySQLSinkFlushResovledTs
--- FAIL: TestMySQLSinkFlushResovledTs (0.00s)

@overvenus
Copy link
Member

overvenus commented Jan 5, 2022

Other failed case

[2022-01-05T09:01:54.203Z] [2022/01/05 17:01:44.814 +08:00] [INFO] [mysql.go:167] ["Start mysql sink"]
[2022-01-05T09:01:54.203Z] --- FAIL: TestMySQLSinkFlushResovledTs (0.01s)
[2022-01-05T09:01:54.203Z]     mysql_test.go:1163: 
[2022-01-05T09:01:54.203Z]         	Error Trace:	mysql_test.go:1163
[2022-01-05T09:01:54.203Z]         	Error:      	Should be true
[2022-01-05T09:01:54.203Z]         	Test:       	TestMySQLSinkFlushResovledTs
[2022-01-05T09:01:54.203Z] FAIL
[2022-01-05T09:01:54.203Z] coverage: 51.4% of statements

https://ci2.pingcap.net/blue/organizations/jenkins/cdc_ghpr_test/detail/cdc_ghpr_test/14511/pipeline#step-56-log-299

@amyangfei amyangfei added the area/ticdc Issues or PRs related to TiCDC. label Jan 6, 2022
@amyangfei
Copy link
Contributor

https://ci.pingcap.net/blue/organizations/jenkins/atom-ut/detail/atom-ut/9068/pipeline


[2022-01-12T03:11:27.756Z] 
[2022-01-12T03:11:27.756Z] === Failed
[2022-01-12T03:11:27.756Z] === FAIL: cdc/sink TestMySQLSinkFlushResovledTs (0.01s)
[2022-01-12T03:11:27.756Z] [2022/01/12 11:08:44.776 +08:00] [INFO] [mysql_params.go:249] ["sink uri is configured"] [dsn="root:******@tcp(127.0.0.1:4000)/?interpolateParams=true&multiStatements=true&allow_auto_random_explicit_insert=1&readTimeout=2m&sql_mode=%22NO_AUTO_VALUE_ON_ZERO%2CONLY_FULL_GROUP_BY%2CALLOW_INVALID_DATES%2CIGNORE_SPACE%22&tidb_txn_mode=optimistic&time_zone=%22UTC%22&timeout=2m&writeTimeout=2m"]
[2022-01-12T03:11:27.756Z] [2022/01/12 11:08:44.776 +08:00] [INFO] [mysql.go:167] ["Start mysql sink"]
[2022-01-12T03:11:27.756Z]     mysql_test.go:1150: 
[2022-01-12T03:11:27.756Z]         	Error Trace:	mysql_test.go:1150
[2022-01-12T03:11:27.756Z]         	Error:      	Not equal: 
[2022-01-12T03:11:27.756Z]         	            	expected: 0x0
[2022-01-12T03:11:27.756Z]         	            	actual  : 0x1
[2022-01-12T03:11:27.756Z]         	Test:       	TestMySQLSinkFlushResovledTs
[2022-01-12T03:11:27.756Z] 
[2022-01-12T03:11:27.756Z] DONE 494 tests, 1 failure in 561.173s
[2022-01-12T03:11:28.693Z] make: *** [unit_test_in_verify_ci] Error 1
script returned exit code 2

@asddongmen
Copy link
Contributor Author

错误
Failed
栈跟踪
=== RUN TestMySQLSinkFlushResovledTs
[2022/01/21 11:44:30.803 +08:00] [INFO] [mysql_params.go:252] ["sink uri is configured"] [dsn="root:******@tcp(127.0.0.1:4000)/?interpolateParams=true&multiStatements=true&allow_auto_random_explicit_insert=1&readTimeout=2m&sql_mode=%22IGNORE_SPACE%2CNO_AUTO_VALUE_ON_ZERO%2CONLY_FULL_GROUP_BY%2CALLOW_INVALID_DATES%22&tidb_txn_mode=optimistic&time_zone=%22UTC%22&timeout=2m&transaction_isolation=%22READ-COMMITTED%22&writeTimeout=2m"]
[2022/01/21 11:44:30.804 +08:00] [INFO] [mysql.go:167] ["Start mysql sink"]
mysql_test.go:1150:
Error Trace: mysql_test.go:1150
Error: Not equal:
expected: 0x0
actual : 0x1
Test: TestMySQLSinkFlushResovledTs
--- FAIL: TestMySQLSinkFlushResovledTs (0.01s)

@sdojjy
Copy link
Member

sdojjy commented Mar 9, 2022

#4753

@sdojjy sdojjy closed this as completed Mar 9, 2022
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

5 participants