Skip to content

iot.api-client.gcs_file_to_device.gcs_send_to_device_test: test_make_file_public failed #6386

@flaky-bot

Description

@flaky-bot

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

Test output
Traceback (most recent call last):
  File "/workspace/iot/api-client/gcs_file_to_device/gcs_send_to_device_test.py", line 55, in test_blob
    blob.upload_from_string("This file on GCS will go to a device.")
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/storage/blob.py", line 2623, in upload_from_string
    self.upload_from_file(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/storage/blob.py", line 2378, in upload_from_file
    created_json = self._do_upload(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/storage/blob.py", line 2200, in _do_upload
    response = self._do_multipart_upload(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/storage/blob.py", line 1762, in _do_multipart_upload
    response = upload.transmit(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/resumable_media/requests/upload.py", line 139, in transmit
    response = _request_helpers.http_request(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/resumable_media/requests/_request_helpers.py", line 136, in http_request
    return _helpers.wait_and_retry(func, RequestsMixin._get_status_code, retry_strategy)
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/resumable_media/_helpers.py", line 177, in wait_and_retry
    response = func()
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/auth/transport/requests.py", line 478, in request
    self.credentials.before_request(auth_request, method, url, request_headers)
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/auth/credentials.py", line 133, in before_request
    self.refresh(request)
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/oauth2/service_account.py", line 376, in refresh
    access_token, expiry, _ = _client.jwt_grant(
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/oauth2/_client.py", line 193, in jwt_grant
    response_data = _token_endpoint_request(request, token_uri, body)
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/oauth2/_client.py", line 165, in _token_endpoint_request
    _handle_error_response(response_data)
  File "/workspace/iot/api-client/gcs_file_to_device/.nox/py-3-8/lib/python3.8/site-packages/google/oauth2/_client.py", line 60, in _handle_error_response
    raise exceptions.RefreshError(error_details, response_data)
google.auth.exceptions.RefreshError: ('invalid_grant: Invalid JWT Signature.', {'error': 'invalid_grant', 'error_description': 'Invalid JWT Signature.'})

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: cloudiotIssues related to the IoT Core API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions