googleapis / googleapis/google-cloud-rust

Compute tests::usage_report_samples flaked

Open
#6,297 0 comments 0 reactions 0 assignees View on GitHub
api: compute flake samples
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

The integration test `tests::usage_report_samples` in `guide/samples/tests/compute.rs` flaked with a 503 SERVICE UNAVAILABLE error from Compute Engine while waiting for the long-running operation to disable the usage export bucket.

See https://pantheon.corp.google.com/cloud-build/builds;region=us-central1/a7ef48f8-5883-4ec4-ab1c-147e84bba83d?project=rust-sdk-testing&e=13803378&mods=allow_workbench_image_override

Contributor guide

Open the contributing guide

Research direction

Start with the integration test tests::usage_report_samples in guide/samples/tests/compute.rs and reproduce or inspect the reported Cloud Build failure. Trace the wait for the long-running operation that disables the usage export bucket and determine how the 503 SERVICE UNAVAILABLE failure should be handled. Done means the test no longer flakes while still detecting genuine failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cloud, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.