Skip to content
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

com.example.spanner.QuickstartSampleIT: testQuickstart failed #649

Closed
flaky-bot bot opened this issue Nov 18, 2020 · 3 comments
Closed

com.example.spanner.QuickstartSampleIT: testQuickstart failed #649

flaky-bot bot opened this issue Nov 18, 2020 · 3 comments
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner 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

@flaky-bot
Copy link

flaky-bot bot commented Nov 18, 2020

This test failed!

To configure my behavior, see the Build Cop Bot documentation.

If I'm commenting on this issue too often, add the buildcop: quiet label and
I will stop commenting.


commit: 0f9b7bd
buildURL: Build Status, Sponge
status: failed

Test output
com.google.cloud.spanner.DatabaseNotFoundException: 
NOT_FOUND: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerExceptionPreformatted(SpannerExceptionFactory.java:229)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:165)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:105)
at com.google.cloud.spanner.SessionPool$WaiterFuture.pollUninterruptiblyWithTimeout(SessionPool.java:1545)
at com.google.cloud.spanner.SessionPool$WaiterFuture.get(SessionPool.java:1516)
at com.google.cloud.spanner.SessionPool$WaiterFuture.get(SessionPool.java:1493)
at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62)
at com.google.cloud.spanner.SessionPool$PooledSessionFuture.get(SessionPool.java:1297)
at com.google.cloud.spanner.SessionPool$AutoClosingReadContext$1.internalNext(SessionPool.java:291)
at com.google.cloud.spanner.SessionPool$AutoClosingReadContext$1.next(SessionPool.java:254)
at com.example.spanner.QuickstartSample.main(QuickstartSample.java:55)
at com.example.spanner.QuickstartSampleIT.testQuickstart(QuickstartSampleIT.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)

Caused by: com.google.cloud.spanner.DatabaseNotFoundException: NOT_FOUND: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."

at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerExceptionPreformatted(SpannerExceptionFactory.java:229)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:165)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:105)
at com.google.cloud.spanner.SessionPool$SessionConsumerImpl.onSessionCreateFailure(SessionPool.java:2298)
at com.google.cloud.spanner.SessionClient$BatchCreateSessionsRunnable.run(SessionClient.java:140)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Caused by: com.google.cloud.spanner.DatabaseNotFoundException: NOT_FOUND: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."

at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerExceptionPreformatted(SpannerExceptionFactory.java:229)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:56)
at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:176)
at com.google.cloud.spanner.spi.v1.GapicSpannerRpc.get(GapicSpannerRpc.java:1407)
at com.google.cloud.spanner.spi.v1.GapicSpannerRpc.batchCreateSessions(GapicSpannerRpc.java:1138)
at com.google.cloud.spanner.SessionClient.internalBatchCreateSessions(SessionClient.java:299)
at com.google.cloud.spanner.SessionClient.access$000(SessionClient.java:38)
at com.google.cloud.spanner.SessionClient$BatchCreateSessionsRunnable.run(SessionClient.java:137)
... 7 more

Caused by: java.util.concurrent.ExecutionException: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."

at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:566)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547)
at com.google.cloud.spanner.spi.v1.GapicSpannerRpc.get(GapicSpannerRpc.java:1401)
... 11 more

Caused by: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."

at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:45)
at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)
at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)
at com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:97)
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68)
at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1041)
at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1215)
at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:983)
at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:771)
at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:563)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:533)
at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at com.google.cloud.spanner.spi.v1.SpannerErrorInterceptor$1$1.onClose(SpannerErrorInterceptor.java:100)
at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:464)
at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:428)
at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:461)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:617)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:803)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:782)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
... 7 more

Caused by: io.grpc.StatusRuntimeException: NOT_FOUND: Database not found: projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/gcloud-devel/instances/spanner-testing/databases/quick-db-7995086b-6e91-4473-a"
description: "Database does not exist."

at io.grpc.Status.asRuntimeException(Status.java:533)
... 21 more

@flaky-bot flaky-bot bot added buildcop: issue priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 18, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 18, 2020

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

1 similar comment
@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 18, 2020

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

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Nov 18, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Nov 23, 2020
@olavloite
Copy link
Collaborator

The last failure also seems to have been related to the RESOURCE_EXHAUSTED error caused by the administrative requests limit, which has been fixed now that #669 has been merged.

ansh0l pushed a commit to ansh0l/java-spanner that referenced this issue Nov 10, 2022
This is an auto-generated regeneration of the .pb.go files by
cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will
update the corresponding PR to depend on the newer version of go-genproto, and
assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot
will not create any more regeneration PRs. If all regen PRs are closed,
gapicgen will create a new set of regeneration PRs once per night.

If you have been assigned to review this PR, please:

- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship. That will prompt
genbot to assign reviewers to the google-cloud-go PR.

Corresponding google-cloud-go PR: googleapis/google-cloud-go#4074

Changes:

chore: upgrade gapic-generator-python to 0.45.2
  PiperOrigin-RevId: 372626134
  Source-Link: googleapis/googleapis@fc62a8d

chore: update gapic-generator-csharp to 1.3.6 and gapic-generator-ruby to 0.7.4
  Committer: @virost
  PiperOrigin-RevId: 372609843
  Source-Link: googleapis/googleapis@b32835f

