fix: Set GZ_IP on all types of tests #4047
Approved these changes.
@mergifyio backport gz-sim10 gz-sim8 gz-sim9 ign-gazebo6
backport gz-sim10 gz-sim8 gz-sim9 ign-gazebo6✅ Backports have been created
<details>
#4053 fix: Set GZ_IP on all types of tests (backport #4047) has been created for branch gz-sim10 but encountered conflicts
Cherry-pick of c46e4708b37d42e851d0a0fc8c467a3b887114f6 has failed:
On branch mergify/bp/gz-sim10/pr-4047
Your branch is up to date with 'origin/gz-sim10'.
You are currently cherry-picking commit c46e470.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: src/CMakeLists.txt
modified: src/cmd/CMakeLists.txt
modified: src/gui/CMakeLists.txt
modified: src/gui/plugins/CMakeLists.txt
modified: src/systems/environmental_sensor_system/CMakeLists.txt
modified: src/systems/hydrodynamics/CMakeLists.txt
modified: src/systems/logical_audio_sensor_plugin/CMakeLists.txt
modified: src/systems/physics/CMakeLists.txt
modified: test/performance/CMakeLists.txt
modified: test/regression/CMakeLists.txt
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: src/systems/diff_drive/CMakeLists.txt
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
#4054 fix: Set GZ_IP on all types of tests (backport #4047) has been created for branch gz-sim8 but encountered conflicts
Cherry-pick of c46e4708b37d42e851d0a0fc8c467a3b887114f6 has failed:
On branch mergify/bp/gz-sim8/pr-4047
Your branch is up to date with 'origin/gz-sim8'.
You are currently cherry-picking commit c46e470.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: src/CMakeLists.txt
modified: src/gui/CMakeLists.txt
modified: src/gui/plugins/CMakeLists.txt
modified: src/systems/environmental_sensor_system/CMakeLists.txt
modified: src/systems/hydrodynamics/CMakeLists.txt
modified: src/systems/logical_audio_sensor_plugin/CMakeLists.txt
modified: src/systems/physics/CMakeLists.txt
modified: test/performance/CMakeLists.txt
modified: test/regression/CMakeLists.txt
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: src/cmd/CMakeLists.txt
both modified: src/systems/diff_drive/CMakeLists.txt
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
#4055 fix: Set GZ_IP on all types of tests (backport #4047) has been created for branch gz-sim9 but encountered conflicts
Cherry-pick of c46e4708b37d42e851d0a0fc8c467a3b887114f6 has failed:
On branch mergify/bp/gz-sim9/pr-4047
Your branch is up to date with 'origin/gz-sim9'.
You are currently cherry-picking commit c46e470.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: src/CMakeLists.txt
modified: src/cmd/CMakeLists.txt
modified: src/gui/CMakeLists.txt
modified: src/gui/plugins/CMakeLists.txt
modified: src/systems/environmental_sensor_system/CMakeLists.txt
modified: src/systems/hydrodynamics/CMakeLists.txt
modified: src/systems/logical_audio_sensor_plugin/CMakeLists.txt
modified: src/systems/physics/CMakeLists.txt
modified: test/performance/CMakeLists.txt
modified: test/regression/CMakeLists.txt
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: src/systems/diff_drive/CMakeLists.txt
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
#4056 fix: Set GZ_IP on all types of tests (backport #4047) has been created for branch ign-gazebo6 but encountered conflicts
Cherry-pick of c46e4708b37d42e851d0a0fc8c467a3b887114f6 has failed:
On branch mergify/bp/ign-gazebo6/pr-4047
Your branch is up to date with 'origin/ign-gazebo6'.
You are currently cherry-picking commit c46e470.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Unmerged paths:
(use "git add/rm <file>..." as appropriate to mark resolution)
both modified: src/CMakeLists.txt
both modified: src/cmd/CMakeLists.txt
both modified: src/gui/CMakeLists.txt
both modified: src/gui/plugins/CMakeLists.txt
both modified: src/systems/diff_drive/CMakeLists.txt
deleted by us: src/systems/environmental_sensor_system/CMakeLists.txt
both modified: src/systems/hydrodynamics/CMakeLists.txt
both modified: src/systems/logical_audio_sensor_plugin/CMakeLists.txt
both modified: src/systems/physics/CMakeLists.txt
both modified: test/performance/CMakeLists.txt
both modified: test/regression/CMakeLists.txt
no changes added to commit (use "git add" and/or "git commit -a")
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
</details>
ahcorde
azeey
🦟 Bug fix
Summary
Currently, only integration tests set GZ_IP, but many of our unit and other types of tests use gz-transport. I noticed the error "Exception sending a multicast message:No route to host" on
UNIT_Server_TESTrunning on macOS (see https://build.osrfoundation.org/job/gz_sim-ci-pr_any-homebrew-arm64/2165/consoleText). Setting GZ_IP should eliminate this.Backport Policy
<!-- Should this PR be backported to older versions? Important factors to consider include API/ABI and behavior changes. If so, which versions? Choose one pre-written option or suggest your own. If you're unsure leave this empty and let the maintainer advise. -->
- [x] Jetty
- [x] Ionic
- [x] Harmonic
- [x] Fortress
Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-byandGenerated-bymessages.Backports: If this is a backport, please use Rebase and Merge instead.