-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
tests: subsys: canbus: isotp: implementation: fails on nucleo_g474re #35760
Comments
@alexanderwachter Is there something I miss to pass the test, any loopback wire, transceiver, ...? |
@ABOSTM no external fixture is required to run the test. Edit: Ran the test with a few modifications, but the test passes also as is. |
We have issues with that tests ATM. There are race conditions in the testcase (context is reused before the work queue item was processed). |
@str4t0m I still reproduce the issue with latest main |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
@alexanderwachter, |
@alexanderwachter gentle ping. |
I think this error is due to a re-use of the tx context before the the workqueue has finished. Needs a fix in either the tests, or better prevent such a situation in the stack somehow. @legoabram you have been hunting this bug lately. Any news? |
At the very least, I can confirm that this is the case. There are also some issues related to corrupting the work queue stack by reinitializing the work item before it's completely done. I haven't had to time to work on a fix, but I think the cleanest fix is to modify the library so that anything in the context is fully deallocated or uninitialized before notifying the user that the operation is complete. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Describe the bug
tests/subsys/canbus/isotp/implementation/ fails on nucleo_g474re.
This test is failed on main branch.
But even when reverting to original introduction of FDCAN on nucleo_g474re,
#31061 with sha1 3b2fd1c
it is still failed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
test passed
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: