Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to search for failing seeds #17364

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Add script to search for failing seeds #17364

merged 3 commits into from
Apr 26, 2024

Conversation

mystenmark
Copy link
Contributor

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

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2024 6:19pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 6:19pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 6:19pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 6:19pm

Copy link
Contributor

@arun-koshy arun-koshy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@mystenmark mystenmark merged commit 4ec0f3d into main Apr 26, 2024
50 checks passed
@mystenmark mystenmark deleted the mlogan-seed-search branch April 26, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants