Open
Bug 1719677
Opened 3 years ago
Updated 2 years ago
[mozlog] Permanent Windows Marionette UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined> - DO NOT USE FOR CLASSIFICATION
Categories
(Testing :: Mozbase, defect, P5)
Testing
Mozbase
Tracking
(Not tracked)
NEW
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=344671000&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/by4mVM-nS1aRRwYDmMiZ4w/runs/0/artifacts/public/logs/live_backing.log
Not new and not reported as failure.
[task 2021-07-08T11:01:46.907Z] 11:01:46 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_profile_management.py TestSwitchProfileWithoutWorkspace.test_new_named_profile_unicode
[task 2021-07-08T11:01:46.908Z] 11:01:46 INFO - 1625742106907 Marionette DEBUG Accepted connection 3 from 127.0.0.1:52564
[task 2021-07-08T11:01:46.919Z] 11:01:46 INFO - 1625742106919 Marionette DEBUG 3 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-07-08T11:01:46.921Z] 11:01:46 INFO - 1625742106920 Marionette DEBUG 3 <- [1,1,null,{"sessionId":"aefd1621-6c15-466f-8e9f-bd732e85f334","capabilities":{"browserName":"firefox","browserVersion":"91.0a ... n.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2021-07-08T11:01:46.922Z] 11:01:46 INFO - 1625742106921 Marionette DEBUG 3 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-07-08T11:01:46.922Z] 11:01:46 INFO - 1625742106922 Marionette DEBUG 3 <- [1,2,null,{"value":null}]
[task 2021-07-08T11:01:46.923Z] 11:01:46 INFO - 1625742106923 Marionette DEBUG 3 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-07-08T11:01:46.923Z] 11:01:46 INFO - 1625742106923 Marionette DEBUG 3 <- [1,3,null,{"value":null}]
[task 2021-07-08T11:01:46.924Z] 11:01:46 INFO - 1625742106924 Marionette DEBUG 3 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-07-08T11:01:46.924Z] 11:01:46 INFO - 1625742106924 Marionette DEBUG 3 <- [1,4,null,{"value":null}]
[task 2021-07-08T11:01:47.205Z] 11:01:47 INFO - mozlog.structuredlog: Failure calling log handler:
[task 2021-07-08T11:01:47.206Z] 11:01:47 INFO - Traceback (most recent call last):
[task 2021-07-08T11:01:47.206Z] 11:01:47 INFO - File "C:\Users\task_1625733998\build\venv\lib\site-packages\mozlog\structuredlog.py", line 294, in _handle_log
[task 2021-07-08T11:01:47.207Z] 11:01:47 INFO - handler(data)
[task 2021-07-08T11:01:47.207Z] 11:01:47 INFO - File "C:\Users\task_1625733998\build\venv\lib\site-packages\mozlog\handlers\base.py", line 90, in __call__
[task 2021-07-08T11:01:47.207Z] 11:01:47 INFO - self.stream.write(formatted)
[task 2021-07-08T11:01:47.208Z] 11:01:47 INFO - File "c:\mozilla-build\python3\lib\encodings\cp1252.py", line 19, in encode
[task 2021-07-08T11:01:47.208Z] 11:01:47 INFO - return codecs.charmap_encode(input,self.errors,encoding_table)[0]
[task 2021-07-08T11:01:47.209Z] 11:01:47 INFO - UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined>
[task 2021-07-08T11:01:52.182Z] 11:01:52 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_profile_management.py TestSwitchProfileWithoutWorkspace.test_new_named_profile_unicode_escape_characters
[task 2021-07-08T11:01:52.182Z] 11:01:52 INFO - 1625742112182 Marionette DEBUG Accepted connection 3 from 127.0.0.1:52626
[task 2021-07-08T11:01:52.183Z] 11:01:52 INFO - 1625742112182 Marionette DEBUG 3 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-07-08T11:01:52.184Z] 11:01:52 INFO - 1625742112184 Marionette DEBUG 3 <- [1,1,null,{"sessionId":"47d7f7a8-09c1-47fa-b8e4-dfb06535d73c","capabilities":{"browserName":"firefox","browserVersion":"91.0a ... b.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2021-07-08T11:01:52.185Z] 11:01:52 INFO - 1625742112185 Marionette DEBUG 3 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-07-08T11:01:52.185Z] 11:01:52 INFO - 1625742112185 Marionette DEBUG 3 <- [1,2,null,{"value":null}]
[task 2021-07-08T11:01:52.186Z] 11:01:52 INFO - 1625742112186 Marionette DEBUG 3 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-07-08T11:01:52.187Z] 11:01:52 INFO - 1625742112186 Marionette DEBUG 3 <- [1,3,null,{"value":null}]
[task 2021-07-08T11:01:52.187Z] 11:01:52 INFO - 1625742112187 Marionette DEBUG 3 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-07-08T11:01:52.187Z] 11:01:52 INFO - 1625742112187 Marionette DEBUG 3 <- [1,4,null,{"value":null}]
[task 2021-07-08T11:01:52.439Z] 11:01:52 INFO - mozlog.structuredlog: Failure calling log handler:
[task 2021-07-08T11:01:52.439Z] 11:01:52 INFO - Traceback (most recent call last):
[task 2021-07-08T11:01:52.439Z] 11:01:52 INFO - File "C:\Users\task_1625733998\build\venv\lib\site-packages\mozlog\structuredlog.py", line 294, in _handle_log
[task 2021-07-08T11:01:52.439Z] 11:01:52 INFO - handler(data)
[task 2021-07-08T11:01:52.440Z] 11:01:52 INFO - File "C:\Users\task_1625733998\build\venv\lib\site-packages\mozlog\handlers\base.py", line 90, in __call__
[task 2021-07-08T11:01:52.440Z] 11:01:52 INFO - self.stream.write(formatted)
[task 2021-07-08T11:01:52.441Z] 11:01:52 INFO - File "c:\mozilla-build\python3\lib\encodings\cp1252.py", line 19, in encode
[task 2021-07-08T11:01:52.441Z] 11:01:52 INFO - return codecs.charmap_encode(input,self.errors,encoding_table)[0]
[task 2021-07-08T11:01:52.442Z] 11:01:52 INFO - UnicodeEncodeError: 'charmap' codec can't encode character '\u1f36' in position 194: character maps to <undefined>
Updated•3 years ago
|
Keywords: intermittent-failure
Summary: Permanent Windows Marionette UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined> → Permanent Windows Marionette UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined> - DO NOT USE FOR CLASSIFICATION
Comment 2•3 years ago
|
||
(In reply to James Graham [:jgraham] from bug 1705844 comment #3)
It looks like we're trying to encode the character in the Windows-1252 character set and that's failing. So the question is why something is trying to use that rather than UTF-8. It's possible that the output stream is being opened in a mode that defaults to windows-1252 encoding on Windows, or something, but I'm not sure without looking more.
Component: Marionette → Mozbase
Summary: Permanent Windows Marionette UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined> - DO NOT USE FOR CLASSIFICATION → [mozlog] Permanent Windows Marionette UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 194: character maps to <undefined> - DO NOT USE FOR CLASSIFICATION
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•