Open Bug 773770 Opened 7 years ago Updated 7 years ago

Android Reftest just exits, doesn't warn if it can't connect to the host

Categories

(Testing :: Reftest, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

People

(Reporter: BenWa, Unassigned)

Details

Attachments

(1 file)

Attached file log
If the tegra board can't connect to the host machine it just exits. We should print a error message instead. This is causing me to lose time every few months.
we could utilize ping:

# ping -c 1 -t 10 192.168.1.64
PING 192.168.1.64 (192.168.1.64) 56(84) bytes of data.
64 bytes from 192.168.1.64: icmp_seq=1 ttl=64 time=1011 ms

--- 192.168.1.64 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1011.467/1011.467/1011.467/0.000 ms
# ping -c 1 -t 10 192.168.1.99
PING 192.168.1.99 (192.168.1.99) 56(84) bytes of data.
From 192.168.1.69 icmp_seq=1 Destination Host Unreachable

--- 192.168.1.99 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

#
You need to log in before you can comment on or make changes to this bug.