Repository navigation
[Test] Group rendering correctness AOVs - #7114
Conversation
Greptile SummaryThe PR consolidates compatible rendering AOV checks into shared environment launches while keeping temporal and render-product-sensitive outputs isolated.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Rendering parameter combinations] --> B{AOV capture requirements}
B -->|Static-compatible| C[One grouped environment launch]
B -->|Motion vectors| D[Temporal launch with simulation step]
B -->|Simple shading modes| E[Isolated launch per AOV]
C --> F[Configure camera with multiple data types]
D --> G[Configure and step environment]
E --> H[Configure render-product mode]
F --> I[Collect and compare each output]
G --> I
H --> I
Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'upstream/d..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The test-local AOV grouping is consistently threaded through the rendering suites, but Cartpole’s existing OVRTX handling for rgba is not preserved and should be corrected before merge.
- Design and architecture: Grouping by rendering configuration and pytest mark signature preserves skip/xfail/flaky scope, while explicitly isolating output-sensitive AOVs. However,
rgbais omitted from the isolation set despite sharing RGB’s sensitivity to auxiliary RTX AOVs, allowing it to be grouped incompatibly. - API: The shared test helpers consistently move from a single
data_typeto adata_typeslist across the changed callers. These are test-support interfaces, and the change includes the required skip changelog fragment. - Implementation: Add
rgbatogroup_rendering_params’ isolated data types and restore it in the Cartpole OVRTX relaxed-tolerance condition. The patch currently narrows the formerdata_type in ("rgb", "rgba")behavior to only groups containingrgb, so an isolated or groupedrgbacase receives the stricter default threshold.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| "distance_to_image_plane", | ||
| "instance_segmentation", | ||
| "motion_vectors", | ||
| } or data_type.startswith("simple_shading_") |
There was a problem hiding this comment.
🟡 Warning · Implementation — rgba loses isolation and relaxed OVRTX tolerance
The isolate set omits rgba, so it can be grouped with auxiliary AOVs even though the docstring's own rationale is that RGB output changes when auxiliary RTX AOVs are active. The same change narrowed the Cartpole tolerance from data_type in ("rgb", "rgba") to "rgb" in data_types (line 1642), so an OVRTX group containing rgba now validates against the strict default threshold. Add rgba to both the isolate set and the tolerance condition.
…up-rendering-aovs # Conflicts: # source/isaaclab_tasks/test/core/test_rendering_registered_tasks.py
…ring-aovs # Conflicts: # source/isaaclab_tasks/test/core/test_rendering_cartpole_kitless.py # source/isaaclab_tasks/test/core/test_rendering_franka_cloth_kitless.py # source/isaaclab_tasks/test/core/test_rendering_lift_kuka_homo_kitless.py # source/isaaclab_tasks/test/core/test_rendering_registered_tasks.py # source/isaaclab_tasks/test/rendering_test_utils.py # source/isaaclab_tasks/test/test_parametrization_helpers.py
…ring-aovs # Conflicts: # source/isaaclab_tasks/test/rendering_test_utils.py
…ring-aovs # Conflicts: # source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py # source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_usd.py # source/isaaclab_ov/test/test_ovrtx_usd.py # source/isaaclab_tasks/test/rendering_test_utils.py
## Summary Cherry-picks the following merged PRs from `develop` onto `release/3.0.0`, preserving each as an individual commit with `-x` provenance: - #7244 — Remove the unnecessary AppLauncher from task preset tests - #7241 — Report cumulative retry wall time in the test orchestrator - #7114 — Group compatible rendering correctness AOVs The commits are applied in their chronological `develop` order. All three cherry-picks completed without conflicts. The release branch already contains the OVRTX multi-AOV prerequisite from #7286. ## Type of change - Bug fix (non-breaking CI and test-runtime improvements) ## Validation - Verified all three backported commits have patch IDs identical to their source squash commits and retain their `cherry picked from` footers. - `git diff --check upstream/release/3.0.0..HEAD` - Release-base changelog validation passed. - Test orchestrator result handling: **11 passed** - Shadow Hand camera presets: **42 passed** - Rendering parametrization helpers: **16 passed** - Kitless rendering suites: **166 tests collected successfully** - `uv run isaaclab -f` passed all formatting, lint, whitespace, RST, changelog, Git LFS, and repository-hygiene hooks. GPU rendering execution was not repeated locally; CI remains authoritative for the renderer integration paths already validated in #7114. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] No documentation changes are required - [x] My changes generate no new warnings - [x] Existing and backported tests cover the changed behavior - [x] Each touched source package has a changelog fragment - [x] My name already exists in `CONTRIBUTORS.md` --------- Co-authored-by: Piotr Barejko <[email protected]>
# Description The `ovrtx-cache-warm` job selects its tests with `test-k-expr: (isaacsim_rtx or ovrtx) and (rgb or depth)`. That expression matches **zero** of the 33 collected items, so the job deselects everything and the shader-cache save step runs with nothing to publish: ``` collected 11 items / 11 deselected / 0 selected (test_rendering_cartpole.py) collected 22 items / 22 deselected / 0 selected (test_rendering_cartpole_kitless.py) ``` ## How #7114 made the AOV labels stale `pytest -k` matches against parametrize IDs, and #7114 ("[Test] Group rendering correctness AOVs") changed what those IDs are made of. Before #7114, `_make_sensor_data_type_params()` emitted one node per data type, and the data type was the last segment of the ID. After #7114, `group_rendering_params()` merges every AOV that can be captured from a single environment into one node, and the ID's last segment becomes the *capture group* name (`static`, `temporal`) rather than any individual data type: | | Before #7114 | After #7114 | | --- | --- | --- | | kit | `physx-isaacsim_rtx-rgb`<br>`physx-isaacsim_rtx-depth`<br>`physx-isaacsim_rtx-albedo`<br>… | `physx-isaacsim_rtx_renderer-static` | | kitless | `legacy-ovphysx-ovrtx-rgb`<br>`legacy-ovphysx-ovrtx-depth`<br>… | `legacy-ovphysx-ovrtx_renderer-static` | `rgb` and `depth` still run — they are two of the AOVs captured inside the `-static` node — but they are no longer *named* in any node ID. So the `(rgb or depth)` half of the expression, which selected 4 kit + 8 kitless nodes under the old scheme, now selects nothing. The `(isaacsim_rtx or ovrtx)` half still matches fine; only the AOV half went stale. The timeline is why this was never caught: #7114 merged 2026-08-21 and the cache-warm job was added in #6905 on 2026-09-03, so the expression was written against an ID scheme that had already been replaced two weeks earlier. The job has deselected everything for its entire life. Only this one expression was affected — the other `test-k-expr` values in the workflows (`legacy`, `ovstage`, `not ovphysx`, `test_environments and not (Soft or Cloth or Cable)`) match on segments #7114 did not touch. ## Impact * The warmer compiles no PSO blobs, so the `kit/` and `kitless/` shader-cache trees are never populated and the rendering-correctness jobs that restore them keep compiling shaders cold. * Nothing bad is *published*: the save steps in `.github/actions/ovrtx-shader-cache/action.yml` are gated on non-zero file counts, so an empty tree is never written back. * `verify.sh` does emit `::error::` for the empty trees, but the job is `continue-on-error: true`, so the failure never surfaced. ## Fix Pin the warmer to the RTX-renderer subset of the existing post-merge node lists (2 kit + 4 kitless nodes) via the `test-node-ids-file`/`test-node-ids-key` mechanism the sibling `rendering-correctness-kitless-*` jobs already use, and drop `test-k-expr`. The mechanism change is deliberate rather than repairing the expression to `(isaacsim_rtx or ovrtx) and static`. A `-k` expression that matches nothing is indistinguishable from one that legitimately matches nothing in a given file, so `tools/conftest.py` treats "0 selected with a k-expr" as a pass by design — which is exactly why this went unnoticed for the life of the job. An unknown node ID is passed to pytest as an explicit target and fails collection outright, so the next parametrize-ID rename cannot silently empty this job again. Verified by generating the parametrize IDs from `rendering_test_utils` at both `7b504e34df^` and `develop`, confirming the before/after IDs above, that the pre-fix 11/22 deselected counts reproduce exactly, and that all six configured node IDs resolve. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works <!-- CI-only change; no source package is touched --> - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package <!-- none touched: CI configuration only --> - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
Group compatible camera AOVs so rendering correctness tests reuse one environment launch. Camera configs are overridden only in tests, including a Cartpole test adapter, while output-sensitive modes remain isolated to preserve existing golden images.
Type of change
Testing
Checklist