Refactored s3t does not parse properly
While running in the testbed, I got the following error:
root@10.20.10.25 docker logs tts_recv
Will run with command: "rtt -m=server -buffer 524288 -trials 1 -debug true" and unknown parameters: ""
Checking reachability of 10.5.8.55.
Reachable after 30.483894 seconds
Running evaluation
Not delaying receiver start.
['FIN-WAIT-2', '0', '0', '[::ffff:10.5.8.54]:8081', '[::ffff:10.5.8.55]:30001']
list index out of range
['FIN-WAIT-2', '0', '0', '[::ffff:10.5.8.54]:8081', '[::ffff:10.5.8.55]:30001']
list index out of range
['FIN-WAIT-2', '0', '0', '[::ffff:10.5.8.54]:8081', '[::ffff:10.5.8.55]:30001']
list index out of range
['FIN-WAIT-2', '0', '0', '[::ffff:10.5.8.54]:8081', '[::ffff:10.5.8.55]:30001']
list index out of range
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/dist-packages/multitimer.py", line 69, in run
self.function(*self.args, **self.kwargs)
File "/go/src/s3t.py", line 163, in sample
samples.append(TCP_Info.from_ss("Hitn", dst=dst, src=src, trial=trials))
File "/go/src/s3t.py", line 95, in from_ss
return cls.from_ss_output(result.stdout.decode('utf-8'), trial, start)
File "/go/src/s3t.py", line 69, in from_ss_output
raise e
File "/go/src/s3t.py", line 65, in from_ss_output
algorithm = info[5]
IndexError: list index out of range
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/dist-packages/multitimer.py", line 69, in run
self.function(*self.args, **self.kwargs)
File "/go/src/s3t.py", line 163, in sample
samples.append(TCP_Info.from_ss("Hitn", dst=dst, src=src, trial=trials))
File "/go/src/s3t.py", line 95, in from_ss
return cls.from_ss_output(result.stdout.decode('utf-8'), trial, start)
File "/go/src/s3t.py", line 69, in from_ss_output
raise e
File "/go/src/s3t.py", line 65, in from_ss_output
algorithm = info[5]
info
contains IPv6 addresses, but no more fields. Maybe this is a special case when we are in FIN-WAIT-2?
Edited by Andreas Schmidt