Skip to content

Unstable test TestRepairTable #53667

@tiancaiamao

Description

@tiancaiamao

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Can be found in our CI, this is a flaky test

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

CI stable

3. What did you see instead (Required)

--- FAIL: TestRepairTable (1.05s)
    util.go:36:
                Error Trace:        /Users/tangliu/eng/tidb/pkg/testkit/external/util.go:36
                                                            /Users/tangliu/eng/tidb/pkg/ddl/repair_table_test.go:137
                Error:              Received unexpected error:
                                    [schema:1146]Table 'test.origin' doesn't exist
                Test:               TestRepairTable
FAIL
run all tasks takes 16m14.210871666s
panic: runtime error: index out of range [28] with length 25

goroutine 1 [running]:
[github.com/pingcap/failpoint/code.Restorer.Restore](http://github.com/pingcap/failpoint/code.Restorer.Restore)({{0x140000a0078?, 0x1400038a0d0?}})
        /Users/tangliu/eng/go/pkg/mod/[github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/code/restorer.go:114](http://github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/code/restorer.go:114) +0x49c
main.restoreFiles({0x140000b0020, 0x492, 0x140000d9f28?})
        /Users/tangliu/eng/go/pkg/mod/[github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/failpoint-ctl/main.go:94](http://github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/failpoint-ctl/main.go:94) +0x5c
main.main()
        /Users/tangliu/eng/go/pkg/mod/[github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/failpoint-ctl/main.go:82](http://github.com/pingcap/failpoint@v0.0.0-20240527053858-9b3b6e34194a/failpoint-ctl/main.go:82) +0x4e0

4. What is your TiDB version? (Required)

master

commit c9c865ced461b01b08095c760b705642c7f6c838 (HEAD -> master, origin/master, origin/HEAD)
Author: D3Hunter <jujj603@gmail.com>
Date:   Wed May 29 15:58:21 2024 +0800

    test: fix flaky test TestParallelDDL (#53636)
    
    close pingcap/tidb#39222

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions