gazebosim / gazebosim/gz-rendering

🧑‍🌾 `ThermalCameraTest.ThermalCameraBoxesHeatSignature` failing in cnlwin main and 9

Open
#1,139 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

## Environment
* OS Version: Windows conda noble like
* Source gz-rendering main and 9

## Description
* Expected behavior: Build should pass
* Actual behavior: Build is failing with [ThermalCameraTest.ThermalCameraBoxesHeatSignature](https://build.osrfoundation.org/job/gz_rendering-main-cnlwin/9/testReport/junit/(root)/ThermalCameraTest/ThermalCameraBoxesHeatSignature/) test regression

## Steps to reproduce

1. Run a build in gz-rendering main or 9
2. See test regression

## Output

Reference builds:
- https://build.osrfoundation.org/job/gz_rendering-main-cnlwin/9/
- https://build.osrfoundation.org/job/gz_rendering-9-cnlwin/10/

Log output

```
65: [ RUN ] ThermalCameraTest.ThermalCameraBoxesHeatSignature
65: (2025-05-08 19:55:06.070) [debug] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2
65: (2025-05-08 19:55:06.071) [debug] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus
65: (2025-05-08 19:55:06.071) [info] [RenderEngineManager.cc:467] Loading plugin [gz-rendering-ogre2]
65: C:\J\workspace\gz_rendering-main-cnlwin\ws\src\gz-rendering\test\integration\thermal_camera.cc(334): error: The difference between boxTemp and thermalData[mid] * linearResolution is 49.770004272460938, which exceeds boxTempRange, where
65: boxTemp evaluates to 150,
65: thermalData[mid] * linearResolution evaluates to 100.22999572753906, and
65: boxTempRange evaluates to 3.
65: C:\J\workspace\gz_rendering-main-cnlwin\ws\src\gz-rendering\test\integration\thermal_camera.cc(351): error: The difference between boxTemp and temp is 49.770004272460938, which exceeds boxTempRange, where
65: boxTemp evaluates to 150,
65: temp evaluates to 100.22999572753906, and
65: boxTempRange evaluates to 3.
65: C:\J\workspace\gz_rendering-main-cnlwin\ws\src\gz-rendering\test\integration\thermal_camera.cc(351): error: The difference between boxTemp and temp is 49.770004272460938, which exceeds boxTempRange, where
65: boxTemp evaluates to 150,
65: temp evaluates to 100.22999572753906, and
65: boxTempRange evaluates to 3.
...
```

The output is really long, you should take a look at the consoleFull

Contributor guide

Open the contributing guide

Research direction

Start with test/integration/thermal_camera.cc, especially the assertions at lines 334 and 351 in ThermalCameraTest.ThermalCameraBoxesHeatSignature. Reproduce the failure on the Windows conda build using the logged GZ_ENGINE_TO_TEST=ogre2 and GZ_ENGINE_BACKEND=gl3plus settings, then inspect the full console output. Done means the cnlwin builds for main and 9 pass this test without the reported temperature mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.