Open
Description
Description
I just had a spurious failure when running the validator_manager
tests locally. Weirdly, it's an invalid password failure:
---- move_validators::test::three_validators_move_two stdout ----
Starting derivation of 3 keystores. Each keystore may take several seconds.
Completed 1/3: 0x88b6b3a9b391fa5593e8bce8d06102df1a56248368086929709fbb4a8570dc6a560febeef8159b19789e9c1fd13572f0
Completed 2/3: 0xa33ab9d93fb53c4f027944aaa11a13be0c150b7cc2e379d85d1ed4db38d178b4e4ebeae05832158b8c746c1961da00ce
Completed 3/3: 0x807d7219776c5460dd30851ed869ad0636d20fc27046d153870c2696dea7e114c60cd02fac0d71387ef7f00042c5f2a8
Keystore generation complete
Writing "/tmp/.tmpKCG18e/validators.json"
Writing "/tmp/.tmpKCG18e/deposits.json"
Validator client is reachable at http://127.0.0.1:34623/ and reports 0 validators
Starting to submit 3 validators to VC, each validator may take several seconds
Uploaded keystore 1 of 3 to the VC
Upload of keystore 2 of 3 failed with message: Some("failed to initialize validator: \"Unable to add definition: UnableToDecryptKeystore(InvalidPassword)\""). A potential solution is run this command again using the --ignore-duplicates flag, however care should be taken to ensure that there are no duplicate deposits submitted.
thread 'move_validators::test::three_validators_move_two' panicked at 'assertion failed: import_test_result.result.is_ok()', validator_manager/src/move_validators.rs:915:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Steps to resolve
At first blush I'm not sure how this is possible without memory corruption or some other nastiness. I'm using mold
as my linker, I'll see if I can also reproduce this failure without it. Platform tested on is Linux.