gz-sim icon indicating copy to clipboard operation
gz-sim copied to clipboard

UNIT_ModelCommandAPI_TEST flaky on macOS CI

Open azeey opened this issue 2 years ago • 0 comments

Environment

  • OS Version: macOS
  • Source or binary build? ign-gazebo6

Description

  • Expected behavior: Test to pass
  • Actual behavior: Fails most of the time with a segfault
Test Log
test 51
        Start  51: UNIT_ModelCommandAPI_TEST

51: Test command: /Users/jenkins/workspace/ignition_gazebo-ci-ign-gazebo6-homebrew-amd64/build/bin/UNIT_ModelCommandAPI_TEST "--gtest_output=xml:/Users/jenkins/workspace/ignition_gazebo-ci-ign-gazebo6-homebrew-amd64/build/test_results/UNIT_ModelCommandAPI_TEST.xml"
51: Environment variables: 
51:  IGN_CONFIG_PATH=/Users/jenkins/workspace/ignition_gazebo-ci-ign-gazebo6-homebrew-amd64/build/test/conf
51:  IGN_GAZEBO_SYSTEM_PLUGIN_PATH=/Users/jenkins/workspace/ignition_gazebo-ci-ign-gazebo6-homebrew-amd64/build/lib
51: Test timeout computed to be: 240
51: [==========] Running 7 tests from 1 test suite.
51: [----------] Global test environment set-up.
51: [----------] 7 tests from ModelCommandAPI
51: [ RUN      ] ModelCommandAPI.NoServerRunning
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model --list ]
51: [       OK ] ModelCommandAPI.NoServerRunning (5515 ms)
51: [ RUN      ] ModelCommandAPI.Commands
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model --list]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue --pose ]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue --link]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue --link caster]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue --joint]
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m vehicle_blue --joint caster_wheel]
51: [       OK ] ModelCommandAPI.Commands (7223 ms)
51: [ RUN      ] ModelCommandAPI.AirPressureSensor
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m air_pressure_model -l link -s air_pressure_sensor]
51: [       OK ] ModelCommandAPI.AirPressureSensor (1026 ms)
51: [ RUN      ] ModelCommandAPI.AltimeterSensor
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m altimeter_model -l link -s altimeter_sensor]
51: [       OK ] ModelCommandAPI.AltimeterSensor (1154 ms)
51: [ RUN      ] ModelCommandAPI.GpuLidarSensor
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m gpu_lidar -l gpu_lidar_link -s gpu_lidar]
51: [       OK ] ModelCommandAPI.GpuLidarSensor (913 ms)
51: [ RUN      ] ModelCommandAPI.MagnetometerSensor
51: Running command [/usr/local/opt/ruby/bin/ruby /usr/local/bin/ign model -m magnetometer_model -l link -s magnetometer_sensor]
51: [       OK ] ModelCommandAPI.MagnetometerSensor (1064 ms)
51: [ RUN      ] ModelCommandAPI.RgbdCameraSensor
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:966]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Failed to create window : NSWindow drag regions should only be invalidated on the Main Thread! in CocoaWindow::createNewWindow at /tmp/ogre2.2-20220216-32254-slhc0l/ogre-next-312bf406a77244afe230930e67e3e5d52a119507/RenderSystems/GL3Plus/src/windowing/OSX/OgreOSXCocoaWindow.mm (line 695)
51: [Err] [Ogre2RenderEngine.cc:974] Unable to create the rendering window after [11] attempts.
51: [Err] [Ogre2RenderEngine.cc:895] Failed to create dummy render window.
 51/218 Test  #51: UNIT_ModelCommandAPI_TEST ..............................***Exception: SegFault 18.48 sec

azeey avatar Mar 17 '22 18:03 azeey