gz-sim
gz-sim copied to clipboard
:man_farmer: `UNIT_Server_TEST` flaky on Citadel + MacOS
Environment
- OS Version: homebrew buildfarm
- Source, this job: https://build.osrfoundation.org/job/ignition_gazebo-ci-ign-gazebo3-homebrew-amd64
Test #25: UNIT_Server_TEST .....................................***Exception: SegFault 8.12 sec
Description
- Expected behavior: The tests pass
- Actual behavior: Sometimes they fail
Steps to reproduce
- Run a buildfarm gz-sim3 homebrew job
- Repeat step 1 until you see the error appearing.
Additional (reference) info
I have seen these two tests flakily segfaulting:
https://github.com/gazebosim/gz-sim/blob/dc5f117da91b19611bc244dd1ecbb04fc858140d/src/Server_TEST.cc#L681 https://github.com/gazebosim/gz-sim/blob/dc5f117da91b19611bc244dd1ecbb04fc858140d/src/Server_TEST.cc#L721
The flaky nature and the fact that it's segfaulting while setting up the server, makes me think it's related to: https://github.com/gazebosim/gz-sim/issues/630
Reference jobs
https://build.osrfoundation.org/job/ignition_gazebo-ci-ign-gazebo3-homebrew-amd64/222/ https://build.osrfoundation.org/job/ignition_gazebo-ci-ign-gazebo3-homebrew-amd64/219/ https://build.osrfoundation.org/job/ignition_gazebo-ci-ign-gazebo3-homebrew-amd64/211/