Closed Bug 1727802 Opened 2 months ago Closed 1 month ago

unicode error on windows sometimes when running perf with \x85

Categories

(Testing :: General, defect)

Default
defect

Tracking

(firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file)

I keep running into this and decided to hack this away.

Assignee: nobody → jmaher
Status: NEW → ASSIGNED

an example from try:
https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=aBlLUCWfRRaw25VVuKFbLQ.0&revision=cd35ebe6889423fedc54cb175bde3eb9c0ff244c

[task 2021-08-23T12:38:31.643Z] 12:38:31    ERROR -  Traceback (most recent call last):
[task 2021-08-23T12:38:31.643Z] 12:38:31     INFO -    File "c:\mozilla-build\python3\lib\threading.py", line 916, in _bootstrap_inner
[task 2021-08-23T12:38:31.643Z] 12:38:31     INFO -      self.run()
[task 2021-08-23T12:38:31.644Z] 12:38:31     INFO -    File "c:\mozilla-build\python3\lib\threading.py", line 864, in run
[task 2021-08-23T12:38:31.644Z] 12:38:31     INFO -      self._target(*self._args, **self._kwargs)
[task 2021-08-23T12:38:31.644Z] 12:38:31     INFO -    File "C:\Users\task_1629717439\build\venv\lib\site-packages\mozprocess\processhandler.py", line 1230, in _read
[task 2021-08-23T12:38:31.644Z] 12:38:31     INFO -      callback(line.rstrip())
[task 2021-08-23T12:38:31.645Z] 12:38:31     INFO -    File "C:\Users\task_1629717439\build\venv\lib\site-packages\mozprocess\processhandler.py", line 1136, in __call__
[task 2021-08-23T12:38:31.645Z] 12:38:31     INFO -      e(*args, **kwargs)
[task 2021-08-23T12:38:31.645Z] 12:38:31     INFO -    File "C:\Users\task_1629717439\build\venv\lib\site-packages\mozprocess\processhandler.py", line 1292, in __call__
[task 2021-08-23T12:38:31.646Z] 12:38:31     INFO -      self.stream.write(ensure(line) + ensure("\n"))
[task 2021-08-23T12:38:31.646Z] 12:38:31     INFO -    File "C:\Users\task_1629717439\build\venv\lib\site-packages\six.py", line 935, in ensure_text
[task 2021-08-23T12:38:31.646Z] 12:38:31     INFO -      return s.decode(encoding, errors)
[task 2021-08-23T12:38:31.647Z] 12:38:31     INFO -  UnicodeDecodeError: 'utf-8' codec can't decode byte 0x85 in position 76: invalid start byte
[task 2021-08-23T12:38:31.701Z] 12:38:31    ERROR - Return code: 1
[task 2021-08-23T12:38:31.701Z] 12:38:31  WARNING - setting return code to 1
See Also: → 1728739
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3fd3c2745def
skip invalid character in log handling. r=ahal
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.