File tree Expand file tree Collapse file tree
test/case/hardware/gps_simple Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments