-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add on Linux/macOS smoke tests and fix OpenAL macOS problems #54
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. NOTE: PRs from organization accounts cannot be rerendered because of GitHub |
I am afraid that this happens because mine is a fork of a fork. In any case, in this case the re-rendering is probably not necessary. |
Unfortunately the macOS build is working fine, the only failure is on Linux due to the missing yum_requirements, I will add them now. |
The Linux change of yum_requirements.txt are not working because I need to re-render the feedstock, unfortunately I need to do that manually. |
…da-forge-pinning 2021.03.02.16.00.15
I was finally able to trigger a Gazebo failure with the script in :
The error seems to be a segmentation fault, so I don't know if it is exactly the same problem of @sonelu in RoboStack/ros-noetic#55 . However, it is probably worth trying to apply the patch in gazebosim/gazebo-classic#2941 to check if it fixes the problem. Even if it does not fix it, it may be possible that the reason for which the program does not work is something else, so we could just disable the test and leave the patch. |
I have an macOS machine here. Anything I can do to help debug this? |
With |
Even with the patch from gazebosim/gazebo-classic#2941, the script https://github.com/conda-forge/gazebo-feedstock/pull/54/files#diff-43e7f7952718f9b999101617f6a78ef0c73c54eb498cfa50a4959db2a774a4ce still results in segfault, so I wonder if it is a different problem. |
I fixed your patch so that the cmake error does not occur (mixing old-style with new-style target_link_libraries, i.e. using one that specifies PRIVATE and another without specification is not supported). Let's see whether that makes the segfault disappear :) |
Thanks! I wrongly checked the previous commit. |
I propagated the fix to gazebosim/gazebo-classic#2941 . |
Still segfaulting .. |
Indeed, probably the source of segfault is not directly related to OpenAL or the failure of RoboStack/ros-noetic#55 . I wonder if we should try to get the patch in in anycase, or try to disable OpenAL on macOS (as in any case if I understood correctly OpenAL is not enable on Windows/Linux). |
Sorry for directly working on your branch - let's check whether disabling openal helps. |
No problem. With ~1.20 H debug cycle, any quick iteration is welcome. |
And still segfaulting .. same as before. So it seems unrelated .. |
I have an intel mac mini that I can test on, that has 11.X Big Sur installed. So far I am also seeing the missing _alcOpenDevice symbols problem, but I am in the process of recompiling. One (potential) source of issue is also how conda does relocation (replace the prefix string in binary). That works well for 99% of the cases (string will be padded with I was planning to run gazebo with GDB or LLDB once it's rebuilt. |
I created a small repo to build the test suite of Gazebo against conda-forge provided dependencies and to test the conda-forge binaries: https://github.com/traversaro/gazebo-conda-force-ci, that perhaps should provide us some additional info. |
The segfault of run_test.sh on macOS was reproduced in https://github.com/traversaro/gazebo-conda-force-ci/runs/2020690996 . |
So, the PR solved the |
yes, the PR has solved that issue for me! Are there other segfaults you were finding? I haven't deeply checked gazebo, so let me know if I should run any additional tests. |
Just to double check, can you verify if gzserver --verbose is running fine without any segfault? Furthermore, did you just used the latest patch of @Tobias-Fischer that completely disable OpenAL, or the one that fixes the link? |
I used
Do you want me to try with OpenAL enabled? I read that Apple is deprecating it ... |
Perfect, given that OpenAL is disabled on Windows and Linux, I think it is safe to just disable, unless some users really needs it. : ) |
Given the thumbs up, I plan to merge once CI is green. |
Added some simple execution of the Gazebo commands and check of their output. This should permit to debug if RoboStack/ros-noetic#55 is a problem in the generated binary or some specific problem in the user system.
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)