GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — monitoring.api.v3.api-client.custom_metric_test: test_custom_metric failed · Issue #3875 · GoogleCloudPlatform/python-docs-samples

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

New issue
Copy link
New issue
Copy link
Closed
#3900
Closed
monitoring.api.v3.api-client.custom_metric_test: test_custom_metric failed#3875
#3900
Copy link
Assignees
tmatsuo
Labels
api: monitoringIssues related to the Cloud Monitoring API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@flaky-bot
flaky-bot
bot
opened on May 26, 2020
Issue body actions

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


commit: 79b0d63
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/tmpfs/src/github/python-docs-samples/monitoring/api/v3/api-client/custom_metric_test.py", line 113, in test_custom_metric
    eventually_consistent_test()
  File "/tmpfs/src/github/python-docs-samples/monitoring/api/v3/api-client/.nox/py-3-7/lib/python3.7/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/tmpfs/src/github/python-docs-samples/monitoring/api/v3/api-client/custom_metric_test.py", line 111, in eventually_consistent_test
    assert value == pseudo_random_value
AssertionError: assert 1 == 2
  -1
  +2

Activity

  1. flaky-bot
    added
    buildcop: issue
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on May 26, 2020
  2. blunderbuss-gcf
    assigned
    kurtisvg
    on May 26, 2020
  3. flaky-bot
    added
    buildcop: flaky
    on May 26, 2020
  4. flaky-bot commented on May 26, 2020

    @flaky-bot
    flaky-botBot
    on May 26, 2020
    Author
    More actions

    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 (79b0d63), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

  5. kurtisvg
    assigned
    telpirion
    and
    sirtorry
    and unassigned
    kurtisvg
    on May 26, 2020
  6. kurtisvg
    added
    api: dialogflowIssues related to the Dialogflow API.
    on May 26, 2020
  7. kurtisvg
    unassigned
    telpirion
    and
    sirtorry
    on May 26, 2020
  8. kurtisvg
    added
    api: monitoringIssues related to the Cloud Monitoring API.
    and removed
    api: dialogflowIssues related to the Dialogflow API.
    on May 26, 2020
  9. kurtisvg commented on May 26, 2020

    @kurtisvg
    kurtisvg
    on May 26, 2020
    Contributor
    More actions

    @slz250 PTAL

  10. tmatsuo commented on May 28, 2020

    @tmatsuo
    tmatsuo
    on May 28, 2020
    Contributor
    More actions

    The log indicates that the code is retrying the samples.

    My gut says that because the test is relying on the seed given to the random generator, it always fails when the test retries.

    Maybe I can take a look.

  11. tmatsuo
    self-assigned this
    on May 28, 2020
  12. tmatsuo
    added a commit that references this issue on May 28, 2020

    [monitoring] fix: use the same random value for retry

    This issue will close once commit 1f7b17b is merged into the 'master' branch.
    1f7b17b
  13. tmatsuo
    closed this as completedin #3900on May 28, 2020
  14. tmatsuo
    added a commit that references this issue on May 28, 2020

    [monitoring] fix: use the same random value for retry (#3900)

    This issue will close once commit 3cc468d is merged into the 'main' branch.
    3cc468d
  15. arbrown
    added a commit that references this issue on Nov 7, 2022

    move monitoring samples from python-docs-samples (#51)

    This issue will close once commit d282153 is merged into the 'main' branch.
    d282153
  16. dandhlee
    added a commit that references this issue on Nov 9, 2022

    move monitoring samples from python-docs-samples (#51)

    This issue will close once commit f7bca56 is merged into the 'main' branch.
    f7bca56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tmatsuo
    tmatsuo

Labels

api: monitoringIssues related to the Cloud Monitoring API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.