Closed Bug 1881554 Opened 1 year ago Closed 1 year ago

`ValueError: too many values to unpack (expected 2)` when running an artifact build

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1881360

People

(Reporter: mossop, Unassigned)

References

(Blocks 1 open bug)

Details

 0:00.70 /usr/bin/make -f client.mk -j10 -s
 0:01.42 Using artifact from local cache: /Users/dave/.mozbuild/package-frontend/86107a90c85df7b2-target.common.tests.tar.gz
 0:01.46 Using artifact from local cache: /Users/dave/.mozbuild/package-frontend/a65dc07773387788-target.dmg
 0:17.52 Error running mach:
 0:17.52     mach --log-no-times artifact install
 0:17.52 The error occurred in code that was called by the mach command. This is either
 0:17.52 a bug in the called code itself or in the way that mach is calling it.
 0:17.52 You can invoke ``./mach busted`` to check if this issue is already on file. If it
 0:17.52 isn't, please use ``./mach busted file artifact`` to report it. If ``./mach busted`` is
 0:17.52 misbehaving, you can also inspect the dependencies of bug 1543241.
 0:17.52 If filing a bug, please include the full output of mach, including this error
 0:17.52 message.
 0:17.52 The details of the failure are as follows:
 0:17.52 ValueError: too many values to unpack (expected 2)
 0:17.52   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifact_commands.py", line 196, in artifact_install
 0:17.52     return artifacts.install_from(source, distdir or command_context.distdir)
 0:17.52            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1670, in install_from
 0:17.53     return self.install_from_recent(distdir)
 0:17.53            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1566, in install_from_recent
 0:17.53     return self._install_from_hg_pushheads(hg_pushheads, distdir)
 0:17.53            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1552, in _install_from_hg_pushheads
 0:17.53     if self.install_from_url(url, distdir):
 0:17.53        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1526, in install_from_url
 0:17.53     return self.install_from_file(filename, distdir)
 0:17.53            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1485, in install_from_file
 0:17.53     raise e
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 1478, in install_from_file
 0:17.53     self._artifact_job.process_artifact(filename, processed_filename)
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 252, in process_artifact
 0:17.53     return self.process_package_artifact(filename, processed_filename)
 0:17.53            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 733, in process_package_artifact
 0:17.53     root, paths = self.paths_no_keep_path
 0:17.53                   ^^^^^^^^^^^^^^^^^^^^^^^
 0:17.53   File "/Users/dave/mozilla/source/trunk/python/mozbuild/mozbuild/artifacts.py", line 671, in paths_no_keep_path
 0:17.53     root, paths = self._paths_no_keep_path
 0:17.53     ^^^^^^^^^^^
 0:17.53 Sentry event ID: c69949725bc54d87b4ad6398a99ab164
 0:17.65 make[3]: *** [recurse_artifact] Error 1
 0:17.65 make[2]: *** [artifact] Error 2
 0:17.65 make[1]: *** [default] Error 2
 0:17.65 make: *** [build] Error 2
 0:17.67 W 0 compiler warnings present.
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1881360
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.