Skip to content

Commit b9da16d

Browse files
committed
temp
1 parent 14cfb97 commit b9da16d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • test/case/hardware/gps_simple

test/case/hardware/gps_simple/test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ def verify_position(target, name="gps0"):
8282
}})
8383

8484
with test.step("Verify GPS device nodes and gpsd are present"):
85+
# Temporary CI diagnostics — remove once passing
86+
print(f"DEBUG: /dev/virtio-ports/: {tgtssh.runsh('ls -la /dev/virtio-ports/ 2>&1').stdout}")
87+
print(f"DEBUG: /dev/vport*: {tgtssh.runsh('ls -la /dev/vport* 2>&1').stdout}")
88+
print(f"DEBUG: /dev/gps*: {tgtssh.runsh('ls -la /dev/gps* 2>&1').stdout}")
89+
print(f"DEBUG: udev rules: {tgtssh.runsh('ls -la /usr/lib/udev/rules.d/25-gpsd.rules /lib/udev/rules.d/25-gpsd.rules 2>&1').stdout}")
90+
print(f"DEBUG: rules tail: {tgtssh.runsh('tail -5 /usr/lib/udev/rules.d/25-gpsd.rules 2>&1').stdout}")
91+
print(f"DEBUG: dmesg virtio: {tgtssh.runsh('dmesg | grep -i virtio | tail -10 2>&1').stdout}")
8592
until(lambda: tgtssh.runsh("test -c /dev/gps0").returncode == 0, attempts=30)
8693
until(lambda: tgtssh.runsh("test -c /dev/gps1").returncode == 0, attempts=30)
8794
until(lambda: tgtssh.runsh("pgrep -x gpsd").returncode == 0, attempts=30)

0 commit comments

Comments
 (0)