Test Case Output

Back to test-mbed-hal-reset-reason Results ^

Target: RASPBERRY_PI_PICO
Test: test-mbed-hal-reset-reason
Test Case: test-mbed-hal-reset-reason

[1/1] Flashing test-mbed-hal-reset-reason with OpenOCD...
Open On-Chip Debugger 0.12.0+dev-00499-g151b74371 (2024-01-22-10:06)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : Hardware thread awareness created
Info : Hardware thread awareness created
0
adapter speed: 4000 kHz
DEPRECATED! use 'adapter serial' not 'cmsis_dap_serial'
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 0254
Info : CMSIS-DAP: Serial# = 10283602077ce96900000000000000000000000097969902
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 4000 kHz
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x10000001
Info : [rp2040.core0] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core0] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core0] Examination succeed
Info : [rp2040.core1] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core1] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core1] Examination succeed
Info : gdb port disabled
Info : gdb port disabled
Warn : [rp2040.core1] target was in unknown state when halt was requested
[rp2040.core0] halted due to debug-request, current mode: Thread 
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
[rp2040.core1] halted due to debug-request, current mode: Thread 
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
** Programming Started **
Info : Found flash device 'win w25q128jv' (ID 0x001870ef)
Info : RP2040 B0 Flash Probe: 16777216 bytes @0x10000000, in 256 sectors

Info : Padding image section 0 at 0x1000cca4 with 92 bytes (bank write end alignment)
Warn : Adding extra erase range, 0x1000cd00 .. 0x1000ffff
** Programming Finished **
** Resetting Target **
shutdown command invoked
Executing: /home/jamie/Mbed/mbed-os/venv/bin/python3.10 -m mbed_host_tests.mbedhtrun --skip-flashing -p /dev/ttyRASPBERRY_PI_PICO_SWD --skip-reset -e /home/jamie/Mbed/mbed-os/hal/tests/TESTS/host_tests -m RASPBERRY_PI_PICO_SWD --baud-rate=115200
[1732403733.13][HTST][INF] host test executor ver. 0.0.16
[1732403733.13][HTST][INF] copy image onto target... SKIPPED!
[1732403733.14][HTST][INF] starting host test process...
[1732403733.16][CONN][INF] starting connection process...
[1732403733.16][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[1732403733.16][CONN][INF] initializing serial port listener... 
[1732403733.16][HTST][INF] setting timeout to: 60 sec
[1732403733.16][SERI][INF] using specified port '/dev/ttyRASPBERRY_PI_PICO_SWD'
[1732403733.16][SERI][INF] serial(port=/dev/ttyRASPBERRY_PI_PICO_SWD, baudrate=115200, read_timeout=0.01, write_timeout=5)
[1732403733.17][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[1732403733.17][CONN][INF] sending up to 2 __sync packets (specified with --sync=2)
[1732403733.17][CONN][INF] sending preamble '662db4d6-1526-494c-abb9-b59cea4cd56f'
[1732403733.17][SERI][TXD] {{__sync;662db4d6-1526-494c-abb9-b59cea4cd56f}}
[1732403733.18][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1732403733.19][CONN][INF] found SYNC in stream: {{__sync;662db4d6-1526-494c-abb9-b59cea4cd56f}} it is #0 sent, queued...
[1732403733.19][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1732403733.19][HTST][INF] sync KV found, uuid=662db4d6-1526-494c-abb9-b59cea4cd56f, timestamp=1732403733.190573
[1732403733.19][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[1732403733.19][HTST][INF] DUT greentea-client version: 1.3.0
[1732403733.19][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[1732403733.19][CONN][INF] found KV pair in stream: {{ready;00000013,1}}, queued...
[1732403733.19][HTST][INF] setting timeout to: 90 sec
[1732403733.19][HTST][INF] host test class: ''
[1732403733.20][HTST][INF] host test setup() call...
[1732403733.20][HTST][INF] CALLBACKs updated
[1732403733.20][HTST][INF] host test detected: reset_reason
[1732403733.20][SERI][TXD] {{reason_raw;get}}
[1732403733.22][CONN][INF] found KV pair in stream: {{reason_raw;00000101}}, queued...
[1732403733.23][SERI][TXD] {{reason;get}}
[1732403733.24][CONN][INF] found KV pair in stream: {{reason;4}}, queued...
[1732403733.25][SERI][TXD] {{reason;clear}}
[1732403733.26][CONN][INF] found KV pair in stream: {{reason;cleared}}, queued...
[1732403733.26][HTST][INF] Skipping the SOFTWARE reset reason -- not supported.
[1732403733.27][CONN][INF] received special event '__reset', resetting dut
[1732403733.27][SERI][INF] reset device using 'default' plugin...
[1732403733.30][REST][ERR] Error while doing 'serial.break_condition = False' : [Errno 32] Broken pipe
[1732403733.30][SERI][INF] waiting 1.00 sec after reset
[1732403734.30][SERI][INF] wait for it...
[1732403734.31][SERI][ERR] device reports readiness to read but returned no data (device disconnected or multiple access on port?)
[1732403735.31][HTST][ERR] connection lost, serial.read(2304): device reports readiness to read but returned no data (device disconnected or multiple access on port?)
[1732403735.31][HTST][WRN] stopped to consume events due to __notify_conn_lost event
[1732403735.31][HTST][INF] __exit_event_queue received
[1732403735.31][HTST][INF] test suite run finished after 2.11 sec...
[1732403735.31][HTST][INF] CONN exited with code: 0
[1732403735.31][HTST][INF] No events in queue
[1732403735.31][HTST][INF] host test result() call skipped, received: ioerr_serial
[1732403735.31][HTST][WRN] missing __exit event from DUT
[1732403735.31][HTST][INF] calling blocking teardown()
[1732403735.31][HTST][INF] teardown() finished
[1732403735.31][HTST][INF] {{result;ioerr_serial}}
CMake Error at mbed-run-greentea-test-mbed-hal-reset-reason.cmake:19 (execute_process):
  execute_process failed command indexes:

    1: "Child return code: 8"