Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to search for failing seeds (MystenLabs#17364)
Usage and output: ``` ; ./scripts/simtest/seed-search.py simtest --test test_simulated_load_restarts Found binary: /Users/marklogan/dev/sui/target/simulator/deps/simtest-a3d94d04483ce652 running seed: 3145 running seed: 3146 running seed: 3147 running seed: 3149 running seed: 3148 running seed: 3150 running seed: 3151 running seed: 3152 running seed: 3153 running seed: 3154 running seed: 3155 running seed: 3156 running seed: 3157 running seed: 3158 running seed: 3159 running seed: 3160 running seed: 3161 running seed: 3162 running seed: 3163 running seed: 3164 Command '/Users/marklogan/dev/sui/target/simulator/deps/simtest-a3d94d04483ce652 test_simulated_load_restarts' failed with exit code 101 for seed: 3146 stdout: ========================== running 1 test test test::test_simulated_load_restarts has been running for over 60 seconds test test::test_simulated_load_restarts ... FAILED failures: ---- test::test_simulated_load_restarts stdout ---- starting test iteration 0 with seed 3146 Keys saved as Base64 with 33 bytes `flag || privkey` ($BASE64_STR). To see Bech32 format encoding, use `sui keytool export $SUI_ADDRESS` where $SUI_ADDRESS can be found with `sui keytool list`. Or use `sui keytool convert $BASE64_STR`. Keys saved as Base64 with 33 bytes `flag || privkey` ($BASE64_STR). To see Bech32 format encoding, use `sui keytool export $SUI_ADDRESS` where $SUI_ADDRESS can be found with `sui keytool list`. Or use `sui keytool convert $BASE64_STR`. Keys saved as Base64 with 33 bytes `flag || privkey` ($BASE64_STR). To see Bech32 format encoding, use `sui keytool export $SUI_ADDRESS` where $SUI_ADDRESS can be found with `sui keytool list`. Or use `sui keytool convert $BASE64_STR`. Keys saved as Base64 with 33 bytes `flag || privkey` ($BASE64_STR). To see Bech32 format encoding, use `sui keytool export $SUI_ADDRESS` where $SUI_ADDRESS can be found with `sui keytool list`. Or use `sui keytool convert $BASE64_STR`. Keys saved as Base64 with 33 bytes `flag || privkey` ($BASE64_STR). To see Bech32 format encoding, use `sui keytool export $SUI_ADDRESS` where $SUI_ADDRESS can be found with `sui keytool list`. Or use `sui keytool convert $BASE64_STR`. thread '<unnamed>' panicked at /Users/marklogan/dev/sui/crates/sui-core/src/checkpoints/checkpoint_executor/mod.rs:312:29: No new synced checkpoints received for 20s note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace note: run with `MSIM_TEST_SEED=3146` environment variable to reproduce this error failures: test::test_simulated_load_restarts test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 13 filtered out; finished in 64.88s ==========================running seed: 3165 running seed: 3166 running seed: 3167 running seed: 3168 running seed: 3169 running seed: 3170 running seed: 3171 running seed: 3172 running seed: 3173 running seed: 3174 ```
- Loading branch information