- if "RuntimeError: ICMP echo Rx timeout" in stderr:
- raise RuntimeError("ICMP echo Rx timeout")
- elif "RuntimeError: DHCP REQUEST Rx timeout" in stderr:
- raise RuntimeError("DHCP REQUEST Rx timeout")
- elif "RuntimeError: TCP/UDP Rx timeout" in stderr:
- raise RuntimeError("TCP/UDP Rx timeout")
- elif "Error occurred: ARP reply timeout" in stdout:
- raise RuntimeError("ARP reply timeout")
+ if u"RuntimeError: ICMP echo Rx timeout" in stderr:
+ msg = "ICMP echo Rx timeout"
+ elif u"RuntimeError: IP packet Rx timeout" in stderr:
+ msg = u"IP packet Rx timeout"
+ elif u"RuntimeError: DHCP REQUEST Rx timeout" in stderr:
+ msg = u"DHCP REQUEST Rx timeout"
+ elif u"RuntimeError: DHCP DISCOVER Rx timeout" in stderr:
+ msg = u"DHCP DISCOVER Rx timeout"
+ elif u"RuntimeError: TCP/UDP Rx timeout" in stderr:
+ msg = u"TCP/UDP Rx timeout"
+ elif u"Error occurred: ARP reply timeout" in stdout:
+ msg = u"ARP reply timeout"
+ elif u"RuntimeError: ESP packet Rx timeout" in stderr:
+ msg = u"ESP packet Rx timeout"