Convert 'mach telemetry-tests-client' to run with Python 3
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
People
(Reporter: KrisWright, Assigned: raphael)
References
(Blocks 1 open bug)
Details
Attachments
(4 files, 2 obsolete files)
mach telemetry-tests-client still runs with python 2 [1]. We want to convert all mach commands to python 3.
To do this, any dependencies of the command may need to be converted as well as the command itself.
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
We're blocked on Python 3 support in marionette driver.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
Once https://phabricator.services.mozilla.com/D108828 lands, this will be the last command to be converted :).
I took a stab at converting it, but the tests hit timeouts under Python 3 (with no obvious errors reported). Raphael, do you think you'll have a chance to look into this sometime soon? Are the timeouts what you were talking about in comment 1? And if so, who would be best to fix marionette driver? Thanks!
| Assignee | ||
Comment 4•5 years ago
|
||
I am currently testing D108834 locally. When I run ./mach telemetry-tests-client the imports seem to be resolved just fine, but the browser hangs and the test suite eventually fails with the following error:
IOError: Process killed after 120s because no connection to Marionette server could be established. Check gecko.log for errors
The gecko.log file contains the following lines, which I can't seem to find on a recent central checkout:
1616075482644 Marionette INFO Listening on port 2828
1616075482682 Toolkit.Telemetry TRACE TelemetryController::observe - app-startup notified.
JavaScript error: chrome://marionette/content/driver.js, line 136: NS_ERROR_FILE_NOT_FOUND:
| Assignee | ||
Comment 5•5 years ago
|
||
I rebased patch D108834 locally to a recent a central checkout and all 9 tests passed via python2 ./mach telemetry-tests-client.
Comment 6•5 years ago
|
||
Comment 7•5 years ago
|
||
Depends on D109080
Comment 8•5 years ago
|
||
Depends on D109081
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment on attachment 9210321 [details]
Bug 1638991 - [ci] Run telemetry-tests-client tests with Python 3, r?raphael
Revision D109084 was moved to bug 1699757. Setting attachment 9210321 [details] to obsolete.
| Assignee | ||
Comment 11•5 years ago
|
||
Clearing the ni request here since we're discussing on the Phabricator patches.
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Description
•