Issues/216 - Import e2e cucumber tests into casper-java-sdk #193
Triggered via pull request
September 22, 2023 11:14
Status
Success
Total duration
24m 25s
Artifacts
–
Annotations
4 errors, 7 warnings, and 1 notice
Generate "Secp256k1" Account Failed.:
file:sdk-std-test-resources/features/deploys_generated_keys.feature#L13
Scenario: Generate "Secp256k1" Account
Step: that a "Secp256k1" sender key is generated
Error:
java.lang.AssertionError:
Expected: is not null
but: was null
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at com.casper.sdk.e2e.steps.DeployGeneratedKeys.thatSenderKeyIsGenerated(DeployGeneratedKeys.java:80)
at ✽.that a "Secp256k1" sender key is generated(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/deploys_generated_keys.feature:13)
|
query_global_state by block hash Failed.:
file:sdk-std-test-resources/features/query_global_state.feature#L4
Scenario: query_global_state by block hash
Step: that a valid block hash is known
Error:
java.lang.AssertionError:
Expected: is <true>
but: was <false>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at com.casper.sdk.e2e.steps.QueryGlobalStateStepDefinitions.waitForBlockAdded(QueryGlobalStateStepDefinitions.java:262)
at com.casper.sdk.e2e.steps.QueryGlobalStateStepDefinitions.thatAValidBlockHashIsKnown(QueryGlobalStateStepDefinitions.java:75)
at ✽.that a valid block hash is known(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/query_global_state.feature:4)
|
Read wasm, deploy and invoke Failed.:
file:sdk-std-test-resources/features/wasm.feature#L19
Scenario: Read wasm, deploy and invoke
Step: the the contract is invoked by hash and version with a transfer amount of "2500000000"
Error:
com.casper.sdk.exception.CasperClientException: Invalid Deploy (code: -32008)
at com.casper.sdk.exception.CasperClientExceptionResolver.resolveException(CasperClientExceptionResolver.java:25)
at com.googlecode.jsonrpc4j.JsonRpcClient.handleErrorResponse(JsonRpcClient.java:272)
at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:196)
at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:539)
at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:143)
at com.googlecode.jsonrpc4j.ProxyUtil$3.invoke(ProxyUtil.java:213)
at com.sun.proxy.$Proxy38.putDeploy(Unknown Source)
at com.casper.sdk.e2e.steps.WasmStepDefinitions.theTheContractIsInvokedByHashAndVersionWithATransferAmountOf(WasmStepDefinitions.java:400)
at ✽.the the contract is invoked by hash and version with a transfer amount of "2500000000"(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/wasm.feature:19)
|
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v2, JamesIves/[email protected], deblockt/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Cucumber report summary:
test#L0
22 Scenarios (3 failed, 19 passed)
253 Steps (3 failed, 16 skipped, 234 passed)
|