Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Teardown of blobs_to_delete fixture flakes with TimeoutError. #517

Closed

Description

@tseaver

From this Kokoro failure:

self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x7fdd9aa453a0>
err = timeout('The read operation timed out')
url = '/storage/v1/b/gcp-systest-kms-1626816467428/o/test-blob?generation=1626816473471724&prettyPrint=false'
timeout_value = 60

    def _raise_timeout(self, err, url, timeout_value):
        """Is the error actually a timeout? Will raise a ReadTimeout or pass"""

        if isinstance(err, SocketTimeout):
>           raise ReadTimeoutError(
                self, url, "Read timed out. (read timeout=%s)" % timeout_value
            )
E           urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Read timed out. (read timeout=60)

.nox/system-3-8/lib/python3.8/site-packages/urllib3/connectionpool.py:336: ReadTimeoutError

During handling of the above exception, another exception occurred:

    @pytest.fixture(scope="function")
    def blobs_to_delete():
        blobs_to_delete = []

        yield blobs_to_delete

        for blob in blobs_to_delete:
>           _helpers.delete_blob(blob)

Activity

  1. added
    type: processA process-related concern. May include testing, release, or the like.
    on Jul 20, 2021
  2. self-assigned this
    on Jul 20, 2021
  3. added a commit that references this issue on Jul 20, 2021
    9165baf
  4. added a commit that references this issue on Jul 22, 2021
    24ea536
  5. added 2 commits that reference this issue on Oct 13, 2021
    e6fca0f
    c30c37d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions