Closed Bug 1172108 Opened 11 years ago Closed 11 years ago

add support to autophone for tcheck2

Categories

(Testing Graveyard :: Autophone, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED FIXED
Tracking Status
firefox41 --- affected

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 external file, 4 obsolete files)

tcheck2 is a robocop based test- this will not be a similar script to tp4m/tsvg as defined in bug 1172105- here I would like to have a custom talos-robocop.py script to run tcheck2. This would need to install the unittests via enable_unittests=True. here is the adb command line we use: url = ('am instrument -w -e deviceroot %s -e class' ' ${robocopTestPackage}.tests.testCheck2' ' ${robocopTestName}/${robocopTestPackage}' '.FennecInstrumentationTestRunner') I think we can do something similar, but we need to make this work smoother. I think there are also preferences for robocop that we will need. This does not need pageloader.xpi.
as a note, tcheck2 is already in robocop.apk- we just need to call it with the right parameters and parse the output we care about. for talos we do 5 cycles and report the median of it.
Depends on: 1176579
Depends on: 1176582
Depends on: 1176583
a lot of work remains here, specifically: * refining the preferences * solving log parsing * installing/uninstall robocop.apk * figuring how the right level of code refactoring/sharing with other modules
Attachment #8625145 - Attachment is obsolete: true
Depends on: 1176854
Attached file working run of tcheck2 (obsolete) —
depends on some s1s2test.py/perftest.py changes, as well as a custom cnn/cnn.com/index.html pageset.
Attachment #8625156 - Attachment is obsolete: true
Attached file robocop.py - current version (obsolete) —
Assignee: nobody → jmaher
Attachment #8626163 - Attachment is obsolete: true
Status: NEW → ASSIGNED
updated with a few nits found during local testing, this is looking good.
Attachment #8634102 - Attachment is obsolete: true
Attachment #8656057 - Flags: review?(bob)
Comment on attachment 8656057 [details] [review] https://github.com/mozilla/autophone/pull/38 r+ with the nits addressed. Don't merge the pull request but merge your branch into master after you rebase. If you have any questions, feel free to ask.
Attachment #8656057 - Flags: review?(bob) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: