GitHub Actions / SDK Examples Unit Test Results
failed
Nov 22, 2024 in 0s
1 fail, 45 pass in 3m 55s
Annotations
Check warning on line 0 in org.onflow.examples.java.getEvent.GetEventAccessAPIConnectorTest
github-actions / SDK Examples Unit Test Results
testTransactionResultEvents() (org.onflow.examples.java.getEvent.GetEventAccessAPIConnectorTest) failed
java-example/build/test-results/test/TEST-org.onflow.examples.java.getEvent.GetEventAccessAPIConnectorTest.xml
Raw output
java.lang.IllegalStateException: Failed to retrieve latest block header: Failed to get latest block header
at org.onflow.flow.sdk.Transaction_dslKt.flowTransaction(transaction-dsl.kt:38)
at org.onflow.flow.sdk.Transaction_dslKt.flowTransaction$default(transaction-dsl.kt:34)
at org.onflow.flow.sdk.Transaction_dslKt.simpleFlowTransaction(transaction-dsl.kt:49)
at org.onflow.flow.sdk.Transaction_dslKt.simpleFlowTransaction$default(transaction-dsl.kt:48)
at org.onflow.flow.common.test.FlowTestUtil.createAccount(FlowTestUtil.kt:88)
at org.onflow.flow.common.test.AbstractFlowEmulatorExtension.beforeEach$lambda$17(AbstractFlowEmulatorExtension.kt:239)
at org.onflow.flow.common.test.AbstractFlowEmulatorExtension.withAnnotatedTestFields(AbstractFlowEmulatorExtension.kt:186)
at org.onflow.flow.common.test.AbstractFlowEmulatorExtension.beforeEach(AbstractFlowEmulatorExtension.kt:222)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at app//io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:262)
at app//io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:243)
at app//io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:156)
at app//org.onflow.protobuf.access.AccessAPIGrpc$AccessAPIBlockingStub.getLatestBlockHeader(AccessAPIGrpc.java:3107)
at app//org.onflow.flow.sdk.impl.FlowAccessApiImpl.getLatestBlockHeader$lambda$7(FlowAccessApiImpl.kt:108)
at app//org.onflow.flow.sdk.impl.FlowAccessApiImpl.executeWithResponse(FlowAccessApiImpl.kt:29)
at app//org.onflow.flow.sdk.impl.FlowAccessApiImpl.getLatestBlockHeader(FlowAccessApiImpl.kt:106)
at app//org.onflow.flow.sdk.FlowAccessApi$DefaultImpls.getLatestBlockHeader$default(FlowAccessApi.kt:29)
at app//org.onflow.flow.sdk.Transaction_dslKt.flowTransaction(transaction-dsl.kt:36)
... 9 more
Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: localhost/[0:0:0:0:0:0:0:1]:37199
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
at io.grpc.netty.shaded.io.netty.channel.unix.Errors.throwConnectException(Errors.java:124)
at io.grpc.netty.shaded.io.netty.channel.unix.Socket.finishConnect(Socket.java:251)
at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:672)
at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:649)
at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:529)
at io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:465)
at io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Loading