Repository navigation
tests: roster 'env' field passes container -e flags in run_all_models - #110
Merged
Merged
Conversation
…ATLAS_DFLASH_OPTION_B) Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tests/run_all_models.py --rosterhad no way to set container environment variables. Nemotron-3.5-Lightning DSpark needsATLAS_DFLASH_OPTION_B=1, because the Lightning product path'svalidate()requires it. Without it, the release-verify round refused to boot (reiner job 495).Changes:
Roster entries accept
"env": {"KEY": "VALUE"}, stored asTestSpec.env.The entries become
-e KEY=VALUEflags on the single-rankdocker runand both multi-rank ones. The pair isshlex-quoted so it survives thebash -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.