You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
build ntco_iuring.t
execute TC1
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.
The text was updated successfully, but these errors were encountered:
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:
Environment (please complete the following information):
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:
tries to push 24 entries into the system. No way that can be handled.
The text was updated successfully, but these errors were encountered: