Closed
Bug 1811494
Opened 2 years ago
Closed 2 years ago
Running Puppeteer tests errors out on Windows with "AttributeError: module 'os' has no attribute 'uname'"
Categories
(Remote Protocol :: Agent, defect)
Remote Protocol
Agent
Tracking
(firefox-esr102 unaffected, firefox109 unaffected, firefox110 unaffected, firefox111 fixed)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox109 | --- | unaffected |
firefox110 | --- | unaffected |
firefox111 | --- | fixed |
People
(Reporter: canadahonk, Assigned: canadahonk)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Steps to reproduce:
Run ./mach puppeteer-test
on Windows.
Actual results:
After Puppeteer gets ready, the Python command fails with the error:
Running job lib/esm/package.json...
Running job lib/types.d.ts and docs/puppeteer.api.json...
Using extra preference: fission.autostart=True
Traceback (most recent call last):
File "C:\mozilla-source\mozilla-unified\remote\mach_commands.py", line 659, in puppeteer_test
return puppeteer.run_test(logger, *tests, **params)
File "C:\mozilla-source\mozilla-unified\remote\mach_commands.py", line 468, in run_test
platform = os.uname().sysname.lower() if os.uname() else "win32"
AttributeError: module 'os' has no attribute 'uname'
Expected results:
No errors on running.
Comment 1•2 years ago
|
||
Thanks for filing the bug! This is a regression from bug 1797723.
Status: UNCONFIRMED → NEW
status-firefox109:
--- → unaffected
status-firefox110:
--- → unaffected
status-firefox111:
--- → affected
status-firefox-esr102:
--- → unaffected
Ever confirmed: true
Keywords: regression
Regressed by: 1797723
Summary: Running Puppeteer tests errors out on Windows → Running Puppeteer tests errors out on Windows with "AttributeError: module 'os' has no attribute 'uname'"
Assignee | ||
Comment 2•2 years ago
|
||
Fixed regression which caused a Python error preventing Puppeteer tests
on Windows being ran.
Updated•2 years ago
|
Assignee: nobody → oj
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af6674282df0
Fix running Puppeteer tests on Windows erroring out r=webdriver-reviewers,Sasha,jdescottes
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•