fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #3718
5 fail, 3 skipped, 597 pass in 44m 55s
Annotations
Check warning on line 0 in "before each" hook for "should execute "eth_getCode" for hts token"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "should execute "eth_getCode" for hts token" ("before each" hook for "should execute "eth_getCode" for hts token") failed
test-results.77d56c0cf3ff681fabc2ee670621510e.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Check warning on line 0 in should return 0x0 for account alias on eth_getCode
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return 0x0 for account alias on eth_getCode (should return 0x0 for account alias on eth_getCode) failed
test-results.ea39691edff947e0cb6688c962ff9d90.xml [took 10s]
Raw output
server response 500 Internal Server Error (request={ }, response={ }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32603,\"message\":\"[Request ID: 003a68bb-74d3-40f7-aa8f-4ca90ef87ba4] Unknown error invoking RPC\"},\"jsonrpc\":\"2.0\",\"id\":77}", "responseStatus": "500 Internal Server Error" }, code=SERVER_ERROR, version=6.13.2)
Error: server response 500 Internal Server Error (request={ }, response={ }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32603,\"message\":\"[Request ID: 003a68bb-74d3-40f7-aa8f-4ca90ef87ba4] Unknown error invoking RPC\"},\"jsonrpc\":\"2.0\",\"id\":77}", "responseStatus": "500 Internal Server Error" }, code=SERVER_ERROR, version=6.13.2)
at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at assert (packages/server/node_modules/ethers/src.ts/utils/errors.ts:715:25)
at FetchResponse.assertOk (packages/server/node_modules/ethers/src.ts/utils/fetch.ts:950:15)
at JsonRpcProvider._send (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1245:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:537:40
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "should execute "e…current state changes" ("before each" hook for "should execute "eth_getStorageAt" request to get current state changes") failed
test-results.ea39691edff947e0cb6688c962ff9d90.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "@release-light, @…tBalance" for contract" ("before each" hook for "@release-light, @release should execute "eth_getBalance" for contract") failed
test-results.597c20d32b6d0006ae03842b18057d42.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Check warning on line 0 in "after all" hook in "@web-socket-batch-1 eth_getBlockByNumber"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @web-socket-batch-1 eth_getBlockByNumber "after all" hook in "@web-socket-batch-1 eth_getBlockByNumber" ("after all" hook in "@web-socket-batch-1 eth_getBlockByNumber") failed
test-results.e3e65ce677699dc46cb803a8fde95bdd.xml [took 0s]
Raw output
expected 1 to equal +0
AssertionError: expected 1 to equal +0
at Suite.<anonymous> (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:53:51)
at Generator.next (<anonymous>)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:27:71
at new Promise (<anonymous>)
at __awaiter (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:23:12)
at Context.<anonymous> (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:50:20)
at processImmediate (node:internal/timers:483:21)
+ expected - actual
-1
+0