ci: add metadrive simulation test workflow#38236
Conversation
Process replay diff reportReplays driving segments through this PR and compares the behavior to master. ✅ 0 changed, 66 passed, 0 errors |
|
Current status: I have the workflow building openpilot and getting all the way to the MetaDrive pytest target in GitHub Actions. MetaDrive starts up, openpilot launches, and modeld loads successfully. The part I’m still debugging is the runtime behavior on the hosted GitHub runner. The sim repeatedly hits cameraOdometry/livePose timing issues: "Observation timestamp is older than the max rewind threshold of the filter" Because of that, selfdriveState never becomes engageable and the test ends with 0 active steps. So far I’ve tried the main workflow-side fixes I could think of: pulling the needed LFS assets, using openpilot’s testing deps, ONNXCPU, Xvfb, virtual PulseAudio, and CPU/thread tuning. I’m keeping this as a draft while I investigate whether the right fix is in the simulator timing/rendering path rather than more workflow env changes. |
Summary
Adds a GitHub Actions workflow for running the MetaDrive simulation bridge test in CI.
This targets #30693.
The workflow:
tools/sim/tests/test_metadrive_bridge.py::TestMetaDriveBridge::test_drivingTesting
Initial validation will be through GitHub Actions on this PR.
The goal is to verify: