Skip to content

automl/beta - can't upgrade to latest libraries-bom - Integration Tests poorly written? #2940

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

Closed
lesv opened this issue May 19, 2020 · 1 comment
Assignees
Labels
api: automl Issues related to the AutoML API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@lesv
Copy link
Contributor

lesv commented May 19, 2020

Found in #2937
https://source.cloud.google.com/results/invocations/f7079bef-8021-4a51-b88a-24740f041202/targets/cloud-devrel%2Fjava%2Fjava-docs-samples%2Fjava11%2Fpresubmit/log

Java 11

------------------------------------------------------------
- testing automl/beta
------------------------------------------------------------
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 300.525 s <<< FAILURE! - in com.example.automl.ImportDatasetTest
[ERROR] com.example.automl.ImportDatasetTest.testImportDataset  Time elapsed: 300.52 s  <<< ERROR!
java.util.concurrent.CancellationException: Task was cancelled.

[ERROR] com.example.automl.ImportDatasetTest.testImportDataset  Time elapsed: 300.52 s  <<< ERROR!
java.util.concurrent.ExecutionException:
com.google.api.gax.rpc.FailedPreconditionException: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: No other operations should be working on projects/233822521623/locations/us-central1/datasets/TEN4401055874429222912.
Currently running operations on the dataset:
	projects/233822521623/locations/us-central1/operations/TEN1100409379020079104
Call ListOperations API to learn more details.
	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:564)

Caused by: com.google.api.gax.rpc.FailedPreconditionException: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: No other operations should be working on projects/233822521623/locations/us-central1/datasets/TEN4401055874429222912.
Currently running operations on the dataset:
	projects/233822521623/locations/us-central1/operations/TEN1100409379020079104
Call ListOperations API to learn more details.

It appears the test isn't written correctly to have more than one executor at a time. (ie. we run Java 11 & Java 8 at the same time).

@lesv lesv added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. api: automl Issues related to the AutoML API. labels May 19, 2020
@lesv lesv assigned stephaniewang526 and unassigned dzlier-gcp May 19, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels May 24, 2020
gcf-merge-on-green bot pushed a commit that referenced this issue Jun 2, 2020
@stephaniewang526
Copy link
Contributor

automl/beta samples have been deprecated therefore this is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: automl Issues related to the AutoML API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. 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

4 participants