Code review comment for lp://qastaging/~bladernr/checkbox/1257308

Revision history for this message
Jeff Lane  (bladernr) wrote :

Note, this is the original output:
bladernr@klaatu:~/development/1257308/checkbox-old/scripts$ sudo ./network test -t iperf -i eth0 --target transit.local
DEBUG:root:Shutting down interface:virbr0
DEBUG:root:Shutting down interface:wlan0
DEBUG:root:timeout 180 iperf -c transit.local -n 1024M
------------------------------------------------------------
Client connecting to transit.local, TCP port 5001
TCP window size: 22.9 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.100 port 57642 connected with 192.168.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 9.9 sec 1.00 GBytes 871 Mbits/sec

ERROR:root:Max Speed was not reported properly. Run ethtool and verify that the card is properly reporting its capabilities.
Transfer speed: 871 Mb/s
0.00% of theoretical max 1000Mb/s
WARNING:root:Poor network performance detected
DEBUG:root:Restoring interface:virbr0
DEBUG:root:Restoring interface:wlan0

and this is the slighly revised output:
bladernr@klaatu:~/development/1257308/checkbox-old/scripts$ sudo ./network tes -t iperf -i eth0 --target transit.local
[sudo] password for bladernr:
DEBUG:root:Shutting down interface:virbr0
DEBUG:root:Shutting down interface:wlan0
DEBUG:root:timeout 180 iperf -c transit.local -n 1024M
------------------------------------------------------------
Client connecting to transit.local, TCP port 5001
TCP window size: 22.9 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.100 port 57851 connected with 192.168.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 9.6 sec 1.00 GBytes 893 Mbits/sec

ERROR:root:Max Speed was not reported properly. Run ethtool and verify that the card is properly reporting its capabilities.

Transfer speed: 893 Mb/s
0.00% of theoretical max 1000Mb/s

WARNING:root:Poor network performance detected
DEBUG:root:Restoring interface:virbr0
DEBUG:root:Restoring interface:wlan0

« Back to merge proposal