Flaky Test: TestRemoveRepository_removeReplicationEvents
TestRemoveRepository_removeReplicationEvents test is timing out
panic: test timed out after 10m0s
goroutine 1529 [running]:
testing.(*M).startAlarm.func1()
/usr/local/go/src/testing/testing.go:1788 +0xbb
created by time.goFunc
/usr/local/go/src/time/sleep.go:180 +0x4a
goroutine 1 [chan receive, 9 minutes]:
testing.tRunner.func1()
/usr/local/go/src/testing/testing.go:1225 +0x635
testing.tRunner(0xc002be2680, 0xc00376f9a8)
/usr/local/go/src/testing/testing.go:1265 +0x269
testing.runTests(0xc000332280, {0x36f9fc0, 0x11, 0x11}, {0x0, 0x0, 0x370ff60})
/usr/local/go/src/testing/testing.go:1596 +0x7cb
testing.(*M).Run(0xc000332280)
/usr/local/go/src/testing/testing.go:1504 +0x9d2
gitlab.com/gitlab-org/gitaly/v14/internal/testhelper.Run.func1({0x0, 0x0, 0x3710ce0}, 0xc000332280)
/builds/gitlab-org/gitaly/internal/testhelper/configure.go:73 +0x377
gitlab.com/gitlab-org/gitaly/v14/internal/testhelper.Run(0x400, {0x0, 0x0, 0x0})
/builds/gitlab-org/gitaly/internal/testhelper/configure.go:76 +0x5b
gitlab.com/gitlab-org/gitaly/v14/cmd/praefect.TestMain(...)
/builds/gitlab-org/gitaly/cmd/praefect/main_test.go:21
main.main()
_testmain.go:77 +0x269
goroutine 44 [chan receive, 10 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver/balancer.(*builder).monitor(0xc002ae3170)
/builds/gitlab-org/gitaly/internal/gitaly/rubyserver/balancer/balancer.go:143 +0xcd
created by gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver/balancer.newBuilder
/builds/gitlab-org/gitaly/internal/gitaly/rubyserver/balancer/balancer.go:120 +0x219
goroutine 36 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc000502000)
/root/go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x185
created by go.opencensus.io/stats/view.init.0
/root/go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0xf9
goroutine 112 [chan send, 9 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/helper.(*ManualTicker).Tick(...)
/builds/gitlab-org/gitaly/internal/helper/ticker.go:60
gitlab.com/gitlab-org/gitaly/v14/cmd/praefect.TestRemoveRepository_removeReplicationEvents(0xc002d1eb60)
/builds/gitlab-org/gitaly/cmd/praefect/subcmd_remove_repository_test.go:311 +0xdeb
testing.tRunner(0xc002d1eb60, 0x1e55f18)
/usr/local/go/src/testing/testing.go:1259 +0x230
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1306 +0x727
goroutine 1113 [chan receive, 9 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.clientHandshake.serve.func4()
/builds/gitlab-org/gitaly/internal/backchannel/client.go:128 +0x65
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.connCloser.Close(...)
/builds/gitlab-org/gitaly/internal/backchannel/backchannel.go:68
google.golang.org/grpc/internal/transport.newHTTP2Client.func3()
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:405 +0x238
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:394 +0x2f14
goroutine 535 [chan receive, 9 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.clientHandshake.serve.func4()
/builds/gitlab-org/gitaly/internal/backchannel/client.go:128 +0x65
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.connCloser.Close(...)
/builds/gitlab-org/gitaly/internal/backchannel/backchannel.go:68
google.golang.org/grpc/internal/transport.(*http2Client).Close(0xc00011ab40, {0x2860600, 0xc004d35a10})
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:874 +0x209
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00011ab40)
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:1374 +0xe5b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:346 +0x25dc
goroutine 539 [chan receive, 9 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.clientHandshake.serve.func4()
/builds/gitlab-org/gitaly/internal/backchannel/client.go:128 +0x65
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.connCloser.Close(...)
/builds/gitlab-org/gitaly/internal/backchannel/backchannel.go:68
google.golang.org/grpc/internal/transport.(*http2Client).Close(0xc00011af00, {0x2860600, 0xc004d35a70})
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:874 +0x209
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00011af00)
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:1374 +0xe5b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:346 +0x25dc
goroutine 847 [select, 9 minutes]:
database/sql.(*DB).connectionOpener(0xc0043a6750, {0x2881a10, 0xc002f86a00})
/usr/local/go/src/database/sql/sql.go:1196 +0xfa
created by database/sql.OpenDB
/usr/local/go/src/database/sql/sql.go:794 +0x307
goroutine 1082 [chan receive, 9 minutes]:
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.clientHandshake.serve.func4()
/builds/gitlab-org/gitaly/internal/backchannel/client.go:128 +0x65
gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.connCloser.Close(...)
/builds/gitlab-org/gitaly/internal/backchannel/backchannel.go:68
google.golang.org/grpc/internal/transport.(*http2Client).Close(0xc00011b860, {0x2860600, 0xc003a48c30})
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:874 +0x209
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00011b860)
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:1374 +0xe5b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/root/go/pkg/mod/google.golang.org/grpc@v1.38.0/internal/transport/http2_client.go:346 +0x25dc
FAIL gitlab.com/gitlab-org/gitaly/v14/cmd/praefect 604.305s
Edited by John Cai