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

Garden: Tests for rendering sensors failing on Windows #284

Open
scpeters opened this issue Nov 10, 2022 · 6 comments
Open

Garden: Tests for rendering sensors failing on Windows #284

scpeters opened this issue Nov 10, 2022 · 6 comments
Assignees
Labels
bug Something isn't working 🌱 garden Ignition Garden Windows Windows support

Comments

@scpeters
Copy link
Member

Environment

  • OS Version: Windows CI machine (beefy)
  • Source or binary build? source of gz-sensors7

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: �[32m[Msg] �[m�[32mLoading plugin [�[m�[32mgz-rendering-ogre�[m�[32m]�[m�[32m
31: �[m�[36m[Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:296] �[m�[36mCamera images for [�[m�[36mcamera1�[m�[36m] advertised on [�[m�[36m/test/integration/TriggeredCameraPlugin_imagesWithBuiltinSDF�[m�[36m]�[m�[36m
31: �[m�[36m[Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:320] �[m�[36mCamera trigger messages for [�[m�[36mcamera1�[m�[36m] subscribed�[m�[36m on [�[m�[36m/test/integration/TriggeredCameraPlugin_imagesWithBuiltinSDF/trigger�[m�[36m]�[m�[36m
31: �[m�[36m[Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:601] �[m�[36mCamera info for [�[m�[36mcamera1�[m�[36m] advertised on [�[m�[36m/test/integration/camera_info�[m�[36m]�[m�[36m
31: �[m�[36m[Dbg] [C:\Jenkins\workspace\ign_sensors-gz-7-win\ws\gz-sensors\src\CameraSensor.cc:414] �[m�[36mEnabling camera sensor: '�[m�[36mcamera1�[m�[36m' data �[m�[36mgeneration.�[m�[36m
31: �[munknown 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)

@scpeters scpeters added bug Something isn't working Windows Windows support 🌱 garden Ignition Garden labels Nov 10, 2022
@osrf-triage osrf-triage added this to Inbox in Core development Nov 10, 2022
@iche033
Copy link
Contributor

iche033 commented Nov 11, 2022

Errors from CI:

21: �[munknown 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: gazebosim/gazebo-classic#2700 that suggests something to do with ogre 1.12.x version from conda-forge

@azeey
Copy link
Contributor

azeey commented Nov 11, 2022

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.

@scpeters
Copy link
Member Author

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

@azeey azeey moved this from Inbox to To do in Core development Nov 14, 2022
@j-rivero
Copy link
Contributor

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

@azeey azeey self-assigned this Nov 14, 2022
@traversaro
Copy link
Contributor

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 gazebosim/gazebo-classic#2700 (comment) .

@azeey
Copy link
Contributor

azeey commented Dec 12, 2022

Let's disable these tests for now.

azeey added a commit to azeey/gz-sensors that referenced this issue Dec 19, 2022
See gazebosim#284

Signed-off-by: Addisu Z. Taddese <[email protected]>
azeey added a commit that referenced this issue Dec 19, 2022
Ogre tests are not working on windows as discussed in #284.

Signed-off-by: Addisu Z. Taddese <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌱 garden Ignition Garden Windows Windows support
Projects
Status: To do
Development

No branches or pull requests

5 participants