Skip to content
Snippets Groups Projects

Draft: Reproduce #1242 in shadow ci

Open Jim Newsome requested to merge jnewsome/arti:repro-1242 into main
  1. Jan 16, 2024
    • Jim Newsome's avatar
      Reproduce #1242 in shadow ci · 94eca249
      Jim Newsome authored
      * Increase simulation time from 30m to 5h.
      * Increase shadow's `heartbeat-interval` and `host-heartbeat-interval`
        to reduce bookkeeping overhead.
      * Remove unrelated hosts from the experiment to reduce overhead.
      * Add additional `articlient-onion-artiserver-*` clients that try to
        use the HS at later times.
      
      The simulation normally uses two builds for arti - a "vanilla" build
      (normally built in ci job "rust-latest") and an "extra" build with extra
      features (normally built in ci job "rust-latest-arti-extra-features").
      
      When reproducing locally I usually just use the "extra" build for both:
      
      ```
      $ cargo build --verbose --target x86_64-unknown-linux-gnu -p arti -p tor-circmgr --bin arti --features full,experimental-api,arti-client/keymgr,tor-circmgr/ntor_v3,onion-service-service
      $ cp target/x86_64-unknown-linux-gnu/debug/arti target/x86_64-unknown-linux-gnu/debug/arti-extra
      $ cd tests/shadow
      $ ./run.sh
      ```
      94eca249
Loading