Skip to content
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

ntco_ioring.t TC1 constantly fails #77

Open
smtrfnv opened this issue Sep 7, 2023 · 0 comments
Open

ntco_ioring.t TC1 constantly fails #77

smtrfnv opened this issue Sep 7, 2023 · 0 comments

Comments

@smtrfnv
Copy link
Contributor

smtrfnv commented Sep 7, 2023

Describe the bug
Completion queue is overflowed during TC1 and thus assertion happens. See attached logs
ntco_ioring.t_assertion.txt

To Reproduce
Steps to reproduce the behavior:

  1. build ntco_iuring.t
  2. execute TC1
  3. See assertion
[ F ][ 06SEP2023_05:34:09.243 ][             main ][                   ntco_ioring.t.cpp:1365 ]: Assertion failed: result[i] == id
Found:    21 (result[i])
Expected: 8 (id)

Environment (please complete the following information):

/bloomberg/ntf-core$ uname -a
Linux CN-HP02 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Additional context
According to my understanding that happens because submission queue has capacity of 4 entries, completion queue has capacity of 8 entries, but this code:

        for (bsl::size_t id = 0; id < k_SUBMISSION_COUNT; ++id) {
            NTCO_IORING_TEST_LOG_PUSH_STARTING(test, id);
            test->defer(id);
            NTCO_IORING_TEST_LOG_PUSH_COMPLETE(test, id);
        }

tries to push 24 entries into the system. No way that can be handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant