Source or binary build? source build of ign-gazebo6 61df2c3abe88bd8c428dde3e823227ff9a4671ed
Description
Expected behavior: SimulationRunner_TEST test should pass
Actual behavior: SimulationRunner_TEST seg-faults during the ServerRepeat/SimulationRunnerTest.GuiInfo/0 test case if all tests are run sequentially. Running the GuiInfo test case individually will pass successfully.
$ bin/UNIT_SimulationRunner_TEST
Running main() from /Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/gtest/src/gtest_main.cc
Note: Google Test filter = *u*
[==========] Running 13 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 13 tests from ServerRepeat/SimulationRunnerTest
[ RUN ] ServerRepeat/SimulationRunnerTest.CreateEntities/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:1027] Loaded (3) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/build/test/fake_home/.ignition/gazebo/6/server.config]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/default/create]
[Msg] Remove service on [/world/default/remove]
[Msg] Pose service on [/world/default/set_pose]
[Msg] Pose service on [/world/default/set_pose_vector]
[Msg] Light configuration service on [/world/default/light_config]
[Msg] Physics service on [/world/default/set_physics]
[Msg] SphericalCoordinates service on [/world/default/set_spherical_coordinates]
[Msg] Enable collision service on [/world/default/enable_collision]
[Msg] Disable collision service on [/world/default/disable_collision]
[Msg] Material service on [/world/default/visual_config]
[Msg] Material service on [/world/default/wheel_slip]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [1ms] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[ OK ] ServerRepeat/SimulationRunnerTest.CreateEntities/0 (516 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.CreateLights/0
[Msg] Serving entity system service on [/entity/system/add]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/lights/control], [/world/lights/control/state] and [/world/lights/playback/control]
[Msg] Serving GUI information on [/world/lights/gui/info]
[Msg] World [lights] initialized with [1ms] physics profile.
[Msg] Serving world SDF generation service on [/world/lights/generate_world_sdf]
[ OK ] ServerRepeat/SimulationRunnerTest.CreateLights/0 (107 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.CreateJointEntities/0
[Msg] Serving entity system service on [/entity/system/add]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [fast] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[ OK ] ServerRepeat/SimulationRunnerTest.CreateJointEntities/0 (217 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.Time/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:1027] Loaded (3) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/build/test/fake_home/.ignition/gazebo/6/server.config]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/default/create]
[Msg] Remove service on [/world/default/remove]
[Msg] Pose service on [/world/default/set_pose]
[Msg] Pose service on [/world/default/set_pose_vector]
[Msg] Light configuration service on [/world/default/light_config]
[Msg] Physics service on [/world/default/set_physics]
[Msg] SphericalCoordinates service on [/world/default/set_spherical_coordinates]
[Msg] Enable collision service on [/world/default/enable_collision]
[Msg] Disable collision service on [/world/default/disable_collision]
[Msg] Material service on [/world/default/visual_config]
[Msg] Material service on [/world/default/wheel_slip]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [1ms] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Dbg] [SimulationRunner.cc:491] Creating PostUpdate worker threads: 2
[Dbg] [SimulationRunner.cc:502] Creating postupdate worker thread (0)
[Msg] Serving scene information on [/world/default/scene/info]
[Msg] Serving graph information on [/world/default/scene/graph]
[Msg] Serving full state on [/world/default/state]
[Msg] Serving full state (async) on [/world/default/state_async]
[Msg] Publishing scene information on [/world/default/scene/info]
[Msg] Publishing entity deletions on [/world/default/scene/deletion]
[Msg] Publishing state changes on [/world/default/state]
[Msg] Publishing pose messages on [/world/default/pose/info]
[Msg] Publishing dynamic pose messages on [/world/default/dynamic_pose/info]
[Dbg] [SimulationFeatures.cc:63] Simulation timestep set to: 0.002
[Dbg] [SimulationRunner.cc:518] Exiting postupdate worker thread (0)
[ OK ] ServerRepeat/SimulationRunnerTest.Time/0 (92280 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadPlugins/0
[Msg] Serving entity system service on [/entity/system/add]
[Dbg] [TestWorldSystem.hh:45] Constructing TestWorldSystem
[Dbg] [TestWorldSystem.hh:58] Configuring TestWorldSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestWorldSystem] for entity [1]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [4]
[Dbg] [TestSensorSystem.hh:46] Constructing TestSensorSystem
[Dbg] [TestSensorSystem.hh:66] Configuring TestSensorSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestSensorSystem] for entity [7]
[Dbg] [TestVisualSystem.hh:46] Constructing TestVisualSystem
[Dbg] [TestVisualSystem.hh:66] Configuring TestVisualSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestVisualSystem] for entity [6]
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [fast] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[Dbg] [TestVisualSystem.hh:51] Destroying TestVisualSystem
[Dbg] [TestSensorSystem.hh:51] Destroying TestSensorSystem
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[Dbg] [TestWorldSystem.hh:50] Destroying TestWorldSystem
[ OK ] ServerRepeat/SimulationRunnerTest.LoadPlugins/0 (117 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadServerNoPlugins/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:947] Loaded (2) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/worlds/server_valid2.config]
[Dbg] [TestWorldSystem.hh:45] Constructing TestWorldSystem
[Dbg] [TestWorldSystem.hh:58] Configuring TestWorldSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestWorldSystem] for entity [1]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [4]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [fast] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[Dbg] [TestWorldSystem.hh:50] Destroying TestWorldSystem
[ OK ] ServerRepeat/SimulationRunnerTest.LoadServerNoPlugins/0 (90 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadServerConfigPlugins/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Dbg] [TestWorldSystem.hh:45] Constructing TestWorldSystem
[Dbg] [TestWorldSystem.hh:58] Configuring TestWorldSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestWorldSystem] for entity [1]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [4]
[Dbg] [TestSensorSystem.hh:46] Constructing TestSensorSystem
[Dbg] [TestSensorSystem.hh:66] Configuring TestSensorSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestSensorSystem] for entity [6]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [fast] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[Dbg] [TestSensorSystem.hh:51] Destroying TestSensorSystem
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[Dbg] [TestWorldSystem.hh:50] Destroying TestWorldSystem
[ OK ] ServerRepeat/SimulationRunnerTest.LoadServerConfigPlugins/0 (103 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadPluginsDefault/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:947] Loaded (3) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/include/ignition/gazebo/server.config]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/default/create]
[Msg] Remove service on [/world/default/remove]
[Msg] Pose service on [/world/default/set_pose]
[Msg] Pose service on [/world/default/set_pose_vector]
[Msg] Light configuration service on [/world/default/light_config]
[Msg] Physics service on [/world/default/set_physics]
[Msg] SphericalCoordinates service on [/world/default/set_spherical_coordinates]
[Msg] Enable collision service on [/world/default/enable_collision]
[Msg] Disable collision service on [/world/default/disable_collision]
[Msg] Material service on [/world/default/visual_config]
[Msg] Material service on [/world/default/wheel_slip]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [fast] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[ OK ] ServerRepeat/SimulationRunnerTest.LoadPluginsDefault/0 (127 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadPluginsEvent/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:1027] Loaded (3) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/build/test/fake_home/.ignition/gazebo/6/server.config]
[Dbg] [Physics.cc:803] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics5/5.2.0/lib/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/default/create]
[Msg] Remove service on [/world/default/remove]
[Msg] Pose service on [/world/default/set_pose]
[Msg] Pose service on [/world/default/set_pose_vector]
[Msg] Light configuration service on [/world/default/light_config]
[Msg] Physics service on [/world/default/set_physics]
[Msg] SphericalCoordinates service on [/world/default/set_spherical_coordinates]
[Msg] Enable collision service on [/world/default/enable_collision]
[Msg] Disable collision service on [/world/default/disable_collision]
[Msg] Material service on [/world/default/visual_config]
[Msg] Material service on [/world/default/wheel_slip]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control]
[Msg] Serving GUI information on [/world/default/gui/info]
[Msg] World [default] initialized with [1ms] physics profile.
[Msg] Serving world SDF generation service on [/world/default/generate_world_sdf]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [4]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [12]
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Dbg] [SimulationRunner.cc:491] Creating PostUpdate worker threads: 2
[Dbg] [SimulationRunner.cc:502] Creating postupdate worker thread (0)
[Msg] Serving scene information on [/world/default/scene/info]
[Msg] Serving graph information on [/world/default/scene/graph]
[Msg] Serving full state on [/world/default/state]
[Msg] Serving full state (async) on [/world/default/state_async]
[Msg] Publishing scene information on [/world/default/scene/info]
[Msg] Publishing entity deletions on [/world/default/scene/deletion]
[Msg] Publishing state changes on [/world/default/state]
[Msg] Publishing pose messages on [/world/default/pose/info]
[Msg] Publishing dynamic pose messages on [/world/default/dynamic_pose/info]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [8]
[Dbg] [SimulationRunner.cc:518] Exiting postupdate worker thread (0)
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[ OK ] ServerRepeat/SimulationRunnerTest.LoadPluginsEvent/0 (348 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.LoadOnlyModelPlugin/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Linear velocity initialized to [0.3 0 0]
[Msg] Angular velocity initialized to [0 0 -0.1]
[Msg] VelocityControl subscribing to twist messages on [/model/box/cmd_vel]
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::systems::VelocityControl] for entity [4]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:947] Loaded (2) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/worlds/server_valid2.config]
[Dbg] [TestWorldSystem.hh:45] Constructing TestWorldSystem
[Dbg] [TestWorldSystem.hh:58] Configuring TestWorldSystem
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestWorldSystem] for entity [1]
[Dbg] [TestModelSystem.hh:47] Constructing TestModelSystem
[Dbg] [TestModelSystem.hh:67] Configuring TestModelSystem
[Err] [TestModelSystem.hh:83] Failed to find link
[Dbg] [SystemManager.cc:67] Loaded system [ignition::gazebo::TestModelSystem] for entity [4]
[Msg] Serving world controls on [/world/model_plugin_only/control], [/world/model_plugin_only/control/state] and [/world/model_plugin_only/playback/control]
[Msg] Serving GUI information on [/world/model_plugin_only/gui/info]
[Msg] World [model_plugin_only] initialized with [default_physics] physics profile.
[Msg] Serving world SDF generation service on [/world/model_plugin_only/generate_world_sdf]
[Dbg] [TestWorldSystem.hh:50] Destroying TestWorldSystem
[Dbg] [TestModelSystem.hh:52] Destroying TestModelSystem
[ OK ] ServerRepeat/SimulationRunnerTest.LoadOnlyModelPlugin/0 (103 ms)
[ RUN ] ServerRepeat/SimulationRunnerTest.GuiInfo/0
[Msg] Serving entity system service on [/entity/system/add]
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:947] Loaded (2) plugins from file [/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/test/worlds/server_valid2.config]
[Dbg] [TestWorldSystem.hh:45] Constructing TestWorldSystem
[Dbg] [TestWorldSystem.hh:58] Configuring TestWorldSystem
Segmentation fault: 11
Environment
Description
SimulationRunner_TEST
test should passSimulationRunner_TEST
seg-faults during theServerRepeat/SimulationRunnerTest.GuiInfo/0
test case if all tests are run sequentially. Running theGuiInfo
test case individually will pass successfully.Steps to reproduce
ign-gazebo6
bin/UNIT_SimulationRunner_TEST
Output
https://build.osrfoundation.org/view/ign-fortress/job/ignition_gazebo-ci-ign-gazebo6-homebrew-amd64/143/testReport/(root)/UNIT_SimulationRunner_TEST/test_ran/
Console output:
Backtrace: