Checkbox test run terminates if SSH session is disconnected without use of "screen" utility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Maciej Kisielewski |
Bug Description
Revised bug description
-------
If a server test run is initiated via an SSH login, and if that login is terminated, the test run will also be terminated. This is a common occurrence when running network tests, and sometimes also CPU stress tests. Our workaround to this to date has been the "screen" utility, which maintains a terminal session even if the SSH connection is broken. Running the tests at a physical or KVM terminal also bypasses the problem. Better robustness to an SSH session breaking is desirable in case the user forgets to use "screen," though.
Original bug description
-------
While running certification test under 18.04 beta release, encountered persistent Ethernet Device test failure. All NIC cards either 1G or 10G Ethernet/SFP are failing Multi-NIC Iperf3 stress testing. At IPERF server, a message “the client has terminated” will pop out on screen. Even though the NIC interface did not lost connection because it still responds to a ping command as seen from IPERF server. The testing will not continue and it will terminate unexpectedly. This error always happened during Test No. 2 – when testing the 2nd port connection of any NIC cards (either 1G or 10G interfaces). IPERF output as follows:
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 151.00-152.00 sec 1.09 GBytes 9.36 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 152.00-153.00 sec 1.09 GBytes 9.38 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 153.00-154.00 sec 1.09 GBytes 9.39 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 154.00-155.00 sec 1.09 GBytes 9.39 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 155.00-156.00 sec 1.09 GBytes 9.36 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 156.00-157.00 sec 1.10 GBytes 9.41 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 157.00-158.00 sec 1.08 GBytes 9.32 Gbits/sec
tcpi_snd_cwnd 10 tcpi_snd_mss 1448
[ 5] 158.00-159.00 sec 1.10 GBytes 9.41 Gbits/sec
[ 5] 158.00-159.00 sec 1.10 GBytes 9.41 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-159.00 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-159.00 sec 174 GBytes 9.41 Gbits/sec receiver
CPU Utilization: local/receiver 29.9% (1.6%u/28.4%s), remote/sender 23.2% (0.6%u/22.6%s)
iperf3: the client has terminated
iperf 3.0.11
Linux iperf-Super-Server 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
-------
Server listening on 5201
-------
My configuration as shown below. Other information in the attached files:
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic
Kernel rev 4.15.0-19-generic
affects: | speedsta → checkbox |
Changed in checkbox: | |
status: | New → Incomplete |
Changed in checkbox: | |
importance: | Undecided → Low |
status: | Incomplete → Triaged |
syslog and dmesg added