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

Datarace in keyspaceTestSuite.SetupTest #6772

Closed
lhy1024 opened this issue Jul 6, 2023 · 0 comments · Fixed by #6784
Closed

Datarace in keyspaceTestSuite.SetupTest #6772

lhy1024 opened this issue Jul 6, 2023 · 0 comments · Fixed by #6784
Labels
type/ci The issue is related to CI.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Jul 6, 2023

Flaky Test

Which jobs are failing

2023-07-06T09:16:23.2394917Z ==================
2023-07-06T09:16:23.2395124Z WARNING: DATA RACE
2023-07-06T09:16:23.2395368Z Read at 0x00c001c0b5e8 by goroutine 230:
2023-07-06T09:16:23.2395705Z   github.com/tikv/pd/tests.(*TestCluster).WaitLeader()
2023-07-06T09:16:23.2396140Z       /home/runner/work/pd/pd/tests/cluster.go:664 +0x3c4
2023-07-06T09:16:23.2396529Z   github.com/tikv/pd/tests/server/keyspace.(*keyspaceTestSuite).SetupTest()
2023-07-06T09:16:23.2397058Z       /home/runner/work/pd/pd/tests/server/keyspace/keyspace_test.go:61 +0x23c
2023-07-06T09:16:23.2397428Z   github.com/stretchr/testify/suite.Run.func1()
2023-07-06T09:16:23.2397966Z       /home/runner/go/pkg/mod/github.com/stretchr/testify@v1.8.2/suite/suite.go:187 +0x252
2023-07-06T09:16:23.2398281Z   testing.tRunner()
2023-07-06T09:16:23.2398710Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1576 +0x216
2023-07-06T09:16:23.2399001Z   testing.(*T).Run.func1()
2023-07-06T09:16:23.2399430Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1629 +0x47
2023-07-06T09:16:23.2399627Z 
2023-07-06T09:16:23.2399774Z Previous write at 0x00c001c0b5e8 by goroutine 233:
2023-07-06T09:16:23.2400100Z   github.com/tikv/pd/tests.(*TestServer).Run()
2023-07-06T09:16:23.2400507Z       /home/runner/work/pd/pd/tests/cluster.go:156 +0x1eb
2023-07-06T09:16:23.2400767Z   fmt.Fscanf()
2023-07-06T09:16:23.2401147Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2401413Z   fmt.Sscanf()
2023-07-06T09:16:23.2401795Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2402179Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2402973Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2403427Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2404192Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2404528Z   fmt.Fscanf()
2023-07-06T09:16:23.2404916Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2405176Z   fmt.Sscanf()
2023-07-06T09:16:23.2405557Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2405928Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2406681Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2407125Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2408447Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2408941Z   github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
2023-07-06T09:16:23.2409703Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db_util.go:52 +0x261
2023-07-06T09:16:23.2410095Z   github.com/syndtr/goleveldb/leveldb.openDB()
2023-07-06T09:16:23.2410787Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:130 +0x8b5
2023-07-06T09:16:23.2411205Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2412096Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2412427Z   fmt.Fscanf()
2023-07-06T09:16:23.2412819Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2413079Z   fmt.Sscanf()
2023-07-06T09:16:23.2413573Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2413944Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2414705Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2415143Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2415891Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2416215Z   fmt.Fscanf()
2023-07-06T09:16:23.2416602Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2416848Z   fmt.Sscanf()
2023-07-06T09:16:23.2417225Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x21b
2023-07-06T09:16:23.2417591Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2418344Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:657 +0x16e
2023-07-06T09:16:23.2418683Z   fmt.(*ss).doScanf()
2023-07-06T09:16:23.2419087Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:1230 +0x3fb
2023-07-06T09:16:23.2419336Z   fmt.Fscanf()
2023-07-06T09:16:23.2419723Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2419983Z   fmt.Sscanf()
2023-07-06T09:16:23.2420359Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2420724Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2421471Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2421945Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2422709Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2423033Z   fmt.Fscanf()
2023-07-06T09:16:23.2423423Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2423678Z   fmt.Sscanf()
2023-07-06T09:16:23.2424055Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2424409Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2425157Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2425592Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2426357Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2426781Z   github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
2023-07-06T09:16:23.2427478Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:476 +0xb2
2023-07-06T09:16:23.2427861Z   github.com/syndtr/goleveldb/leveldb.openDB()
2023-07-06T09:16:23.2428529Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:125 +0x899
2023-07-06T09:16:23.2428909Z   github.com/syndtr/goleveldb/leveldb.Open()
2023-07-06T09:16:23.2429588Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:197 +0x35c
2023-07-06T09:16:23.2429892Z   fmt.Fscanf()
2023-07-06T09:16:23.2430280Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2430631Z   fmt.Sscanf()
2023-07-06T09:16:23.2431004Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2431379Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2432209Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2432843Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2433612Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2434058Z   github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
2023-07-06T09:16:23.2434752Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/session.go:134 +0xd0
2023-07-06T09:16:23.2435095Z   runtime.deferreturn()
2023-07-06T09:16:23.2435525Z       /opt/hostedtoolcache/go/1.20.1/x64/src/runtime/panic.go:476 +0x32
2023-07-06T09:16:23.2435878Z   github.com/syndtr/goleveldb/leveldb.Open()
2023-07-06T09:16:23.2436553Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:183 +0x104
2023-07-06T09:16:23.2436935Z   github.com/syndtr/goleveldb/leveldb.OpenFile()
2023-07-06T09:16:23.2437614Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:219 +0x87
2023-07-06T09:16:23.2438004Z   github.com/tikv/pd/pkg/storage/kv.NewLevelDBKV()
2023-07-06T09:16:23.2438451Z       /home/runner/work/pd/pd/pkg/storage/kv/levedb_kv.go:34 +0xa4
2023-07-06T09:16:23.2438829Z   github.com/tikv/pd/pkg/storage.NewHotRegionsStorage()
2023-07-06T09:16:23.2439313Z       /home/runner/work/pd/pd/pkg/storage/hot_region_storage.go:143 +0xd9
2023-07-06T09:16:23.2439677Z   github.com/tikv/pd/server.(*Server).startServer()
2023-07-06T09:16:23.2440091Z       /home/runner/work/pd/pd/server/server.go:473 +0x3395
2023-07-06T09:16:23.2440351Z   fmt.Sscanf()
2023-07-06T09:16:23.2440754Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x21b
2023-07-06T09:16:23.2441125Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2441894Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:657 +0x16e
2023-07-06T09:16:23.2442234Z   fmt.(*ss).doScanf()
2023-07-06T09:16:23.2442660Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:1230 +0x3fb
2023-07-06T09:16:23.2442923Z   fmt.Fscanf()
2023-07-06T09:16:23.2443303Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2443558Z   fmt.Sscanf()
2023-07-06T09:16:23.2443934Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2444299Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2445046Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2445496Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2446254Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2446572Z   fmt.Fscanf()
2023-07-06T09:16:23.2446961Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2447217Z   fmt.Sscanf()
2023-07-06T09:16:23.2447585Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2447949Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2448700Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2449138Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2449899Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2450456Z   github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
2023-07-06T09:16:23.2451166Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db_util.go:52 +0x261
2023-07-06T09:16:23.2451645Z   github.com/syndtr/goleveldb/leveldb.openDB()
2023-07-06T09:16:23.2452336Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:130 +0x8b5
2023-07-06T09:16:23.2452755Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2453513Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2453834Z   fmt.Fscanf()
2023-07-06T09:16:23.2454225Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2454476Z   fmt.Sscanf()
2023-07-06T09:16:23.2454856Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2455229Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2455978Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2456418Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2457175Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2457485Z   fmt.Fscanf()
2023-07-06T09:16:23.2457869Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2458122Z   fmt.Sscanf()
2023-07-06T09:16:23.2458499Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x21b
2023-07-06T09:16:23.2458867Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2459613Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:657 +0x16e
2023-07-06T09:16:23.2459946Z   fmt.(*ss).doScanf()
2023-07-06T09:16:23.2460353Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:1230 +0x3fb
2023-07-06T09:16:23.2460614Z   fmt.Fscanf()
2023-07-06T09:16:23.2460991Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2461244Z   fmt.Sscanf()
2023-07-06T09:16:23.2461610Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2461976Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2462729Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2463172Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2463921Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2464240Z   fmt.Fscanf()
2023-07-06T09:16:23.2464627Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2464878Z   fmt.Sscanf()
2023-07-06T09:16:23.2465253Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2465621Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2466376Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2466808Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2467567Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2467988Z   github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
2023-07-06T09:16:23.2468679Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:476 +0xb2
2023-07-06T09:16:23.2469153Z   github.com/syndtr/goleveldb/leveldb.openDB()
2023-07-06T09:16:23.2469832Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:125 +0x899
2023-07-06T09:16:23.2470206Z   github.com/syndtr/goleveldb/leveldb.Open()
2023-07-06T09:16:23.2470967Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:197 +0x35c
2023-07-06T09:16:23.2471268Z   fmt.Fscanf()
2023-07-06T09:16:23.2471651Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:143 +0xe9
2023-07-06T09:16:23.2471907Z   fmt.Sscanf()
2023-07-06T09:16:23.2472287Z       /opt/hostedtoolcache/go/1.20.1/x64/src/fmt/scan.go:114 +0x164
2023-07-06T09:16:23.2472898Z   github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
2023-07-06T09:16:23.2473667Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:643 +0x26
2023-07-06T09:16:23.2474102Z   github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
2023-07-06T09:16:23.2474860Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/storage/file_storage.go:458 +0x409
2023-07-06T09:16:23.2475302Z   github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
2023-07-06T09:16:23.2476011Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/session.go:134 +0xd0
2023-07-06T09:16:23.2476348Z   runtime.deferreturn()
2023-07-06T09:16:23.2476775Z       /opt/hostedtoolcache/go/1.20.1/x64/src/runtime/panic.go:476 +0x32
2023-07-06T09:16:23.2477118Z   github.com/syndtr/goleveldb/leveldb.Open()
2023-07-06T09:16:23.2477778Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:183 +0x104
2023-07-06T09:16:23.2478165Z   github.com/syndtr/goleveldb/leveldb.OpenFile()
2023-07-06T09:16:23.2478848Z       /home/runner/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190318030020-c3a204f8e965/leveldb/db.go:219 +0x87
2023-07-06T09:16:23.2479244Z   github.com/tikv/pd/pkg/storage/kv.NewLevelDBKV()
2023-07-06T09:16:23.2479695Z       /home/runner/work/pd/pd/pkg/storage/kv/levedb_kv.go:34 +0xa4
2023-07-06T09:16:23.2480059Z   github.com/tikv/pd/pkg/storage.newLevelDBBackend()
2023-07-06T09:16:23.2480517Z       /home/runner/work/pd/pd/pkg/storage/leveldb_backend.go:62 +0xb9
2023-07-06T09:16:23.2480926Z   github.com/tikv/pd/pkg/storage.NewStorageWithLevelDBBackend()
2023-07-06T09:16:23.2481401Z       /home/runner/work/pd/pd/pkg/storage/storage.go:66 +0xf9a
2023-07-06T09:16:23.2481742Z   github.com/tikv/pd/server.(*Server).startServer()
2023-07-06T09:16:23.2482158Z       /home/runner/work/pd/pd/server/server.go:426 +0xe45
2023-07-06T09:16:23.2482475Z   github.com/tikv/pd/server.(*Server).Run()
2023-07-06T09:16:23.2482869Z       /home/runner/work/pd/pd/server/server.go:563 +0x1e6
2023-07-06T09:16:23.2483188Z   github.com/tikv/pd/tests.(*TestServer).Run()
2023-07-06T09:16:23.2483598Z       /home/runner/work/pd/pd/tests/cluster.go:153 +0x169
2023-07-06T09:16:23.2483950Z   github.com/tikv/pd/tests.(*TestCluster).RunServer.func1()
2023-07-06T09:16:23.2484374Z       /home/runner/work/pd/pd/tests/cluster.go:583 +0x4e
2023-07-06T09:16:23.2484549Z 
2023-07-06T09:16:23.2484675Z Goroutine 230 (running) created at:
2023-07-06T09:16:23.2484912Z   testing.(*T).Run()
2023-07-06T09:16:23.2485341Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1629 +0x805
2023-07-06T09:16:23.2485694Z   github.com/stretchr/testify/suite.runTests()
2023-07-06T09:16:23.2486197Z       /home/runner/go/pkg/mod/github.com/stretchr/testify@v1.8.2/suite/suite.go:242 +0x19c
2023-07-06T09:16:23.2486546Z   github.com/stretchr/testify/suite.Run()
2023-07-06T09:16:23.2487026Z       /home/runner/go/pkg/mod/github.com/stretchr/testify@v1.8.2/suite/suite.go:215 +0x9b2
2023-07-06T09:16:23.2487448Z   github.com/tikv/pd/tests/server/keyspace.TestKeyspaceTestSuite()
2023-07-06T09:16:23.2488115Z       /home/runner/work/pd/pd/tests/server/keyspace/keyspace_test.go:49 +0x44
2023-07-06T09:16:23.2488410Z   testing.tRunner()
2023-07-06T09:16:23.2488839Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1576 +0x216
2023-07-06T09:16:23.2489138Z   testing.(*T).Run.func1()
2023-07-06T09:16:23.2489648Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1629 +0x47
2023-07-06T09:16:23.2489838Z 
2023-07-06T09:16:23.2489957Z Goroutine 233 (running) created at:
2023-07-06T09:16:23.2490281Z   github.com/tikv/pd/tests.(*TestCluster).RunServer()
2023-07-06T09:16:23.2490700Z       /home/runner/work/pd/pd/tests/cluster.go:583 +0x124
2023-07-06T09:16:23.2491044Z   github.com/tikv/pd/tests.(*TestCluster).RunServers()
2023-07-06T09:16:23.2491451Z       /home/runner/work/pd/pd/tests/cluster.go:591 +0x114
2023-07-06T09:16:23.2491799Z   github.com/tikv/pd/tests.(*TestCluster).RunInitialServers()
2023-07-06T09:16:23.2492221Z       /home/runner/work/pd/pd/tests/cluster.go:607 +0x331
2023-07-06T09:16:23.2492613Z   github.com/tikv/pd/tests/server/keyspace.(*keyspaceTestSuite).SetupTest()
2023-07-06T09:16:23.2493131Z       /home/runner/work/pd/pd/tests/server/keyspace/keyspace_test.go:60 +0x1e4
2023-07-06T09:16:23.2493492Z   github.com/stretchr/testify/suite.Run.func1()
2023-07-06T09:16:23.2493998Z       /home/runner/go/pkg/mod/github.com/stretchr/testify@v1.8.2/suite/suite.go:187 +0x252
2023-07-06T09:16:23.2494288Z   testing.tRunner()
2023-07-06T09:16:23.2494707Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1576 +0x216
2023-07-06T09:16:23.2495002Z   testing.(*T).Run.func1()
2023-07-06T09:16:23.2495423Z       /opt/hostedtoolcache/go/1.20.1/x64/src/testing/testing.go:1629 +0x47
2023-07-06T09:16:23.2495692Z ==================

https://github.com/tikv/pd/actions/runs/5473696513/jobs/9967511357

CI link

Reason for failure (if possible)

Anything else

@lhy1024 lhy1024 added the type/ci The issue is related to CI. label Jul 6, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jul 11, 2023
close #6772

Signed-off-by: Ryan Leung <rleungx@gmail.com>
rleungx added a commit to rleungx/pd that referenced this issue Aug 2, 2023
close tikv#6772

Signed-off-by: Ryan Leung <rleungx@gmail.com>
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

Successfully merging a pull request may close this issue.

1 participant