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

tests.system.test_client: test_download_blob_to_file_w_etag failed #927

Closed
flaky-bot bot opened this issue Nov 29, 2022 · 1 comment
Closed

tests.system.test_client: test_download_blob_to_file_w_etag failed #927

flaky-bot bot opened this issue Nov 29, 2022 · 1 comment
Labels
api: storage Issues related to the googleapis/python-storage API. 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 Nov 29, 2022

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

Test output
storage_client = 
shared_bucket_name = 'gcp-systest-1669697661809'
@pytest.fixture(scope="session")
def shared_bucket(storage_client, shared_bucket_name):
    bucket = storage_client.bucket(shared_bucket_name)
    bucket.versioning_enabled = True
  _helpers.retry_429_503(bucket.create)()

tests/system/conftest.py:88:


.nox/system-3-8/lib/python3.8/site-packages/test_utils/retry.py:100: in wrapped_function
return to_wrap(*args, **kwargs)
google/cloud/storage/bucket.py:981: in create
client.create_bucket(
google/cloud/storage/client.py:952: in create_bucket
api_response = self._post_resource(
google/cloud/storage/client.py:617: in _post_resource
return self._connection.api_request(
google/cloud/storage/_http.py:72: in api_request
return call()
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:283: in retry_wrapped_func
return retry_target(
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:190: in retry_target
return target()
.nox/system-3-8/lib/python3.8/site-packages/google/cloud/_http/init.py:482: in api_request
response = self._make_request(
.nox/system-3-8/lib/python3.8/site-packages/google/cloud/_http/init.py:341: in _make_request
return self._do_request(
.nox/system-3-8/lib/python3.8/site-packages/google/cloud/_http/init.py:379: in _do_request
return self.http.request(
.nox/system-3-8/lib/python3.8/site-packages/google/auth/transport/requests.py:585: in request
self.credentials.refresh(auth_request)


self = <google.auth.credentials.AnonymousCredentials object at 0x7f8fd6442f70>
request = functools.partial(<google.auth.transport.requests.Request object at 0x7f8fd63f3850>, timeout=60)

def refresh(self, request):
    """Raises :class:`ValueError``, anonymous credentials cannot be
    refreshed."""
  raise ValueError("Anonymous credentials cannot be refreshed.")

E ValueError: Anonymous credentials cannot be refreshed.

.nox/system-3-8/lib/python3.8/site-packages/google/auth/credentials.py:195: ValueError

@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 Nov 29, 2022
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Nov 29, 2022
@cojenco
Copy link
Contributor

cojenco commented Nov 29, 2022

closed with #940

@cojenco cojenco closed this as completed Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. 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

1 participant