Skip to content

Remove the OVRTX motion-vector extra-step workaround - #8178

Merged
nvsekkin merged 2 commits into
isaac-sim:developfrom
nvsekkin:esekkin/remove-step-workaround
Sep 30, 2026
Merged

nvsekkin merged 2 commits into
isaac-sim:developfrom
nvsekkin:esekkin/remove-step-workaround

Conversation

@nvsekkin

@nvsekkin nvsekkin commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Removes the OVRTX-only extra step in maybe_step_env_for_motion and rendering_test_franka_cloth, and refreshes the four affected OVRTX motion-vector goldens. The step worked around NVBug 6565960, which is fixed in OVRTX 0.5 (pinned since #7861).

Known issue: OVStage still misses cloth motion on the first update, so the OVStage Franka cloth motion-vector case fails. It doesn't run in CI and is tracked in a separate bug.

Fixes NVBug 6713374.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Screenshots

Before After
Cartpole
Shadow Hand
Kuka lift
Franka cloth

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

OVRTX 0.5 fixes NVBug 6565960, so the rendering tests capture motion
vectors at the intended update again. Refresh the four OVRTX
motion-vector goldens.

OVStage still misses deformable motion on the first update, so its
Newton + OVRTX Franka cloth motion-vector case is a non-strict xfail.
@nvsekkin
nvsekkin requested a review from a team September 29, 2026 23:23
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Sep 29, 2026
@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Medium risk] Removes a workaround from motion-vector rendering tests.

The PR appears safe to merge, with a non-blocking concern about the scope of the new xfail.

Findings

  1. P2 Cloth xfail affects other suites ▶

Summary

The PR removes the OVRTX-only motion-vector capture step, refreshes the affected goldens, and marks the known OVStage Franka cloth mismatch as expected.

  • The xfail is attached through a parameter factory also used by the Franka soft and cable suites.

Reviews (1) · Last reviewed commit: "Remove the OVRTX motion-vector extra-ste..."

Comment on lines +468 to +469
[_OVSTAGE_DEFORMABLE_MOTION_VECTORS_XFAIL_MARK]
if param.values[0] == "ovstage"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Cloth xfail affects other suites The xfail is intended for the Franka cloth test, but this parameter factory also serves the soft and cable tests. Those tests currently skip Newton motion vectors, so there is no immediate effect. If those skips are removed, failures in their OVStage motion-vector tests will also be treated as expected and could go unnoticed. Apply the xfail only to the cloth test.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

The OVRTX extra-step workaround is removed consistently, affected callers and goldens are updated, and the unsupported OVStage cloth case is isolated with an xfail. Before merge, the new xfail reason should identify its tracking bug so maintainers know when the suppression can be removed.

  • Design and architecture: Removing renderer-specific behavior from maybe_step_env_for_motion restores a uniform motion-vector capture path. The OVStage-specific limitation is represented at the parameter boundary with a reusable module-level mark, matching the surrounding suppression structure.
  • API: The test-support helper maybe_step_env_for_motion drops its renderer argument, and all supplied call sites are updated consistently. This helper is internal to the test module rather than a shipped package API.
  • Compatibility and deprecation: Breaking changes: none identified. The signature change affects an internal test-support helper, and the parameter rewrite is limited to the Newton, OVRTX, motion-vector rows while preserving unrelated cases and later skip processing.
  • Implementation: The helper now performs the common two-step sequence without renderer branching, and the Franka cloth path retains its controlled single step while removing only the obsolete workaround. The OVStage branch correctly replaces the retry mark with the expected-failure mark, but that suppression needs a tracker reference.
  • Style consistency: The signature, docstring, comments, and .skip changelog fragment follow surrounding conventions. However, the new xfail reason omits a bug identifier even though adjacent long-lived suppressions cite their NVBUG trackers; add the tracking number to make removal ownership clear.
  • Test quality: The change modifies existing rendering-test behavior, refreshes four motion-vector golden images, and converts the OVStage Newton plus OVRTX Franka cloth case to a non-strict xfail. No duplicate test or parameter axis was added, but the new suppression should cite its tracking bug so the masked comparison remains actionable.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.

