Repository navigation
[Tests] Skip DrLegs-Walk in the contrib environment test - #7623
Conversation
The Kamino P-ADMM solver intermittently diverges under random actions and the whole robot state turns NaN mid-episode, which the termination terms cannot catch. The failure reproduces locally in about one of twelve seeds while the sibling HoldPose task stays finite, so skip the Walk task and its deprecated alias until the solver instability is resolved upstream.
There was a problem hiding this comment.
Isaac Lab Review Bot
The change adds a documented DrLegs-Walk entry to the existing contributed-environment substring skip list and includes the package’s .skip changelog fragment. The patch is narrowly scoped to suppressing the identified intermittent Kamino solver failure in the smoke test.
- Design and architecture: The change reuses the established
_SKIPPED_TASK_SUBSTRINGSmechanism and leaves the environment setup and execution paths unchanged. The skip rationale and re-enable condition are recorded next to the affected entry. - API: No production API, runtime configuration, exports, or task registrations are changed. Substring matching skips both the contributed
DrLegs-Walktask and its deprecated alias while not matching the siblingDrLegs-HoldPosetask. - Implementation: The new dictionary entry is consumed by the existing
_skip_reasonand parametrization logic, which applies a documented pytest skip mark. The residual tradeoff is that any future task name containingDrLegs-Walkwill also be skipped until this entry is removed after the solver instability is resolved.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
Greptile SummaryThis PR excludes the intermittently unstable DrLegs Walk environments from the contributed-environment smoke test.
Confidence Score: 5/5The PR appears safe to merge because the skip reaches both intended unstable task IDs without affecting currently registered sibling tasks. The substring is consumed by the existing collection-time skip mechanism, matches the canonical and deprecated DrLegs Walk IDs, and does not match either HoldPose ID. Important Files Changed
Reviews (1): Last reviewed commit: "Skip DrLegs-Walk in the contrib environm..." | Re-trigger Greptile |
|
Tracking issue for fixing the solver divergence and re-enabling this test: #7625 |
Description
test-contrib-environmentsfailed on #7610 (run 34042243157) intest_contrib_environments[IsaacContrib-DrLegs-Walk]withAssertionError: Invalid dataon the policy observation. The PR itself only touchedsource/isaaclab/test/install_ci, so this is unrelated to that change.Root cause. The first row of the failing observation is NaN across projected gravity, base angular velocity and joint positions, i.e. the robot state itself is non-finite, not a single observation term. Reproducing the test scenario locally (2 envs, 20 random-action steps, fresh env per seed) shows the Kamino P-ADMM solver diverging mid-episode: in 1 of 12 seeds the entire state of env 0 (root position, root quaternion, joint positions and velocities) turns NaN at step 6. The heading-driven velocity command then inherits the NaN through
heading_w, and theroot_height/bad_orientationtermination terms cannot fire because every comparison against NaN is false, so the episode is never reset. The siblingIsaacContrib-DrLegs-HoldPosetask (same robot, same solver preset, same random actions) stayed finite in 9 of 9 local trials and passed in the same CI job, as did the deprecated alias id of the Walk task, which is why the failure is intermittent rather than deterministic.Change. Add
DrLegs-Walkto_SKIPPED_TASK_SUBSTRINGSintest_contrib_environments.pywith the reason documented inline. The substring covers bothIsaacContrib-DrLegs-Walkand its deprecated aliasIsaac-DrLegs-Walk-v0, which the test also enumerates. HoldPose keeps running. This is a test-side skip; the solver instability itself needs to be addressed in Kamino/Newton (or by retuning the DR Legs solver preset), and the inline comment says to re-enable once that lands.Validation
env_test_utils._run_environments): Walk 1/12 seeds NaN at step 6 with root pose, joint state and the velocity command all non-finite; HoldPose 0/9.pytest source/isaaclab_tasks/test/contrib/test_contrib_environments.py -k DrLegs-Walk -rs: both ids reportSKIPPED ... Kamino solver intermittently produces NaN robot state under random actions.; HoldPose ids still collect as runnable.isaaclab_taskschangelog.skipfragment included.Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there