googleapis / google-cloud-go

Google Cloud Client Libraries for Go.
https://cloud.google.com/go/docs/reference
Apache License 2.0
3.72k stars 1.27k forks source link

pubsublite/internal/wire: TestRoutingPublisherUnloadIdlePublisher failed #7942

Closed flaky-bot[bot] closed 1 year ago

flaky-bot[bot] commented 1 year ago

Note: #7854 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 85d084cc9d22f03ec60356d9f875c143d92a4aba buildURL: Build Status, Sponge status: failed

Test output
    verifier.go:226: call(2): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"2"}  first_sequence_number:1}
    verifier.go:226: call(3): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"3"}  first_sequence_number:2}
    verifier.go:226: call(4): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"4"}  first_sequence_number:3}
    verifier.go:226: call(5): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"5"}  first_sequence_number:4}
    verifier.go:226: call(6): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"6"}  first_sequence_number:5}
    verifier.go:257: unexpected stream index 1 for key publish:projects/123456/locations/us-central1-b/topics/my-topic:0
    publish_batcher_test.go:71: Publish("2") error: (rpc error: code = FailedPrecondition desc = mockserver: got unexpected stream connection), want: partition=0,offset=11
    publish_batcher_test.go:71: Publish("3") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=12
    publish_batcher_test.go:71: Publish("4") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=13
    publish_batcher_test.go:71: Publish("5") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=14
    publish_batcher_test.go:71: Publish("6") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=15
    publish_batcher_test.go:71: Publish("b") error: (pubsublite: service has stopped or is stopping), want: partition=1,offset=22
    publisher_test.go:619: Stop() got err: (publisher(projects/123456/locations/us-central1-b/topics/my-topic/partitions/0): rpc error: code = FailedPrecondition desc = mockserver: got unexpected stream connection)
    verifier.go:226: call(0): did not receive expected request:
        [*pubsublitepb.PublishRequest] initial_request:{topic:"projects/123456/locations/us-central1-b/topics/my-topic"  partition:1  client_id:"publisher"}
    verifier.go:226: call(1): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"bar"  data:"b"}  first_sequence_number:1}
flaky-bot[bot] commented 1 year ago

Test passed for commit 8b75e864a819f6c8106e7411b5d8c4383aece71d (Build Status, Sponge)! Closing this issue.

flaky-bot[bot] commented 1 year ago

Looks like this issue is flaky. :worried:

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

A human should fix and close this.


commit: ecabc89f014e887122f9faeb525072cab6dfdf8e buildURL: Build Status, Sponge status: failed

Test output
    verifier.go:226: call(4): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"4"}  first_sequence_number:3}
    verifier.go:226: call(5): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"5"}  first_sequence_number:4}
    verifier.go:226: call(6): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"baz"  data:"6"}  first_sequence_number:5}
    verifier.go:257: unexpected stream index 1 for key publish:projects/123456/locations/us-central1-b/topics/my-topic:0
    publish_batcher_test.go:71: Publish("4") error: (rpc error: code = FailedPrecondition desc = mockserver: got unexpected stream connection), want: partition=0,offset=13
    publish_batcher_test.go:71: Publish("5") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=14
    publish_batcher_test.go:71: Publish("6") error: (pubsublite: service has stopped or is stopping), want: partition=0,offset=15
    publish_batcher_test.go:71: Publish("b") error: (pubsublite: service has stopped or is stopping), want: partition=1,offset=22
    publisher_test.go:619: Stop() got err: (publisher(projects/123456/locations/us-central1-b/topics/my-topic/partitions/0): rpc error: code = FailedPrecondition desc = mockserver: got unexpected stream connection)
    verifier.go:226: call(0): did not receive expected request:
        [*pubsublitepb.PublishRequest] initial_request:{topic:"projects/123456/locations/us-central1-b/topics/my-topic"  partition:1  client_id:"publisher"}
    verifier.go:226: call(1): did not receive expected request:
        [*pubsublitepb.PublishRequest] message_publish_request:{messages:{key:"bar"  data:"b"}  first_sequence_number:1}