gazebosim / gz-sensors

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

:farmer: `INTEGRATION_boundingbox_camera` BoundingBoxCameraSensor test failing on Linux + main #440

Closed Blast545 closed 4 months ago

Blast545 commented 5 months ago

Environment

Description

Steps to reproduce

  1. Run a buildfarm CI job on: https://build.osrfoundation.org/job/gz_sensors-ci-main-noble-amd64 and see the error logged.

Output

16: [ RUN      ] BoundingBoxCameraSensor/BoundingBoxCameraSensorTest.BoxesWithBuiltinSDF/ogre2
16: libEGL warning: egl: failed to create dri2 screen
16: libEGL warning: egl: failed to create dri2 screen
16: libEGL warning: egl: failed to create dri2 screen
16: [Wrn] [Ogre2Camera.cc:421] Ogre2Camera::SetVisibilityMask: Mask bits c0000000 are set but will be ignored as they conflict with the reserved bits used internally by the ogre2 backend.
16: [Msg] Loading plugin [gz-rendering-ogre2]
16: [Dbg] [BoundingBoxCameraSensor.cc:202] Camera images for [boundingbox_camera] advertised on [/test/integration/BoundingBoxCameraPlugin_boxesWithBuiltinSDF_image]
16: [Dbg] [BoundingBoxCameraSensor.cc:223] Bounding boxes for [boundingbox_camera] advertised on [/test/integration/BoundingBoxCameraPlugin_boxesWithBuiltinSDF
16: [Dbg] [CameraSensor.cc:611] Camera info for [boundingbox_camera] advertised on [/test/integration/camera_info]
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:304: Failure
16: The difference between occludedBox.Center().X() and 98 is 44, which exceeds marginError, where
16: occludedBox.Center().X() evaluates to 54,
16: 98 evaluates to 98, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:306: Failure
16: The difference between occludedBox.Size().X() and 15 is 11, which exceeds marginError, where
16: occludedBox.Size().X() evaluates to 26,
16: 15 evaluates to 15, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:307: Failure
16: The difference between occludedBox.Size().Y() and 45 is 34, which exceeds marginError, where
16: occludedBox.Size().Y() evaluates to 79,
16: 45 evaluates to 45, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:312: Failure
16: The difference between frontBox.Size().X() and 105 is 78, which exceeds marginError, where
16: frontBox.Size().X() evaluates to 183,
16: 105 evaluates to 105, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:313: Failure
16: The difference between frontBox.Size().Y() and 105 is 78, which exceeds marginError, where
16: frontBox.Size().Y() evaluates to 183,
16: 105 evaluates to 105, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:335: Failure
16: The difference between occludedFullBox.Center().X() and 116 is 30.79766845703125, which exceeds marginError, where
16: occludedFullBox.Center().X() evaluates to 85.20233154296875,
16: 116 evaluates to 116, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:337: Failure
16: The difference between occludedFullBox.Size().X() and 51 is 36.99725341796875, which exceeds marginError, where
16: occludedFullBox.Size().X() evaluates to 87.99725341796875,
16: 51 evaluates to 51, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:338: Failure
16: The difference between occludedFullBox.Size().Y() and 45 is 34.197555541992188, which exceeds marginError, where
16: occludedFullBox.Size().Y() evaluates to 79.197555541992188,
16: 45 evaluates to 45, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:343: Failure
16: The difference between frontFullBox.Size().X() and 108 is 76.79425048828125, which exceeds marginError, where
16: frontFullBox.Size().X() evaluates to 184.79425048828125,
16: 108 evaluates to 108, and
16: marginError evaluates to 2.
16: /home/jenkins/workspace/gz_sensors-ci-main-noble-amd64/gz-sensors/test/integration/boundingbox_camera.cc:344: Failure
16: The difference between frontFullBox.Size().Y() and 108 is 76.794281005859375, which exceeds marginError, where
16: frontFullBox.Size().Y() evaluates to 184.79428100585938,
16: 108 evaluates to 108, and
16: marginError evaluates to 2.
16: [  FAILED  ] BoundingBoxCameraSensor/BoundingBoxCameraSensorTest.BoxesWithBuiltinSDF/ogre2, where GetParam() = "ogre2" (1082 ms)

Investigation context

I don't see any particular highlight / repo change that may have caused this test to start failing, it started failing on June 2 in this build: https://build.osrfoundation.org/job/gz_sensors-ci-main-noble-amd64/6/

(Previous green build: on may 29th: https://build.osrfoundation.org/job/gz_sensors-ci-main-noble-amd64/5/)

Crola1702 commented 5 months ago

This issue started happening today in gz-sensors-8 linux

Reference build: https://build.osrfoundation.org/job/gz_sensors-ci-gz-sensors8-jammy-amd64/86/

Test regressions: