stacks-subnets icon indicating copy to clipboard operation
stacks-subnets copied to clipboard

CI test fails sometimes (`tests::l1_multiparty::l1_multiparty_2_of_2_integration_test`)

Open jbencin opened this issue 2 years ago • 0 comments

Describe the bug

We still have at least one flaky CI test: tests::l1_multiparty::l1_multiparty_2_of_2_integration_test

Steps To Reproduce

Push to GitHub. This test usually passes, but does fail occasionally

Environment (please complete the following information):

GitHub CI

Additional context

See logs here. Reproducing the last few lines in case this output gets deleted in the future:

#5 707.4 INFO [1678302609.872289] [testnet/stacks-node/src/neon_node.rs:1989] [relayer] Submit block-commit, block_hash: 8655b11df2f0c9986287479982c96c44868e8c444e2140cab587e021db1b3347, tx_count: 1, target_height: 2, parent_consensus_hash: a51c442aeec9cdd15844e033bbd0072db11dfe89, parent_block_hash: 667210563b3a656f2f3cc959ec2f982c6197253931b5112e6994ebf28c12c233, parent_microblock_hash: 0000000000000000000000000000000000000000000000000000000000000000, parent_microblock_seq: 0, tip_burn_block_hash: 6aaddace4c122aa964e57a440015603c99deb2d7bc5881b527edb182869f5a1f, tip_burn_block_height: 12, tip_burn_block_sortition_id: 6aaddace4c122aa964e57a440015603c99deb2d7bc5881b527edb182869f5a1f, attempt: 2
#5 707.4 WARN [1678302609.872377] [testnet/stacks-node/src/neon_node.rs:2019] [relayer] Failed to submit miner commitment L1 transaction: ControllerError(BadCommitment: Commitment previously constructed at this burn block))
#5 707.4 WARN [1678302609.872386] [testnet/stacks-node/src/neon_node.rs:2020] [relayer] Failed to submit Bitcoin transaction
#5 707.4 WARN [1678302609.875833] [src/net/server.rs:228] [p2p] Failed to get peer address of TcpStream { addr: 127.0.0.1:59650, fd: 195 }: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }
#5 707.4 WARN [1678302614.626284] [src/net/server.rs:228] [p2p] Failed to get peer address of TcpStream { addr: 127.0.0.1:39464, fd: 184 }: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }
#5 707.4 WARN [1678302614.634549] [src/net/server.rs:228] [p2p] Failed to get peer address of TcpStream { addr: 127.0.0.1:39468, fd: 116 }: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }
#5 707.4 thread 'tests::l1_multiparty::l1_multiparty_2_of_2_integration_test' panicked at 'Timed out waiting for block to process, aborting test.', testnet/stacks-node/src/tests/l1_observer_test.rs:201:13
#5 707.4 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#5 707.4 
#5 707.4 
#5 707.4 failures:
#5 707.4     tests::l1_multiparty::l1_multiparty_2_of_2_integration_test
#5 707.4 
#5 707.4 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 35 filtered out; finished in 656.47s
#5 707.4 
#5 707.4 error: test failed, to rerun pass `-p subnet-node --bin subnet-node`
#5 ERROR: executor failed running [/bin/sh -c cargo test --workspace --bin=subnet-node -- --test-threads 1 "$test_name"]: exit code: 101
------
 > [test 2/3] RUN cargo test --workspace --bin=subnet-node -- --test-threads 1 "tests::l1_multiparty::l1_multiparty_2_of_2_integration_test":
------
executor failed running [/bin/sh -c cargo test --workspace --bin=subnet-node -- --test-threads 1 "$test_name"]: exit code: 101
Error: Process completed with exit code 1.

jbencin avatar Mar 08 '23 20:03 jbencin