chore: regenerate api index (googleapis#649)

  Source-Link: googleapis/googleapis@dbdfd92

feat(dialogflow/cx): add support for service directory webhooks
  PiperOrigin-RevId: 372602458
  Source-Link: googleapis/googleapis@3e32fd1

chore: Update gapic-generator-php dependency version
  PiperOrigin-RevId: 372514420
  Source-Link: googleapis/googleapis@94a788e

fix: use require() to load JSON protos
  The library is regenerated with gapic-generator-typescript v1.3.1.

  Committer: @alexander-fenster
  PiperOrigin-RevId: 372468161
  Source-Link: googleapis/googleapis@75880c3

chore: Remove unused aiplatform_gapic.yaml
  Committer: @miraleung
  PiperOrigin-RevId: 372463367
  Source-Link: googleapis/googleapis@4d01d63

chore: release gapic-generator-php v0.1.3
  Committer: @miraleung
  PiperOrigin-RevId: 372462573
  Source-Link: googleapis/googleapis@3a2dfb5

chore: release gapic-generator-php v0.1.2
  Committer: @miraleung
  PiperOrigin-RevId: 372403008
  Source-Link: googleapis/googleapis@6b3f5af

feat(dialogflow/cx): add support for service directory webhooks
  PiperOrigin-RevId: 372385924
  Source-Link: googleapis/googleapis@0506eca

feat(cloudbuild/apiv1): Implementation of Source Manifests: - Added message StorageSourceManifest as an option for the Source message - Added StorageSourceManifest field to the SourceProvenance message
  PiperOrigin-RevId: 372331161
  Source-Link: googleapis/googleapis@87a6ce5
ansh0l pushed a commit to ansh0l/java-spanner that referenced this issue Nov 10, 2022
This is an auto-generated regeneration of the .pb.go files by
cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will
update the corresponding PR to depend on the newer version of go-genproto, and
assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot
will not create any more regeneration PRs. If all regen PRs are closed,
gapicgen will create a new set of regeneration PRs once per night.

If you have been assigned to review this PR, please:

- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship. That will prompt
genbot to assign reviewers to the google-cloud-go PR.

Corresponding google-cloud-go PR: googleapis/google-cloud-go#4553

Changes:

chore: release gapic-generator-php v1.0.5
  Committer: @miraleung
  PiperOrigin-RevId: 388791571
  Source-Link: googleapis/googleapis@882e6d6

docs(retail): Quote several literal expressions for better rendering
  PiperOrigin-RevId: 388769359
  Source-Link: googleapis/googleapis@a47f0a4

chore(storagetransfer): Correct and fill in Ruby microgenerator arguments in preparation for initial library generation
  PiperOrigin-RevId: 388754259
  Source-Link: googleapis/googleapis@0f7c56c

fix: fix validation result docs feat: add language code to streaming recognition result feat: add time zone and security settings to conversation profile docs: update agent docs docs: update entity type docs docs: update intent docs
  PiperOrigin-RevId: 388737553
  Source-Link: googleapis/googleapis@09e5b17

fix(dialogflow): fix validation result docs feat: add language code to streaming recognition result docs: update environment docs
  PiperOrigin-RevId: 388737005
  Source-Link: googleapis/googleapis@8dfb215

chore: regenerate API index

  Source-Link: googleapis/googleapis@ec9c7e5

fix!(monitoring/dashboard): Specify a C# namespace option to be consistent with other Cloud APIs
  Note: this is only a breaking change for C#, which has not yet published libraries.

  Committer: jskeet
  PiperOrigin-RevId: 388718145
  Source-Link: googleapis/googleapis@f1d0efe

feat!: release gapic-generator-java v2.0.0
  Committer: @miraleung
  PiperOrigin-RevId: 388535346
  Source-Link: googleapis/googleapis@d9eaf41

chore: release gapic-generator-java v1.0.17
  Committer: @miraleung
  PiperOrigin-RevId: 388499329
  Source-Link: googleapis/googleapis@bb0a090

docs(dialogflow): fix typos
  PiperOrigin-RevId: 387960382
  Source-Link: googleapis/googleapis@41521e2

chore: Remove legacy Cloud DMS proto file
  This is not used by any API.

  PiperOrigin-RevId: 387957626
  Source-Link: googleapis/googleapis@30c8964

docs(retail): Remove HTML tags from Cloud Retail API library docs
  PiperOrigin-RevId: 387885619
  Source-Link: googleapis/googleapis@2f9af29

build(storagetransfer): update artifact name for Node.js
  PiperOrigin-RevId: 387874448
  Source-Link: googleapis/googleapis@6e4ddb5

chore: release gapic-generator-php v1.0.4
  Committer: @miraleung
  PiperOrigin-RevId: 387873562
  Source-Link: googleapis/googleapis@e35709b

docs(retail): remove remaining private links
  PiperOrigin-RevId: 387857950
  Source-Link: googleapis/googleapis@dc93323

chore: regenerate API index

  Source-Link: googleapis/googleapis@81c199d

feat(dialogflow/cx): add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query parameters docs: deprecate legacy logging settings
  PiperOrigin-RevId: 387851191
  Source-Link: googleapis/googleapis@5af6d9b

chore: regenerate API index

  Source-Link: googleapis/googleapis@b50902f

feat(dialogflow/cx): add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query parameters docs: deprecate legacy logging settings
  PiperOrigin-RevId: 387850898
  Source-Link: googleapis/googleapis@05d477b

docs(binaryauthorization): Replace "global policy" with "system policy" in Binary Authorization documentation
  PiperOrigin-RevId: 387843916
  Source-Link: googleapis/googleapis@c03bfe0

fix: failing tests for LRO check methods
  Updated gapic-generator-typescript to v2.1.1.

  Committer: @alexander-fenster
  PiperOrigin-RevId: 387841814
  Source-Link: googleapis/googleapis@f973532
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this issue Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner 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

2 participants