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

pubsub: TestStreamingPullMultipleFetches failed #11651

Open
flaky-bot bot opened this issue Feb 25, 2025 · 2 comments
Open

pubsub: TestStreamingPullMultipleFetches failed #11651

flaky-bot bot opened this issue Feb 25, 2025 · 2 comments
Assignees
Labels
api: pubsub Issues related to the Pub/Sub API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Feb 25, 2025

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: 049e632
buildURL: Build Status, Sponge
status: failed

@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Feb 25, 2025
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Feb 25, 2025
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Feb 25, 2025
Copy link
Author

flaky-bot bot commented Feb 25, 2025

Looks like this issue is flaky. 😟

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (049e632), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@bhshkh
Copy link
Contributor

bhshkh commented Feb 25, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants