Skip to content

tests: xfail the Jolt squad arrival test on libcvc 3.7.0 (stall triaged) - #126

Merged
transfix merged 1 commit into
mainfrom
fix/squad-plant-arrival-xfail
Oct 20, 2026
Merged

transfix merged 1 commit into
mainfrom
fix/squad-plant-arrival-xfail

Conversation

@transfix

Copy link
Copy Markdown
Contributor

Summary

  • libcvc 3.7.0 is the first published pycvc with P6's physics bindings, so tests/test_squad_plant.py runs in CI for the first time (on 3.6.0 every test in it skipped). 8 of its 9 tests pass. test_a_squad_drives_the_jolt_plant_to_its_goals fails: robot a arrives (tick 737), but robot b stalls for good near (−16.6, 3.5) from about tick 270. That fails CI on main's next run and on every open PR (it is the only failure on material_ext: the external force in the material rollouts and trainer, with parity to libcvc #124).
  • Diagnosis. b is on open road (2.7 m from the nearest building), not wedged, and not hit by a (their closest approach is 11.4 m, at tick 347). It is hunting: reverse gear with throttle 0.05–0.09 creeps it back a few mm, the gear flips to forward, it brakes to a stop, and it repeats. The navigator's commanded acceleration sits near zero beside the building block between b and its goal: a local equilibrium on the plant. It arrived on the pre-release P6 build nav_native, squad: a physics plant option (libcvc P6) #119 was validated against (Windows, libcvc da78da15).
  • This marks that one test xfail(strict=False) with the diagnosis as its reason, so CI is honest and unblocked. It reports XPASS once the stall is fixed. The fix is tracked in the libcvc workstream (P6).

Test plan

  • tests/test_squad_plant.py against the cvcpkg grl-snam-cp312 closure (libcvc/pycvc 3.7.0+cvc.1): 8 passed, 1 xfailed
  • The full suite against the same closure: 565 passed, 12 skipped, 1 xfailed, 2 xpassed
  • black, ruff
  • CI

The test first runs in CI now that libcvc 3.7.0 ships pycvc's P6 physics bindings (3.6.0 skipped
it). On 3.7.0, RoboRacer b stalls near (-16.6, 3.5) from about tick 270: it hunts between reverse
and forward on a near-zero commanded acceleration beside a building block, and never arrives (a
does, at tick 737). It arrived on the pre-release P6 build the test was written against. The
other 8 plant tests pass. Non-strict, so it reports XPASS once the stall is fixed.
@transfix
transfix merged commit f173419 into main Oct 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant