Closed Bug 1604277 Opened 4 years ago Closed 4 years ago

mozpack/errors.py and mozpack/manifests.py support python3

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

References

Details

Attachments

(1 file)

No description provided.
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93e2ef0d77b3
mozpack/errors.py and mozpack/manifests.py support python3 r=mars

Backed out 3 changesets (Bug 1604337, Bug 1602540, Bug 1604277) for build-linux64-artifact/opt (AB) bustages

Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&searchStr=linux%2Cx64%2Copt%2Cartifact-build-linux64-artifact%2Fopt%2C%28ab%29&fromchange=f97710c9392ec11cd21bd53207642fda49832f19&tochange=b9bb2a74cf2984f43dcfa2e36f4241c2bcbb966f&selectedJob=281800261

Backout link: https://hg.mozilla.org/integration/autoland/rev/b9bb2a74cf2984f43dcfa2e36f4241c2bcbb966f

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=281800261&repo=autoland&lineNumber=1404

[task 2019-12-18T21:48:28.748Z] 21:48:28 INFO - Installing from /builds/worker/.mozbuild/package-frontend/64c81c89ee8343ad-target.tar.bz2
[task 2019-12-18T21:48:28.748Z] 21:48:28 INFO - Processing contents of /builds/worker/.mozbuild/package-frontend/64c81c89ee8343ad-target.tar.bz2
[task 2019-12-18T21:48:28.748Z] 21:48:28 INFO - Writing processed /builds/worker/.mozbuild/package-frontend/64c81c89ee8343ad-target.tar.bz2.processed.jar
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - Adding bin/libnssutil3.so to processed archive
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - Error running mach:
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - ['--log-no-times', 'artifact', 'install', '--symbols', '--host-bins']
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - The error occurred in code that was called by the mach command. This is either
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - a bug in the called code itself or in the way that mach is calling it.
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - isn't, please use |./mach busted file| to report it. If |./mach busted| is
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - If filing a bug, please include the full output of mach, including this error
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - message.
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - The details of the failure are as follows:
[task 2019-12-18T21:48:28.749Z] 21:48:28 ERROR - TypeError: unsupported operand type(s) for &: 'unicode' and 'int'
[task 2019-12-18T21:48:28.749Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifact_commands.py", line 143, in artifact_install
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - return artifacts.install_from(source, distdir or self.distdir)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 1267, in install_from
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - return self.install_from_task(os.environ[var], distdir)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 1244, in install_from_task
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - if self.install_from_url(url, distdir):
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 1156, in install_from_url
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - return self.install_from_file(filename, distdir)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 1125, in install_from_file
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - self._artifact_job.process_artifact(filename, processed_filename)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 212, in process_artifact
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - return self.process_package_artifact(filename, processed_filename)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozbuild/artifacts.py", line 449, in process_package_artifact
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - writer.add(destpath.encode('utf-8'), f.open(), mode=f.mode)
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - File "/builds/worker/workspace/build/src/python/mozbuild/mozpack/mozjar.py", line 654, in add
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - entry['external_attr'] = (mode & 0xFFFF) << 16
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - Makefile:139: recipe for target 'recurse_artifact' failed
[task 2019-12-18T21:48:28.750Z] 21:48:28 ERROR - make[3]: *** [recurse_artifact] Error 1
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - make[3]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox'
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - /builds/worker/workspace/build/src/config/recurse.mk:32: recipe for target 'artifact' failed
[task 2019-12-18T21:48:28.750Z] 21:48:28 ERROR - make[2]: *** [artifact] Error 2
[task 2019-12-18T21:48:28.750Z] 21:48:28 INFO - /builds/worker/workspace/build/src/config/rules.mk:394: recipe for target 'default' failed
[task 2019-12-18T21:48:28.750Z] 21:48:28 ERROR - make[1]: *** [default] Error 2
[task 2019-12-18T21:48:28.751Z] 21:48:28 INFO - client.mk:125: recipe for target 'build' failed
[task 2019-12-18T21:48:28.751Z] 21:48:28 INFO - make: *** [build] Error 2
[task 2019-12-18T21:48:28.766Z] 21:48:28 INFO - 0 compiler warnings present.
[task 2019-12-18T21:48:28.855Z] 21:48:28 ERROR - Return code: 2
[task 2019-12-18T21:48:28.855Z] 21:48:28 WARNING - setting return code to 2
[task 2019-12-18T21:48:28.855Z] 21:48:28 FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2019-12-18T21:48:28.855Z] 21:48:28 FATAL - Running post_fatal callback...
[task 2019-12-18T21:48:28.855Z] 21:48:28 FATAL - Exiting -1
[task 2019-12-18T21:48:28.855Z] 21:48:28 INFO - [mozharness: 2019-12-18 21:48:28.855624Z] Finished build step (failed)

Flags: needinfo?(rstewart)
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fdd46ab5bad6
mozpack/errors.py and mozpack/manifests.py support python3 r=mars
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Flags: needinfo?(rstewart)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: