Verified Commit 08dd3cb3 authored by Jim Newsome's avatar Jim Newsome
Browse files

Enable collecting trace data from exits

parent a3d5438c
......@@ -227,9 +227,9 @@ run-sim:
- stow -d jobs/opt -t $HOME/.local oniontrace
- stow -d jobs/opt -t $HOME/.local tgen
- stow -d jobs/opt -t $HOME/.local tor
# Resulting log file is huge; (20+ GB for a 10m sim). Need to increase storage limits
# and/or shrink.
# - echo "Log [sim]debug file $CI_PROJECT_DIR/jobs/tornet/tor-combined-logs.txt" >> jobs/tornet/conf/tor.common.torrc
# TODO: Collect trace data from more tor instances; working on space issues.
# https://gitlab.torproject.org/jnewsome/sponsor-61-sims/-/issues/4
- echo "Log [sim]debug file $CI_PROJECT_DIR/jobs/tornet/tor-trace.txt" >> jobs/tornet/conf/tor.exitonly.torrc
- 'sed -i ''s/stop_time:.*/stop_time: ''"$SIM_TIME/" jobs/tornet/shadow.config.yaml'
- ulimit -c unlimited
......@@ -262,6 +262,7 @@ run-sim:
- jobs/tornet/**.json.xz
- jobs/tornet/**.json
- jobs/tornet/shadow.log.warn
- jobs/tornet/tor-trace.txt
exclude:
- jobs/tornet/conf/atlas*
when: always
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment