Skip to content

grpc-java 1.77.0 is not compatible #4012

@blakeli0

Description

@blakeli0

The following two tests are consistently failing with grpc-java 1.77.0 and passing with 1.76.2.

Error:  Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.556 s <<< FAILURE! -- in com.google.api.gax.grpc.InstantiatingGrpcChannelProviderTest
Error:  com.google.api.gax.grpc.InstantiatingGrpcChannelProviderTest.canUseDirectPath_happyPathWithBoundToken -- Time elapsed: 0.014 s <<< ERROR!
java.lang.IllegalStateException: Default config is invalid: Status{code=UNKNOWN, description=None of [grpclb] specified by Service Config are available., cause=null}
	at com.google.common.base.Preconditions.checkState(Preconditions.java:603)
	at io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:616)
	at io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:731)
	at io.grpc.ForwardingChannelBuilder2.build(ForwardingChannelBuilder2.java:278)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:750)
	at com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:106)
	at com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:84)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:358)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:351)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProviderTest.canUseDirectPath_happyPathWithBoundToken(InstantiatingGrpcChannelProviderTest.java:827)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Error:  com.google.api.gax.grpc.InstantiatingGrpcChannelProviderTest.canUseDirectPath_happyPath -- Time elapsed: 0.002 s <<< ERROR!
java.lang.IllegalStateException: Default config is invalid: Status{code=UNKNOWN, description=None of [grpclb] specified by Service Config are available., cause=null}
	at com.google.common.base.Preconditions.checkState(Preconditions.java:603)
	at io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:616)
	at io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:731)
	at io.grpc.ForwardingChannelBuilder2.build(ForwardingChannelBuilder2.java:278)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:750)
	at com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:106)
	at com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:84)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:358)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:351)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProviderTest.canUseDirectPath_happyPath(InstantiatingGrpcChannelProviderTest.java:773)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

This is found when testing the upper bound dependencies versions. See the link for details.

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