Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

showcase: Flaky ITLongRunningOperation.testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineExceededException #1680

Closed

Description

@burkedavison

https://github.com/googleapis/sdk-platform-java/actions/runs/4952383991/jobs/8858602157

Error:  com.google.showcase.v1beta1.it.ITLongRunningOperation.testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineExceededException  Time elapsed: 4.006 s  <<< FAILURE!
expected to be greater than: 1
but was                    : 1
	at com.google.showcase.v1beta1.it.ITLongRunningOperation.testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineExceededException(ITLongRunningOperation.java:149)

Also see:

May 11, 2023 8:56:20 PM io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue
SEVERE: *~*~*~ Previous channel ManagedChannelImpl{logId=5, target=localhost:7469} was not shutdown properly!!! ~*~*~*
    Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
java.lang.RuntimeException: ManagedChannel allocation site
	at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:102)
	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:60)
	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:51)
	at io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:631)
	at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:391)
	at com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
	at com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:237)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:231)
	at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
	at com.google.showcase.v1beta1.stub.GrpcEchoStub.create(GrpcEchoStub.java:209)
	at com.google.showcase.v1beta1.stub.EchoStubSettings.createStub(EchoStubSettings.java:388)
	at com.google.showcase.v1beta1.EchoClient.<init>(EchoClient.java:180)
	at com.google.showcase.v1beta1.EchoClient.create(EchoClient.java:163)
	at com.google.showcase.v1beta1.it.util.TestClientInitializer.createGrpcEchoClient(TestClientInitializer.java:46)
	at com.google.showcase.v1beta1.it.ITCommonServiceMixins.createClients(ITCommonServiceMixins.java:60)

Activity

  1. burkedavison commented on May 15, 2023

    @burkedavison
    MemberAuthor

    Also seen in sonar build of same commit: https://github.com/googleapis/sdk-platform-java/actions/runs/4952383993/jobs/8858600945

    Error:  com.google.showcase.v1beta1.it.ITLongRunningOperation.testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineExceededException  Time elapsed: 2.029 s  <<< FAILURE!
    java.lang.AssertionError: unexpected exception type thrown; expected:<java.util.concurrent.CancellationException> but was:<java.util.concurrent.ExecutionException>
    	at org.junit.Assert.assertThrows(Assert.java:1020)
    	at org.junit.Assert.assertThrows(Assert.java:981)
    	at com.google.showcase.v1beta1.it.ITLongRunningOperation.testGRPC_LROUnsuccessfulResponse_exceedsTotalTimeout_throwsDeadlineExceededException(ITLongRunningOperation.java:147)
    
  2. burkedavison commented on May 15, 2023

    @burkedavison
    MemberAuthor

    Likely resolved as part of issue #1663 and PRs #1677 and #1669

  3. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in 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