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

samples.snippets.quickstart_test: test_publisher_example failed #127

Closed
flaky-bot bot opened this issue Apr 29, 2021 · 1 comment
Closed

samples.snippets.quickstart_test: test_publisher_example failed #127

flaky-bot bot opened this issue Apr 29, 2021 · 1 comment
Assignees
Labels
api: pubsublite Issues related to the googleapis/python-pubsublite API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. samples Issues that are directly related to samples. 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 Apr 29, 2021

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

Test output
topic_path = 'projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-4de1a33c772c44c3883b8d974726b084'
capsys = <_pytest.capture.CaptureFixture object at 0x7fa09ca01f90>
def test_publisher_example(topic_path, capsys):
    import publisher_example
  publisher_example.publish_messages(PROJECT_NUMBER, CLOUD_REGION, ZONE_ID, TOPIC_ID)

quickstart_test.py:207:


publisher_example.py:27: in publish_messages
from google.cloud.pubsublite.cloudpubsub import PublisherClient
../../google/cloud/pubsublite/cloudpubsub/init.py:18: in
from .publisher_client import AsyncPublisherClient, PublisherClient
../../google/cloud/pubsublite/cloudpubsub/publisher_client.py:29: in
from google.cloud.pubsublite.cloudpubsub.internal.multiplexed_publisher_client import (
../../google/cloud/pubsublite/cloudpubsub/internal/multiplexed_publisher_client.py:35: in
class MultiplexedPublisherClient(PublisherClientInterface):
../../google/cloud/pubsublite/cloudpubsub/internal/multiplexed_publisher_client.py:50: in MultiplexedPublisherClient
) -> "Future[str]":
.nox/py-3-7/lib/python3.7/site-packages/overrides/overrides.py:67: in overrides
return _overrides(method, check_signature, check_at_runtime)
.nox/py-3-7/lib/python3.7/site-packages/overrides/overrides.py:93: in _overrides
_validate_method(method, super_class, check_signature)
.nox/py-3-7/lib/python3.7/site-packages/overrides/overrides.py:114: in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
.nox/py-3-7/lib/python3.7/site-packages/overrides/signature.py:75: in ensure_signature_is_compatible
super_type_hints = _get_type_hints(super_callable)
.nox/py-3-7/lib/python3.7/site-packages/overrides/signature.py:46: in _get_type_hints
return get_type_hints(callable)
/usr/local/lib/python3.7/typing.py:1013: in get_type_hints
value = _eval_type(value, globalns, localns)
/usr/local/lib/python3.7/typing.py:263: in _eval_type
return t._evaluate(globalns, localns)
/usr/local/lib/python3.7/typing.py:467: in _evaluate
eval(self.forward_code, globalns, localns),


???
E TypeError: 'type' object is not subscriptable

:1: TypeError

@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 Apr 29, 2021
@product-auto-label product-auto-label bot added api: pubsublite Issues related to the googleapis/python-pubsublite API. samples Issues that are directly related to samples. labels Apr 29, 2021
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label May 5, 2021
@anguillanneuf anguillanneuf self-assigned this May 5, 2021
@anguillanneuf anguillanneuf added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels May 5, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented May 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the googleapis/python-pubsublite API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. samples Issues that are directly related to samples. 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