wlanpi@wlanpi-fe9:~ $ sudo service wlanpi-hwtest status
[sudo] password for wlanpi:
● wlanpi-hwtest.service - Platform testing suite for the WLAN Pi Pro
Loaded: loaded (/lib/systemd/system/wlanpi-hwtest.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-03-08 19:30:50 CST; 46s ago
Process: 858 ExecStart=/usr/sbin/hwtest (code=exited, status=1/FAILURE)
Main PID: 858 (code=exited, status=1/FAILURE)
CPU: 627ms
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: import hwtest.cfg as cfg
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: File "/opt/wlanpi-hwtest/lib/python3.9/site-packages/hwtest/cfg.py", line 66, in <module>
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: ETH0_MAC = get_eth0_mac()
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: File "/opt/wlanpi-hwtest/lib/python3.9/site-packages/hwtest/cfg.py", line 53, in get_eth0_mac
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: eth0_data = get_ip_data("eth0")
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: File "/opt/wlanpi-hwtest/lib/python3.9/site-packages/hwtest/automated/ethernet_test.py", line 43, in g>
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: dobj.ipv4_addr = interface_data[intf]["addr_info"][0]["local"]
Mar 08 19:30:50 wlanpi-fe9 hwtest[858]: IndexError: list index out of range
Mar 08 19:30:50 wlanpi-fe9 systemd[1]: wlanpi-hwtest.service: Main process exited, code=exited, status=1/FAILURE
Mar 08 19:30:50 wlanpi-fe9 systemd[1]: wlanpi-hwtest.service: Failed with result 'exit-code'.
wlanpi@wlanpi-fe9:~ $ sudo service wlanpi-hwtest start
wlanpi@wlanpi-fe9:~ $ sudo service wlanpi-hwtest status
● wlanpi-hwtest.service - Platform testing suite for the WLAN Pi Pro
Loaded: loaded (/lib/systemd/system/wlanpi-hwtest.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-03-08 19:31:55 CST; 1s ago
Main PID: 1253 (hwtest)
Tasks: 2 (limit: 9046)
CPU: 1.269s
CGroup: /system.slice/wlanpi-hwtest.service
├─1253 /opt/wlanpi-hwtest/bin/python /usr/sbin/hwtest
└─1276 vl805 -v /opt/wlanpi-hwtest/firmware/stable/vl805_000138a1.bin
Mar 08 19:31:55 wlanpi-fe9 systemd[1]: Started Platform testing suite for the WLAN Pi Pro.
wlanpi@wlanpi-fe9:~ $
Reported by Jerry.