Skip to content

Filesystem tests failing with MbedCRC changes #11931

@trowbridgec

Description

@trowbridgec

Description of defect

Since the MbedCRC changes were added in #11559 the filesystem tests are failing for the EP_AGORA target.

Testing with aae04b2 the tests pass, but testing with 8811972, the DUT hits a hard fault state and the test fails.
image

Log of the test failure:

mbed test -t GCC_ARM -m EP_AGORA -n features-storage-tests-filesystem* --run -v
[mbed] WARNING: Python 3 is not yet fully supported: Python errors may occur when compiling, testing and exporting
---
[mbed] Working path "/home/chris/mbed-os" (program)
[mbed] WARNING: Could not find mbed program in current path "/home/chris/mbed-os".
       You can fix this by calling "mbed new ." in the root of your program.
---
[mbed] Exec "mbedgt --test-spec ./BUILD/tests/EP_AGORA/GCC_ARM/test_spec.json -n features-storage-tests-filesystem* -V" in "/home/chris/mbed-os"
mbedgt: greentea test automation tool ver. 1.7.2
mbedgt: test specification file './BUILD/tests/EP_AGORA/GCC_ARM/test_spec.json' (specified with --test-spec option)
mbedgt: using './BUILD/tests/EP_AGORA/GCC_ARM/test_spec.json' from current directory!
mbedgt: detecting connected mbed-enabled devices...
mbedgt: detected 1 device
        | platform_name | platform_name_unique | serial_port  | mount_point          | target_id                                        |
        |---------------|----------------------|--------------|----------------------|--------------------------------------------------|
        | EP_AGORA      | EP_AGORA[0]          | /dev/ttyACM0 | /media/chris/DAPLINK | 2600360248824e4500127008dd89002c8761000097969900 |
mbedgt: processing target 'EP_AGORA' toolchain 'GCC_ARM' compatible platforms... (note: switch set to --parallel 1)
        | platform_name | platform_name_unique | serial_port       | mount_point          | target_id                                        |
        |---------------|----------------------|-------------------|----------------------|--------------------------------------------------|
        | EP_AGORA      | EP_AGORA[0]          | /dev/ttyACM0:9600 | /media/chris/DAPLINK | 2600360248824e4500127008dd89002c8761000097969900 |
mbedgt: test case filter (specified with -n option)
        features-storage-tests-filesystem*
        test filtered in 'features-storage-tests-filesystem-general_filesystem'
mbedgt: running 1 test for platform 'EP_AGORA' and toolchain 'GCC_ARM'
        use 1 instance of execution threads for testing
mbedgt: checking for 'host_tests' directory above image directory structure
        'host_tests' directory not found: two directory levels above image path checked
mbedgt: selecting test case observer...
        calling mbedhtrun: mbedhtrun -m EP_AGORA -p /dev/ttyACM0:9600 -f "BUILD/tests/EP_AGORA/GCC_ARM/features/storage/TESTS/filesystem/general_filesystem/general_filesystem.hex" -d /media/chris/DAPLINK -c default -t 2600360248824e4500127008dd89002c8761000097969900 -r default -C 6 --sync 5 -P 60
