Closed
Bug 1658679
Opened 5 years ago
Closed 5 years ago
remoteautomation.py should handle mozdevice.get_file returning bytes in Python 3
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox79 unaffected, firefox80 unaffected, firefox81 fixed)
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | --- | fixed |
People
(Reporter: bc, Assigned: bc)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Bug 1650915 reverted the python 3 changes to mozdevice.get_file which had changed the return type to be str. Under Python 3 it now will return bytes resulting in a TypeError attempting to concat a str and a bytes in RemoteAutomation.read_stdout().
Traceback (most recent call last):
File "_tests/reftest/remotereftest.py", line 450, in run_test_harness
retVal = reftest.runTests(options.tests, options)
File "_tests/reftest/runreftest.py", line 631, in runTests
return self.runSerialTests(manifests, options, cmdargs)
File "_tests/reftest/runreftest.py", line 972, in runSerialTests
return run()
File "_tests/reftest/runreftest.py", line 946, in run
status = self.runApp(
File "_tests/reftest/remotereftest.py", line 389, in runApp
status, self.lastTestSeen = self.automation.runApp(None, env,
File "_tests/reftest/remoteautomation.py", line 82, in runApp
status = self.waitForFinish(timeout, maxTime)
File "_tests/reftest/remoteautomation.py", line 132, in waitForFinish
status = self.wait(timeout=maxTime, noOutputTimeout=timeout)
File "_tests/reftest/remoteautomation.py", line 371, in wait
hasOutput = self.read_stdout()
File "_tests/reftest/remoteautomation.py", line 285, in read_stdout
self.logBuffer += newLogContent
A similar issue was already fixed in testing/gtest/remotegtests.py.
Comment 1•5 years ago
|
||
Set release status flags based on info from the regressing bug 1650915
status-firefox79:
--- → unaffected
status-firefox80:
--- → unaffected
status-firefox81:
--- → affected
status-firefox-esr68:
--- → unaffected
status-firefox-esr78:
--- → unaffected
Updated•5 years ago
|
Keywords: regression
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/699110b9e6fd
Fix Python 3 compatibility in RemoteAutomation.read_stdout(). r=jmaher
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Updated•5 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•