Closed
Bug 882324
Opened 12 years ago
Closed 12 years ago
Support reftests for pandaboards on Cedar
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dminor, Assigned: kmoir)
References
Details
Attachments
(4 files, 5 obsolete files)
4.87 KB,
patch
|
Callek
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
710 bytes,
patch
|
mozilla
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
2.35 KB,
patch
|
mozilla
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
823 bytes,
patch
|
dminor
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
Once manifests are prepared for reftests on panda as part of bug 877266, the next step is to get them running on Cedar to assess how stable they are. They seem solid running on a local panda.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kmoir
Assignee | ||
Comment 1•12 years ago
|
||
Should they be reftests or reftestsmall?
reftestsmall have the extra-arg
--ignore-window-size
Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(dminor)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #762926 -
Flags: review?(bugspam.Callek)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #762926 -
Attachment is obsolete: true
Attachment #762926 -
Flags: review?(bugspam.Callek)
Attachment #762927 -
Flags: review?(bugspam.Callek)
Comment 4•12 years ago
|
||
Comment on attachment 762927 [details] [diff] [review]
patch
Review of attachment 762927 [details] [diff] [review]:
-----------------------------------------------------------------
::: mozilla-tests/mobile_config.py
@@ +629,5 @@
> for suite in BRANCHES[branch]['platforms'][platform][slave_plat][type][:]:
> if "xpcshell" in suite[0]:
> BRANCHES[branch]['platforms'][platform][slave_plat][type].remove(suite)
> + if (("plain-reftest" in suite[0]) and (branch != "cedar")) and \
> + BRANCHES[branch]['platforms'][platform] == "panda_android":
I don't like piggybacking on the xpcshell logic (which is riding trains) for a different suite that we're trying to turn on for just cedar.
We should instead copy this block and modify accordingly.
Attachment #762927 -
Flags: review?(bugspam.Callek) → review-
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #762927 -
Attachment is obsolete: true
Attachment #762939 -
Flags: review?(bugspam.Callek)
Comment 6•12 years ago
|
||
Comment on attachment 762939 [details] [diff] [review]
patch #2
Review of attachment 762939 [details] [diff] [review]:
-----------------------------------------------------------------
sorry for another r-, this one is because I am pretty sure your "panda_android" check is wrong. See below.
::: mozilla-tests/mobile_config.py
@@ +631,5 @@
> BRANCHES[branch]['platforms'][platform][slave_plat][type].remove(suite)
>
> +#bug 882324 - Support reftests for pandaboards on Cedar
> +for branch in BRANCHES:
> + # Loop removes it from any branch that gets beyond here
if we don't do branch check here, remove this comment.
@@ +644,5 @@
> + if not slave_plat in BRANCHES[branch]['platforms'][platform]:
> + continue
> + for type in BRANCHES[branch]['platforms'][platform][slave_plat]:
> + for suite in BRANCHES[branch]['platforms'][platform][slave_plat][type][:]:
> + if (("plain-reftest" in suite[0]) and (branch != "cedar")) and \
I would have preferred to do the cedar check above like in the above loop (since it makes it more obvious how to deploy to other branches), but I won't block on it
@@ +645,5 @@
> + continue
> + for type in BRANCHES[branch]['platforms'][platform][slave_plat]:
> + for suite in BRANCHES[branch]['platforms'][platform][slave_plat][type][:]:
> + if (("plain-reftest" in suite[0]) and (branch != "cedar")) and \
> + BRANCHES[branch]['platforms'][platform] == "panda_android":
hrm actually this will never match,
BRANCH[branch]['platforms'][platform] is a dictionary, so will never match panda_android.
I suspect what you want is to do:
if not slave_plat is "panda_android":
continue
just above the |type| for loop.
Attachment #762939 -
Flags: review?(bugspam.Callek) → review-
Assignee | ||
Comment 7•12 years ago
|
||
I tested this in staging.
Attachment #762939 -
Attachment is obsolete: true
Attachment #763517 -
Flags: review?(bugspam.Callek)
Comment 8•12 years ago
|
||
Comment on attachment 763517 [details] [diff] [review]
patch
Review of attachment 763517 [details] [diff] [review]:
-----------------------------------------------------------------
r+ if my nit is addressed
::: mozilla-tests/mobile_config.py
@@ +631,5 @@
> BRANCHES[branch]['platforms'][platform][slave_plat][type].remove(suite)
>
> +#bug 882324 - Support reftests for pandaboards on Cedar
> +for branch in BRANCHES:
> + # Loop removes it from any branch that gets beyond here
I prefer to add here...
if branch in ('cedar', ):
continue
Then when we're ready to land to m-c its a simple flip of "not in ('m-aurora', ...)" etc
@@ +646,5 @@
> + if not slave_plat == "panda_android":
> + continue
> + for type in BRANCHES[branch]['platforms'][platform][slave_plat]:
> + for suite in BRANCHES[branch]['platforms'][platform][slave_plat][type][:]:
> + if (("plain-reftest" in suite[0]) and (branch != "cedar")):
then we can remove the cedar check here.... otherwise we traverse this whole list of for loops before we get an easy mental model of which branches this all applies to.
Attachment #763517 -
Flags: review?(bugspam.Callek) → review+
Comment 9•12 years ago
|
||
Comment on attachment 763517 [details] [diff] [review] [diff] [review]
patch
---------AUTOMATIC COMMENT---------
-- filter pep8-callek-june-2013 --
---------AUTOMATIC COMMENT---------
$pep8 <dir> --diff --max-line-length=159 --show-source < attachment.diff
/tmp/tmp.FkuKcxXoe7/mozilla-tests/mobile_config.py:651:24: E111 indentation is not a multiple of four
BRANCHES[branch]['platforms'][platform][slave_plat][type].remove(suite)
^
Reporter | ||
Comment 10•12 years ago
|
||
Sorry I missed this earlier, but yes it is reftestsmall.
Flags: needinfo?(dminor)
Assignee | ||
Comment 11•12 years ago
|
||
Now that changes from bug 829211 have landed we need to invoke these via mozharness
Attachment #763517 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #770800 -
Flags: review?(bugspam.Callek)
Comment 12•12 years ago
|
||
Comment on attachment 770800 [details] [diff] [review]
updated patch
Review of attachment 770800 [details] [diff] [review]:
-----------------------------------------------------------------
like before r+ if my nits (as listed in https://bugzilla.mozilla.org/show_bug.cgi?id=882324#c8 ) are addressed :-)
Attachment #770800 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 13•12 years ago
|
||
sorry I missed that nits comment this morning :-)
Attachment #770800 -
Attachment is obsolete: true
Attachment #771006 -
Flags: review?(bugspam.Callek)
Updated•12 years ago
|
Attachment #771006 -
Flags: review?(bugspam.Callek) → review+
Comment 14•12 years ago
|
||
Comment on attachment 771006 [details] [diff] [review]
patch
https://hg.mozilla.org/build/buildbot-configs/rev/7abcd7f691b4
Attachment #771006 -
Flags: checked-in+
Comment 15•12 years ago
|
||
In production
Comment 16•12 years ago
|
||
I *think* this is all I need to solve this issue.
At: https://tbpl.mozilla.org/php/getParsedLog.php?id=25661003&tree=Cedar&full=1
Attachment #780497 -
Flags: review?(aki)
Comment 17•12 years ago
|
||
Comment on attachment 780497 [details] [diff] [review]
[mozharness] ignore-window-size
This will add --ignore-window-size to the reftest harness call, but we'll still hit this issue:
android_panda.py: error: no such option: --ignore-window-size
To fix that issue, we can do one of the following:
a) add --ignore-window-size to the list of commandline options that android_panda.py will accept:
http://hg.mozilla.org/build/mozharness/file/9ccb65b68374/scripts/android_panda.py#l34
Then use self.config['ignore_window_size'] when generating commandline options for the test harness.
or,
b) land this patch, and also land a patch in buildbot-configs to stop passing --ignore-window-size to android_panda.py.
I think I prefer (b).
r+ing, with the caveat that these jobs will still be red until we stop passing --ignore-window-size to the mozharness script.
Attachment #780497 -
Flags: review?(aki) → review+
Comment 18•12 years ago
|
||
Comment on attachment 780497 [details] [diff] [review]
[mozharness] ignore-window-size
https://hg.mozilla.org/build/mozharness/rev/c624755975bc
(going with the more-patches but (b) option felt better to me as well)
Attachment #780497 -
Flags: checked-in+
Comment 19•12 years ago
|
||
Attachment #780795 -
Flags: review?(aki)
Updated•12 years ago
|
Attachment #780795 -
Flags: review?(aki) → review+
Comment 20•12 years ago
|
||
Comment on attachment 780795 [details] [diff] [review]
[configs] Remove --ignore-window-size from being passed to mozharness script
https://hg.mozilla.org/build/buildbot-configs/rev/6e6088fc8791
Attachment #780795 -
Flags: checked-in+
Comment 21•12 years ago
|
||
(In reply to Justin Wood (:Callek) from comment #18)
> Comment on attachment 780497 [details] [diff] [review]
> [mozharness] ignore-window-size
>
> https://hg.mozilla.org/build/mozharness/rev/c624755975bc
>
> (going with the more-patches but (b) option felt better to me as well)
Mozharness part merged to production.
Comment 22•12 years ago
|
||
In production
Comment 23•12 years ago
|
||
Soooo... we're *now* failing with:
16:00:27 INFO - remotereftest.py: error: no such option: --certificate-path
16:00:27 ERROR - Return code: 2
Dan, can you verify what our options should be here, if there are any other issues, etc?
Current can be seen within the context of https://hg.mozilla.org/build/mozharness/rev/c624755975bc
Flags: needinfo?(dminor)
Reporter | ||
Comment 24•12 years ago
|
||
Callek, this works on my local panda:
_tests/reftest/remotereftest.py --dm_trans=sut --ignore-window-size --app=org.mozilla.fennec_dminor --deviceIP=172.16.0.115 --xre-path=/home/dminor/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin --httpd-path=_tests/reftest/reftest/components --symbols-path=./dist/crashreporter-symbols "tests/layout/reftests/reftest.list"
Once --certificate-path is removed, the other difference is --utility-path, which is a valid option.
You are also still pointing to the crashtest manifest "reftest/tests/testing/crashtest/crashtests.list" instead of the reftest manifest "tests/layout/reftests/reftest.list"
Flags: needinfo?(dminor)
Comment 25•12 years ago
|
||
This, hopefully, is the last part of this bug
Attachment #782601 -
Flags: review?(dminor)
Reporter | ||
Comment 26•12 years ago
|
||
Comment on attachment 782601 [details] [diff] [review]
[mozharness] fix reftest command line
Review of attachment 782601 [details] [diff] [review]:
-----------------------------------------------------------------
I missed this in the needinfo, but --console-level=INFO is also not a valid option for remotereftest.py, remove that and it looks good.
Attachment #782601 -
Flags: review?(dminor) → review+
Comment 27•12 years ago
|
||
Comment on attachment 782601 [details] [diff] [review]
[mozharness] fix reftest command line
https://hg.mozilla.org/build/mozharness/rev/5099407c412c
With nit fixed
Attachment #782601 -
Flags: checked-in+
Comment 28•12 years ago
|
||
And they are running (and failing in test-specific ways) now!
Calling this bug, as scoped done
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 29•12 years ago
|
||
merged to production branch
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•