GeezerVison is showing github.com — automl/beta - can't upgrade to latest libraries-bom - Integration Tests poorly written? · Issue #2940 · GoogleCloudPlatform/java-docs-samples
automl/beta - can't upgrade to latest libraries-bom - Integration Tests poorly written? #2940
Labels
🚨This issue needs some love.api: automlIssues related to the AutoML 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
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).
Activity
added
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release. on May 19, 2020added
🚨This issue needs some love. and removed
🚨This issue needs some love. on May 24, 2020stephaniewang526 commented on Jun 2, 2020
automl/beta samples have been deprecated therefore this is no longer relevant.
Metadata
Metadata
🚨This issue needs some love.api: automlIssues related to the AutoML 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. Development
No branches or pull requestsIssue actions