Skip to content

tests/posix/fs : Dropped console output #14871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cinlyooi-intel opened this issue Mar 25, 2019 · 2 comments
Closed

tests/posix/fs : Dropped console output #14871

cinlyooi-intel opened this issue Mar 25, 2019 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug Duplicate This issue is a duplicate of another issue (please specify) priority: low Low impact/importance bug

Comments

@cinlyooi-intel
Copy link
Contributor

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

  • The test harness in testcase.yaml will report that the test case failed. It is relying on finding all the expected Pass - test_fs_xxx lines but cannot get all of them, because a significant number of them are in part of the messages that were deleted.
  • Visually, we cannot confirm all test cases passed because we are not seeing all the Pass - test_fs_xxx lines. Instead, we trust Test suite posix_fs_test succeeded to confirm to us that all test passed.

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):

  • OS: fedora29
  • Toolchain : zephyr
  • Commit SHA or Version used: 5d35b66
@cinlyooi-intel cinlyooi-intel added the bug The issue is a bug, or the PR is fixing a bug label Mar 25, 2019
@cinlyooi-intel cinlyooi-intel changed the title tests/posix/fs : Deleted tests/posix/fs : Deleted console output Mar 25, 2019
@rljordan-zz rljordan-zz added the priority: low Low impact/importance bug label Mar 26, 2019
@galak galak changed the title tests/posix/fs : Deleted console output tests/posix/fs : Dropped console output Mar 26, 2019
@carlescufi
Copy link
Member

@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 aescolar added the Duplicate This issue is a duplicate of another issue (please specify) label Mar 26, 2019
@aescolar
Copy link
Member

Duplicate: #14903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug Duplicate This issue is a duplicate of another issue (please specify) priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants