-
Notifications
You must be signed in to change notification settings - Fork 58
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
samples.instanceadmin.test_instanceadmin: test_add_and_delete_cluster failed #353
Comments
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 (1e51285), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge). |
In addition to showing the better practice (using the operation returned from 'Instance.create' / 'Cluster.create'), this change also hardens the sample against eventual-consistency issues. Closes #353.
In addition to showing the better practice (using the operation returned from 'Instance.create' / 'Cluster.create'), this change also hardens the sample against eventual-consistency issues. The timeouts used match those used in the system tests. Closes #353.
In addition to showing the better practice (using the operation returned from 'Instance.create' / 'Cluster.create'), this change also hardens the sample against eventual-consistency issues. Closes #353.
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: aa5b606 Test outputargs = (parent: "projects/python-docs-samples-tests/instances/instanceadmin-825-1626080660" cluster_id: "instanceadmin-148" c...ocation: "projects/python-docs-samples-tests/locations/us-central1-a" serve_nodes: 1 default_storage_type: SSD } ,) kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/instances/instanceadmin-825-1626080660'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.1 gax/1.31.0')]} |
This failure is not (as I had earlier assumed) fixable by polling the LRO returned from
None of the API-invoking |
@kolea2 Seeing that samples for other API clients (automl, datalabeling, translate) are using the import backoff
...
@backoff.on_exception(backoff.expo, exceptions.ServiceUnavailable)
def do_create_cluster(cluster):
return cluster.create()
operation = do_create_cluster(cluster)
operation.result(timeout=30) |
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quiet
label andI will stop commenting.
commit: 1e51285
buildURL: Build Status, Sponge
status: failed
Test output
The text was updated successfully, but these errors were encountered: