diff --git a/.github/workflows/simulator-nightly.yml b/.github/workflows/simulator-nightly.yml index b49cb520b5a02..727d8da61ce29 100644 --- a/.github/workflows/simulator-nightly.yml +++ b/.github/workflows/simulator-nightly.yml @@ -43,7 +43,7 @@ jobs: # Deleting files in tmpfs that usually fill up pretty quickly after each run - name: Tmpfs clean run: | - tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 5 ssh ubuntu@simtest-01 "sudo rm -rf /tmp/*.*" + tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 5 ssh ubuntu@simtest-01 "sudo rm -rfd /tmp/*" # Checkout out the latest sui repo - name: Checkout sui repo @@ -58,12 +58,12 @@ jobs: # Build simtest - name: Build simtest run: | - tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 30 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 CARGO_NET_RETRY=10 RUST_BACKTRACE=short RUST_LOG=off cd ~/sui && ./scripts/simtest/cargo-simtest simtest build" + tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 30 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && cd ~/sui && CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 CARGO_NET_RETRY=10 USE_MOCK_CRYPTO=1 ./scripts/simtest/cargo-simtest simtest build" # Run simulator tests - name: Run simtest run: | - tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 120 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && MSIM_TEST_NUM=30 RUSTUP_MAX_RETRIES=10 SIM_STRESS_TEST_DURATION_SECS=300 CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 CARGO_NET_RETRY=10 RUST_BACKTRACE=short RUST_LOG=off USE_MOCK_CRYPTO=1 NUM_CPUS=24 cd ~/sui && ./scripts/simtest/simtest-run.sh" + tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 120 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && cd ~/sui && RUSTUP_MAX_RETRIES=10 CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 CARGO_NET_RETRY=10 RUST_BACKTRACE=short RUST_LOG=off USE_MOCK_CRYPTO=1 NUM_CPUS=24 ./scripts/simtest/simtest-run.sh" notify: name: Notify diff --git a/scripts/simtest/simtest-run.sh b/scripts/simtest/simtest-run.sh index 6b336e54d2b85..ea1b52f4116b1 100755 --- a/scripts/simtest/simtest-run.sh +++ b/scripts/simtest/simtest-run.sh @@ -38,6 +38,7 @@ for SUB_SEED in `seq 1 $NUM_CPUS`; do # --test-threads 1 is important: parallelism is achieved via the for loop MSIM_TEST_SEED="$SEED" \ + MSIM_TEST_NUM=1 \ MSIM_WATCHDOG_TIMEOUT_MS=60000 \ SIM_STRESS_TEST_DURATION_SECS=300 \ scripts/simtest/cargo-simtest simtest \