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

EventTest is failing on Mac (mutex lock failed: Invalid argument) #3063

Open
j-rivero opened this issue Aug 13, 2021 · 0 comments
Open

EventTest is failing on Mac (mutex lock failed: Invalid argument) #3063

j-rivero opened this issue Aug 13, 2021 · 0 comments
Assignees
Labels

Comments

@j-rivero
Copy link
Contributor

Following the comment on #3042 (comment). The EventTest after changes in #3042 is failing on Mac.

25: [ RUN      ] EventTest.RaceConditions
25: Start create connections thread
25: Start access thread
25: Start remove thread
25: libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
 25/416 Test  #25: UNIT_Event_TEST .......................................Subprocess aborted***Exception:   3.42 sec
test 26
        Start  26: check_UNIT_Event_TEST

26: Test command: /Users/jenkins/workspace/gazebo-ci-pr_any-homebrew-amd64/gazebo/tools/check_test_ran.py "/Users/jenkins/workspace/gazebo-ci-pr_any-homebrew-amd64/build/test_results/UNIT_Event_TEST.xml"
26: Test timeout computed to be: 10000000
26: Checking for test results in /Users/jenkins/workspace/gazebo-ci-pr_any-homebrew-amd64/build/test_results/UNIT_Event_TEST.xml
26: Cannot find results, writing failure results to /Users/jenkins/workspace/gazebo-ci-pr_any-homebrew-amd64/build/test_results/UNIT_Event_TEST.xml
 26/416 Test  #26: check_UNIT_Event_TEST .................................***Failed    0.06 sec

I was unable to trigger the problem on Linux when creating the test and trying to reproduce race conditions but seems like Mac could be affected (or the test implementation is buggy).

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

No branches or pull requests

1 participant