tikv / tikv/pd

TestMicroserviceTSOConsistency is flaky

Open
#10,587 4 comments 0 reactions 0 assignees View on GitHub
type/ci
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Flaky Test
### Which jobs are failing
```text
panic: test timed out after 5m0s
running tests:
TestMicroserviceTSOConsistencySuite (5m0s)
goroutine 26331 [running]:
testing.(*M).startAlarm.func1()
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:2682 +0x605
created by time.goFunc
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/time/sleep.go:215 +0x45
goroutine 1 [chan receive, 5 minutes]:
testing.(*T).Run(0xc000118700, {0x679667c, 0x23}, 0x70c5838)
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:2005 +0x9fe
testing.runTests.func1(0xc000118700)
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:2477 +0x86
testing.tRunner(0xc000118700, 0xc000cbd9d8)
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:1934 +0x21d
testing.runTests(0xc000d221e0, {0x98997a0, 0x8, 0x8}, {0x7c8e70135cc8?, 0xc000cbda58?, 0x99abb00?})
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:2475 +0x96d
testing.(*M).Run(0xc000d1e780)
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/testing/testing.go:2337 +0xed5
go.uber.org/goleak.VerifyTestMain({0x77bc820, 0xc000d1e780}, {0x99adaa0, 0x9, 0x9})
/home/prow/go/pkg/mod/go.uber.org/goleak@v1.3.0/testmain.go:53 +0x65
github.com/tikv/pd/tests/integrations/tso.TestMain(...)
/home/prow/go/src/github.com/tikv/pd/tests/integrations/tso/client_test.go:54
```
### CI link
- https://prow.tidb.net/view/gs/prow-tidb-logs/pr-logs/pull/tikv_pd/10549/pull-unit-test-next-gen-3/2041783867517440000
### Reason for failure (if possible)
The suite times out in `TestMain`, so the run does not finish within the 5-minute limit.
### Anything else
- triage-key: `testmicroservicetsoconsistencysuite`
- test: `TestMicroserviceTSOConsistencySuite`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.