-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
CoreCLR PAL tests on QNX: Crashes and exceptions not reported as FAILED #35119
Comments
Tagging subscribers to this area: @ViktorHofer |
I'll take a look to see whether that is something specific to the QNX port or if we've regressed there. |
It seems this problem is specific to QNX somehow. I've tried to induce a SIGSEGV into the paltest_fprintf_test2 and the test was reported as failed.
|
The failure is determined based on the exit code that we extract like this after the test completion or crash:
I wonder if it is possible that on QNX, SIGSEGV and similar failures are not projected into the exit code. You can try to echo the TEST_EXIT_CODE to console after each test here: |
@janvorli Thanks! I will take a look at from QNX's side. |
@janvorli How about these exceptions? |
@guesshe regarding the SIGSEGVs, I cannot really give you any hints until you have stack trace at the exception. |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
Trying to port coreclr to QNX platform and during pal test suite execution, crashes and exceptions are not reported as FAILED status. The overall test cases are still PASSED but hello_world.dll can' be launched. Following are the crashes and exceptions encountered.
...'paltest_namedmutex_test1' failed at line 397. Expression: m != nullptr
'paltest_namedmutex_test1' failed at line 463. Expression: m2 != nullptr
'paltest_namedmutex_test1' failed at line 556. Expression: m != nullptr
'paltest_namedmutex_test1' failed at line 670. Expression: m != nullptr
'paltest_namedmutex_test1' failed at line 287. Expression: parentEvents[i] != nullptr
'paltest_namedmutex_test1' failed at line 695. Expression: InitializeParent(testName, parentEvents, childEvents)
'paltest_namedmutex_test1' failed at line 930. Expression: AbandonTests_Parent()
'paltest_namedmutex_test1' failed at line 273. Expression: WaitForSingleObject(childRunningEvent, FailTimeoutMilliseconds) == WAIT_OBJECT_0
'paltest_namedmutex_test1' failed at line 320. Expression: AcquireChildRunningEvent(testName, childRunningEvent)
'paltest_namedmutex_test1' failed at line 759. Expression: InitializeChild(testName, childRunningEvent, parentEvents, childEvents)
........ReleaseMutex() test returned 0.
Here is the final output
Finished running PAL tests.
PAL Test Results:
Passed: 726
Failed: 0
The text was updated successfully, but these errors were encountered: