-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
api: clouderrorreportingIssues related to the googleapis/python-error-reporting API.Issues related to the googleapis/python-error-reporting API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Note: #424 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 3974fec
buildURL: Build Status, Sponge
status: failed
Test output
self =def test_report_exception(self): # Get a class name unique to this test case. class_name = "RuntimeError" + unique_resource_id("_") # Simulate an error: group won't exist until we report # first exception. _simulate_exception(class_name, Config.CLIENT) is_one = functools.partial(operator.eq, 1) is_one.__name__ = "is_one" # partial() has no name. retry = RetryResult(is_one, max_tries=8) wrapped_get_count = retry(_get_error_count)error_count = wrapped_get_count(class_name, Config.CLIENT)tests/system/test_system.py:129:
args = ('RuntimeError_1687321982894', <google.cloud.error_reporting.client.Client object at 0x7f7043283e80>)
kwargs = {}, tries = 8, result = None, delay = 128
msg = 'is_one. Trying again in 128 seconds...'@functools.wraps(to_wrap) def wrapped_function(*args, **kwargs): tries = 0 while tries < self.max_tries: result = to_wrap(*args, **kwargs) if self.result_predicate(result): return result delay = self.delay * self.backoff ** tries msg = "%s. Trying again in %d seconds..." % ( self.result_predicate.__name__, delay, ) self.logger(msg) time.sleep(delay) tries += 1raise BackoffFailed()E test_utils.retry.BackoffFailed
.nox/prerelease_deps-3-8/lib/python3.8/site-packages/test_utils/retry.py:170: BackoffFailed
Metadata
Metadata
Assignees
Labels
api: clouderrorreportingIssues related to the googleapis/python-error-reporting API.Issues related to the googleapis/python-error-reporting API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.