Closed Bug 1628683 Opened 5 years ago Closed 5 years ago

Perma bustage UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4948: ordinal not in range(128)

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rstewart)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=296925173&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cpxFj8A_SOePDsF6c4SxjQ/runs/0/artifacts/public/logs/live_backing.log


[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> /builds/worker/checkouts/gecko/mach build-backend -b ChromeMap
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> 0:00.58 /builds/worker/workspace/obj-build/_virtualenvs/init_py3/bin/python /builds/worker/workspace/obj-build/config.status --backend ChromeMap
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> Reticulating splines...
[task 2020-04-09T10:39:23.286Z] 10:39:23 ERROR - package> Traceback (most recent call last):
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> File "/builds/worker/workspace/obj-build/config.status", line 1117, in <module>
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> config_status(**args)
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/config_status.py", line 148, in config_status
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> the_backend.consume(definitions)
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/base.py", line 129, in consume
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> if (not self.consume_object(obj) and
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/codecoverage/chrome_map.py", line 89, in consume_object
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> self._handle_final_target_files(obj)
[task 2020-04-09T10:39:23.286Z] 10:39:23 INFO - package> File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/codecoverage/chrome_map.py", line 101, in _handle_final_target_files
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> pp_info = generate_pp_info(obj_path, obj.topsrcdir)
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/codecoverage/chrome_map.py", line 42, in generate_pp_info
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> for count, line in enumerate(fh):
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> File "/builds/worker/workspace/obj-build/_virtualenvs/init_py3/lib/python3.5/encodings/ascii.py", line 26, in decode
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> return codecs.ascii_decode(input, self.errors)[0]
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4948: ordinal not in range(128)
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> /builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:25: recipe for target 'stage-package' failed
[task 2020-04-09T10:39:23.287Z] 10:39:23 ERROR - package> make[5]: *** [stage-package] Error 1
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> make[5]: Leaving directory '/builds/worker/workspace/obj-build/browser/installer'
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> /builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:111: recipe for target 'make-package' failed
[task 2020-04-09T10:39:23.287Z] 10:39:23 ERROR - package> make[4]: *** [make-package] Error 2
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> /builds/worker/checkouts/gecko/config/rules.mk:394: recipe for target 'default' failed
[task 2020-04-09T10:39:23.287Z] 10:39:23 ERROR - package> make[3]: *** [default] Error 2
[task 2020-04-09T10:39:23.287Z] 10:39:23 INFO - package> /builds/worker/checkouts/gecko/browser/build.mk:6: recipe for target 'package' failed
[task 2020-04-09T10:39:23.287Z] 10:39:23 ERROR - package> make[2]: *** [package] Error 2
[task 2020-04-09T10:39:23.288Z] 10:39:23 INFO - /builds/worker/checkouts/gecko/build/moz-automation.mk:105: recipe for target 'automation/package' failed
[task 2020-04-09T10:39:23.288Z] 10:39:23 ERROR - make[1]: *** [automation/package] Error 2
[task 2020-04-09T10:39:23.288Z] 10:39:23 INFO - client.mk:129: recipe for target 'build' failed
[task 2020-04-09T10:39:23.288Z] 10:39:23 INFO - make: *** [build] Error 2
[task 2020-04-09T10:39:23.295Z] 10:39:23 INFO - 305 compiler warnings present.
[task 2020-04-09T10:39:23.456Z] 10:39:23 INFO - Notification center failed: Install notify-send (usually part of the libnotify package) to get a notification when the build finishes.
[task 2020-04-09T10:39:23.520Z] 10:39:23 ERROR - Return code: 2
[task 2020-04-09T10:39:23.520Z] 10:39:23 WARNING - setting return code to 2
[task 2020-04-09T10:39:23.520Z] 10:39:23 FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2020-04-09T10:39:23.520Z] 10:39:23 FATAL - Running post_fatal callback...
[task 2020-04-09T10:39:23.520Z] 10:39:23 FATAL - Exiting -1

This looks to be from: https://hg.mozilla.org/mozilla-central/rev/351492756d09. Ricky could you please take a look?

Flags: needinfo?(rstewart)

Andi explained this is from bug 1625884. Andi, can you also take care of the encoding issue here?

Flags: needinfo?(bpostelnicu)

No this is not from bug 1625884!

Flags: needinfo?(bpostelnicu)
Assignee: nobody → rstewart
Flags: needinfo?(rstewart)

Patch attached. I'm running a try push on this change and won't land the patch until it succeeds.

Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bad6250a6dd3 Update chrome_map.py to support Python 3 r=dmajor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: