Skip to content

Rework rlpx-simulator.spec.ts tests / Fix devp2p/genesis/wallet Coverage Reporting #773

Rework rlpx-simulator.spec.ts tests / Fix devp2p/genesis/wallet Coverage Reporting

Rework rlpx-simulator.spec.ts tests / Fix devp2p/genesis/wallet Coverage Reporting #773

Triggered via pull request October 21, 2024 20:19
Status Failure
Total duration 16m 20s
Artifacts

build.yml

on: pull_request
Matrix: vm-pr / vm-blockchain-extended
Matrix: vm-pr / vm-blockchain
Matrix: vm-pr / vm-state-extended
Matrix: vm-pr / vm-state
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
Unhandled error: packages/devp2p/test/integration/rlpx-simulator.spec.ts#L98
AssertionError: peers queue should contain no peers: expected 1 to equal +0 - Expected + Received - 0 + 1 ❯ test/integration/rlpx-simulator.spec.ts:98:18 This error originated in "test/integration/rlpx-simulator.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "RLPX: test peer queue / refill connections". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/devp2p/test/integration/rlpx-simulator.spec.ts#L70
AssertionError: should close with CLIENT_QUITTING disconnect reason: expected 11 to equal 8 - Expected + Received - 8 + 11 ❯ EventEmitter.<anonymous> test/integration/rlpx-simulator.spec.ts:70:16 ❯ EventEmitter.emit ../../node_modules/eventemitter3/index.js:183:35 ❯ EventEmitter.<anonymous> src/rlpx/rlpx.ts:298:21 ❯ EventEmitter.emit ../../node_modules/eventemitter3/index.js:182:35 ❯ Peer._onSocketClose src/rlpx/peer.ts:661:38 ❯ Object.onceWrapper node:events:634:26 ❯ Socket.emit node:events:531:35 ❯ TCP.<anonymous> node:net:339:12 This error originated in "test/integration/rlpx-simulator.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "RLPX: test peer queue / refill connections". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/integration/snap-simulator.spec.ts > Snap sync simulator tests > SNAP: send valid message: packages/devp2p/test/integration/util.ts#L136
TypeError: Cannot read properties of undefined (reading 'events') ❯ Module.twoPeerMsgExchange3 test/integration/util.ts:136:12 ❯ test/integration/snap-simulator.spec.ts:26:10
test/integration/snap-simulator.spec.ts > Snap sync simulator tests > SNAP: send unknown message code: packages/devp2p/test/integration/util.ts#L136
TypeError: Cannot read properties of undefined (reading 'events') ❯ Module.twoPeerMsgExchange3 test/integration/util.ts:136:12 ❯ test/integration/snap-simulator.spec.ts:40:10
devp2p / test-devp2p
Process completed with exit code 1.
typecheck / typecheck
Property 'rlpxs' does not exist on type 'RLPx[]'.
typecheck / typecheck
Property 'peer' does not exist on type 'RLPx[]'.
typecheck / typecheck
Parameter 'peer' implicitly has an 'any' type.
typecheck / typecheck
Property 'rlpxs' does not exist on type 'RLPx[]'.
typecheck / typecheck
Property 'peer' does not exist on type 'RLPx[]'.
typecheck / typecheck
Property 'rlpxs' does not exist on type 'RLPx[]'.
typecheck / typecheck
Property 'peer' does not exist on type 'RLPx[]'.
typecheck / typecheck
Parameter 'peer1' implicitly has an 'any' type.
typecheck / typecheck
Parameter 'e' implicitly has an 'any' type.
typecheck / typecheck
Parameter '_' implicitly has an 'any' type.
client / test client docker file
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/setup-qemu-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
client / test client docker file
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/setup-qemu-action@v1, docker/setup-buildx-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
client / test client docker file
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/
client / test-client
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/