mbedgt: mbed-host-test-runner: started
[1574456537.54][HTST][INF] host test executor ver. 0.0.9
[1574456537.54][HTST][INF] copy image onto target...
[1574456537.55][COPY][INF] Waiting up to 60 sec for '2600360248824e4500127008dd89002c8761000097969900' mount point (current is '/media/chris/DAPLINK')...
[1574456550.08][mbedls.lstools_base]MBED with target id '2600360248824e4500127008dd89002c8761000097969900' is connected, but not mounted. Use the '-u' flag to include it in the list.
[1574456552.78][HTST][INF] starting host test process...
[1574456552.79][CONN][INF] starting connection process...
[1574456552.79][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[1574456552.79][CONN][INF] initializing serial port listener...
[1574456552.79][PLGN][INF] Waiting up to 60 sec for '2600360248824e4500127008dd89002c8761000097969900' serial port (current is '/dev/ttyACM0')...
[1574456552.79][HTST][INF] setting timeout to: 60 sec
[1574456552.80][SERI][INF] serial(port=/dev/ttyACM0, baudrate=9600, read_timeout=0.01, write_timeout=5)
[1574456552.80][SERI][INF] reset device using 'default' plugin...
[1574456552.91][SERI][INF] waiting 1.00 sec after reset
[1574456553.91][SERI][INF] wait for it...
[1574456553.91][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[1574456553.91][CONN][INF] sending up to 5 __sync packets (specified with --sync=5)
[1574456553.91][CONN][INF] sending preamble '57aa69a0-6ecf-4c63-9734-61d4a0655f40'
[1574456553.91][SERI][TXD] {{__sync;57aa69a0-6ecf-4c63-9734-61d4a0655f40}}
[1574456554.05][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1574456554.09][CONN][INF] found SYNC in stream: {{__sync;57aa69a0-6ecf-4c63-9734-61d4a0655f40}} it is #0 sent, queued...
[1574456554.09][HTST][INF] sync KV found, uuid=57aa69a0-6ecf-4c63-9734-61d4a0655f40, timestamp=1574456554.090096
[1574456554.12][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1574456554.12][HTST][INF] DUT greentea-client version: 1.3.0
[1574456554.13][CONN][INF] found KV pair in stream: {{__timeout;300}}, queued...
[1574456554.13][HTST][INF] setting timeout to: 300 sec
[1574456554.18][CONN][INF] found KV pair in stream: {{__host_test_name;default_auto}}, queued...
[1574456554.18][HTST][INF] host test class: '<class 'mbed_os_tools.test.host_tests.default_auto.DefaultAuto'>'
[1574456554.18][HTST][INF] host test setup() call...
[1574456554.18][HTST][INF] CALLBACKs updated
[1574456554.18][HTST][INF] host test detected: default_auto
[1574456554.20][CONN][INF] found KV pair in stream: {{__testcase_count;75}}, queued...
[1574456554.23][CONN][RXD] >>> Running 75 test cases...
[1574456554.27][CONN][INF] found KV pair in stream: {{__testcase_name;bd_init_fs_reformat}}, queued...
[1574456554.32][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_path_not_valid}}, queued...
[1574456554.38][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_empty_path_r_mode}}, queued...
[1574456554.42][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_empty_path_w_mode}}, queued...
[1574456554.47][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_invalid_mode}}, queued...
[1574456554.52][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_wb_mode}}, queued...
[1574456554.57][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_a_mode}}, queued...
[1574456554.62][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_r_mode}}, queued...
[1574456554.67][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_a_update_mode}}, queued...
[1574456554.73][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_r_update_mode}}, queued...
[1574456554.79][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_supported_w_update_mode}}, queued...
[1574456554.84][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_read_update_create}}, queued...
[1574456554.89][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_update_create}}, queued...
[1574456554.94][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fclose_valid_flow}}, queued...
[1574456554.98][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fwrite_nmemb_zero}}, queued...
[1574456555.02][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fwrite_valid_flow}}, queued...
[1574456555.08][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fwrite_with_fopen_r_mode}}, queued...
[1574456555.12][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_size_zero}}, queued...
[1574456555.16][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_nmemb_zero}}, queued...
[1574456555.21][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_with_fopen_w_mode}}, queued...
[1574456555.26][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_to_fwrite_file}}, queued...
[1574456555.30][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_empty_file}}, queued...
[1574456555.35][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_valid_flow_small_file}}, queued...
[1574456555.42][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_valid_flow_medium_file}}, queued...
[1574456555.47][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_valid_flow_large_file}}, queued...
[1574456555.54][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fread_valid_flow_small_file_read_more_than_write}}, queued...
[1574456555.59][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgetc_empty_file}}, queued...
[1574456555.63][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgetc_valid_flow}}, queued...
[1574456555.68][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgetc_with_fopen_w_mode}}, queued...
[1574456555.72][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_empty_file}}, queued...
[1574456555.78][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_null_buffer_zero_len}}, queued...
[1574456555.82][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_null_buffer}}, queued...
[1574456555.86][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_valid_flow}}, queued...
[1574456555.91][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_new_line}}, queued...
[1574456555.96][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgets_with_fopen_w_mode}}, queued...
[1574456556.00][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fflush_null_stream}}, queued...
[1574456556.04][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fflush_valid_flow}}, queued...
[1574456556.09][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fflush_twice}}, queued...
[1574456556.13][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fputc_valid_flow}}, queued...
[1574456556.17][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fputc_in_read_mode}}, queued...
[1574456556.21][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fputs_valid_flow}}, queued...
[1574456556.27][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fputs_in_read_mode}}, queued...
[1574456556.32][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_set}}, queued...
[1574456556.37][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_non_empty_file_seek_set}}, queued...
[1574456556.43][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_set}}, queued...
[1574456556.49][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_beyond_non_empty_file_seek_set}}, queued...
[1574456556.55][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_cur}}, queued...
[1574456556.60][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_non_empty_file_seek_cur}}, queued...
[1574456556.65][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_cur}}, queued...
[1574456556.72][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_beyond_non_empty_file_seek_cur}}, queued...
[1574456556.77][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_end}}, queued...
[1574456556.82][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_non_empty_file_seek_end}}, queued...
[1574456556.88][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_empty_file_seek_end}}, queued...
[1574456556.94][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_beyond_non_empty_file_seek_end}}, queued...
[1574456557.00][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_negative_non_empty_file_seek_end}}, queued...
[1574456557.07][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fgetpos_rewrite_check_data}}, queued...
[1574456557.11][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fscanf_valid_flow}}, queued...
[1574456557.15][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fscanf_empty_file}}, queued...
[1574456557.21][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fscanf_more_fields_than_exist}}, queued...
[1574456557.25][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fprintf_read_mode}}, queued...
[1574456557.30][CONN][INF] found KV pair in stream: {{__testcase_name;FS_freopen_point_to_same_file}}, queued...
[1574456557.36][CONN][INF] found KV pair in stream: {{__testcase_name;FS_freopen_valid_flow}}, queued...
[1574456557.40][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_one_byte_file}}, queued...
[1574456557.45][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_two_byte_file}}, queued...
[1574456557.51][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_five_byte_file}}, queued...
[1574456557.57][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_fifteen_byte_file}}, queued...
[1574456557.62][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fopen_write_five_Kbyte_file}}, queued...
[1574456557.69][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_rewrite_non_empty_file_begining}}, queued...
[1574456557.75][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_rewrite_non_empty_file_middle}}, queued...
[1574456557.81][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fseek_rewrite_non_empty_file_end}}, queued...
[1574456557.85][CONN][INF] found KV pair in stream: {{__testcase_name;FS_append_empty_file}}, queued...
[1574456557.91][CONN][INF] found KV pair in stream: {{__testcase_name;FS_append_non_empty_file}}, queued...
[1574456557.95][CONN][INF] found KV pair in stream: {{__testcase_name;FS_write_read_random_data}}, queued...
[1574456557.99][CONN][INF] found KV pair in stream: {{__testcase_name;FS_fill_data_and_seek}}, queued...
[1574456558.05][CONN][RXD]
[1574456558.05][CONN][INF] found KV pair in stream: {{__testcase_name;bd_deinit_fs_unmount}}, queued...
[1574456558.09][CONN][RXD] >>> Running case #1: 'bd_init_fs_reformat'...
[1574456558.13][CONN][INF] found KV pair in stream: {{__testcase_start;bd_init_fs_reformat}}, queued...
mbedgt: :56::FAIL: Expected 0 Was -28
[1574456600.57][CONN][RXD] :56::FAIL: Expected 0 Was -28
[1574456600.63][CONN][INF] found KV pair in stream: {{__testcase_finish;bd_init_fs_reformat;0;1}}, queued...
[1574456600.71][CONN][RXD] >>> 'bd_init_fs_reformat': 0 passed, 1 failed with reason 'Assertion Failed'
[1574456600.71][CONN][RXD]
[1574456600.77][CONN][RXD] >>> Test cases: 0 passed, 1 failed with reason 'Assertion Failed'
[1574456600.80][CONN][RXD] >>> TESTS FAILED!
[1574456600.83][CONN][INF] found KV pair in stream: {{__testcase_summary;0;1}}, queued...
[1574456600.85][CONN][INF] found KV pair in stream: {{end;failure}}, queued...
[1574456600.85][HTST][INF] __notify_complete(False)
[1574456600.85][HTST][INF] __exit_event_queue received
[1574456600.85][HTST][INF] test suite run finished after 46.72 sec...
[1574456600.86][CONN][INF] found KV pair in stream: {{__exit;0}}, queued...
[1574456600.86][CONN][INF] received special event '__host_test_finished' value='True', finishing
[1574456600.87][HTST][INF] CONN exited with code: 0
[1574456600.87][HTST][INF] Some events in queue
[1574456600.87][HTST][INF] stopped consuming events
[1574456600.87][HTST][INF] host test result() call skipped, received: False
[1574456600.87][HTST][WRN] missing __exit event from DUT
[1574456600.87][HTST][INF] calling blocking teardown()
[1574456600.87][HTST][INF] teardown() finished
[1574456600.87][HTST][INF] {{result;failure}}
mbedgt: retry mbedhtrun 1/1
mbedgt: ['mbedhtrun', '-m', 'EP_AGORA', '-p', '/dev/ttyACM0:9600', '-f', '"BUILD/tests/EP_AGORA/GCC_ARM/features/storage/TESTS/filesystem/general_filesystem/general_filesystem.hex"', '-d', '/media/chris/DAPLINK', '-c', 'default', '-t', '2600360248824e4500127008dd89002c8761000097969900', '-r', 'default', '-C', '6', '--sync', '5', '-P', '60'] failed after 1 count
mbedgt: checking for GCOV data...
mbedgt: mbed-host-test-runner: stopped and returned 'FAIL'
mbedgt: test on hardware with target id: 2600360248824e4500127008dd89002c8761000097969900
mbedgt: test suite 'features-storage-tests-filesystem-general_filesystem' ............................ FAIL in 64.02 sec
        test case: 'FS_append_empty_file' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_append_non_empty_file' ........................................................ SKIPPED in 0.00 sec
        test case: 'FS_fclose_valid_flow' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fflush_null_stream' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fflush_twice' ................................................................. SKIPPED in 0.00 sec
        test case: 'FS_fflush_valid_flow' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fgetc_empty_file' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fgetc_valid_flow' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fgetc_with_fopen_w_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_fgetpos_rewrite_check_data' ................................................... SKIPPED in 0.00 sec
        test case: 'FS_fgets_empty_file' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fgets_new_line' ............................................................... SKIPPED in 0.00 sec
        test case: 'FS_fgets_null_buffer' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fgets_null_buffer_zero_len' ................................................... SKIPPED in 0.00 sec
        test case: 'FS_fgets_valid_flow' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fgets_with_fopen_w_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_fill_data_and_seek' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_empty_path_r_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_empty_path_w_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_invalid_mode' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_path_not_valid' ......................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_read_update_create' ..................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_a_mode' ....................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_a_update_mode' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_r_mode' ....................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_r_update_mode' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_w_update_mode' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fopen_supported_wb_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_fifteen_byte_file' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_five_Kbyte_file' .................................................. SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_five_byte_file' ................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_one_byte_file' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_two_byte_file' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fopen_write_update_create' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fprintf_read_mode' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fputc_in_read_mode' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fputc_valid_flow' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fputs_in_read_mode' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fputs_valid_flow' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_empty_file' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_nmemb_zero' ............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_size_zero' .............................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_to_fwrite_file' ......................................................... SKIPPED in 0.00 sec
        test case: 'FS_fread_valid_flow_large_file' .................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_valid_flow_medium_file' ................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_valid_flow_small_file' .................................................. SKIPPED in 0.00 sec
        test case: 'FS_fread_valid_flow_small_file_read_more_than_write' ............................. SKIPPED in 0.00 sec
        test case: 'FS_fread_with_fopen_w_mode' ...................................................... SKIPPED in 0.00 sec
        test case: 'FS_freopen_point_to_same_file' ................................................... SKIPPED in 0.00 sec
        test case: 'FS_freopen_valid_flow' ........................................................... SKIPPED in 0.00 sec
        test case: 'FS_fscanf_empty_file' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fscanf_more_fields_than_exist' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fscanf_valid_flow' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fseek_beyond_non_empty_file_seek_cur' ......................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_beyond_non_empty_file_seek_end' ......................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_beyond_non_empty_file_seek_set' ......................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_empty_file_seek_cur' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_empty_file_seek_end' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_empty_file_seek_set' .................................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_negative_non_empty_file_seek_end' ....................................... SKIPPED in 0.00 sec
        test case: 'FS_fseek_non_empty_file_seek_cur' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fseek_non_empty_file_seek_end' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fseek_non_empty_file_seek_set' ................................................ SKIPPED in 0.00 sec
        test case: 'FS_fseek_rewrite_non_empty_file_begining' ........................................ SKIPPED in 0.00 sec
        test case: 'FS_fseek_rewrite_non_empty_file_end' ............................................. SKIPPED in 0.00 sec
        test case: 'FS_fseek_rewrite_non_empty_file_middle' .......................................... SKIPPED in 0.00 sec
        test case: 'FS_fwrite_nmemb_zero' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fwrite_valid_flow' ............................................................ SKIPPED in 0.00 sec
        test case: 'FS_fwrite_with_fopen_r_mode' ..................................................... SKIPPED in 0.00 sec
        test case: 'FS_write_read_random_data' ....................................................... SKIPPED in 0.00 sec
        test case: 'bd_deinit_fs_unmount' ............................................................ SKIPPED in 0.00 sec
        test case: 'bd_init_fs_reformat' ............................................................. FAIL in 42.50 sec
