-
Notifications
You must be signed in to change notification settings - Fork 935
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
fix clang-tidy CI job #2792
fix clang-tidy CI job #2792
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2792 +/- ##
==========================================
+ Coverage 60.45% 60.45% +0.01%
==========================================
Files 366 366
Lines 31673 31673
==========================================
+ Hits 19144 19146 +2
+ Misses 12529 12527 -2
Continue to review full report at Codecov.
|
does anyone see a connection between this pr and a bullet collision test failing with bad_alloc or has seen this failure before? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see anything related to bullet. Is this repeatable? Also, FCL seems to fail for the same reason now.
Sorry, it is related to FCL indeed. I misread the logs before. |
As a general update:
- The problem relates to clang and is not present with gcc
- The test breaks with clang 10,11,12 in Release builds
- compiling in Debug mode fixes the problem
This is getting really annoying.
|
I just distilled my insights from late-night debugging into a If CI succeeds now I would still propose to merge it for now with an urgent followup TODO to unblock CI. |
3b9977d threw away the clang build we setup for travis. However, we definitely want to have a CI job running with clang and clang-tidy seems to reuse arguments generated by cmake for the gcc compiler...
FCLDistanceCheckPanda/DistanceFullPandaTest/0 fails with unknown file C++ exception with description "std::bad_alloc" thrown in the test body.
This succeeds as soon as moveit/moveit_visual_tools#96 and PickNikRobotics/rviz_visual_tools#195 are merged, so I'll remove the WIP label already. |
Did you mean to link the same PR twice or is there another PR that is also needed? |
updated above, sorry for the broken c&p. |
I don't like the fix of changing the optimization level but I don't have time or any better ideas at the moment. I'll merge this and create an issue for fixing it better. |
which was disabled in moveit#2792
#2790 and #2674 currently show that the clang-tidy job broke, likely due to 55886f7 .
Recovering the clang-tidy job might fail for a variety of reasons, so I will mark this as WIP.
Anyone, feel free to fix and merge this if you have time.