Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

StatementTimeoutTest.testCancelDdlAutocommit is flaky #3690

Copy link
Copy link

Description

@olavloite
Issue body actions
[INFO] Running com.google.cloud.spanner.connection.StatementTimeoutTest
Mar 17, 2025 12:43:31 PM com.google.api.gax.grpc.InstantiatingGrpcChannelProvider logDirectPathMisconfig
WARNING: DirectPath is misconfigured. Please make sure the credential is an instance of com.google.auth.oauth2.ComputeEngineCredentials .
Mar 17, 2025 12:43:31 PM com.google.api.gax.grpc.InstantiatingGrpcChannelProvider logDirectPathMisconfig
WARNING: DirectPath is misconfigured. Please make sure the credential is an instance of com.google.auth.oauth2.ComputeEngineCredentials .
Mar 17, 2025 12:43:31 PM com.google.api.gax.grpc.InstantiatingGrpcChannelProvider logDirectPathMisconfig
WARNING: DirectPath is misconfigured. Please make sure the credential is an instance of com.google.auth.oauth2.ComputeEngineCredentials .
Mar 17, 2025 12:43:31 PM com.google.api.gax.grpc.InstantiatingGrpcChannelProvider logDirectPathMisconfig
WARNING: DirectPath is misconfigured. Please make sure the credential is an instance of com.google.auth.oauth2.ComputeEngineCredentials .
Mar 17, 2025 12:43:48 PM com.google.cloud.spanner.SessionPool closeAsync
WARNING: Leaked session. Call SessionOptions.Builder#setTrackStackTraceOfSessionCheckout(true) to start tracking the call stack trace of the thread that checked out the session.
Mar 17, 2025 12:43:48 PM com.google.cloud.spanner.SessionPool closeAsync
WARNING: Leaked session. Call SessionOptions.Builder#setTrackStackTraceOfSessionCheckout(true) to start tracking the call stack trace of the thread that checked out the session.
[ERROR] Tests run: 120, Failures: 0, Errors: 1, Skipped: 12, Time elapsed: 16.85 s <<< FAILURE! -- in com.google.cloud.spanner.connection.StatementTimeoutTest
[ERROR] com.google.cloud.spanner.connection.StatementTimeoutTest.testCancelDdlAutocommit[statementExecutorType = PLATFORM_THREAD] -- Time elapsed: 10.02 s <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds
	at sun.misc.Unsafe.park(Native Method)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
	at com.google.common.util.concurrent.OverflowAvoidingLockSupport.parkNanos(OverflowAvoidingLockSupport.java:38)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:464)
	at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:99)
	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:75)
	at com.google.cloud.spanner.connection.ConnectionImpl.close(ConnectionImpl.java:417)
	at com.google.cloud.spanner.connection.StatementTimeoutTest.testCancelDdlAutocommit(StatementTimeoutTest.java:1039)
	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.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:750)
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.Issues related to the googleapis/java-spanner API.type: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.