Closed
Bug 818152
Opened 12 years ago
Closed 12 years ago
dmADB uses subprocess.check_output() which is new in 2.7
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(firefox18 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox18 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(1 file)
1.21 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
For some reason we are hitting an "zip/unzip failure: falling back to normal push" when using busybox on the test slaves. This doesn't actually cause a failure, but it adds 20-30 minutes of setup time to each job (since all the tests need to be pushed one at a time).
https://tbpl.mozilla.org/php/getParsedLog.php?id=17595016&tree=Cedar&full=1
Assignee | ||
Comment 1•12 years ago
|
||
I pushed a patch to Cedar to add some debugging to devicemanager and we hit this traceback:
17:45:02 INFO - Traceback (most recent call last):
17:45:02 INFO - File "/home/cltbld/talos-slave/test/build/venv/lib/python2.6/site-packages/mozdevice/devicemanagerADB.py", line 206, in pushDir
17:45:02 INFO - subprocess.check_output(["zip", "-r", localZip, '.'], cwd=localDir)
17:45:02 INFO - AttributeError: 'module' object has no attribute 'check_output'
The check_output function is new as of python 2.7, patch coming shortly
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Assignee | ||
Updated•12 years ago
|
Component: XPCShell Harness → Mozbase
OS: Gonk (Firefox OS) → All
QA Contact: hskupin
Hardware: ARM → All
Summary: B2G XPCShell tests unzip failure with busybox → dmADB uses subprocess.check_output() which is new in 2.7
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #688775 -
Flags: review?(wlachance)
Comment 3•12 years ago
|
||
Comment on attachment 688775 [details] [diff] [review]
Patch 1.0 - uses Popen instead
LGTM
Attachment #688775 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Because mozdevice on beta is so far behind trunk (and there are tons of api changes) I can't easily sync it. Unfortunately this means I need to cherry pick this change back to beta.
Assignee | ||
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
status-firefox18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•