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

Description

@tseaver

From this Kokoro failure:

self=<urllib3.connectionpool.HTTPSConnectionPoolobjectat0x7fdd9aa453a0>err=timeout('The read operation timed out')
url='/storage/v1/b/gcp-systest-kms-1626816467428/o/test-blob?generation=1626816473471724&prettyPrint=false'timeout_value=60def_raise_timeout(self, err, url, timeout_value):
"""Is the error actually a timeout? Will raise a ReadTimeout or pass"""ifisinstance(err, SocketTimeout):
>raiseReadTimeoutError(
self, url, "Read timed out. (read timeout=%s)"%timeout_value
)
Eurllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Readtimedout. (readtimeout=60)
.nox/system-3-8/lib/python3.8/site-packages/urllib3/connectionpool.py:336: ReadTimeoutErrorDuringhandlingoftheaboveexception, anotherexceptionoccurred:
@pytest.fixture(scope="function")defblobs_to_delete():
blobs_to_delete= []
yieldblobs_to_deleteforblobinblobs_to_delete:
>_helpers.delete_blob(blob)

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