Skip to content

Merge pull request #146 from onflow/sdk-release #42

Merge pull request #146 from onflow/sdk-release

Merge pull request #146 from onflow/sdk-release #42

GitHub Actions / Integration Test Results failed Nov 26, 2024 in 0s

1 fail, 40 pass in 3m 30s

  6 files  ±0    6 suites  ±0   3m 30s ⏱️ ±0s
41 tests ±0  40 ✔️  - 1  0 💤 ±0  1 ❌ +1 

Results for commit f51754a. ± Comparison against earlier commit 4b6ff14.

Annotations

Check warning on line 0 in org.onflow.flow.sdk.transaction.TransactionIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Integration Test Results

Can get transaction results() (org.onflow.flow.sdk.transaction.TransactionIntegrationTest) failed

sdk/build/test-results/integrationTest/TEST-org.onflow.flow.sdk.transaction.TransactionIntegrationTest.xml
Raw output
java.lang.IllegalStateException: Failed to get latest block header: Failed to get latest block header
	at org.onflow.flow.sdk.IntegrationTestUtils.handleResult(IntegrationTestUtils.kt:27)
	at org.onflow.flow.sdk.IntegrationTestUtils.getLatestBlockId(IntegrationTestUtils.kt:89)
	at org.onflow.flow.sdk.IntegrationTestUtils.createAndSubmitAccountCreationTransaction(IntegrationTestUtils.kt:46)
	at org.onflow.flow.sdk.transaction.TransactionIntegrationTest.Can get transaction results(TransactionIntegrationTest.kt:205)
	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)
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.IntegrationTestUtils.getLatestBlockId(IntegrationTestUtils.kt:88)
	... 5 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]:33553
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)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Integration Test Results

41 tests found

There are 41 tests, see "Raw output" for the full list of tests.
Raw output
org.onflow.flow.sdk.ExposeAccountKeyIssueTest ‑ Expose issue with account keys api()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ Can parse JSON Cadence from transaction()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeArray()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeBoolean()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeComplexDict()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeEnum()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeOptional()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeOptional2()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeReference()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeResource()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeStruct()
org.onflow.flow.sdk.cadence.JsonCadenceTest ‑ decodeUFix64()
org.onflow.flow.sdk.transaction.TransactionCreationTest ‑ Can create an account using the simpleTransaction DSL()
org.onflow.flow.sdk.transaction.TransactionCreationTest ‑ Can create an account using the transaction DSL()
org.onflow.flow.sdk.transaction.TransactionCreationTest ‑ Canonical transaction form is accurate()
org.onflow.flow.sdk.transaction.TransactionDecodingTest ‑ Can decode transaction envelope()
org.onflow.flow.sdk.transaction.TransactionDecodingTest ‑ Can precompute the transaction id()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can connect to emulator and ping access API()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account balance at block height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account balance at latest block()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account by address at latest block()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account by address()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account by block height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account key at block height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account key at latest block()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account keys at block height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get account keys at latest block()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get block by height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get block by id()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get block header by height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get block header by id()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get latest block()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get latest protocol state snapshot()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get network parameters()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get node version info()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get protocol state snapshot by blockId()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get protocol state snapshot by height()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can get transaction results()
org.onflow.flow.sdk.transaction.TransactionIntegrationTest ‑ Can parse events()
org.onflow.flow.sdk.transaction.TransactionSigningTest ‑ Byte arrays are properly handled()
org.onflow.flow.sdk.transaction.TransactionSigningTest ‑ Can sign transactions()