reason="Motion-vector golden-image comparison is unreliable with Newton physics (NVBUG#6267975)."
)
_OVSTAGE_DEFORMABLE_MOTION_VECTORS_XFAIL_MARK = pytest.mark.xfail(
reason="OVStage misses deformable motion vectors on the first update after initialization.", strict=False

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Suggestion · Style Consistency — xfail reason omits tracking bug reference

Every adjacent suppression in this block names its tracker: _NEWTON_MOTION_VECTORS_SKIP_MARK cites NVBUG#6267975, _FLAKY_MARK cites NVBUG#6152566, and the instance_segmentation skips cite NVBUG#6463802. This new non-strict xfail permanently masks the OVStage cloth motion-vector comparison with no identifier, so no maintainer can tell when it may be removed. Add the tracking bug number to the reason string.

@nvsekkin

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 29, 2026
OVStage motion-vector cases do not run in pre-merge or post-merge CI,
and known OVStage failures are not marked elsewhere. The OVStage
first-update gap is tracked in a separate bug.
@nvsekkin

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 30, 2026
@nvsekkin
nvsekkin enabled auto-merge (squash) September 30, 2026 15:01
@nvsekkin
nvsekkin merged commit 6610968 into isaac-sim:develop Sep 30, 2026
54 of 55 checks passed
isaaclab-bot Bot pushed a commit that referenced this pull request Sep 30, 2026
# Description

Removes the OVRTX-only extra step in `maybe_step_env_for_motion` and
`rendering_test_franka_cloth`, and refreshes the four affected OVRTX
motion-vector goldens. The step worked around NVBug 6565960, which is
fixed in OVRTX 0.5 (pinned since #7861).

Known issue: OVStage still misses cloth motion on the first update, so
the OVStage Franka cloth motion-vector case fails. It doesn't run in CI
and is tracked in a separate bug.

Fixes NVBug 6713374.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Screenshots

| | Before | After |
| --- | --- | --- |
| Cartpole |
![](https://github.com/isaac-sim/IsaacLab/blob/9f95f70efba082d2ccc7d94d3e58f68bd0126e99/source/isaaclab_tasks/test/golden_images/cartpole/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
![](https://github.com/nvsekkin/IsaacLab/blob/d2ed6a62cad9aa028939fabceaa09afdc4fe38a3/source/isaaclab_tasks/test/golden_images/cartpole/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
| Shadow Hand |
![](https://github.com/isaac-sim/IsaacLab/blob/9f95f70efba082d2ccc7d94d3e58f68bd0126e99/source/isaaclab_tasks/test/golden_images/shadow_hand/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
![](https://github.com/nvsekkin/IsaacLab/blob/d2ed6a62cad9aa028939fabceaa09afdc4fe38a3/source/isaaclab_tasks/test/golden_images/shadow_hand/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
| Kuka lift |
![](https://github.com/isaac-sim/IsaacLab/blob/9f95f70efba082d2ccc7d94d3e58f68bd0126e99/source/isaaclab_tasks/test/golden_images/lift_kuka_homo/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
![](https://github.com/nvsekkin/IsaacLab/blob/d2ed6a62cad9aa028939fabceaa09afdc4fe38a3/source/isaaclab_tasks/test/golden_images/lift_kuka_homo/ovphysx-ovrtx_renderer-motion_vectors.png?raw=true)
|
| Franka cloth |
![](https://github.com/isaac-sim/IsaacLab/blob/9f95f70efba082d2ccc7d94d3e58f68bd0126e99/source/isaaclab_tasks/test/golden_images/franka_cloth/newton-ovrtx_renderer-motion_vectors.png?raw=true)
|
![](https://github.com/nvsekkin/IsaacLab/blob/d2ed6a62cad9aa028939fabceaa09afdc4fe38a3/source/isaaclab_tasks/test/golden_images/franka_cloth/newton-ovrtx_renderer-motion_vectors.png?raw=true)
|

## Checklist

Docker and GPU tests run on demand. Push the commits you want tested,
then
comment `run-ci` on the pull request.

- [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
`uv run isaaclab --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md)
to any test changes
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump package versions — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

(cherry picked from commit 6610968)
@isaaclab-bot

isaaclab-bot Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as aae9fa5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants