+ 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")
+ else:
+ raise RuntimeError("Traffic script execution failed")