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

monitoring.api.v3.api-client.custom_metric_test: test_custom_metric failed #9310

Closed
flaky-bot bot opened this issue Mar 19, 2023 · 3 comments
Closed
Assignees
Labels
api: monitoring Issues related to the Cloud Monitoring API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. 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. samples Issues that are directly related to samples. 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 Mar 19, 2023

Note: #9029 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 2727a0b
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/monitoring/api/v3/api-client/custom_metric_test.py", line 101, in test_custom_metric
    write_value()
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-9/lib/python3.9/site-packages/backoff/_sync.py", line 110, in retry
    ret = target(*args, **kwargs)
  File "/workspace/monitoring/api/v3/api-client/custom_metric_test.py", line 98, in write_value
    write_timeseries_value(client, PROJECT_RESOURCE,
  File "/workspace/monitoring/api/v3/api-client/custom_metric.py", line 142, in write_timeseries_value
    request.execute()
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 
@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 Mar 19, 2023
@product-auto-label product-auto-label bot added api: monitoring Issues related to the Cloud Monitoring API. samples Issues that are directly related to samples. labels Mar 19, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 19, 2023

Looks like this issue is flaky. 😟

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (2727a0b), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Mar 19, 2023
@flaky-bot flaky-bot bot reopened this Mar 21, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 21, 2023

Oops! Looks like this issue is still flaky. It failed again. 😬

I reopened the issue, but a human will need to close it again.


commit: 2993d42
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/monitoring/api/v3/api-client/custom_metric_test.py", line 101, in test_custom_metric
    write_value()
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-11/lib/python3.11/site-packages/backoff/_sync.py", line 110, in retry
    ret = target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/monitoring/api/v3/api-client/custom_metric_test.py", line 98, in write_value
    write_timeseries_value(client, PROJECT_RESOURCE,
  File "/workspace/monitoring/api/v3/api-client/custom_metric.py", line 142, in write_timeseries_value
    request.execute()
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-11/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/monitoring/api/v3/api-client/.nox/py-3-11/lib/python3.11/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 

@nicain
Copy link
Contributor

nicain commented Mar 24, 2023

Lots of changes on the infrastructure side may have resolved this. Closing to see if this will reoccur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: monitoring Issues related to the Cloud Monitoring API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. 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. samples Issues that are directly related to samples. 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

3 participants