Repository navigation
Conversation
…#7244) # Description Remove the `AppLauncher` startup from `test_shadow_hand_camera_presets.py`. The suite only constructs configuration objects, resolves presets, and validates configuration combinations; it does not create a stage, environment, sensor, or rendered frame. The renderer configuration classes are now importable without launching Kit. The other direct `AppLauncher` uses under `isaaclab_tasks/test` were audited and retained because they exercise live environments, physics authoring, rendering, cameras, determinism, controllers, or RL wrappers. The `test_preset_cli.py` reference only inspects the `AppLauncher` argument contract and does not instantiate it. No assertions, parametrization, or coverage were removed. ## Timing Local end-to-end pytest timing for this file: - before: 9.03 seconds - after: 3.36 seconds In PR isaac-sim#6299, this file reported 26.83 seconds wall time for 0.20 seconds of test execution, so the CI saving may be larger on cold workers. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Validation - `uv run --frozen python -m pytest -q source/isaaclab_tasks/test/core/test_shadow_hand_camera_presets.py` (42 passed) - `uv run isaaclab -f` ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] My changes generate no new warnings - [x] The existing 42 tests cover the unchanged behavior - [x] I have added a `.skip` changelog fragment for `isaaclab_tasks` - [x] My name is already present in `CONTRIBUTORS.md` (cherry picked from commit e2c6d7b)
# Description Include every subprocess attempt in the per-file wall-clock metric. Startup-hang, timeout, and fresh-process retries previously replaced the prior attempt duration, which hid substantial CI time from the final summary. This changes only test-runner reporting; test selection, execution, and coverage are unchanged. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Validation - `uv run python -m pytest source/isaaclab/test/cli/test_test_orchestrator_result_handling.py` - `uv run isaaclab -f` ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective - [x] I have added a changelog fragment for the touched package - [x] My name is already present in `CONTRIBUTORS.md` (cherry picked from commit 89aa4d2)
## 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 - Bug fix ## Testing - Parametrization helper tests: 8 passed - Combined Cartpole, Shadow Hand, and Kuka RTX cases passed - Registered Cartpole combined case passed - Kitless rendering suites collected successfully - Formatting, lint, and changelog checks passed ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] My changes generate no new warnings - [x] I have added tests that prove the fix is effective - [x] No documentation changes are required - [x] I have added the required changelog skip fragment - [x] My name already exists in CONTRIBUTORS.md --------- Co-authored-by: Piotr Barejko <[email protected]> (cherry picked from commit 7b504e3)
Greptile SummaryThis backport reduces rendering-test startup overhead by grouping compatible AOVs, updates rendering CI selectors and golden images, removes an unnecessary simulator launch from preset tests, and reports cumulative retry wall time.
Confidence Score: 5/5The PR appears safe to merge with no concrete blocking or non-blocking defects identified. The grouped rendering IDs align with the updated CI selectors, grouped outputs retain per-AOV validation and mark boundaries, the Cartpole helper reconstructs the intentionally bypassed camera-specific stack state, and retry durations are accumulated once per subprocess attempt. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
Params[Rendering parameter matrix] --> Group[group_rendering_params]
Group --> Static[Grouped static AOV node]
Group --> Temporal[Isolated temporal node]
Group --> Minimal[Isolated RTX Minimal node]
Static --> Env[Single test environment]
Temporal --> Env2[Dedicated stepped environment]
Minimal --> Env3[Dedicated render product]
Env --> Validate[Per-AOV golden validation]
Env2 --> Validate
Env3 --> Validate
Reviews (1): Last reviewed commit: "[Test] Group rendering correctness AOVs ..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The backport consistently integrates grouped rendering AOV parameters, cumulative orchestrator retry wall-time accounting, and removal of the unnecessary preset-test AppLauncher. One grouped runtime skip now unintentionally removes valid Franka Soft rendering coverage and should be corrected before merge.
- Design and architecture: Grouping AOVs by rendering configuration, capture group, and pytest marks appropriately preserves separate temporal and RTX-Minimal lifecycles while reducing environment launches for compatible static outputs. However, the Franka Soft OVPhysX+OVRTX depth exemption remains a runtime skip inside the grouped helper, causing the entire static AOV group to be skipped. The exemption should instead be applied as a depth-specific parameter mark so grouping keeps it isolated.
- API: The changed test-internal helper surfaces—including list-valued data_types parameters, PHYSICS_RENDERER_AOV_GROUPS, group_rendering_params, and per-AOV validation thresholds—are updated consistently across the supplied callers. Generated grouped test IDs align with the changed post-merge rendering subset entries.
- Implementation: Retry wall time is accumulated across startup/timeout attempts in _run_one_pass and fresh-process retries, with corresponding assertions. In rendering_test_franka_soft, the condition checking whether depth is present in data_types skips the full grouped static case, dropping rgb, albedo, semantic segmentation, distance, and normals coverage alongside depth. Apply the depth skip before grouping through make_skip_rendering_params or an equivalent parameter mark.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
|
|
||
| # Native hang: the per-file CI runner kills the suite after 1000s with no pytest outcome. | ||
| if physics_backend == "ovphysx" and renderer == "ovrtx_renderer" and data_type == "depth": | ||
| if physics_backend == "ovphysx" and renderer == "ovrtx_renderer" and "depth" in data_types: |
There was a problem hiding this comment.
🟡 Warning · Implementation — Depth skip disables entire grouped static AOV case
After grouping, data_types for the kitless franka_soft ovphysx+ovrtx case is the full static set (rgb, albedo, semantic_segmentation, depth, distance_to_camera, distance_to_image_plane, normals), since those params share the same flaky mark. The "depth" in data_types check therefore skips all seven AOVs instead of only depth, silently dropping golden coverage that previously ran. Apply this exemption as a parameter mark via make_skip_rendering_params, as done for instance_segmentation, so depth isolates into its own case.
Summary
Cherry-picks the following merged PRs from
developontorelease/3.0.0, preserving each as an individual commit with-xprovenance:The commits are applied in their chronological
developorder. All three cherry-picks completed without conflicts. The release branch already contains the OVRTX multi-AOV prerequisite from #7286.Type of change
Validation
cherry picked fromfooters.git diff --check upstream/release/3.0.0..HEADuv run isaaclab -fpassed 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
CONTRIBUTORS.md