Back to test-mbed-storage-blockdevice-general_block_device Results ^
Target: KL25Z
Test: test-mbed-storage-blockdevice-general_block_device
Test Case: test-mbed-storage-blockdevice-general_block_device
[1/13] Building CXX object storage/filesystem/fat/CMakeFiles/mbed-storage-fat.dir/ChaN/ffunicode.cpp.obj
[2/13] Building C object storage/filesystem/littlefsv2/CMakeFiles/mbed-storage-littlefs-v2.dir/littlefs/lfs2_util.c.obj
[3/13] Building CXX object storage/filesystem/fat/CMakeFiles/mbed-storage-fat.dir/ChaN/ff.cpp.obj
[4/13] Building CXX object storage/CMakeFiles/mbed-storage.dir/platform/source/PlatformStorage.cpp.obj
[5/13] Building CXX object storage/filesystem/littlefsv2/CMakeFiles/mbed-storage-littlefs-v2.dir/source/LittleFileSystem2.cpp.obj
[6/13] Building CXX object storage/filesystem/fat/CMakeFiles/mbed-storage-fat.dir/source/FATFileSystem.cpp.obj
[7/13] Building C object storage/filesystem/littlefsv2/CMakeFiles/mbed-storage-littlefs-v2.dir/littlefs/lfs2.c.obj
[8/13] Linking CXX static library storage\filesystem\fat\libmbed-storage-fat.a
[9/13] Linking CXX static library storage\filesystem\littlefsv2\libmbed-storage-littlefs-v2.a
[10/13] Linking CXX static library storage\libmbed-storage.a
[11/13] Building CXX object storage/blockdevice/tests/TESTS/blockdevice/general_block_device/CMakeFiles/test-mbed-storage-blockdevice-general_block_device.dir/main.cpp.obj
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp: In function 'void test_contiguous_erase_write_read()':
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp:707:9: warning: unused variable 'region' [-Wunused-variable]
707 | int region = 0;
| ^~~~~~
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp: In function 'void test_write_deinit_init()':
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp:870:27: warning: comparison of integer expressions of different signedness: 'int' and 'mbed::bd_size_t' {aka 'long long unsigned int'} [-Wsign-compare]
870 | for (int j = 0; j < prog_size; j++) {
| ~~^~~~~~~~~~~
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp: In function 'void test_contiguous_erase_write_read()':
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp:741:9: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
741 | free(write_read_buf);
| ~~~~^~~~~~~~~~~~~~~~
J:/Mbed/mbed-os/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp:677:77: note: returned from 'void* operator new [](std::size_t, const std::nothrow_t&)'
677 | uint8_t *write_read_buf = new (std::nothrow) uint8_t[write_read_buf_size];
| ^
[12/13] Linking CXX executable storage\blockdevice\tests\TESTS\blockdevice\general_block_device\test-mbed-storage-blockdevice-general_block_device.elf
-- built: J:/Mbed/mbed-os/cmake-build-develop-kl25z/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/test-mbed-storage-blockdevice-general_block_device.bin
-- built: J:/Mbed/mbed-os/cmake-build-develop-kl25z/storage/blockdevice/tests/TESTS/blockdevice/general_block_device/test-mbed-storage-blockdevice-general_block_device.hex
| Module | .text | .data | .bss |
|-------------------------------|---------------|-----------|-------------|
| CMakeFiles\mbed-baremetal.dir | 14404(+14404) | 268(+268) | 438(+438) |
| [fill] | 50(+50) | 15(+15) | 16(+16) |
| [lib]\c_nano.a | 4687(+4687) | 92(+92) | 329(+329) |
| [lib]\client_userio.a | 1735(+1735) | 56(+56) | 8(+8) |
| [lib]\gcc.a | 7932(+7932) | 0(+0) | 0(+0) |
| [lib]\mbed-greentea-io.a | 58(+58) | 0(+0) | 0(+0) |
| [lib]\mbed-unity.a | 734(+734) | 0(+0) | 224(+224) |
| [lib]\mbed-utest.a | 4545(+4545) | 13(+13) | 201(+201) |
| [lib]\misc | 308(+308) | 12(+12) | 25(+25) |
| [lib]\stdc++_nano.a | 1(+1) | 0(+0) | 0(+0) |
| storage\blockdevice | 121(+121) | 0(+0) | 0(+0) |
| Subtotals | 34575(+34575) | 456(+456) | 1241(+1241) |
Total Static RAM memory (data + bss): 1697(+1697) bytes
Total Flash memory (text + data): 35031(+35031) bytes
RAM Bank IRAM1: 1825(+0)/16384 bytes used, 11.1% (+0.0%) used
ROM Bank IROM1: 35303(+0)/131072 bytes used, 26.9% (+0.0%) used
[13/13] Flashing test-mbed-storage-blockdevice-general_block_device with LinkServer...
INFO: Exact match for MKL25Z4:FRDM-KL25Z found
INFO: Selected device MKL25Z128xxx4:FRDM-KL25Z
INFO: Getting available probes
INFO: Selecting probe by serial substring
INFO: Selected probe #1 0200000034544e45001700038e38000b5a91000097969900 (CMSIS-DAP)
Ns: LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink.exe build 869)
Pc: ( 0) Reading remote configuration
Wc(03). No cache support.
Nc: Found generic directory XML file in C:\Users\jamie\AppData\Local\Temp\tmpmpu82zba\crt_directory.xml
Pc: ( 5) Remote configuration complete
Nc: Reconnected to existing LinkServer process.
Wc: ============= SCRIPT: kinetisconnect.scp =============
Wc: Kinetis Connect Script
Wc: Connecting to Probe Index = 1
Wc: This probe = 1
Wc: This TAP = 0
Wc: This core = 0
Wc: DpID = 0BC11477
Wc: Assert NRESET
Wc: Reset pin state: 00
Wc: Power up Debug
Wc: MDM-AP APID: 0x001C0020
Wc: MDM-AP System Reset/Hold Reset/Debug Request
Wc: MDM-AP Control: 0x0000001C
Wc: MDM-AP Status (Flash Ready) : 0x00000032
Wc: Part is not secured
Wc: MDM-AP Control: 0x00000014
Wc: Release NRESET
Wc: Reset pin state: 01
Wc: MDM-AP Control (Debug Request): 0x00000004
Wc: MDM-AP Status: 0x0001003A
Wc: MDM-AP Core Halted
Wc: ============= END SCRIPT =============================
Nc: Probe Firmware: CMSIS-DAP (ARM)
Nc: Serial Number: 0200000034544e45001700038e38000b5a91000097969900
Nc: VID:PID: 0D28:0204
Nc: USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#a&3108123d&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Nc: Using memory from core 0 after searching for a good core
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0
Nc: processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0
Nc: number of h/w breakpoints = 2
Nc: number of flash patches = 0
Nc: number of h/w watchpoints = 2
Nc: Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info:
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Ns: Content of CoreSight Debug ROM(s):
Nc: RBASE F0002000: CID B105100D PID 000008E000 ROM (type 0x1)
Nc: ROM 1 F0000000: CID B105900D PID 04000BB932 CSt ARM MTB type 0x31 Trace Sink - Basic trace router
Nc: ROM 1 F0001000: CID B105900D PID 000008E000 CSt MTBDWT type 0x4 Debug Control - Other
Nc: ROM 1 E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1)
Nc: ROM 4 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0)
Nc: ROM 4 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0)
Nc: ROM 4 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0)
Nc: NXP: MKL25Z128xxx4
Nc: DAP stride is 1024 bytes (256 words)
Nc: Inspected v.2 On chip Flash memory module FTFA_1K.cfx
Nc: Image 'SemiGeneric Dec 18 2024 17:19:52'
Nc: Opening flash driver FTFA_1K.cfx
Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead.
Nc: Using SOFT reset to run the flash driver
Nc: Flash variant 'KL25 FTFA Generic 1K' detected (128KB = 128*1K at 0x0)
Nc: Closing flash driver FTFA_1K.cfx
Pc: ( 65) Chip Setup Complete
Pc: ( 70) License Check Complete
Nt: Loading 'test-mbed-storage-blockdevice-general_block_device.bin' Binary 0x00000000 len 0xBA80
Nc: Opening flash driver FTFA_1K.cfx (already resident)
Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead.
Nc: Using SOFT reset to run the flash driver
Nc: Flash variant 'KL25 FTFA Generic 1K' detected (128KB = 128*1K at 0x0)
Pb: 1 of 1 ( 0) Writing sectors 0-46 at 0x00000000 with 47744 bytes
Ps: ( 0) at 00000000: 0 bytes - 0/47744
Ps: ( 2) at 00000000: 1024 bytes - 1024/47744
Nc: 00000400 done 2% (1024 out of 47744)
Ps: ( 4) at 00000400: 1024 bytes - 2048/47744
Nc: 00000800 done 4% (2048 out of 47744)
Ps: ( 6) at 00000800: 1024 bytes - 3072/47744
Nc: 00000C00 done 6% (3072 out of 47744)
Ps: ( 8) at 00000C00: 1024 bytes - 4096/47744
Nc: 00001000 done 8% (4096 out of 47744)
Ps: ( 10) at 00001000: 1024 bytes - 5120/47744
Nc: 00001400 done 10% (5120 out of 47744)
Ps: ( 12) at 00001400: 1024 bytes - 6144/47744
Nc: 00001800 done 12% (6144 out of 47744)
Ps: ( 15) at 00001800: 1024 bytes - 7168/47744
Nc: 00001C00 done 15% (7168 out of 47744)
Ps: ( 17) at 00001C00: 1024 bytes - 8192/47744
Nc: 00002000 done 17% (8192 out of 47744)
Ps: ( 19) at 00002000: 1024 bytes - 9216/47744
Nc: 00002400 done 19% (9216 out of 47744)
Ps: ( 21) at 00002400: 1024 bytes - 10240/47744
Nc: 00002800 done 21% (10240 out of 47744)
Ps: ( 23) at 00002800: 1024 bytes - 11264/47744
Nc: 00002C00 done 23% (11264 out of 47744)
Ps: ( 25) at 00002C00: 1024 bytes - 12288/47744
Nc: 00003000 done 25% (12288 out of 47744)
Ps: ( 27) at 00003000: 1024 bytes - 13312/47744
Nc: 00003400 done 27% (13312 out of 47744)
Ps: ( 30) at 00003400: 1024 bytes - 14336/47744
Nc: 00003800 done 30% (14336 out of 47744)
Ps: ( 32) at 00003800: 1024 bytes - 15360/47744
Nc: 00003C00 done 32% (15360 out of 47744)
Ps: ( 34) at 00003C00: 1024 bytes - 16384/47744
Nc: 00004000 done 34% (16384 out of 47744)
Ps: ( 36) at 00004000: 1024 bytes - 17408/47744
Nc: 00004400 done 36% (17408 out of 47744)
Ps: ( 38) at 00004400: 1024 bytes - 18432/47744
Nc: 00004800 done 38% (18432 out of 47744)
Ps: ( 40) at 00004800: 1024 bytes - 19456/47744
Nc: 00004C00 done 40% (19456 out of 47744)
Ps: ( 42) at 00004C00: 1024 bytes - 20480/47744
Nc: 00005000 done 42% (20480 out of 47744)
Ps: ( 45) at 00005000: 1024 bytes - 21504/47744
Nc: 00005400 done 45% (21504 out of 47744)
Ps: ( 47) at 00005400: 1024 bytes - 22528/47744
Nc: 00005800 done 47% (22528 out of 47744)
Ps: ( 49) at 00005800: 1024 bytes - 23552/47744
Nc: 00005C00 done 49% (23552 out of 47744)
Ps: ( 51) at 00005C00: 1024 bytes - 24576/47744
Nc: 00006000 done 51% (24576 out of 47744)
Ps: ( 53) at 00006000: 1024 bytes - 25600/47744
Nc: 00006400 done 53% (25600 out of 47744)
Ps: ( 55) at 00006400: 1024 bytes - 26624/47744
Nc: 00006800 done 55% (26624 out of 47744)
Ps: ( 57) at 00006800: 1024 bytes - 27648/47744
Nc: 00006C00 done 57% (27648 out of 47744)
Ps: ( 60) at 00006C00: 1024 bytes - 28672/47744
Nc: 00007000 done 60% (28672 out of 47744)
Ps: ( 62) at 00007000: 1024 bytes - 29696/47744
Nc: 00007400 done 62% (29696 out of 47744)
Ps: ( 64) at 00007400: 1024 bytes - 30720/47744
Nc: 00007800 done 64% (30720 out of 47744)
Ps: ( 66) at 00007800: 1024 bytes - 31744/47744
Nc: 00007C00 done 66% (31744 out of 47744)
Ps: ( 68) at 00007C00: 1024 bytes - 32768/47744
Nc: 00008000 done 68% (32768 out of 47744)
Ps: ( 70) at 00008000: 1024 bytes - 33792/47744
Nc: 00008400 done 70% (33792 out of 47744)
Ps: ( 72) at 00008400: 1024 bytes - 34816/47744
Nc: 00008800 done 72% (34816 out of 47744)
Ps: ( 75) at 00008800: 1024 bytes - 35840/47744
Nc: 00008C00 done 75% (35840 out of 47744)
Ps: ( 77) at 00008C00: 1024 bytes - 36864/47744
Nc: 00009000 done 77% (36864 out of 47744)
Ps: ( 79) at 00009000: 1024 bytes - 37888/47744
Nc: 00009400 done 79% (37888 out of 47744)
Ps: ( 81) at 00009400: 1024 bytes - 38912/47744
Nc: 00009800 done 81% (38912 out of 47744)
Ps: ( 98) at 00009800: 8192 bytes - 47104/47744
Ps: (100) at 0000B800: 1024 bytes - 48128/47744
Nc: 0000BC00 done 100% (48128 out of 47744)
Nc: Sectors written: 39, unchanged: 8, total: 47
Nc: Closing flash driver FTFA_1K.cfx
Pb: (100) Finished writing Flash successfully.
Nt: Loaded 0xBA80 bytes in 4208ms (about 11kB/s)
Nt: Reset target (system)
Nc: Starting execution using system reset
Executing: J:/Mbed/mbed-os/venv/Scripts/python.exe -m mbed_host_tests.mbedhtrun --skip-flashing -p COM9 --skip-reset -m KL25Z --baud-rate=115200
[+492ms][HTST][INF] host test executor ver. 0.0.16
[+492ms][HTST][INF] copy image onto target... SKIPPED!
[+495ms][HTST][INF] starting host test process...
[+475ms][CONN][INF] starting connection process...
[+475ms][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[+475ms][CONN][INF] initializing serial port listener...
[+475ms][SERI][INF] using specified port 'COM9'
[+475ms][SERI][INF] serial(port=COM9, baudrate=115200, read_timeout=0.01, write_timeout=5)
[+1018ms][HTST][INF] setting timeout to: 60 sec
[+500ms][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[+500ms][CONN][INF] sending up to 2 __sync packets (specified with --sync=2)
[+500ms][CONN][INF] sending preamble '8023029f-82d0-4707-ac56-6afe5cb06d31'
[+501ms][SERI][TXD] {{__sync;8023029f-82d0-4707-ac56-6afe5cb06d31}}
[+521ms][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[+521ms][CONN][INF] found SYNC in stream: {{__sync;8023029f-82d0-4707-ac56-6afe5cb06d31}} it is #0 sent, queued...
[+521ms][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[+521ms][CONN][INF] found KV pair in stream: {{__timeout;300}}, queued...
[+1064ms][HTST][INF] sync KV found, uuid=8023029f-82d0-4707-ac56-6afe5cb06d31, timestamp=1738172641.950219
[+1064ms][HTST][INF] DUT greentea-client version: 1.3.0
[+1064ms][HTST][INF] setting timeout to: 300 sec
[+532ms][CONN][RXD] >>> Running 0 test cases...
[+532ms][CONN][RXD]
[+532ms][CONN][RXD] >>> Test cases: 0 passed, 0 failed
[+532ms][CONN][RXD]
[+532ms][CONN][INF] found KV pair in stream: {{__host_test_name;default_auto}}, queued...
[+532ms][CONN][INF] found KV pair in stream: {{__testcase_count;0}}, queued...
[+1074ms][HTST][INF] host test class: ''
[+1074ms][HTST][INF] host test setup() call...
[+1075ms][HTST][INF] CALLBACKs updated
[+1075ms][HTST][INF] host test detected: default_auto
[+542ms][CONN][RXD] -----------------------
[+542ms][CONN][RXD] 0 Tests 0 Failures 0 Ignored
[+542ms][CONN][RXD] OK
[+542ms][CONN][INF] found KV pair in stream: {{__testcase_summary;0;0}}, queued...
[+542ms][CONN][INF] found KV pair in stream: {{end;success}}, queued...
[+542ms][CONN][INF] found KV pair in stream: {{__exit;0}}, queued...
[+1085ms][HTST][INF] __exit(0)
[+1085ms][HTST][INF] __notify_complete(True)
[+1085ms][HTST][INF] __exit_event_queue received
[+1085ms][HTST][INF] test suite run finished after 0.02 sec...
[+553ms][CONN][INF] received special event '__host_test_finished' value='True', finishing
[+1134ms][HTST][INF] CONN exited with code: 0
[+1134ms][HTST][INF] Some events in queue
[+1134ms][HTST][INF] stopped consuming events
[+1134ms][HTST][INF] host test result() call skipped, received: True
[+1134ms][HTST][INF] calling blocking teardown()
[+1134ms][HTST][INF] teardown() finished
[+1135ms][HTST][INF] {{result;success}}