zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.85k stars 6.6k forks source link

tests/posix/fs : Dropped console output #14871

Closed cinlyooi-intel closed 5 years ago

cinlyooi-intel commented 5 years ago

Describe the bug When running the test case, I get

--- 40 messages dropped ---

Please note that the number in the message changes. In general, the ztest test case one is trying to run the larger the number.

To Reproduce Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=nrf52840_pca10056
  3. make
  4. See error

Impact

Screenshots or console output

Created dir /RAM:/testdir!
--- 40 messages dropped ---
PASS - test_fs_mkdir
===================================================================
starting test - test_fs_readdir

readdir test:

Listing dir /RAM:/testdir:
[FILE] TESTFILE.TX
PASS - test_fs_readdir
===================================================================
Test suite posix_fs_test succeeded
===================================================================

Environment (please complete the following information):

carlescufi commented 5 years ago

@cinlyooi-intel this is just a result of a buffer that is too small. You can increase the buffer size with:

CONFIG_LOG_BUFFER_SIZE=4096

in your prj.conf.

Since there are memory constraints in some of the boards I don't want to increase that size for all boards.

aescolar commented 5 years ago

Duplicate: #14903