Testing scheme indigo for experiment run 1/1...
$ /home/xudong/tmp/pantheon/src/wrappers/indigo.py run_first
[tunnel server manager (tsm)] $ python /home/xudong/tmp/pantheon/src/experiments/tunnel_manager.py
tunnel manager is running
prompt [tsm]
[tunnel client manager (tcm)] $ mm-delay 10 mm-link src/experiments/12mbps.trace src/experiments/12mbps.trace --uplink-log=/home/xudong/tmp/pantheon/src/experiments/data/indigo_mm_datalink_run1.log --downlink-log=/home/xudong/tmp/pantheon/src/experiments/data/indigo_mm_acklink_run1.log --uplink-queue=droptail --uplink-queue-args=bytes=1000000 python /home/xudong/tmp/pantheon/src/experiments/tunnel_manager.py
tunnel manager is running
prompt [tcm]
[tsm] tunnel 1 mm-tunnelserver --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow1_uidfa235f5f-a35c-40b0-baf7-64d7fa0f789a.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow1_uidfa235f5f-a35c-40b0-baf7-64d7fa0f789a.log.egress
[tsm] tunnel 1 readline
[tcm] tunnel 1 mm-tunnelclient $MAHIMAHI_BASE 42201 100.64.0.4 100.64.0.3 --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow1_uidfa235f5f-a35c-40b0-baf7-64d7fa0f789a.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow1_uidfa235f5f-a35c-40b0-baf7-64d7fa0f789a.log.egress
[tcm] tunnel 1 readline
Tunnelclient listening for server on port 52104
Tunnel is connected
[tcm] [tsm] tunnel 1 python /home/xudong/tmp/pantheon/src/wrappers/indigo.py sender 40051
tunnel 2 mm-tunnelserver --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow2_uid28f93ad7-de4a-4075-a48d-ec867a3f1863.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow2_uid28f93ad7-de4a-4075-a48d-ec867a3f1863.log.egress
[tsm] tunnel 2 readline
[tcm] tunnel 2 mm-tunnelclient $MAHIMAHI_BASE 36323 100.64.0.4 100.64.0.3 --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow2_uid28f93ad7-de4a-4075-a48d-ec867a3f1863.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow2_uid28f93ad7-de4a-4075-a48d-ec867a3f1863.log.egress
[tcm] tunnel 2 readline
Tunnelclient listening for server on port 54989
Tunnel is connected
[tcm] tunnel 2 python /home/xudong/tmp/pantheon/src/wrappers/indigo.py sender 36787
[tsm] tunnel 3 mm-tunnelserver --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow3_uid361eef63-b1bf-4732-b71e-606ecff395b8.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow3_uid361eef63-b1bf-4732-b71e-606ecff395b8.log.egress
[tsm] tunnel 3 readline
[tcm] tunnel 3 mm-tunnelclient $MAHIMAHI_BASE 48974 100.64.0.4 100.64.0.3 --ingress-log=/home/xudong/tmp/pantheon/tmp/indigo_acklink_run1_flow3_uid361eef63-b1bf-4732-b71e-606ecff395b8.log.ingress --egress-log=/home/xudong/tmp/pantheon/tmp/indigo_datalink_run1_flow3_uid361eef63-b1bf-4732-b71e-606ecff395b8.log.egress
[tcm] tunnel 3 readline
Tunnelclient listening for server on port 33384
Tunnel is connected
[tcm] tunnel 3 python /home/xudong/tmp/pantheon/src/wrappers/indigo.py sender 41739
[sender] Listening on port 40051
[sender] Listening on port 36787
[sender] Listening on port 41739
[tsm] tunnel 1 python /home/xudong/tmp/pantheon/src/wrappers/indigo.py receiver 100.64.0.4 40051
[tsm] tunnel 2 python /home/xudong/tmp/pantheon/src/wrappers/indigo.py receiver 100.64.0.4 36787
[receiver] Handshake timed out and retrying...
Traceback (most recent call last):
File "/home/xudong/tmp/pantheon/third_party/indigo/env/run_receiver.py", line 40, in <module>
main()
File "/home/xudong/tmp/pantheon/third_party/indigo/env/run_receiver.py", line 31, in main
receiver.handshake()
File "/home/xudong/tmp/pantheon/third_party/indigo/env/receiver.py", line 66, in handshake
self.sock.sendto('Hello from receiver', self.peer_addr)
socket.error: [Errno 101] Network is unreachable
Traceback (most recent call last):
File "/home/xudong/tmp/pantheon/src/wrappers/indigo.py", line 33, in <module>
main()
File "/home/xudong/tmp/pantheon/src/wrappers/indigo.py", line 28, in main
check_call(cmd)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/xudong/tmp/pantheon/third_party/indigo/env/run_receiver.py', '100.64.0.4', '36787']' returned non-zero exit status 1
^Ckill_proc_group: killed process group with pgid 20332
kill_proc_group: killed process group with pgid 20333
kill_proc_group: killed process group with pgid 20351
kill_proc_group: killed process group with pgid 20352
kill_proc_group: killed process group with pgid 20360
kill_proc_group: killed process group with pgid 20356
kill_proc_group: killed process group with pgid 20363
tunnel_manager: caught signal 15 and cleaned up
Traceback (most recent call last):
File "src/experiments/test.py", line 808, in main
run_tests(args)
File "src/experiments/test.py", line 782, in run_tests
Test(args, run_id, cc).run()
File "src/experiments/test.py", line 735, in run
if not self.run_congestion_control():
File "src/experiments/test.py", line 686, in run_congestion_control
return self.run_with_tunnel()
File "src/experiments/test.py", line 569, in run_with_tunnel
if not self.run_second_side(send_manager, recv_manager, second_cmds):
File "src/experiments/test.py", line 501, in run_second_side
time.sleep(self.interval)
KeyboardInterrupt
Error in tests!