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

TestUpgradeWithPauseDDL failed in CI #46388

Closed
Tracked by #41316
jackysp opened this issue Aug 24, 2023 · 1 comment · Fixed by #46692
Closed
Tracked by #41316

TestUpgradeWithPauseDDL failed in CI #46388

jackysp opened this issue Aug 24, 2023 · 1 comment · Fixed by #46692
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.

Comments

@jackysp
Copy link
Member

jackysp commented Aug 24, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

[2023/08/24 10:41:19.408 +08:00] [INFO] [ddl.go:1076] ["start DDL job"] [category=ddl] [job="ID:132, Type:add index, State:pausing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2023-08-24 10:41:19.406 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test.pause_user_ddl_t1 add index idx_1(a)"]
    bootstrap_upgrade_test.go:628: 
        	Error Trace:	session/bootstraptest/bootstrap_upgrade_test.go:628
        	            				session/mock_bootstrap.go:223
        	            				session/mock_bootstrap.go:107
        	            				session/bootstrap.go:1222
        	            				session/session.go:3548
        	            				session/session.go:3326
        	            				session/session.go:3290
        	            				session/bootstraptest/bootstrap_upgrade_test.go:668
        	Error:      	Should be true
        	Test:       	TestUpgradeWithPauseDDL
        	Messages:   	job: ID:132, Type:add index, State:pausing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2023-08-24 10:41:19.406 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0
[2023/08/24 10:41:19.410 +08:00] [WARN] [2pc.go:1005] ["the store is closed"] [startTS=443769128067792896] [commitTS=443769128067792897] [sessionID=0]
[2023/08/24 10:41:19.411 +08:00] [INFO] [region_request.go:1415] ["send request failed, err: context canceled"] [req-ts=443769128068317184] [req-type=Prewrite] [region="{ region id: 2, ver: 1, confVer: 1 }"] [region-is-valid=true] [retry-times=0] [replica-read-type=leader] [replica-selector-state=accessKnownLeader] [stale-read=false] [replica-status="peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable"] [total-backoff-ms=0] [total-backoff-times=0] [total-region-errors=]

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

dd593b2

@jackysp jackysp added the type/bug The issue is confirmed as a bug. label Aug 24, 2023
@zimulala zimulala added the component/ddl This issue is related to DDL of TiDB. label Aug 24, 2023
@zimulala zimulala self-assigned this Aug 24, 2023
@gonnafaraway
Copy link

Hi, tested locally, didn't get any errors, looks like jobs produced by tests were stopped or timeout-ed.
After schedulling CI again error still exists?
@jackysp

@ti-chi-bot ti-chi-bot bot added may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Aug 28, 2023
@aytrack aytrack removed may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Aug 28, 2023
ti-chi-bot bot pushed a commit that referenced this issue Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants