gazebosim / gazebosim/gz-rendering

`INTEGRATION_camera` and `INTEGRATION_thermal_camera` tests segfault on MacOS, Fortress

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

Description

## Environment
* OS Version: MacOS, Homebrew buildfarm
* Source


```
97: [----------] 8 tests from ThermalCamera/ThermalCameraTest
97: [ RUN ] ThermalCamera/ThermalCameraTest.ThermalCameraBoxesUniformTemp/ogre
97/102 Test #97: INTEGRATION_thermal_camera ..............***Exception: SegFault 0.35 sec
test 98
Start 98: check_INTEGRATION_thermal_camera

...

85: [ RUN ] Camera/CameraTest.VisualAt/optix
85: ^[[1;36m[Dbg] [camera.cc:209] ^[[0m^[[1;36mVisualAt not supported yet in rendering engine: ^[[0m^[[1;36moptix^[[0m^[[1;36m^[[0m
85: [ OK ] Camera/CameraTest.VisualAt/optix (0 ms)
85: [ RUN ] Camera/CameraTest.ShaderSelection/ogre
85/102 Test #85: INTEGRATION_camera ......................***Exception: SegFault 1.22 sec

```

## Description
* Expected behavior: All the tests pass
* Actual behavior: Two tests are failing consistently on MacOS

## Steps to reproduce

1. Run a rendering build on the buildfarm here: https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering6-homebrew-amd64/
2. See it failing in these two tests.

## Output
Reference failures:
First time appearing in the buildfarm: https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering6-homebrew-amd64/50/
Most recent: https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering6-homebrew-amd64/59/

This is totally related to the changes introduced with #617 and #623, can I ask you to take a look? @iche033

I think this test regression that is appearing on gz-sensors it's also related to this issue: https://build.osrfoundation.org/job/ignition_sensors-ci-ign-sensors6-homebrew-amd64/23/console

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure using the Homebrew rendering build on macOS and inspect INTEGRATION_camera and INTEGRATION_thermal_camera, especially CameraTest.ShaderSelection/ogre and ThermalCameraTest.ThermalCameraBoxesUniformTemp/ogre. Compare the rendering changes introduced by issues #617 and #623, then verify that both integration tests pass consistently on the buildfarm.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.