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 test TestNewMySQLBackendExecDML #6895

Closed
Tracked by #2246
CharlesCheung96 opened this issue Aug 25, 2022 · 4 comments
Closed
Tracked by #2246

unstable test TestNewMySQLBackendExecDML #6895

CharlesCheung96 opened this issue Aug 25, 2022 · 4 comments
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component.

Comments

@CharlesCheung96
Copy link
Contributor

Which jobs are flaking?

verify

Which test(s) are flaking?

TestNewMySQLBackendExecDML

Jenkins logs or GitHub Actions link


[2022-08-25T14:02:53.155Z]     mysql_test.go:362: 

[2022-08-25T14:02:53.155Z]         	Error Trace:	/home/jenkins/agent/workspace/ut-check/tiflow/cdc/sinkv2/eventsink/txn/mysql/mysql_test.go:362

[2022-08-25T14:02:53.155Z]         	Error:      	Expected nil, but got: [CDC:ErrReachMaxTry]reach maximum try: 8, error: [CDC:ErrMySQLTxnError]MySQL txn error: call to database transaction Begin, was not expected, next expectation is: ExpectedExec => expecting Exec or ExecContext which:

[2022-08-25T14:02:53.155Z]         	            	  - matches sql: 'REPLACE INTO `s1`.`t1`(`a`,`b`) VALUES (?,?),(?,?)'

[2022-08-25T14:02:53.155Z]         	            	  - is with arguments:

[2022-08-25T14:02:53.155Z]         	            	    0 - 1

[2022-08-25T14:02:53.155Z]         	            	    1 - test

[2022-08-25T14:02:53.155Z]         	            	    2 - 2

[2022-08-25T14:02:53.155Z]         	            	    3 - test

[2022-08-25T14:02:53.155Z]         	            	  - should return Result having:

[2022-08-25T14:02:53.155Z]         	            	      LastInsertId: 2

[2022-08-25T14:02:53.155Z]         	            	      RowsAffected: 2: [CDC:ErrMySQLTxnError]MySQL txn error: call to database transaction Begin, was not expected, next expectation is: ExpectedExec => expecting Exec or ExecContext which:

[2022-08-25T14:02:53.155Z]         	            	  - matches sql: 'REPLACE INTO `s1`.`t1`(`a`,`b`) VALUES (?,?),(?,?)'

[2022-08-25T14:02:53.155Z]         	            	  - is with arguments:

[2022-08-25T14:02:53.156Z]         	            	    0 - 1

[2022-08-25T14:02:53.156Z]         	            	    1 - test

[2022-08-25T14:02:53.156Z]         	            	    2 - 2

[2022-08-25T14:02:53.156Z]         	            	    3 - test

[2022-08-25T14:02:53.156Z]         	            	  - should return Result having:

[2022-08-25T14:02:53.156Z]         	            	      LastInsertId: 2

[2022-08-25T14:02:53.156Z]         	            	      RowsAffected: 2

[2022-08-25T14:02:53.156Z]         	Test:       	TestNewMySQLBackendExecDML

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 Aug 25, 2022
@ti-chi-bot
Copy link
Member

@CharlesCheung96: The label(s) area/cdc cannot be applied, because the repository doesn't have them.

In response to this:

/area cdc

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@CharlesCheung96
Copy link
Contributor Author

@ti-chi-bot ti-chi-bot added the area/ticdc Issues or PRs related to TiCDC. label Aug 25, 2022
@ti-chi-bot
Copy link
Member

@CharlesCheung96: The label(s) area/cdc cannot be applied, because the repository doesn't have them.

In response to this:

/area cdc

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@Rustin170506
Copy link
Member

closed by #6816

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

3 participants