Skip to content

Block device test : skip multi thread part in case of small RAM #9272

@jeromecoutant

Description

@jeromecoutant

Description

Target: NUCLEO_L073RZ (small RAM) + cishield

features-storage-tests-blockdevice-general_block_device is OK, except for multi thread, as RAM is not sufficient.

target platform_name test suite test case passed failed result elapsed_time (sec)
NUCLEO_L073RZ-ARM NUCLEO_L073RZ features-storage-tests-blockdevice-general_block_device Testing BlockDevice::get_erase_value() 1 0 OK 0.24
NUCLEO_L073RZ-ARM NUCLEO_L073RZ features-storage-tests-blockdevice-general_block_device Testing contiguous erase, write and read 1 0 OK 0.44
NUCLEO_L073RZ-ARM NUCLEO_L073RZ features-storage-tests-blockdevice-general_block_device Testing multi threads erase program read 0 0 ERROR 0.0
NUCLEO_L073RZ-ARM NUCLEO_L073RZ features-storage-tests-blockdevice-general_block_device Testing program read small data sizes 1 0 OK 0.61
NUCLEO_L073RZ-ARM NUCLEO_L073RZ features-storage-tests-blockdevice-general_block_device Testing read write random blocks 1 0 OK 3.98
[1546855914.26][CONN][RXD] Test Multi Threaded Erase/Program/Read Starts..
[1546855914.29][CONN][RXD] read size: 512bytes (512bytes)
[1546855914.33][CONN][RXD] program size: 512bytes (512bytes)
[1546855914.36][CONN][RXD] erase size: 512bytes (512bytes)
[1546855914.40][CONN][RXD] total size: 3Gbytes (4035969024bytes)
[1546855914.40][CONN][RXD]
[1546855914.41][CONN][RXD] test
[1546855914.41][CONN][RXD]
[1546855914.43][CONN][RXD] ++ MbedOS Error Info ++
[1546855914.48][CONN][RXD] Error Status: 0x8001011F Code: 287 Module: 1
[1546855914.53][CONN][RXD] Error Message: Operator new[] out of memory
[1546855914.53][CONN][RXD]
[1546855914.55][CONN][RXD] Location: 0x800CF2B
[1546855914.57][CONN][RXD] Error Value: 0x1000
[1546855914.70][CONN][RXD] Current Thread: main  Id: 0x20002968 Entry: 0x800EC91 StackSize: 0x1000 StackMem: 0x20001968 SP: 0x20002480   00d
[1546855914.78][CONN][RXD] For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x8001011F
[1546855914.81][CONN][RXD] -- MbedOS Error Info --

Is it possible to add some memory check in order to skip this multi thread test case ?

@davidsaada

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions