Skip to content

ci: re-enable MetaDrive simulator driving test (#30693)#38136

Open
themoddedcube wants to merge 2 commits into
commaai:masterfrom
themoddedcube:fix-metadrive-ci-30693
Open

ci: re-enable MetaDrive simulator driving test (#30693)#38136
themoddedcube wants to merge 2 commits into
commaai:masterfrom
themoddedcube:fix-metadrive-ci-30693

Conversation

@themoddedcube
Copy link
Copy Markdown

The job was disabled with if: false after timeouts. Root cause was a 2-minute total timeout on a job where scons alone takes 10-40 minutes.

Changes:

  • Remove if: false gate on simulator_driving job
  • Set build timeout to 10 min (nsc) / 40 min (free ubuntu-24.04)
  • Set driving test timeout to 15 min (nsc) / 20 min (free runner)
  • Pass MAX_TIME_PER_STEP=120 on free runners so MetaDrive's software OpenGL (llvmpipe) has enough time to start and render
  • Pass COLLECT_LOGS=1 to keep loggerd running for artifact collection
  • Upload qlog/rlog/camera files as metadrive-logs artifact
  • Make max_time_per_step configurable via MAX_TIME_PER_STEP env var

Closes #30693

The job was disabled with `if: false` after timeouts. Root cause was a
2-minute total timeout on a job where scons alone takes 10-40 minutes.

Changes:
- Remove `if: false` gate on simulator_driving job
- Set build timeout to 10 min (nsc) / 40 min (free ubuntu-24.04)
- Set driving test timeout to 15 min (nsc) / 20 min (free runner)
- Pass MAX_TIME_PER_STEP=120 on free runners so MetaDrive's software
  OpenGL (llvmpipe) has enough time to start and render
- Pass COLLECT_LOGS=1 to keep loggerd running for artifact collection
- Upload qlog/rlog/camera files as metadrive-logs artifact
- Make max_time_per_step configurable via MAX_TIME_PER_STEP env var

Closes commaai#30693

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

The MetaDrive + openpilot pipeline requires the 8-core namespace runner.
Fork PRs that run on the 2-core ubuntu-24.04 runner cannot complete the
test in time. Add an if: condition that mirrors the runs-on condition so
the job is skipped for fork PRs and only executes on the commaai/openpilot
namespace runner where it was previously working.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Run MetaDrive simulation test in GitHub Actions

1 participant