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 #217

Closed
flaky-bot bot opened this issue Aug 19, 2021 · 1 comment
Closed

samples.snippets.quickstart_test: test_publisher_example failed #217

flaky-bot bot opened this issue Aug 19, 2021 · 1 comment
Labels
api: pubsublite Issues related to the googleapis/python-pubsublite 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: p2 Moderately-important priority. Fix may not be included in next release. 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 Aug 19, 2021

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


commit: 670c4b0
buildURL: Build Status, Sponge
status: failed

Test output
topic_path = 'projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-59a39e2f4d6f414ab64771ff5cb5d53f'
capsys = <_pytest.capture.CaptureFixture object at 0x7f7abbdf7810>
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:208:


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:20: in
from google.cloud.pubsub_v1.types import BatchSettings
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/pubsub_v1/init.py:19: in
from google.cloud.pubsub_v1 import subscriber
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/pubsub_v1/subscriber/init.py:17: in
from google.cloud.pubsub_v1.subscriber.client import Client
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/pubsub_v1/subscriber/client.py:26: in
from google.cloud.pubsub_v1.subscriber._protocol import streaming_pull_manager
.nox/py-3-7/lib/python3.7/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py:35: in
import google.cloud.pubsub_v1.subscriber.message


from __future__ import absolute_import

import datetime as dt
import json
import math

import pytz
E ModuleNotFoundError: No module named 'pytz'

.nox/py-3-7/lib/python3.7/site-packages/google/cloud/pubsub_v1/subscriber/message.py:20: ModuleNotFoundError

@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 Aug 19, 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 Aug 19, 2021
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Aug 21, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Aug 21, 2021

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 (670c4b0), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@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 Aug 27, 2021
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: 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: p2 Moderately-important priority. Fix may not be included in next release. 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

1 participant