Skip to content

Monitoring system tests backoff is insufficient sometimes #3739

Closed

Activity

  1. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Aug 7, 2017
  2. liyanhui1228 commented on Aug 7, 2017

    @liyanhui1228
    Contributor

    The max retries for the failed test is 10, but the tests failed after retry for 5 times, what stops it from retrying?

  3. dhermes commented on Aug 7, 2017

    @dhermes
    ContributorAuthor
    1. 10 retries is probably too many (after our experience with logging)
    2. I think the issue is a strange combination of list() calls that consume iterators. The retry probably needs to be re-written? (It may predate the rewrite that resulted in the google.cloud.iterator module.)
  4. dhermes commented on Aug 8, 2017

    @dhermes
    ContributorAuthor
  5. liyanhui1228 commented on Aug 9, 2017

    @liyanhui1228
    Contributor

    It might because we cannot read the metric right after it is available to read, and there is a long and unstable cool down period. I think we can have a try to increase the waiting time between each retry by increasing the backoff, and add a RetryErrors decorator to this test function to run again if failed.

  6. added a commit that references this issue on Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: monitoringIssues related to the Cloud Monitoring API.priority: p2Moderately-important priority. Fix may not be included in next release.testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions