Closed
Bug 1318001
Opened 9 years ago
Closed 9 years ago
Autophone - mozdevice - adb*.py - properly split lines from shell output.
Categories
(Testing Graveyard :: Autophone, defect)
Testing Graveyard
Autophone
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: bc, Assigned: bc)
References
Details
Attachments
(3 files, 2 obsolete files)
3.77 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
7.51 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
772 bytes,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
Versions of Android prior to 7 use DOS line endings with carriage returns \r. adb*.py has several places where we split output from a shell command into lines via '...'.split('\r'). This does not work when the output uses newlines \n. In addition, we have at least one location where we use '...'.split('\r\n') which may not be what is intended.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8811308 -
Flags: review?(gbrown)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8811311 -
Flags: review?(gbrown)
Assignee | ||
Comment 3•9 years ago
|
||
Example run locally with Nexus 6P and Pixel with this patch and patches from bug 1245347 and bug 1317426 :
https://treeherder.allizom.org/#/jobs?repo=autoland&revision=2b4c107f00d2f42d305e00f97fce69eaf1dcb44a&filter-searchStr=autophone
Assignee | ||
Comment 4•9 years ago
|
||
with more splitlines goodness thanks to gbrown.
Attachment #8811308 -
Attachment is obsolete: true
Attachment #8811308 -
Flags: review?(gbrown)
Attachment #8811376 -
Flags: review?(gbrown)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8811311 -
Attachment is obsolete: true
Attachment #8811311 -
Flags: review?(gbrown)
Attachment #8811377 -
Flags: review?(gbrown)
![]() |
||
Updated•9 years ago
|
Attachment #8811376 -
Flags: review?(gbrown) → review+
![]() |
||
Updated•9 years ago
|
Attachment #8811377 -
Flags: review?(gbrown) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Follow up autophone only patch to fix a split in utils.py
Attachment #8811382 -
Flags: review?(gbrown)
![]() |
||
Updated•9 years ago
|
Attachment #8811382 -
Flags: review?(gbrown) → review+
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/eee080a43674
Autophone - mozdevice - adb*.py - properly split lines from shell output, r=gbrown.
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Blocks: autophone-deployments
Comment 9•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee | ||
Comment 10•9 years ago
|
||
deployed 2016-11-18 ~10:00 AM
Updated•4 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•