pubsub: TestStreamingPullMultipleFetches failed
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.
commit: 049e6325ef40f9c04d171f8efc306456ecffccdd buildURL: Build Status, Sponge status: failed
Looks like this issue is flaky. :worried:
I'm going to leave this open and stop commenting.
A human should fix and close this.
When run at the same commit (049e6325ef40f9c04d171f8efc306456ecffccdd), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).
Error from logs:
=== RUN TestStreamingPullMultipleFetches
==================
WARNING: DATA RACE
Read at 0x00c0008aabd0 by goroutine 21722:
runtime.raceread()
:1 +0x1e
cloud.google.com/go/pubsub.(*mockServer).StreamingPull()
/tmpfs/src/google-cloud-go/pubsub/mock_test.go:103 +0x70
cloud.google.com/go/pubsub/apiv1/pubsubpb._Subscriber_StreamingPull_Handler()
/tmpfs/src/google-cloud-go/pubsub/apiv1/pubsubpb/pubsub.pb.go:9307 +0xe8
google.golang.org/grpc.(*Server).processStreamingRPC()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1690 +0x1ffb
google.golang.org/grpc.(*Server).handleStream()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1814 +0x134d
google.golang.org/grpc.(*Server).serveStreams.func2.1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1030 +0x158
Previous write at 0x00c0008aabd0 by goroutine 21651:
runtime.racewrite()
:1 +0x1e
cloud.google.com/go/pubsub.(*mockServer).wait()
/tmpfs/src/google-cloud-go/pubsub/mock_test.go:99 +0xbfd
cloud.google.com/go/pubsub.testStreamingPullIteration()
/tmpfs/src/google-cloud-go/pubsub/streaming_pull_test.go:115 +0xc00
cloud.google.com/go/pubsub.TestStreamingPullMultipleFetches()
/tmpfs/src/google-cloud-go/pubsub/streaming_pull_test.go:65 +0x1fb
testing.tRunner()
/usr/local/go/src/testing/testing.go:1690 +0x226
testing.(*T).Run.gowrap1()
/usr/local/go/src/testing/testing.go:1743 +0x44
Goroutine 21722 (running) created at:
google.golang.org/grpc.(*Server).serveStreams.func2()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1041 +0x224
google.golang.org/grpc/internal/transport.(*http2Server).operateHeaders()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:626 +0x384a
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:667 +0x415
google.golang.org/grpc.(*Server).serveStreams()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1024 +0x69b
google.golang.org/grpc.(*Server).handleRawConn.func1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:959 +0x86
Goroutine 21651 (running) created at:
testing.(*T).Run()
/usr/local/go/src/testing/testing.go:1743 +0x825
testing.runTests.func1()
/usr/local/go/src/testing/testing.go:2168 +0x85
testing.tRunner()
/usr/local/go/src/testing/testing.go:1690 +0x226
testing.runTests()
/usr/local/go/src/testing/testing.go:2166 +0x8be
testing.(*M).Run()
/usr/local/go/src/testing/testing.go:2034 +0xf17
main.main()
_testmain.go:285 +0x164
==================
testing.go:1399: race detected during execution of test
--- FAIL: TestStreamingPullMultipleFetches (0.01s)
Moved to P2 for now until we can look at it in depth - it looks like it's not holding up CI.