Closed
Bug 695351
Opened 13 years ago
Closed 12 years ago
update buildbot configs for android mochitests to use an in-tree manifest
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: bear)
Details
(Whiteboard: [android][tegra][mobile_unittests])
Attachments
(2 files, 4 obsolete files)
5.96 KB,
patch
|
mozilla
:
review+
bear
:
checked-in+
|
Details | Diff | Splinter Review |
4.42 KB,
patch
|
mozilla
:
review+
bear
:
checked-in+
|
Details | Diff | Splinter Review |
now that bug 694741 is landed, we don't need to hardcode our test paths in android. This is only for mozilla-central/inbound right now, not for aurora or beta. Here is an example of a command line that we are running: python mochitest/runtestsremote.py --deviceIP 10.250.49.85 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --certificate-path certs --app org.mozilla.fennec --console-level INFO --http-port 30097 --ssl-port 31097 --pidfile /builds/tegra-097/test/../runtestsremote.pid --test-path dom/tests/mochitest/ajax/mochikit We now need to run something similar to this: python mochitest/runtestsremote.py --deviceIP 10.250.49.85 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --certificate-path certs --app org.mozilla.fennec --console-level INFO --http-port 30097 --ssl-port 31097 --pidfile /builds/tegra-097/test/../runtestsremote.pid --run-only-tests=android.json --total-chunks=8 --this-chunk=1 --chunk-by-dir note the --this-chunk value will change for all of the current 8 chunks.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bear
Whiteboard: [android][tegra][mobile_unittests]
Reporter | ||
Comment 1•13 years ago
|
||
this is 2.5 months old, can we get this in? Why was this prioritized lower? If we do this for native android tests only vs xul it would solve a lot of problems. This would allow people to test stuff on try and to turn on tests which fail due to e10s issues on xul only.
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #1) > this is 2.5 months old, can we get this in? Why was this prioritized lower? > If we do this for native android tests only vs xul it would solve a lot of > problems. This would allow people to test stuff on try and to turn on tests > which fail due to e10s issues on xul only. It wasn't "prioritized lower" it was just missed in all the other things that "had to be done *NOW* for android over the last couple of months. And yes, I will work on this now.
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #586449 -
Flags: feedback?(catlee)
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #586450 -
Flags: feedback?(catlee)
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #586450 -
Attachment is obsolete: true
Attachment #586450 -
Flags: feedback?(catlee)
Attachment #586456 -
Flags: feedback?(catlee)
Reporter | ||
Comment 6•13 years ago
|
||
as a non expert on this stuff, it looks like it is using this for android tests which is good. Does it do the '--total-chunks=8 --this-chunk=x' ? similar to the 5 chunks in desktop mochitests.
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #586449 -
Attachment is obsolete: true
Attachment #586449 -
Flags: feedback?(catlee)
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #586456 -
Attachment is obsolete: true
Attachment #586456 -
Flags: feedback?(catlee)
Assignee | ||
Updated•13 years ago
|
Attachment #586459 -
Flags: review?(catlee)
Assignee | ||
Updated•13 years ago
|
Attachment #586460 -
Flags: review?(catlee)
Reporter | ||
Comment 9•13 years ago
|
||
Comment on attachment 586460 [details] [diff] [review] buildbot-configs change with chunking Review of attachment 586460 [details] [diff] [review]: ----------------------------------------------------------------- hey, this is looking great from my point of view.
Assignee | ||
Comment 10•13 years ago
|
||
I have put this on the tegra staging server to run today
Assignee | ||
Updated•13 years ago
|
Attachment #586459 -
Flags: review?(catlee) → review?(aki)
Assignee | ||
Updated•13 years ago
|
Attachment #586460 -
Flags: review?(catlee) → review?(aki)
Comment 11•13 years ago
|
||
Comment on attachment 586459 [details] [diff] [review] buildbotcustom change with chunking This looks good, assuming the tests run well. Could you add a if totalChunks: assert 1 <= thisChunk <= totalChunks like line 796 in steps/unittest.py ? Also, do we want to make testPath and testManifest mutually exclusive? The code as written doesn't do that.
Comment 12•13 years ago
|
||
Comment on attachment 586460 [details] [diff] [review] buildbot-configs change with chunking Thought about how we could specify (the overlapping) non-mochitests in one list, and then have the android-xul and android dicts specify the mochitest portions and extend the non-mochitest list. Not sure how much we gain there, especially since we want android-xul to go away after a few releases. r=me.
Attachment #586460 -
Flags: review?(aki) → review+
Comment 13•13 years ago
|
||
Comment on attachment 586459 [details] [diff] [review] buildbotcustom change with chunking r- for not specifying thisChunk / totalChunks for mochitests.
Attachment #586459 -
Flags: review?(aki) → review-
Assignee | ||
Comment 14•13 years ago
|
||
this time I remember to *pass* the chunking parameters for mochitest - d'oh!
Attachment #586459 -
Attachment is obsolete: true
Attachment #587129 -
Flags: review?(aki)
Comment 15•13 years ago
|
||
Comment on attachment 587129 [details] [diff] [review] buildbotcustom change with chunking r=me with the assert and passing tests with correct command line options (comment 11)
Attachment #587129 -
Flags: review?(aki) → review+
Assignee | ||
Comment 16•13 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #15) > Comment on attachment 587129 [details] [diff] [review] > buildbotcustom change with chunking > > r=me with the assert and passing tests with correct command line options > (comment 11) added assert and will update test master to include new version of code
Assignee | ||
Comment 17•13 years ago
|
||
this is being tested on the tegra staging foopy last night and tonight and is currently in a cage match with hwine's patch to add robocop.apk will check on it tonight
Assignee | ||
Comment 18•12 years ago
|
||
joel, this what i'm seeing in staging now: python mochitest/runtestsremote.py --deviceIP 10.250.50.94 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --certificate-path certs --app org.mozilla.fennec --console-level INFO --http-port 30184 --ssl-port 31184 --pidfile /builds/tegra-184/test/../runtestsremote.pid --run-only-tests android.json --symbols-path=../symbols --total-chunks 8 --this-chunk 4 looks ok to me - can you sanity check the above?
Reporter | ||
Comment 19•12 years ago
|
||
bear, that looks correct! Thanks for double checking.
Assignee | ||
Comment 20•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #19) > bear, that looks correct! Thanks for double checking. cool, let me get this landed so it will be picked up during the next reconfig
Assignee | ||
Comment 21•12 years ago
|
||
Comment on attachment 586460 [details] [diff] [review] buildbot-configs change with chunking committed changeset 5297:f784166f4b2e
Attachment #586460 -
Flags: checked-in+
Assignee | ||
Comment 22•12 years ago
|
||
Comment on attachment 587129 [details] [diff] [review] buildbotcustom change with chunking committed changeset 1997:ca617f34ac5b
Attachment #587129 -
Flags: checked-in+
Comment 23•12 years ago
|
||
(In reply to Mike Taylor [:bear] from comment #22) > Comment on attachment 587129 [details] [diff] [review] > buildbotcustom change with chunking > > committed changeset 1997:ca617f34ac5b I suspect you didn't 'hg push' .
Comment 24•12 years ago
|
||
Live in production.
Assignee | ||
Comment 25•12 years ago
|
||
spotted in tbpl \o/
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•