Skip to content

tests: roster 'env' field passes container -e flags in run_all_models - #110

Merged
AzeezIsh merged 1 commit into
mainfrom
fix/run-all-models-roster-env
Sep 27, 2026
Merged

AzeezIsh merged 1 commit into
mainfrom
fix/run-all-models-roster-env

Conversation

@AzeezIsh

Copy link
Copy Markdown
Contributor

tests/run_all_models.py --roster had no way to set container environment variables. Nemotron-3.5-Lightning DSpark needs ATLAS_DFLASH_OPTION_B=1, because the Lightning product path's validate() requires it. Without it, the release-verify round refused to boot (reiner job 495).

Changes:

  • Roster entries accept "env": {"KEY": "VALUE"}, stored as TestSpec.env.

  • The entries become -e KEY=VALUE flags on the single-rank docker run and both multi-rank ones. The pair is shlex-quoted so it survives the bash -lc/ssh double parse.

  • Keys must match ^[A-Z_][A-Z0-9_]*$; the loader fails fast otherwise.

  • tests/test_run_all_models_roster_env.py: 5 tests covering parse with and without env, flag emission including quoting, no-env, and bad keys. The ready-marker tests still pass, 14/14 in total.

…ATLAS_DFLASH_OPTION_B)

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@AzeezIsh
AzeezIsh merged commit 10d4ec7 into main Sep 27, 2026
19 of 20 checks passed
@AzeezIsh
AzeezIsh deleted the fix/run-all-models-roster-env branch September 29, 2026 06:01
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