Closed
Bug 826896
Opened 10 years ago
Closed 10 years ago
Update gaiatest mozharness script to set DM_TRANS and TEST_DEVICE env variables
Categories
(Release Engineering :: Applications: MozharnessCore, defect, P1)
Release Engineering
Applications: MozharnessCore
All
Gonk (Firefox OS)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: armenzg)
References
Details
Attachments
(1 file)
1.67 KB,
patch
|
mozilla
:
review+
armenzg
:
checked-in+
|
Details | Diff | Splinter Review |
There's a pull request pending for gaia-ui-tests that allows them to populate media files using devicemanager prior to test, see: https://github.com/mozilla/gaia-ui-tests/pull/236/files In order for this to work, we'll need to set DM_TRANS='sut' and TEST_DEVICE=(ip of panda) before invoking gaiatest.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → armenzg
Assignee | ||
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•10 years ago
|
||
Aki, is there a way to show on the logs that these env variables have been set? The current logs do not show any env changes. Perhaps this should be configuration value rather than modified in the code? Do we dump env variables on mozharness? I can't seem to find that.
Attachment #698768 -
Flags: review?(aki)
Comment 2•10 years ago
|
||
Comment on attachment 698768 [details] [diff] [review] adjust env for gaia ui tests + env = self.query_env() + env["DM_TRANS"] = "sut" + env["TEST_DEVICE"] = self.mozpool_device This is equivalent to env = self.query_env(partial_env={'DM_TRANS': 'sut', 'TEST_DEVICE': self.mozpool_device})
Attachment #698768 -
Flags: review?(aki) → review+
Comment 3•10 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] from comment #1) > Aki, is there a way to show on the logs that these env variables have been > set? > > The current logs do not show any env changes. > > Perhaps this should be configuration value rather than modified in the code? > Do we dump env variables on mozharness? I can't seem to find that. There isn't, currently. I've been meaning to echo env settings to the log, but have been putting it off since android signing can use env vars for passphrases. I thought about making the env logging configurable, but haven't gotten to it. If this would be helpful here, I can revisit (or point you to where/how to make the changes).
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 698768 [details] [diff] [review] adjust env for gaia ui tests http://hg.mozilla.org/build/mozharness/rev/740e75fc5af5
Attachment #698768 -
Flags: checked-in+
Assignee | ||
Comment 5•10 years ago
|
||
Feel free to throw mozharness work at me and see where I can help.
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → Release Engineering
Updated•9 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•