Closed
Bug 837022
Opened 13 years ago
Closed 12 years ago
Run xpcshell tests on Ubuntu
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
References
Details
Attachments
(2 files)
|
3.75 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.25 KB,
patch
|
catlee
:
review+
jmaher
:
feedback+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•13 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•13 years ago
|
||
It's orange on build-system (old style unittests) and green on cedar (mozharness based). Hmmm....
Comment 2•13 years ago
|
||
It's deceptively green on Cedar: "TEST-INFO | skipping /builds/slave/test/build/tests/xpcshell/tests/netwerk/test/unit/test_spdy.js | run-if: hasNode"
| Assignee | ||
Comment 3•13 years ago
|
||
Oooh, thanks philor.
aki, looks like mozharness is missing MOZ_NODE_PATH env variable from http://hg.mozilla.org/build/buildbotcustom/file/51bbb7dd3349/env.py#l80
Comment 4•13 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #3)
> Oooh, thanks philor.
>
> aki, looks like mozharness is missing MOZ_NODE_PATH env variable from
> http://hg.mozilla.org/build/buildbotcustom/file/51bbb7dd3349/env.py#l80
After investigating, I don't think we use that.
We use pf.get('unittest-env'):
http://hg.mozilla.org/build/buildbotcustom/file/51bbb7dd3349/misc.py#l551
which is only DISPLAY:
http://hg.mozilla.org/build/buildbot-configs/file/843cf98d9175/mozilla-tests/config.py#l368
The only thing I can see using linux-unittest is
http://hg.mozilla.org/build/buildbotcustom/file/51bbb7dd3349/misc.py#l2266
which is generateFuzzingObjects().
| Assignee | ||
Comment 5•13 years ago
|
||
Hmm, https://tbpl.mozilla.org/php/getParsedLog.php?id=19642042&tree=Build-System&full=1 tell that MOZ_NODE_PATH does exist, what triggers SPDY tests (iirc)...
Comment 6•13 years ago
|
||
I found http://hg.mozilla.org/build/buildbotcustom/file/51bbb7dd3349/misc.py#l568, but that only sets linux-perf afaict, not linux-unittest.
linux-perf doesn't have NODE.
Still investigating. This affects bug 793022 so is high priority for me.
Comment 7•13 years ago
|
||
This patch:
a) sets ScriptFactory's env to an 'env' in the mozharness_suite_config if there, for mozharness desktop unittests
b) sets ScriptFactory's env to MozillaEnvironments[platform_config['env_name']] for mozharness desktop Talos. (this is generally PLATFORM-perf)
c) sets the mozharness_suite_config's env to MozillaEnvironments(PLATFORM-unittest) and updates it with pf['unittest_env'] if it exists.
I had to add a .get() to the MozillaEnvironments call, or the test-masters run would die on ics_armv7_b2g.
I need to do a staging test run for bug 840309, so I should see this working on win32, at least.
Attachment #712730 -
Flags: review?(rail)
| Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 712730 [details] [diff] [review]
(custom) mozharness env
Review of attachment 712730 [details] [diff] [review]:
-----------------------------------------------------------------
::: misc.py
@@ +1895,5 @@
> 'slavebuilddir': slavebuilddir,
> 'factory': factory,
> 'category': branch,
> 'properties': properties,
> + "env": MozillaEnvironments[platform_config['env_name']],
A nit. Can you use single quotes for consistency?
Attachment #712730 -
Flags: review?(rail) → review+
Comment 9•13 years ago
|
||
Comment on attachment 712730 [details] [diff] [review]
(custom) mozharness env
I see the updated env on my latest staging win32 test run.
http://hg.mozilla.org/build/buildbotcustom/rev/d703f9167162
Attachment #712730 -
Flags: checked-in+
Comment 10•13 years ago
|
||
This is live.
| Assignee | ||
Comment 11•12 years ago
|
||
nodejs update made xpcshell green, we can disable it on Fedora and use Ubuntu instead. I'd wait till Thursday to make sure that everything works.
Attachment #715783 -
Flags: review?(catlee)
Attachment #715783 -
Flags: feedback?(jmaher)
Comment 12•12 years ago
|
||
Comment on attachment 715783 [details] [diff] [review]
Switch from Fedora to Ubuntu for xpcshell tests
Review of attachment 715783 [details] [diff] [review]:
-----------------------------------------------------------------
awesome!
Attachment #715783 -
Flags: feedback?(jmaher) → feedback+
Updated•12 years ago
|
Attachment #715783 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 715783 [details] [diff] [review]
Switch from Fedora to Ubuntu for xpcshell tests
http://hg.mozilla.org/build/buildbot-configs/rev/0a6aeb7381e4
Attachment #715783 -
Flags: checked-in+
| Assignee | ||
Comment 15•12 years ago
|
||
in production
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•