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

DM TestFailToStartLeader #4565

Closed
Tracked by #2246
Ehco1996 opened this issue Feb 11, 2022 · 0 comments · Fixed by #4566
Closed
Tracked by #2246

DM TestFailToStartLeader #4565

Ehco1996 opened this issue Feb 11, 2022 · 0 comments · Fixed by #4566
Labels
area/dm Issues or PRs related to DM. component/test Unit tests and integration tests component. type/enhancement The issue or PR belongs to an enhancement.

Comments

@Ehco1996
Copy link
Contributor

Which jobs are flaking?

https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/1237/pipeline/

Which test(s) are flaking?

TestFailToStartLeader

Jenkins logs or GitHub Actions link

[2022-02-10T10:59:54.496Z] goroutine 300 [semacquire, 4 minutes]:
[2022-02-10T10:59:54.496Z] sync.runtime_Semacquire(0xc001b6e090)
[2022-02-10T10:59:54.496Z] 	/usr/local/go/src/runtime/sema.go:56 +0x45
[2022-02-10T10:59:54.496Z] sync.(*WaitGroup).Wait(0xc001b6e088)
[2022-02-10T10:59:54.496Z] 	/usr/local/go/src/sync/waitgroup.go:130 +0xe5
[2022-02-10T10:59:54.496Z] github.com/pingcap/tiflow/dm/dm/master.(*Server).Close(0xc001b6e000)
[2022-02-10T10:59:54.496Z] 	/home/jenkins/agent/workspace/ut-check/tiflow/dm/dm/master/server.go:275 +0x15d
[2022-02-10T10:59:54.496Z] runtime.Goexit()
[2022-02-10T10:59:54.496Z] 	/usr/local/go/src/runtime/panic.go:632 +0x146
[2022-02-10T10:59:54.496Z] github.com/pingcap/check.(*C).stopNow(...)
[2022-02-10T10:59:54.496Z] 	/go/pkg/mod/github.com/pingcap/[email protected]/check.go:108
[2022-02-10T10:59:54.496Z] github.com/pingcap/check.(*C).Assert(0xc0002b2c30, 0x5a8b180, 0x92a7060, 0x71e7438, 0x8d882c0, 0xc0010d59d8, 0x1, 0x1)
[2022-02-10T10:59:54.496Z] 	/go/pkg/mod/github.com/pingcap/[email protected]/helpers.go:179 +0xc5
[2022-02-10T10:59:54.497Z] github.com/pingcap/tiflow/dm/dm/master.(*testElectionSuite).TestFailToStartLeader(0x9f17d98, 0xc0002b2c30)
[2022-02-10T10:59:54.497Z] 	/home/jenkins/agent/workspace/ut-check/tiflow/dm/dm/master/election_test.go:79 +0x103a
[2022-02-10T10:59:54.497Z] reflect.Value.call(0x5b4b8a0, 0x9f17d98, 0x213, 0x609a1a2, 0x4, 0xc0000e3ef0, 0x1, 0x1, 0xc000583d08, 0x4b4b4de, ...)
[2022-02-10T10:59:54.497Z] 	/usr/local/go/src/reflect/value.go:476 +0x99c
[2022-02-10T10:59:54.497Z] reflect.Value.Call(0x5b4b8a0, 0x9f17d98, 0x213, 0xc000583ef0, 0x1, 0x1, 0x0, 0x0, 0x0)
[2022-02-10T10:59:54.497Z] 	/usr/local/go/src/reflect/value.go:337 +0xd9
[2022-02-10T10:59:54.497Z] github.com/pingcap/check.(*suiteRunner).forkTest.func1(0xc0002b2c30)
[2022-02-10T10:59:54.497Z] 	/go/pkg/mod/github.com/pingcap/[email protected]/check.go:850 +0xb3c
[2022-02-10T10:59:54.497Z] github.com/pingcap/check.(*suiteRunner).forkCall.func1(0xc001149830, 0xc0002b2c30, 0xc000bd2ea0)
[2022-02-10T10:59:54.497Z] 	/go/pkg/mod/github.com/pingcap/[email protected]/check.go:739 +0x11e
[2022-02-10T10:59:54.497Z] created by github.com/pingcap/check.(*suiteRunner).forkCall
[2022-02-10T10:59:54.497Z] 	/go/pkg/mod/github.com/pingcap/[email protected]/check.go:734 +0x4cd
[2022-02-10T10:59:54.497Z] 

https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/1237/pipeline/

Anything else we need to know

  • Does this test exist for other branches as well?

  • Has there been a high frequency of failure lately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dm Issues or PRs related to DM. component/test Unit tests and integration tests component. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant