Verified Commit 72a7cbed authored by Jim Newsome's avatar Jim Newsome
Browse files

Follow shadow and tor warnings in console

parent adc2eef2
......@@ -226,9 +226,13 @@ run-sim:
# Enable guards. See
# https://gitlab.torproject.org/jnewsome/sponsor-61-sims/-/issues/5
- 'sed -i ''s/UseEntryGuards:.*/UseEntryGuards: 1/'' jobs/tornet/conf/tor.client.torrc'
- ulimit -c unlimited
# Start monitoring in background
- $CI_PROJECT_DIR/monitor.sh $CI_PROJECT_DIR/jobs/tornet &
- disown
- tail -F $CI_PROJECT_DIR/jobs/tornet/shadow.log | grep -E 'WARN|ERR' | grep -v 'we only support AF_INET' | grep -v -E 'Ignoring `sigaction` for signal (31|11)' | sed 's/^/shadow.log: ' &
- tail -F $CI_PROJECT_DIR/jobs/tornet/tor-warn.txt | sed 's/^/tor-warn: ' &
- ulimit -c unlimited
# - PARALLELISM=$((`nproc` / 2))
# The shadow runner has 2 numa nodes, each with 20 physical cores. Shadow is currently not numa-aware
# when migrating tasks across workers; e.g. it doesn't try to avoid stealing from another numa node, and
......
......@@ -52,9 +52,9 @@ do
echo
# All warnings and errors (except known noisy ones)
echo warnings:
grep -E 'WARN|ERR' $TORNET/shadow.log | grep -v "we only support AF_INET" | grep -v -E 'Ignoring `sigaction` for signal (31|11)' || echo none
echo
#echo warnings:
#grep -E 'WARN|ERR' $TORNET/shadow.log | grep -v "we only support AF_INET" | grep -v -E 'Ignoring `sigaction` for signal (31|11)' || echo none
#echo
# Last log line; typically including current sim time
echo last shadow log line:
......
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