Back to test-mbed-drivers-reset-reason Results ^
Target: NUCLEO_L452RE_P
Test: test-mbed-drivers-reset-reason
Test Case: test-mbed-drivers-reset-reason
[1/3] Building CXX object drivers/tests/TESTS/mbed_drivers/reset_reason/CMakeFiles/test-mbed-drivers-reset-reason.dir/main.cpp.obj
/home/jamie/Mbed/mbed-os/drivers/tests/TESTS/mbed_drivers/reset_reason/main.cpp: In function 'cmd_status_t handle_command(const char*, const char*)':
/home/jamie/Mbed/mbed-os/drivers/tests/TESTS/mbed_drivers/reset_reason/main.cpp:106:30: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
106 | ThisThread::sleep_for(SERIAL_FLUSH_TIME_MS); // Wait for the serial buffers to flush.
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jamie/Mbed/mbed-os/rtos/./include/rtos/rtos.h:30,
from /home/jamie/Mbed/mbed-os/mbed.h:28,
from /home/jamie/Mbed/mbed-os/drivers/tests/TESTS/mbed_drivers/reset_reason/main.cpp:25:
/home/jamie/Mbed/mbed-os/rtos/./include/rtos/ThisThread.h:217:6: note: declared here
217 | void sleep_for(uint32_t millisec);
| ^~~~~~~~~
/home/jamie/Mbed/mbed-os/drivers/tests/TESTS/mbed_drivers/reset_reason/main.cpp:115:30: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
115 | ThisThread::sleep_for(SERIAL_FLUSH_TIME_MS); // Wait for the serial buffers to flush.
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/jamie/Mbed/mbed-os/rtos/./include/rtos/ThisThread.h:217:6: note: declared here
217 | void sleep_for(uint32_t millisec);
| ^~~~~~~~~
/home/jamie/Mbed/mbed-os/drivers/tests/TESTS/mbed_drivers/reset_reason/main.cpp:121:30: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
121 | ThisThread::sleep_for(2 * WDG_TIMEOUT_MS); // Watchdog should fire before twice the timeout value.
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/jamie/Mbed/mbed-os/rtos/./include/rtos/ThisThread.h:217:6: note: declared here
217 | void sleep_for(uint32_t millisec);
| ^~~~~~~~~
[2/3] Linking CXX executable drivers/tests/TESTS/mbed_drivers/reset_reason/test-mbed-drivers-reset-reason.elf
-- built: /home/jamie/Mbed/mbed-os/build/NUCLEO_L452RE_P-Develop/drivers/tests/TESTS/mbed_drivers/reset_reason/test-mbed-drivers-reset-reason.bin
-- built: /home/jamie/Mbed/mbed-os/build/NUCLEO_L452RE_P-Develop/drivers/tests/TESTS/mbed_drivers/reset_reason/test-mbed-drivers-reset-reason.hex
| Module | .text | .data | .bss |
|--------------------------|-----------|----------|----------|
| CMakeFiles/mbed-os.dir | 26842(-4) | 444(+0) | 7895(+0) |
| [fill] | 106(+4) | 3(+0) | 41(+0) |
| [lib]/c.a | 6100(+0) | 1344(+0) | 373(+0) |
| [lib]/client_userio.a | 1480(+0) | 52(+0) | 8(+0) |
| [lib]/gcc.a | 3144(+0) | 0(+0) | 0(+0) |
| [lib]/mbed-greentea-io.a | 70(+0) | 0(+0) | 0(+0) |
| [lib]/mbed-unity.a | 794(+0) | 0(+0) | 224(+0) |
| [lib]/mbed-utest.a | 1400(+0) | 1(+0) | 80(+0) |
| [lib]/misc | 264(+0) | 4(+0) | 25(+0) |
| drivers/tests | 408(+0) | 0(+0) | 34(+0) |
| Subtotals | 40608(+0) | 1848(+0) | 8680(+0) |
Total Static RAM memory (data + bss): 10528(+0) bytes
Total Flash memory (text + data): 42456(+0) bytes
[3/3] Flashing test-mbed-drivers-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
DEPRECATED! use 'adapter driver' not 'interface'
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
DEPRECATED! use 'adapter serial' not 'hla_serial'
Info : clock speed 500 kHz
Info : STLINK V2J39M27 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.238421
Info : [stm32l4x.cpu] Cortex-M4 r0p1 processor detected
Info : [stm32l4x.cpu] target has 6 breakpoints, 4 watchpoints
Info : [stm32l4x.cpu] Examination succeed
Info : gdb port disabled
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
[stm32l4x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000330 msp: 0x10000698
** Programming Started **
Info : device idcode = 0x20016462 (STM32L45/L46xx - Rev Y : 0x2001)
Info : RDP level 0 (0xAA)
Info : flash size = 512 KiB
Info : flash mode : single-bank
Warn : Adding extra erase range, 0x0800bf48 .. 0x0800bfff
** Programming Finished **
** Resetting Target **
Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
shutdown command invoked
Executing: /home/jamie/Mbed/mbed-os/venv/bin/python3.10 -m mbed_host_tests.mbedhtrun --skip-flashing -p /dev/ttyNUCLEO_L452RE_P --skip-reset -e /home/jamie/Mbed/mbed-os/drivers/tests/TESTS/host_tests -m NUCLEO_L452RE_P --baud-rate=115200
[1719850522.65][HTST][INF] host test executor ver. 0.0.16
[1719850522.65][HTST][INF] copy image onto target... SKIPPED!
[1719850522.66][HTST][INF] starting host test process...
[1719850522.67][CONN][INF] starting connection process...
[1719850522.68][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[1719850522.68][CONN][INF] initializing serial port listener...
[1719850522.68][HTST][INF] setting timeout to: 60 sec
[1719850522.68][SERI][INF] using specified port '/dev/ttyNUCLEO_L452RE_P'
[1719850522.68][SERI][INF] serial(port=/dev/ttyNUCLEO_L452RE_P, baudrate=115200, read_timeout=0.01, write_timeout=5)
[1719850522.68][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[1719850522.68][CONN][INF] sending up to 2 __sync packets (specified with --sync=2)
[1719850522.69][CONN][INF] sending preamble 'f1b7f714-cbdc-42b0-941a-603eafc952d8'
[1719850522.69][SERI][TXD] {{__sync;f1b7f714-cbdc-42b0-941a-603eafc952d8}}
[1719850522.70][CONN][WRN] UnicodeDecodeError encountered!
[1719850522.70][CONN][RXD] [NON-XML-CHAR-0x3][NON-XML-CHAR-0x2]Β
[NON-XML-CHAR-0x1]
[NON-XML-CHAR-0x12]|
$L8
[NON-XML-CHAR-0x2][NON-XML-CHAR-0xE]N[NON-XML-CHAR-0xE]
L
R
[NON-XML-CHAR-0x3]
[NON-XML-CHAR-0x7]
[NON-XML-CHAR-0x2]
[NON-XML-CHAR-0x1E]
[NON-XML-CHAR-0x12][NON-XML-CHAR-0xC]l
[1719850522.70][CONN][RXD]
[NON-XML-CHAR-0x16][NON-XML-CHAR-0x1A]
[NON-XML-CHAR-0x1C]
[NON-XML-CHAR-0x2][NON-XML-CHAR-0x14]
[NON-XML-CHAR-0x1]
mbedmbedmbedmbedmbedmbedmbedmbed
[1719850522.70][CONN][INF] found SYNC in stream: {{__sync;f1b7f714-cbdc-42b0-941a-603eafc952d8}} it is #0 sent, queued...
[1719850522.70][HTST][INF] sync KV found, uuid=f1b7f714-cbdc-42b0-941a-603eafc952d8, timestamp=1719850522.700211
[1719850522.71][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1719850522.71][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[1719850522.71][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[1719850522.71][HTST][INF] DUT greentea-client version: 1.3.0
[1719850522.71][CONN][INF] found KV pair in stream: {{ready;0000001a,1}}, queued...
[1719850522.71][HTST][INF] setting timeout to: 90 sec
[1719850522.71][HTST][INF] host test class: ''
[1719850522.71][HTST][INF] host test setup() call...
[1719850522.71][HTST][INF] CALLBACKs updated
[1719850522.71][HTST][INF] host test detected: reset_reason
[1719850522.72][SERI][TXD] {{reason_raw;get}}
[1719850522.74][CONN][INF] found KV pair in stream: {{reason_raw;1c000600}}, queued...
[1719850522.75][SERI][TXD] {{reason;get}}
[1719850522.76][CONN][INF] found KV pair in stream: {{reason;3}}, queued...
[1719850522.77][SERI][TXD] {{reason;clear}}
[1719850522.78][CONN][INF] found KV pair in stream: {{reason;cleared}}, queued...
[1719850522.79][SERI][TXD] {{reset;nvic}}
[1719850522.80][CONN][INF] found KV pair in stream: {{reset;ack}}, queued...
[1719850523.81][SERI][TXD] {{__sync;0}}
[1719850523.82][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1719850523.82][CONN][INF] found KV pair in stream: {{__sync;0}}, queued...
[1719850523.82][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1719850523.82][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[1719850523.82][HTST][ERR] orphan event in main phase: {{__sync;0}}, timestamp=1719850523.821258
[1719850523.82][HTST][ERR] orphan event in main phase: {{__version;1.3.0}}, timestamp=1719850523.821279
[1719850523.82][HTST][ERR] orphan event in main phase: {{__timeout;90}}, timestamp=1719850523.821290
[1719850523.83][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[1719850523.83][CONN][INF] found KV pair in stream: {{ready;0000001a,1}}, queued...
[1719850523.83][HTST][ERR] orphan event in main phase: {{__host_test_name;reset_reason}}, timestamp=1719850523.833023
[1719850523.85][SERI][TXD] {{reason_raw;get}}
[1719850523.86][CONN][INF] found KV pair in stream: {{reason_raw;14000600}}, queued...
[1719850523.87][SERI][TXD] {{reason;get}}
[1719850523.88][CONN][INF] found KV pair in stream: {{reason;3}}, queued...
[1719850523.89][SERI][TXD] {{reason;clear}}
[1719850523.90][CONN][INF] found KV pair in stream: {{reason;cleared}}, queued...
[1719850523.91][CONN][INF] received special event '__reset', resetting dut
[1719850523.91][SERI][INF] reset device using 'default' plugin...
[1719850524.02][SERI][INF] waiting 1.00 sec after reset
[1719850525.02][SERI][INF] wait for it...
[1719850526.03][SERI][TXD] {{__sync;0}}
[1719850526.04][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1719850526.04][CONN][INF] found KV pair in stream: {{__sync;0}}, queued...
[1719850526.04][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1719850526.04][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[1719850526.04][HTST][ERR] orphan event in main phase: {{__sync;0}}, timestamp=1719850526.039545
[1719850526.04][HTST][ERR] orphan event in main phase: {{__version;1.3.0}}, timestamp=1719850526.039570
[1719850526.04][HTST][ERR] orphan event in main phase: {{__timeout;90}}, timestamp=1719850526.039580
[1719850526.05][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[1719850526.05][CONN][INF] found KV pair in stream: {{ready;0000001a,1}}, queued...
[1719850526.05][HTST][ERR] orphan event in main phase: {{__host_test_name;reset_reason}}, timestamp=1719850526.051906
[1719850526.07][SERI][TXD] {{reason_raw;get}}
[1719850526.08][CONN][INF] found KV pair in stream: {{reason_raw;04000600}}, queued...
[1719850526.09][SERI][TXD] {{reason;get}}
[1719850526.10][CONN][INF] found KV pair in stream: {{reason;1}}, queued...
[1719850526.11][SERI][TXD] {{reason;clear}}
[1719850526.12][CONN][INF] found KV pair in stream: {{reason;cleared}}, queued...
[1719850526.13][SERI][TXD] {{reset;watchdog}}
[1719850526.14][CONN][INF] found KV pair in stream: {{reset;ack}}, queued...
[1719850527.15][SERI][TXD] {{__sync;0}}
[1719850527.16][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1719850527.16][CONN][INF] found KV pair in stream: {{__sync;0}}, queued...
[1719850527.17][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1719850527.17][HTST][ERR] orphan event in main phase: {{__sync;0}}, timestamp=1719850527.164242
[1719850527.17][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[1719850527.17][HTST][ERR] orphan event in main phase: {{__version;1.3.0}}, timestamp=1719850527.164265
[1719850527.17][HTST][ERR] orphan event in main phase: {{__timeout;90}}, timestamp=1719850527.164275
[1719850527.18][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[1719850527.18][CONN][INF] found KV pair in stream: {{ready;0000001a,1}}, queued...
[1719850527.18][HTST][ERR] orphan event in main phase: {{__host_test_name;reset_reason}}, timestamp=1719850527.176460
[1719850527.19][SERI][TXD] {{reason_raw;get}}
[1719850527.20][CONN][INF] found KV pair in stream: {{reason_raw;24000600}}, queued...
[1719850527.21][SERI][TXD] {{reason;get}}
[1719850527.22][CONN][INF] found KV pair in stream: {{reason;4}}, queued...
[1719850527.22][HTST][INF] __notify_complete(True)
[1719850527.22][HTST][INF] __exit_event_queue received
[1719850527.22][HTST][INF] test suite run finished after 4.51 sec...
[1719850527.23][CONN][INF] received special event '__host_test_finished' value='True', finishing
[1719850527.30][HTST][INF] CONN exited with code: 0
[1719850527.30][HTST][INF] No events in queue
[1719850527.30][HTST][INF] stopped consuming events
[1719850527.30][HTST][INF] host test result() call skipped, received: True
[1719850527.30][HTST][WRN] missing __exit event from DUT
[1719850527.30][HTST][INF] calling blocking teardown()
[1719850527.30][HTST][INF] teardown() finished
[1719850527.30][HTST][INF] {{result;success}}