Skip to content

pubsublite.QuickStartIT: testQuickstart failed #1287

@flaky-bot

Description

@flaky-bot

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 and
I will stop commenting.


commit: f1666be
buildURL: Build Status, Sponge
status: failed

Test output
java.lang.IllegalStateException: Expected the service InnerService [FAILED] to be TERMINATED, but the service has FAILED
	at com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381)
	at com.google.common.util.concurrent.AbstractService.awaitTerminated(AbstractService.java:338)
	at com.google.api.core.AbstractApiService.awaitTerminated(AbstractApiService.java:103)
	at pubsublite.PublishWithOrderingKeyExample.publishWithOrderingKeyExample(PublishWithOrderingKeyExample.java:94)
	at pubsublite.QuickStartIT.testQuickstart(QuickStartIT.java:250)
	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)
Caused by: com.google.api.gax.rpc.ApiException: 
	at com.google.cloud.pubsublite.internal.CheckedApiException.(CheckedApiException.java:51)
	at com.google.cloud.pubsublite.internal.CheckedApiException.(CheckedApiException.java:55)
	at com.google.cloud.pubsublite.internal.ExtractStatus.toCanonical(ExtractStatus.java:53)
	at com.google.cloud.pubsublite.internal.wire.ApiServiceUtils.blockingShutdown(ApiServiceUtils.java:75)
	at com.google.cloud.pubsublite.internal.wire.PartitionCountWatchingPublisher$PartitionsWithRouting.stop(PartitionCountWatchingPublisher.java:88)
	at java.util.Optional.ifPresent(Optional.java:159)
	at com.google.cloud.pubsublite.internal.wire.PartitionCountWatchingPublisher.stop(PartitionCountWatchingPublisher.java:211)
	at com.google.cloud.pubsublite.internal.ProxyService.doStop(ProxyService.java:146)
	at com.google.api.core.AbstractApiService$InnerService.doStop(AbstractApiService.java:152)
	at com.google.common.util.concurrent.AbstractService.stopAsync(AbstractService.java:283)
	at com.google.api.core.AbstractApiService.stopAsync(AbstractApiService.java:128)
	at com.google.cloud.pubsublite.internal.ProxyService.doStop(ProxyService.java:153)
	at com.google.api.core.AbstractApiService$InnerService.doStop(AbstractApiService.java:152)
	at com.google.common.util.concurrent.AbstractService.stopAsync(AbstractService.java:283)
	at com.google.api.core.AbstractApiService.stopAsync(AbstractApiService.java:128)
	... 16 more
Caused by: java.lang.IllegalStateException: Failed while in state:TERMINATED
	at com.google.common.util.concurrent.AbstractService.notifyFailed(AbstractService.java:466)
	at com.google.common.util.concurrent.AbstractService.stopAsync(AbstractService.java:292)
	at com.google.api.core.AbstractApiService.stopAsync(AbstractApiService.java:128)
	at com.google.cloud.pubsublite.internal.wire.ApiServiceUtils.blockingShutdown(ApiServiceUtils.java:71)
	... 27 more
Caused by: java.util.NoSuchElementException: No value present
	at java.util.Optional.get(Optional.java:135)
	at com.google.cloud.pubsublite.internal.wire.UnloadingPublisher.doStop(UnloadingPublisher.java:59)
	at com.google.api.core.AbstractApiService$InnerService.doStop(AbstractApiService.java:152)
	at com.google.common.util.concurrent.AbstractService.stopAsync(AbstractService.java:283)
	... 29 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubliteIssues related to the googleapis/java-pubsublite API.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions