diff --git a/.github/workflows/qa-rpc-integration-tests.yml b/.github/workflows/qa-rpc-integration-tests.yml index a3a0cfd7e51..3f3a9eea273 100644 --- a/.github/workflows/qa-rpc-integration-tests.yml +++ b/.github/workflows/qa-rpc-integration-tests.yml @@ -16,7 +16,7 @@ on: jobs: integration-test-suite: - runs-on: [self-hosted, Erigon3] + runs-on: [ self-hosted, Erigon3 ] env: ERIGON_REFERENCE_DATA_DIR: /opt/erigon-versions/reference-version/datadir ERIGON_TESTBED_DATA_DIR: /opt/erigon-testbed/datadir @@ -137,64 +137,9 @@ jobs: parity_getBlockReceipts/test_08.json,\ parity_getBlockReceipts/test_09.json,\ parity_getBlockReceipts/test_10.json,\ - trace_call/test_02.json,\ - trace_call/test_04.tar,\ - trace_call/test_08.tar,\ - trace_call/test_11.tar,\ - trace_call/test_13.json,\ - trace_call/test_17.tar,\ - trace_call/test_19.tar,\ - trace_call/test_20.json,\ - trace_callMany/test_01.json,\ - trace_callMany/test_02.json,\ - trace_callMany/test_03.json,\ - trace_callMany/test_04.json,\ - trace_callMany/test_05.json,\ - trace_callMany/test_06.json,\ - trace_callMany/test_07.json,\ - trace_callMany/test_08.json,\ - trace_callMany/test_09.json,\ - trace_callMany/test_10.json,\ - trace_callMany/test_11.json,\ - trace_callMany/test_12.json,\ trace_filter/test_16.json,\ trace_rawTransaction/test_01.json,\ trace_rawTransaction/test_03.json,\ - trace_replayBlockTransactions/test_01.tar,\ - trace_replayBlockTransactions/test_02.tar,\ - trace_replayBlockTransactions/test_03.tar,\ - trace_replayBlockTransactions/test_04.tar,\ - trace_replayBlockTransactions/test_05.tar,\ - trace_replayBlockTransactions/test_08.tar,\ - trace_replayBlockTransactions/test_10.json,\ - trace_replayBlockTransactions/test_11.json,\ - trace_replayBlockTransactions/test_13.tar,\ - trace_replayBlockTransactions/test_14.tar,\ - trace_replayBlockTransactions/test_15.tar,\ - trace_replayBlockTransactions/test_16.tar,\ - trace_replayBlockTransactions/test_17.tar,\ - trace_replayBlockTransactions/test_18.tar,\ - trace_replayBlockTransactions/test_19.tar,\ - trace_replayBlockTransactions/test_20.tar,\ - trace_replayBlockTransactions/test_21.tar,\ - trace_replayBlockTransactions/test_22.tar,\ - trace_replayBlockTransactions/test_23.tar,\ - trace_replayBlockTransactions/test_24.tar,\ - trace_replayBlockTransactions/test_25.tar,\ - trace_replayTransaction/test_02.tar,\ - trace_replayTransaction/test_03.tar,\ - trace_replayTransaction/test_04.tar,\ - trace_replayTransaction/test_05.tar,\ - trace_replayTransaction/test_06.tar,\ - trace_replayTransaction/test_07.tar,\ - trace_replayTransaction/test_10.tar,\ - trace_replayTransaction/test_11.tar,\ - trace_replayTransaction/test_14.tar,\ - trace_replayTransaction/test_16.tar,\ - trace_replayTransaction/test_18.tar,\ - trace_replayTransaction/test_23.tar,\ - trace_replayTransaction/test_24.json,\ - trace_replayTransaction/test_29.tar,\ admin_nodeInfo/test_01.json,\ admin_peers/test_01.json,\ erigon_nodeInfo/test_1.json,\ @@ -232,35 +177,18 @@ jobs: eth_submitWork/test_1.json,\ net_peerCount/test_1.json,\ net_version/test_1.json,\ - trace_call/test_05.json,\ - trace_call/test_07.json,\ - trace_call/test_12.json,\ - trace_call/test_14.json,\ - trace_call/test_15.json,\ - trace_call/test_16.json,\ - trace_call/test_18.json,\ txpool_content/test_01.json,\ txpool_status/test_1.json,\ web3_clientVersion/test_1.json,\ eth_estimateGas/test_14.json,\ - trace_replayBlockTransactions/test_26.tar,\ - trace_replayBlockTransactions/test_28.tar,\ - trace_replayBlockTransactions/test_29.tar,\ - trace_replayBlockTransactions/test_31.tar,\ - trace_replayBlockTransactions/test_32.tar,\ - trace_replayBlockTransactions/test_33.tar,\ - trace_replayBlockTransactions/test_34.tar,\ - trace_replayBlockTransactions/test_35.tar,\ - trace_replayTransaction/test_31.json,\ - trace_replayTransaction/test_32.json,\ - trace_replayTransaction/test_34.json + trace_replayBlockTransactions/test_29.tar # Capture test runner script exit status test_exit_status=$? # Save the subsection reached status echo "::set-output name=test_executed::true" - + # Check test runner exit status if [ $test_exit_status -eq 0 ]; then echo "tests completed successfully" @@ -269,7 +197,7 @@ jobs: else echo "error detected during tests" echo "TEST_RESULT=failure" >> "$GITHUB_OUTPUT" - + # Save failed results to a directory with timestamp and commit hash cp -r ${{ runner.workspace }}/rpc-tests/integration/mainnet/results/ $RPC_PAST_TEST_DIR/mainnet_$(date +%Y%m%d_%H%M%S)_integration_$commit_http/ fi diff --git a/turbo/jsonrpc/trace_adhoc.go b/turbo/jsonrpc/trace_adhoc.go index 58c77d93c7f..18763a4a68c 100644 --- a/turbo/jsonrpc/trace_adhoc.go +++ b/turbo/jsonrpc/trace_adhoc.go @@ -1289,6 +1289,7 @@ func (api *TraceAPIImpl) doCallMany(ctx context.Context, dbtx kv.Tx, stateReader sd = &StateDiff{sdMap: sdMap} } + ibs.Reset() var finalizeTxStateWriter state.StateWriter if sd != nil { finalizeTxStateWriter = sd