gazebosim / gz-sensors

Provides numerous sensor models designed to generate realistic data from simulation environments.
https://gazebosim.org
Apache License 2.0
63 stars 58 forks source link

Garden: Tests for rendering sensors failing on Windows #284

Open scpeters opened 2 years ago

scpeters commented 2 years ago

Environment

Description

Steps to reproduce

  1. Run https://build.osrfoundation.org/view/ign-garden/job/ign_sensors-gz-7-win/ build

Output

From https://build.osrfoundation.org/view/ign-garden/job/ign_sensors-gz-7-win/13/consoleText

The following tests FAILED:
     17 - INTEGRATION_camera (Failed)
     19 - INTEGRATION_depth_camera (Failed)
     21 - INTEGRATION_distortion_camera (Failed)
     23 - INTEGRATION_gpu_lidar_sensor (Failed)
     25 - INTEGRATION_rgbd_camera (Failed)
     29 - INTEGRATION_thermal_camera (Failed)
     31 - INTEGRATION_triggered_camera (Failed)
     33 - INTEGRATION_wide_angle_camera (Failed)

A representative sample of the console output containing Ogre/ShadowExtrudePointLight not found:

31: [ RUN      ] CameraSensor/TriggeredCameraTest.ImagesWithBuiltinSDF/ogre
31: No HOME defined in the environment. Will not log.
31: [Msg] Loading plugin [gz-rendering-ogre]
31: [Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:296] Camera images for [camera1] advertised on [/test/integration/TriggeredCameraPlugin_imagesWithBuiltinSDF]
31: [Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:320] Camera trigger messages for [camera1] subscribed on [/test/integration/TriggeredCameraPlugin_imagesWithBuiltinSDF/trigger]
31: [Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:601] Camera info for [camera1] advertised on [/test/integration/camera_info]
31: [Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:414] Enabling camera sensor: 'camera1' data generation.
31: unknown file: error: C++ exception with description "Ogre::RuntimeAssertionException::RuntimeAssertionException: Ogre/ShadowExtrudePointLight not found. Verify that you referenced the 'ShadowVolume' folder in your resources.cfg in Ogre::ShadowVolumeExtrudeProgram::initialise at C:\vcpkg\buildtrees\ogre\src\eddf310f0b-6ab1152694.clean\OgreMain\src\OgreShadowVolumeExtrudeProgram.cpp (line 71)" thrown in the test body.
31: [  FAILED  ] CameraSensor/TriggeredCameraTest.ImagesWithBuiltinSDF/ogre, where GetParam() = "ogre" (1779 ms)
iche033 commented 2 years ago

Errors from CI:

21: unknown file: error: C++ exception with description "Ogre::RuntimeAssertionException::RuntimeAssertionException: Ogre/ShadowExtrudePointLight not found. Verify that you referenced the 'ShadowVolume' folder in your resources.cfg in Ogre::ShadowVolumeExtrudeProgram::initialise at C:\vcpkg\buildtrees\ogre\src\eddf310f0b-6ab1152694.clean\OgreMain\src\OgreShadowVolumeExtrudeProgram.cpp (line 71)" thrown in the test body.

Related issue: https://github.com/gazebosim/gazebo-classic/issues/2700 that suggests something to do with ogre 1.12.x version from conda-forge

azeey commented 2 years ago

Related issue: https://github.com/gazebosim/gazebo-classic/issues/2700 that suggests something to do with ogre 1.12.x version from conda-forge

We currently don't use conda in our CI though.

scpeters commented 2 years ago

Related issue: gazebosim/gazebo-classic#2700 that suggests something to do with ogre 1.12.x version from conda-forge

We currently don't use conda in our CI though.

It's not using Conda, but it may be using a similar version from vcpkg

j-rivero commented 2 years ago

The vcpkg snapshot used by the buildfarm is currently 2022.02.23 and the version of ogre1 in there is 1.12.9.

traversaro commented 2 years ago

For the ShadowVolume issue, i think we just need to add the correct folder to the right env variable (OGRE_RESOURCE_PATH?) as done for Gazebo Classic at the start of https://github.com/gazebosim/gazebo-classic/issues/2700#issuecomment-949706595 .

azeey commented 1 year ago

Let's disable these tests for now.