Closed
Bug 586792
Opened 14 years ago
Closed 14 years ago
Automation scripts should create canonical test paths before sending data to brasstacks
Categories
(Mozilla QA Graveyard :: Mozmill Automation, defect)
Mozilla QA Graveyard
Mozmill Automation
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Assigned: whimboo)
Details
Attachments
(2 files)
3.65 KB,
patch
|
whimboo
:
feedback+
|
Details | Diff | Splinter Review |
2.16 KB,
patch
|
gmealer
:
review+
|
Details | Diff | Splinter Review |
Right now we are sending full (absolute) paths in our reports up to brasstacks. That makes it hard to identify the same test modules. That said we should post-process the report data we get from Mozmill.
Assignee | ||
Comment 1•14 years ago
|
||
This WIP introduces canonical path to our test results. It modifies the test path accordingly to the given root path (-t option) and the chosen test-run. It will not modify the "root_path" of the report. Here some paths and the final results: General tests ============= c:\\test\\firefox\\nox\\mozmill-tests\\firefox\\testLayout\\testNavigateFTP.js => firefox/testLayout/testNavigateFTP.js /test/nox/mozmill-tests/firefox/restartTests/testDefaultBookmarks/test1.js => firefox/restartTests/testDefaultBookmarks/test1.js Addons tests ============ /test/firefox/nox/mozmill-tests/addons/toolbar@google.com/tests/testStart.js => addons/toolbar@google.com/tests/testStart.js Update tests ============ /test/mozmill-tests/firefox/softwareUpdate/testDirectUpdate/test1.js => softwareUpdate/testDirectUpdate/test1.js This patch has to work with Mozmill 1.4.1 and Mozmill 1.4.2. We have to keep the backward compatibility for now. Geo, it would be great if you could test it with 1.4.1 at least on one platform and run tests with 1.4.2 on all platforms (win, linux, and mac). You can write the report to a file for Mozmill 1.4.2 (--report=file://filename) or send to brasstacks for Mozmill 1.4.1 (--report=http://brasstacks.mozilla.com/couchdb/mozmill). Sending to brasstacks for Mozmill 1.4.2 doesn't work at the moment due to bug 582979.
Attachment #465839 -
Flags: feedback?(gmealer)
Assignee | ||
Comment 2•14 years ago
|
||
Geo, can you please make sure to check if this is what we want to have for our dashboard? I would like to push it as soon as possible. Thanks.
Still in progress testing, but summarizing the IRC conversation we just had: I raised a concern that putting this functionality in at the execution script level tightly couples our process to these execution scripts. Alternate execution methods (for example, mozmill --report) won't properly massage the paths. My suggestions was that if the process needs to be path-dependent, we handle this on the couchapp side as a data massaging task there instead. That way, any reporter would be treated the same way. Per Henrik, this code will basically work on the couchapp side too, so I'm continuing to test it out.
Assignee | ||
Comment 4•14 years ago
|
||
Another good point is that we are more flexible on the couchapp side. The only requirement we will have when following that way is, that we need an update design doc which handles those transformations on the server side.
Paths look fine based on runs on Linux, Windows, and Mac. I'd go with this code, but like I said, probably at the back end. Ubuntu -- http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d8d003b http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d8d0573 WinXP -- http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d8ce571 http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d8cf549 MacOS -- http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d839ff6 http://brasstacks.mozilla.com/couchdb/mozmill-test/d37f8f06049accd405a3f2b55d83b8e1
Assignee | ||
Comment 6•14 years ago
|
||
Thanks Geo. At the moment I'm tempted to move this code into the automation script itself until we have a working solution in the couchapp. That will make sure that all reports send via the script will have the correct path. Once bug 592652 has been fixed we can remove this code from the automation script. Landed as: http://hg.mozilla.org/qa/mozmill-automation/rev/c9d625e6961c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 465839 [details] [diff] [review] WIP v1 Ah, forgot the review. Andrew can you please check? I will still leave it in our repository because we need it starting from today with the upgrade to Mozmill 1.5.
Attachment #465839 -
Flags: review?(halbersa)
Attachment #465839 -
Flags: feedback?(gmealer)
Attachment #465839 -
Flags: feedback+
Assignee | ||
Comment 8•14 years ago
|
||
Well, after talking with jchris from couchio and checking our current code of the dashboard we already convert the path on the couchdb side. Another result from the talk with jchris was that we shouldn't worry about the absolute paths when uploading the results. We can simply strip of unwanted parts of the path while creating the view or using the show function. That way we are more flexible with changes in the future. Patch upcoming...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•14 years ago
|
||
This will backout most of the latest changes except the little report_type fix.
Attachment #471978 -
Flags: review?(gmealer)
Comment on attachment 471978 [details] [diff] [review] backout patch Compared this patch to previous, questioned hskupin on any differences. Looks great!
Attachment #471978 -
Flags: review?(gmealer) → review+
Assignee | ||
Comment 11•14 years ago
|
||
Landed as with the removal of "import re": http://hg.mozilla.org/qa/mozmill-automation/rev/21fccffb5256 Closing as wontfix in favor of the couchdb relaxation.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 12•14 years ago
|
||
Move of Mozmill related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Mozmill Tests → Mozmill Automation
Product: Testing → Mozilla QA
QA Contact: mozmill-tests → mozmill-automation
Whiteboard: [mozmill-automation]
Version: Trunk → unspecified
Updated•14 years ago
|
Attachment #465839 -
Flags: review?(ahalberstadt) → review?
Assignee | ||
Updated•14 years ago
|
Attachment #465839 -
Flags: review?
Updated•10 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•