run-tests fails in check_environment() if no credentials have been sourced
Bug #1319703 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
ERROR: Missing required environment variables:
CI_
OS_USERNAME
CI_
CI_
CI_OAUTH_TOKEN
CI_
Please ensure the novarc file has been sourced.
If run-tests is used without sourcing valid credentials it fails hard without displaying the test failures/errors nor the run summary.
Related branches
lp://staging/~vila/uci-engine/1319703-optional-creds
- PS Jenkins bot (community): Approve (continuous-integration)
- Evan (community): Approve
-
Diff: 56 lines (+23/-12)2 files modifiedjuju-deployer/deploy.py (+2/-0)
run-tests (+21/-12)
Changed in uci-engine: | |
status: | Triaged → Fix Committed |
Changed in uci-engine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I just ran into this myself when trying to list all the tests or run the unit tests for the intercom charm, neither of which need cloud credentials.