Skip to content
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

UNIT_ModelCommandAPI_TEST flaky on macOS CI #1396

Open
azeey opened this issue Mar 17, 2022 · 0 comments
Open

UNIT_ModelCommandAPI_TEST flaky on macOS CI #1396

azeey opened this issue Mar 17, 2022 · 0 comments
Labels
bug Something isn't working macOS macOS support tests Broken or missing tests / testing infra

Comments

@azeey
Copy link
Contributor

azeey commented Mar 17, 2022

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 azeey added the bug Something isn't working label Mar 17, 2022
@chapulina chapulina added tests Broken or missing tests / testing infra macOS macOS support labels Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS macOS support tests Broken or missing tests / testing infra
Projects
None yet
Development

No branches or pull requests

2 participants