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

Test failing: pthread_cancel_test #138

Open
gonsie opened this issue Mar 9, 2023 · 0 comments
Open

Test failing: pthread_cancel_test #138

gonsie opened this issue Mar 9, 2023 · 0 comments

Comments

@gonsie
Copy link
Member

gonsie commented Mar 9, 2023

The pthread_cancel_test is failing on both Mac (hangs) and Linux (incorrectly marked as passed) systems.

Errors when running test directly on a Mac:

> ./test_axl.sh "-n" "50" "-p" "10" "-c" "1" "pthread"
Testing pthread transfer cancel after 1 seconds...	AXL 0.7.1 ERROR: titania.llnl.gov: pthread_join failed, rc_ptr 0x7ffee7faf81c @ axl_pthread_cancel /Users/gonsiorowski1/Projects/scr-top/axl/src/axl_pthread.c:496
AXL 0.7.1 ERROR: titania.llnl.gov: pthread_join failed, rc_ptr 0x7000058738ec @ axl_pthread_cancel /Users/gonsiorowski1/Projects/scr-top/axl/src/axl_pthread.c:496
AXL 0.7.1 ERROR: titania.llnl.gov: pthread_join failed, rc_ptr 0x7000058738ec @ axl_pthread_cancel /Users/gonsiorowski1/Projects/scr-top/axl/src/axl_pthread.c:496
fish: Job 1, './test_axl.sh "-n" "50" "-p" "1…' terminated by signal SIGTERM (Polite quit request)

Output on linux:

test 4
    Start 4: pthreads_cancel_test

4: Test command: /g/g0/gonsie/Projects/SCR/scr-top/build-quartz/axl-prefix/src/axl-build/test/test_axl.sh "-n" "100" "-p" "1000" "-c" "1" "pthread"
4: Test timeout computed to be: 120
4: Testing pthread transfer cancel after 1 seconds...	AXL 0.7.1 ERROR: quartz1538: pthread_join failed, rc_ptr 0x2aaaaacd76f3 @ axl_pthread_cancel /g/g0/gonsie/Projects/SCR/scr-top/axl/src/axl_pthread.c:496
4: AXL 0.7.1 ERROR: quartz1538: Bad return code from canceling a thread @ axl_pthread_cancel /g/g0/gonsie/Projects/SCR/scr-top/axl/src/axl_pthread.c:502
4: axl_cp SIGTERM: AXL_Cancel failed (-1)success
4/7 Test #4: pthreads_cancel_test .............   Passed    1.21 sec

I am disabling this test for PR #136.

@tonyhutter can you help?

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