mbedgt: test case summary: 0 passes, 1 failure
mbedgt: utest test case summary mismatch: utest reported passes and failures miscount!
        reported by utest: passes = 0, failures 1)
        test case result count: passes = 0, failures 72)
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.1192075389
mbedgt: test suite report:
| target           | platform_name | test suite                                           | result | elapsed_time (sec) | copy_method |
|------------------|---------------|------------------------------------------------------|--------|--------------------|-------------|
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FAIL   | 64.02              | default     |
mbedgt: test suite results: 1 FAIL
mbedgt: test case report:
| target           | platform_name | test suite                                           | test case                                           | passed | failed | result  | elapsed_time (sec) |
|------------------|---------------|------------------------------------------------------|-----------------------------------------------------|--------|--------|---------|--------------------|
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_append_empty_file                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_append_non_empty_file                            | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fclose_valid_flow                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fflush_null_stream                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fflush_twice                                     | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fflush_valid_flow                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgetc_empty_file                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgetc_valid_flow                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgetc_with_fopen_w_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgetpos_rewrite_check_data                       | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_empty_file                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_new_line                                   | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_null_buffer                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_null_buffer_zero_len                       | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_valid_flow                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fgets_with_fopen_w_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fill_data_and_seek                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_empty_path_r_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_empty_path_w_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_invalid_mode                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_path_not_valid                             | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_read_update_create                         | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_a_mode                           | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_a_update_mode                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_r_mode                           | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_r_update_mode                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_w_update_mode                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_supported_wb_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_fifteen_byte_file                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_five_Kbyte_file                      | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_five_byte_file                       | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_one_byte_file                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_two_byte_file                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fopen_write_update_create                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fprintf_read_mode                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fputc_in_read_mode                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fputc_valid_flow                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fputs_in_read_mode                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fputs_valid_flow                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_empty_file                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_nmemb_zero                                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_size_zero                                  | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_to_fwrite_file                             | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_valid_flow_large_file                      | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_valid_flow_medium_file                     | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_valid_flow_small_file                      | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_valid_flow_small_file_read_more_than_write | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fread_with_fopen_w_mode                          | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_freopen_point_to_same_file                       | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_freopen_valid_flow                               | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fscanf_empty_file                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fscanf_more_fields_than_exist                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fscanf_valid_flow                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_beyond_non_empty_file_seek_cur             | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_beyond_non_empty_file_seek_end             | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_beyond_non_empty_file_seek_set             | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_empty_file_seek_cur                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_empty_file_seek_end                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_empty_file_seek_set                        | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_negative_non_empty_file_seek_end           | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_non_empty_file_seek_cur                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_non_empty_file_seek_end                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_non_empty_file_seek_set                    | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_rewrite_non_empty_file_begining            | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_rewrite_non_empty_file_end                 | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fseek_rewrite_non_empty_file_middle              | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fwrite_nmemb_zero                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fwrite_valid_flow                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_fwrite_with_fopen_r_mode                         | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | FS_write_read_random_data                           | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | bd_deinit_fs_unmount                                | 0      | 0      | SKIPPED | 0.0                |
| EP_AGORA-GCC_ARM | EP_AGORA      | features-storage-tests-filesystem-general_filesystem | bd_init_fs_reformat                                 | 0      | 1      | FAIL    | 42.5               |
mbedgt: test case results: 71 SKIPPED / 1 FAIL
mbedgt: completed in 64.15 sec
mbedgt: exited with code 1
[mbed] ERROR: "mbedgt" returned error.
       Code: 1
       Path: "/home/chris/mbed-os"
       Command: "mbedgt --test-spec ./BUILD/tests/EP_AGORA/GCC_ARM/test_spec.json -n features-storage-tests-filesystem* -V"
       Tip: You could retry the last command with "-v" flag for verbose output
---

Target(s) affected by this defect ?

EP_AGORA

Toolchain(s) (name and version) displaying this defect ?

GCC_ARM

What version of Mbed-os are you using (tag or sha) ?

master

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

1.10.1

How is this defect reproduced ?

git clone [email protected]:ARMmbed/mbed-os.git
cd mbed-os
mbed test -t GCC_ARM -m EP_AGORA -n features-storage-tests-filesystem*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions