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

Uncaught exception causing test failures in macOS #461

Closed
nuclearsandwich opened this issue Oct 9, 2020 · 5 comments
Closed

Uncaught exception causing test failures in macOS #461

nuclearsandwich opened this issue Oct 9, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@nuclearsandwich
Copy link
Member

Bug report

Required Info:

  • Operating System:
    • macOS Mojave
  • Installation type:
    • source
  • Version or commit hash:
    • master as of 23f9c4c or possibly earlier
  • DDS implementation:
    • Fast-RTPS
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

It doesn't seem to be reliably reproducible. Repeated jobs have it in at least one test over the last three nights which is the most reliability I've seen yet.

Additional information

The earliest build I've found with the error is https://ci.ros2.org/view/nightly/job/nightly_osx_repeated/2109//rcl/test_node__rmw_fastrtps_cpp_gtest_missing_result/ but even in the repeated job it has come and gone at least once between then and now.

Additional examples are https://ci.ros2.org/view/nightly/job/nightly_osx_release/1834/testReport/(root)/rcl/test_node__rmw_fastrtps_cpp_gtest_missing_result/ and https://ci.ros2.org/view/nightly/job/nightly_osx_extra_rmw_release/953/testReport/(root)/test_rmw_implementation/test_create_destroy_node__rmw_fastrtps_dynamic_cpp_gtest_missing_result/

@nuclearsandwich
Copy link
Member Author

@mjcarroll
Copy link
Member

mjcarroll commented Oct 16, 2020

Another instance of this, but this time in test_create_destroy_node__rmw_fastrpts_cpp: https://ci.ros2.org/view/nightly/job/nightly_osx_repeated/2126/testReport/junit/(root)/projectroot/test_create_destroy_node__rmw_fastrtps_cpp/

The actual error seems to be:

libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

@mjcarroll mjcarroll changed the title Unccaught exception causing test failures in macOS Uncaught exception causing test failures in macOS Oct 16, 2020
@ivanpauno ivanpauno added the bug Something isn't working label Oct 20, 2020
@chapulina
Copy link

I'd like to point out that this test has been failing consistently (20/24 past builds):

https://ci.ros2.org/view/nightly/job/nightly_osx_repeated/lastBuild/testReport/projectroot/test/test_node__rmw_fastrtps_cpp/history/

If it can't be fixed, I suggest marking it as xfail and leaving this issue open until it can be addressed.

@hidmic
Copy link
Contributor

hidmic commented Dec 22, 2020

I believe this is a duplicate of #491, which since #496 has been fixed.

@clalancette
Copy link
Contributor

The last time this failed was December 16, which is the day that #496 was merged. So I'm going to go ahead and say that this is fixed, and close it out. Do feel free to reopen if this occurs again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants