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

TestStreamRecvWithErrorNormal is unstable #5445

Open
Tracked by #2246
zhaoxinyu opened this issue May 17, 2022 · 0 comments
Open
Tracked by #2246

TestStreamRecvWithErrorNormal is unstable #5445

zhaoxinyu opened this issue May 17, 2022 · 0 comments
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. component/test Unit tests and integration tests component.

Comments

@zhaoxinyu
Copy link
Contributor

Which jobs are flaking?

ut-check

Which test(s) are flaking?

TestStreamRecvWithErrorNormal

Jenkins logs or GitHub Actions link

[2022-05-17T02:48:44.045Z]         	Error Trace:	client_test.go:1491
[2022-05-17T02:48:44.045Z]         	            				client_test.go:1674
[2022-05-17T02:48:44.045Z]         	Error:      	Not equal: 
[2022-05-17T02:48:44.045Z]         	            	expected: []model.RegionFeedEvent{model.RegionFeedEvent{Val:(*model.RawKVEntry)(nil), Resolved:(*model.ResolvedSpan)(0xc0006eec40), RegionID:0x3}, model.RegionFeedEvent{Val:(*model.RawKVEntry)(nil), Resolved:(*model.ResolvedSpan)(0xc0006eec80), RegionID:0x3}}
[2022-05-17T02:48:44.045Z]         	            	actual  : []model.RegionFeedEvent{}
[2022-05-17T02:48:44.045Z]         	            	
[2022-05-17T02:48:44.045Z]         	            	Diff:
[2022-05-17T02:48:44.045Z]         	            	--- Expected
[2022-05-17T02:48:44.045Z]         	            	+++ Actual
[2022-05-17T02:48:44.045Z]         	            	@@ -1,32 +1,2 @@
[2022-05-17T02:48:44.045Z]         	            	-([]model.RegionFeedEvent) (len=2) {
[2022-05-17T02:48:44.045Z]         	            	- (model.RegionFeedEvent) {
[2022-05-17T02:48:44.045Z]         	            	-  Val: (*model.RawKVEntry)(<nil>),
[2022-05-17T02:48:44.045Z]         	            	-  Resolved: (*model.ResolvedSpan)({
[2022-05-17T02:48:44.045Z]         	            	-   Span: (regionspan.ComparableSpan) {
[2022-05-17T02:48:44.045Z]         	            	-    Start: ([]uint8) (len=1) {
[2022-05-17T02:48:44.045Z]         	            	-     00000000  61                                                |a|
[2022-05-17T02:48:44.045Z]         	            	-    },
[2022-05-17T02:48:44.045Z]         	            	-    End: ([]uint8) (len=1) {
[2022-05-17T02:48:44.045Z]         	            	-     00000000  62                                                |b|
[2022-05-17T02:48:44.045Z]         	            	-    }
[2022-05-17T02:48:44.045Z]         	            	-   },
[2022-05-17T02:48:44.045Z]         	            	-   ResolvedTs: (uint64) 120
[2022-05-17T02:48:44.045Z]         	            	-  }),
[2022-05-17T02:48:44.045Z]         	            	-  RegionID: (uint64) 3
[2022-05-17T02:48:44.045Z]         	            	- },
[2022-05-17T02:48:44.045Z]         	            	- (model.RegionFeedEvent) {
[2022-05-17T02:48:44.045Z]         	            	-  Val: (*model.RawKVEntry)(<nil>),
[2022-05-17T02:48:44.045Z]         	            	-  Resolved: (*model.ResolvedSpan)({
[2022-05-17T02:48:44.045Z]         	            	-   Span: (regionspan.ComparableSpan) {
[2022-05-17T02:48:44.045Z]         	            	-    Start: ([]uint8) (len=1) {
[2022-05-17T02:48:44.045Z]         	            	-     00000000  61                                                |a|
[2022-05-17T02:48:44.045Z]         	            	-    },
[2022-05-17T02:48:44.045Z]         	            	-    End: ([]uint8) (len=1) {
[2022-05-17T02:48:44.045Z]         	            	-     00000000  62                                                |b|
[2022-05-17T02:48:44.045Z]         	            	-    }
[2022-05-17T02:48:44.045Z]         	            	-   },
[2022-05-17T02:48:44.045Z]         	            	-   ResolvedTs: (uint64) 120
[2022-05-17T02:48:44.045Z]         	            	-  }),
[2022-05-17T02:48:44.045Z]         	            	-  RegionID: (uint64) 3
[2022-05-17T02:48:44.045Z]         	            	- }
[2022-05-17T02:48:44.045Z]         	            	+([]model.RegionFeedEvent) {
[2022-05-17T02:48:44.045Z]         	            	 }
[2022-05-17T02:48:44.045Z]         	Test:       	TestStreamRecvWithErrorNormal

https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/11754/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?

@zhaoxinyu zhaoxinyu added the component/test Unit tests and integration tests component. label May 17, 2022
@3AceShowHand 3AceShowHand added the area/ticdc Issues or PRs related to TiCDC. label May 23, 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

2 participants