Closed
Bug 773817
(metro-talos)
Opened 13 years ago
Closed 11 years ago
Get talos tests running in Win8 Metro immersive mode
Categories
(Tracking Graveyard :: Metro Operations, defect)
Tracking
(firefox25 affected, firefox26- affected, firefox27- affected, firefox28 affected)
People
(Reporter: jimm, Unassigned)
References
Details
(Whiteboard: [story])
+++ This bug was initially created as a clone of Bug #771271 +++
This is for figuring out how to get talos tests running in metro mode. Other bugs will be filed on rel-eng related work.
Updated•13 years ago
|
Blocks: metro-testing
![]() |
Reporter | |
Comment 1•13 years ago
|
||
For these tests we would like them to be run on touch enabled systems so our accessibility code is in use. The Samsung Series 7 (or 8?) would be a good touch tablet to use.
![]() |
Reporter | |
Updated•13 years ago
|
Assignee: nobody → jmathies
![]() |
Reporter | |
Comment 2•13 years ago
|
||
Similar to chrome tests, I think the test launch harness can be used here.
![]() |
Reporter | |
Updated•13 years ago
|
Whiteboard: completed-elm
![]() |
Reporter | |
Updated•13 years ago
|
Assignee: jmathies → nobody
Whiteboard: [metro-mvp?]
Updated•12 years ago
|
Whiteboard: [metro-mvp?] → [metro-mvp+]
![]() |
Reporter | |
Updated•12 years ago
|
Component: General → Tests
Product: Core → Firefox for Metro
Updated•12 years ago
|
Component: Tests → Metro Operations
Product: Firefox for Metro → Tracking
Hardware: x86_64 → All
Whiteboard: [metro-mvp+] → feature=story p=13
Version: Trunk → ---
Updated•12 years ago
|
Summary: Get talos tests running in immersive mode → Story - Get talos tests running in Win8 Metro immersive mode
Updated•12 years ago
|
Whiteboard: feature=story p=13 → feature=story c=testing u=developer p=13
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Blocks: metrov1backlog
Updated•12 years ago
|
Priority: P2 → P1
![]() |
Reporter | |
Updated•12 years ago
|
Priority: P1 → P3
Updated•12 years ago
|
Assignee: nobody → jmathies
Status: NEW → ASSIGNED
QA Contact: jbecerra
![]() |
Reporter | |
Comment 4•12 years ago
|
||
From looking over our current set of tests, I think we only need a small subset of these tests:
dromaeojs - good to have
svgr - good to have
tp5o - must have
other - no need, we can't open multiple windows. plus we have startup perf covered by mochiperf.
dirtypaint - no need, can't open multiple windows.
chromez - no need, tresize not a valid test.
![]() |
Reporter | |
Comment 5•12 years ago
|
||
Looking at the tpo5 logs, it looks like this should be pretty easy to integrate. We just need to hook up the metro test harness to run_tests.py -
'python' 'run_tests.py' '--noisy' '20130715_0619_config.yml' '--datazilla-url' 'https://datazilla.mozilla.org/talos' '--authfile' 'BuildSlaves.py'
Bhavana, curious if you could help us get this coordinated. We're getting closer to rolling out on the trains and would like to get a subset of talos tests running in the metro browser. I think all the code to get these running is in the tree from our work with browser chrome tests. But there's still some integration/testing work to do in build.
Flags: needinfo?(bbajaj)
Comment 6•12 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #5)
> Looking at the tpo5 logs, it looks like this should be pretty easy to
> integrate. We just need to hook up the metro test harness to run_tests.py -
>
> 'python' 'run_tests.py' '--noisy' '20130715_0619_config.yml'
> '--datazilla-url' 'https://datazilla.mozilla.org/talos' '--authfile'
> 'BuildSlaves.py'
>
> Bhavana, curious if you could help us get this coordinated.
Sure thing, Jim.
> We're getting
> closer to rolling out on the trains and would like to get a subset of talos
> tests running in the metro browser. I think all the code to get these
> running is in the tree from our work with browser chrome tests. But there's
> still some integration/testing work to do in build.
To get started here I am looping in Armen who I believe has helped a lot in getting the tests running :) Armen given above comment from Jim, can you please outline the next steps here and let us know if releng can help with integration ?
Flags: needinfo?(bbajaj)
Updated•12 years ago
|
Flags: needinfo?(armenzg)
Comment 7•12 years ago
|
||
Hi,
I've looked at this bug and it seems that few things are needed to be clarified.
1) have all the suites needed from comment 4 been run successfully?
2) do we need a-team's support?
Once those are clear, we should file a Releng bug with information on how to run these.
I currently don't have time to help with this. Please follow up with Coop to find someone to help on the releng side.
Flags: needinfo?(armenzg)
Comment 8•12 years ago
|
||
On another note, is this supposed to run on the Win8 64-bit machines? like our unit tests?
![]() |
Reporter | |
Comment 9•12 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] (Release Enginerring) (EDT/UTC-4) from comment #7)
> Hi,
> I've looked at this bug and it seems that few things are needed to be
> clarified.
>
> 1) have all the suites needed from comment 4 been run successfully?
No, but I can do that. In the past I've always had to run talos tests manually by loading web pages and hacks. You guys have been doing some work to get these in-tree I think, is there an easy way to get these going locally these days?
> 2) do we need a-team's support?
Not sure.
![]() |
Reporter | |
Comment 10•12 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] (Release Enginerring) (EDT/UTC-4) from comment #8)
> On another note, is this supposed to run on the Win8 64-bit machines? like
> our unit tests?
Whatever slave hardware we currently use for Win8 opt / talos, which I think is the same set of slaves we currently use for mochitests.
Comment 11•12 years ago
|
||
If you checkout mozharness you can run this:
C:\slave\test\build\venv\Scripts\talos --noisy --debug -v --executablePath C:\slave\test\build\application\firefox\firefox --title T-W864-IX-038 --symbolsPath http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/cedar-win32/1374518401/firefox-25.0a1.en-US.win32.crashreporter-symbols.zip --activeTests tdhtmlr:tresize --results_url http://graphs.mozilla.org/server/collect.cgi --output talos.yml --branchName Cedar --datazilla-url https://datazilla.mozilla.org/talos --authfile C:\slave\test\oauth.txt --mozAfterPaint --filter ignore_first:5 --filter median --webServer localhost
I think you will have to add the following parameters:
* --no-read-builtbot-configs
* --installer-url <url_to_binary>
* --test-url <url_to_tests.zip>
How are you going to make it trigger the metro version rather than the default?
FYI, mozharness is going to be running talos.
run_tests.py will still get run.
I just read your comment #5 and you will want to throw any talos patches to the a-team. We don't own the talos code. jmaher could direct you to the right person.
Does this help?
![]() |
Reporter | |
Comment 12•12 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] (Release Enginerring) (EDT/UTC-4) from comment #11)
> If you checkout mozharness you can run this:
>
> C:\slave\test\build\venv\Scripts\talos --noisy --debug -v --executablePath
> C:\slave\test\build\application\firefox\firefox --title T-W864-IX-038
> --symbolsPath
> http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/cedar-win32/
> 1374518401/firefox-25.0a1.en-US.win32.crashreporter-symbols.zip
> --activeTests tdhtmlr:tresize --results_url
> http://graphs.mozilla.org/server/collect.cgi --output talos.yml --branchName
> Cedar --datazilla-url https://datazilla.mozilla.org/talos --authfile
> C:\slave\test\oauth.txt --mozAfterPaint --filter ignore_first:5 --filter
> median --webServer localhost
>
> I think you will have to add the following parameters:
> * --no-read-builtbot-configs
> * --installer-url <url_to_binary>
> * --test-url <url_to_tests.zip>
>
> How are you going to make it trigger the metro version rather than the
> default?
The executablePath param can point to the harness, which will launch the right browser.
Open issues:
1) make sure the metroharness is packaged in whatever distribution talos uses when it runs on a slave.
2) make sure that we are going to be using win8 slaves that get Q's default browser config setup.
3) make sure output from the browser is getting to the build harness that needs it.
> FYI, mozharness is going to be running talos.
Is it running talos now, or will be at some point (bug #)? I'm not familiar with the build related logic wrapped around talos. (Hence why in testing I've always had to run these tests manually.)
> run_tests.py will still get run.
What is run_tests.py? Up above you used as an example a script called 'talos' -
located at 'C:\slave\test\build\venv\Scripts\talos'.
> I just read your comment #5 and you will want to throw any talos patches to
> the a-team. We don't own the talos code. jmaher could direct you to the
> right person.
I'm hoping we won't have to change anything the the content for the actual talos test.
![]() |
Reporter | |
Comment 13•12 years ago
|
||
> > FYI, mozharness is going to be running talos.
>
> Is it running talos now, or will be at some point (bug #)? I'm not familiar
> with the build related logic wrapped around talos. (Hence why in testing
> I've always had to run these tests manually.)
>
> > run_tests.py will still get run.
>
>
> What is run_tests.py? Up above you used as an example a script called
> 'talos' -
> located at 'C:\slave\test\build\venv\Scripts\talos'.
I think I've found this but it's runtests.py, rather than run_tests.py, located in build under the talos directory -
http://mxr.mozilla.org/build/source/talos/
![]() |
Reporter | |
Comment 14•12 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #13)
> > > FYI, mozharness is going to be running talos.
> >
> > Is it running talos now, or will be at some point (bug #)? I'm not familiar
> > with the build related logic wrapped around talos. (Hence why in testing
> > I've always had to run these tests manually.)
> >
> > > run_tests.py will still get run.
> >
> >
> > What is run_tests.py? Up above you used as an example a script called
> > 'talos' -
> > located at 'C:\slave\test\build\venv\Scripts\talos'.
>
> I think I've found this but it's runtests.py, rather than run_tests.py,
> located in build under the talos directory -
>
> http://mxr.mozilla.org/build/source/talos/
Al, might also be -
http://mxr.mozilla.org/build/source/talos/talos/run_tests.py
Comment 15•12 years ago
|
||
http://mxr.mozilla.org/build/source/talos/talos/run_tests.py is the main script to run talos, you can pass in all commandline parameters this way.
![]() |
Reporter | |
Comment 16•12 years ago
|
||
> Ah, might also be -
>
> http://mxr.mozilla.org/build/source/talos/talos/run_tests.py
I'm not having any luck getting this to run locally. It has various missing dependencies that it doesn't find on its own.
I think I can hack these tests so that I can run them manually, but getting build scripts working will require testing in whatever environment we run this script in normally.
Comment 17•12 years ago
|
||
talos depends on external dependencies, these are resolved in mozharness via the script and the virtualenv.
prior to mozharness, these are resolved by including all dependencies in talos.zip.
you can create a talos.zip by running create_talos_zip.py from the root directory.
![]() |
Reporter | |
Comment 18•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #17)
> talos depends on external dependencies, these are resolved in mozharness via
> the script and the virtualenv.
>
> prior to mozharness, these are resolved by including all dependencies in
> talos.zip.
>
> you can create a talos.zip by running create_talos_zip.py from the root
> directory.
That doesn't run on Windows. :/
I did find some of the missing deps over in the tree in testing/mozbase. Installing those seems to have helped. Although I'm still missing a some things like dzclient. Maybe I can hack around the rest.
![]() |
Reporter | |
Comment 19•12 years ago
|
||
Neat, I managed to get the harness to launch metro and try to run tresize. Which obviously fails but we're making progress.
Anyone know how we serve up page load content? I'm specifying a local server but the harness doesn't appear to set up anything.
Comment 20•12 years ago
|
||
if you run with --develop, it will create a webserver, otherwise it expects a server http://localhost to be running on the system and pointing at the talos/ directory :)
Comment 21•12 years ago
|
||
We have Apache on the test machines.
This is similar (if not exactly the same) as to what we do on the Win8 test machines:
https://github.com/armenzg/bearded-ironman/blob/master/win8_64bit/setup.bat
![]() |
Reporter | |
Comment 22•12 years ago
|
||
Ok, here are the results:
http://mxr.mozilla.org/build/source/buildbot-configs/mozilla-tests/config.py#166
couldn't test due to missing resources in the repo:
tp5n, tp5o
shouldn't run in metro:
tpaint, tspaint_places_generated_med, tspaint_places_generated_max,
tresize
ran successfully:
a11yr, ts_paint, tsvgr, tsvgr_opacity,
tscrollx, tscrollr, tsvgx, tcanvasmark,
dromaeo_css, dromaeo_dom, kraken, v8_7
The only odd thing I'm not sure of, after the inital pageloader window loads up -
http://mxr.mozilla.org/build/source/talos/talos/pageloader/chrome/pageloader.xul
I don't see any rendering. All tests run (evident by the test output and drain on the system). Not sure if this is expected or not.
tested using the following command line:
$ python run_tests.py --noisy --debug -v --executablePath /T/Mozilla/MC-REL/dist/bin/metrotestharness.exe --activeTests (testlist) --output jim.yml
--cycles 1 --develop --mozAfterPaint
![]() |
Reporter | |
Updated•12 years ago
|
Whiteboard: feature=story c=testing u=developer p=13 → feature=story c=testing u=developer p=8
![]() |
Reporter | |
Comment 23•12 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #22)
> The only odd thing I'm not sure of, after the inital pageloader window loads
> up -
>
> http://mxr.mozilla.org/build/source/talos/talos/pageloader/chrome/pageloader.
> xul
>
> I don't see any rendering. All tests run (evident by the test output and
> drain on the system). Not sure if this is expected or not.
I guess this isn't quite right. From a run on desktop I see we create two windows, and in metro we load only one. I think we'll need to make a minor modification to touch this up.
![]() |
Reporter | |
Comment 24•12 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #23)
> (In reply to Jim Mathies [:jimm] from comment #22)
> > The only odd thing I'm not sure of, after the inital pageloader window loads
> > up -
> >
> > http://mxr.mozilla.org/build/source/talos/talos/pageloader/chrome/pageloader.
> > xul
> >
> > I don't see any rendering. All tests run (evident by the test output and
> > drain on the system). Not sure if this is expected or not.
>
> I guess this isn't quite right. From a run on desktop I see we create two
> windows, and in metro we load only one. I think we'll need to make a minor
> modification to touch this up.
So talos has the option of running tests in a browser with chrome and without. If without, the talos pageloader.xul is loaded in place of chrome://browser/content/browser.xul. With chrome pageloader loads pageloader.xul in the main window and tries to launch a standalone browser window for tests. This succeeds in metro but the window is hidden, since it doesn't have a real window widget.
So to get these running for now use the --noChrome option.
I have a patch that I'm working on that allows us to run with browser chrome by loading pageloader.xul into a browser tab which would be useful in picking up regressions caused by browser chrome landings (like bug 872780).
![]() |
Reporter | |
Comment 25•12 years ago
|
||
couldn't test due to missing resources in the repo:
tp5n, tp5o
shouldn't run in metro:
tpaint, tspaint_places_generated_med, tspaint_places_generated_max,
tresize
broken in metro:
tscanvasmark (bug 897409)
ran successfully:
a11yr, ts_paint, tsvgr, tsvgr_opacity,
tscrollx, tscrollr, tsvgx, dromaeo_css,
dromaeo_dom, kraken, v8_7
![]() |
Reporter | |
Updated•12 years ago
|
Alias: metro-talos
Comment 26•12 years ago
|
||
is there a need for tresize or tpaint? also tsvgr is to be replaced soo with tsvgx and tscrollr is soon to be replaced with tscrollx. We also have tart coming online soon and canvasmark in staging.
![]() |
Reporter | |
Comment 27•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #26)
> is there a need for tresize or tpaint? also tsvgr is to be replaced soo
> with tsvgx and tscrollr is soon to be replaced with tscrollx. We also have
> tart coming online soon and canvasmark in staging.
tresize and tpaint can't run since they create windows. I suppose if tscrollr runs tscrollx will. I don't know about 'tart', it's not in the tree afaict. We can run canvasmark but we shouldn't trust the results until bug 897409 is fixed. (see comment 25)
Comment 28•12 years ago
|
||
great! Are you using --noChrome on the commandline to avoid pageloader window problems? This is what we do on Android.
![]() |
Reporter | |
Comment 29•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #28)
> great! Are you using --noChrome on the commandline to avoid pageloader
> window problems? This is what we do on Android.
Currently you can only run with --noChrome, bug 897417 has patches to get chrome runs going.
Updated•12 years ago
|
Status: ASSIGNED → NEW
Comment 30•12 years ago
|
||
Armen, going by comment #7 , looks like we have test suites run successfully based on Jim's work above. Regarding your 2nd point - to get A team's help, Its unclear what we should be requesting for to them and what is needed, can you help here ?
If we do not need A team's attention what are the next steps here ?
Note we are considering this a high priority given metro will will be riding the trains soon.
Updated•12 years ago
|
Flags: needinfo?(armenzg)
Comment 31•12 years ago
|
||
Hi bajaj,
jlund will be working on bug 897420 to get this going.
For now, there's no need to get the A-team involved until we hit issues in our automation.
HTH,
Armen
Flags: needinfo?(armenzg)
Updated•12 years ago
|
Updated•12 years ago
|
Component: Metro Operations → Tests
Product: Tracking → Firefox for Metro
Target Milestone: --- → Firefox 25
Version: --- → 25 Branch
Updated•12 years ago
|
status-firefox25:
--- → affected
tracking-firefox25:
--- → +
![]() |
Reporter | |
Comment 32•12 years ago
|
||
Clearly not going to get this done in time.
tracking-firefox25:
+ → ---
tracking-firefox26:
--- → ?
Comment 33•12 years ago
|
||
Will track this for FF26 since that is the intended target for Metro release.
status-firefox26:
--- → affected
Updated•12 years ago
|
No longer blocks: metro-testing
Comment 34•12 years ago
|
||
Jim - FF26 is in beta now, on week 2 - what's the eta for this work?
Flags: needinfo?(jmathies)
Updated•12 years ago
|
status-firefox27:
--- → affected
status-firefox28:
--- → affected
Comment 35•12 years ago
|
||
That being said, I realize we are not shipping Metro with FF26 now, it's staying on Aurora (27) so untracking for 26.
tracking-firefox27:
--- → ?
![]() |
Reporter | |
Comment 36•12 years ago
|
||
(In reply to lsblakk@mozilla.com [:lsblakk] from comment #34)
> Jim - FF26 is in beta now, on week 2 - what's the eta for this work?
We're rolling out with 28. Looks like releng is really close to finishing this up. They have tests running on cedar currently. Dep bugs track remaining work.
Flags: needinfo?(jmathies)
Updated•12 years ago
|
tracking-firefox28:
--- → ?
Updated•12 years ago
|
Updated•12 years ago
|
Assignee: jmathies → nobody
Summary: Story - Get talos tests running in Win8 Metro immersive mode → Get talos tests running in Win8 Metro immersive mode
Whiteboard: feature=story c=testing u=developer p=8 → [story]
![]() |
Reporter | |
Updated•12 years ago
|
Assignee: nobody → jlund
Updated•12 years ago
|
Assignee: jmathies → nobody
Priority: P3 → --
QA Contact: jbecerra
![]() |
Reporter | |
Updated•12 years ago
|
Blocks: metro-testing
![]() |
Reporter | |
Comment 37•12 years ago
|
||
moving [story] bugs over to tracking product.
Component: Tests → Metro Operations
OS: Windows 8 Metro → Windows 8.1
Product: Firefox for Metro → Tracking
Target Milestone: Firefox 25 → ---
Version: 25 Branch → ---
Comment 38•11 years ago
|
||
Jim, there's no one assigned here - is this truly a blocker for release? Do we have no talos running on Metro at all or is this additional coverage? What's the risk here if we don't have this on while 28 is in Beta?
Flags: needinfo?(jmathies)
Comment 39•11 years ago
|
||
No, we won't block release for this. We should do this work on trunk and let it ride the trains.
tracking-firefox28:
+ → ---
Flags: needinfo?(jmathies)
![]() |
Reporter | |
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Tracking → Tracking Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•