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

TestResetTS is unstable #7314

Closed
lhy1024 opened this issue Nov 3, 2023 · 3 comments
Closed

TestResetTS is unstable #7314

lhy1024 opened this issue Nov 3, 2023 · 3 comments
Labels
type/ci The issue is related to CI.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Nov 3, 2023

Flaky Test

Which jobs are failing

2023-11-03T02:17:32.7014932Z --- FAIL: TestAdminTestSuite (33.40s)
2023-11-03T02:17:32.7015364Z     --- FAIL: TestAdminTestSuite/TestResetTS (0.03s)
2023-11-03T02:17:32.7015779Z         api_check.go:29: 
2023-11-03T02:17:32.7016898Z             	Error Trace:	/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:29
2023-11-03T02:17:32.7019320Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:142
2023-11-03T02:17:32.7020790Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:105
2023-11-03T02:17:32.7022287Z             	            				/home/runner/work/pd/pd/server/api/admin_test.go:191
2023-11-03T02:17:32.7022608Z             	Error:      	Not equal: 
2023-11-03T02:17:32.7023173Z             	            	expected: 200
2023-11-03T02:17:32.7023568Z             	            	actual  : 403
2023-11-03T02:17:32.7024091Z             	Test:       	TestAdminTestSuite/TestResetTS
2023-11-03T02:17:32.7025089Z             	Messages:   	resp: "[PD:etcd:ErrEtcdTxnConflict]etcd transaction failed, conflicted and rolled back"

CI link

https://github.com/tikv/pd/actions/runs/6740464608/job/18323580850

Reason for failure (if possible)

Anything else

@lhy1024 lhy1024 added the type/ci The issue is related to CI. label Nov 3, 2023
@HuSharp
Copy link
Member

HuSharp commented Nov 8, 2023

@lhy1024
Copy link
Contributor Author

lhy1024 commented Nov 16, 2023

2023-11-15T14:07:37.9609463Z --- FAIL: TestAdminTestSuite (15.55s)
2023-11-15T14:07:37.9610157Z     --- FAIL: TestAdminTestSuite/TestResetTS (0.11s)
2023-11-15T14:07:37.9610789Z         api_check.go:29: 
2023-11-15T14:07:37.9611577Z             	Error Trace:	/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:29
2023-11-15T14:07:37.9612824Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:157
2023-11-15T14:07:37.9614042Z             	            				/home/runner/work/pd/pd/pkg/utils/testutil/api_check.go:105
2023-11-15T14:07:37.9615039Z             	            				/home/runner/work/pd/pd/server/api/admin_test.go:216
2023-11-15T14:07:37.9615670Z             	Error:      	Not equal: 
2023-11-15T14:07:37.9616291Z             	            	expected: 403
2023-11-15T14:07:37.9616861Z             	            	actual  : 500
2023-11-15T14:07:37.9617441Z             	Test:       	TestAdminTestSuite/TestResetTS
2023-11-15T14:07:37.9618106Z             	Messages:   	resp: redirect to not leader

@lhy1024
Copy link
Contributor Author

lhy1024 commented Nov 22, 2023

Fixed by #7368

@lhy1024 lhy1024 closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/ci The issue is related to CI.
Projects
None yet
Development

No branches or pull requests

2 participants