Closed Bug 1766641 Opened 4 years ago Closed 3 years ago

Intermittent Exception: Package file /builds/worker/fetches/target.zip is not a valid .zip or .tar file.

Categories

(Firefox Build System :: Task Configuration, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  Error running mach:
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -      ['--log-no-times', 'repackage', 'mar', '--arch', 'aarch64', '--mar-channel-id', 'firefox-mozilla-central', '--input', '/builds/worker/fetches/target.zip', '--mar', '/builds/worker/fetches/mar-tools/mar', '--output', '/builds/worker/workspace/outputs/az/target.complete.mar']
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  The error occurred in code that was called by the mach command. This is either
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  a bug in the called code itself or in the way that mach is calling it.
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  isn't, please use |./mach busted file repackage| to report it. If |./mach busted| is
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  If filing a bug, please include the full output of mach, including this error
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  message.
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  The details of the failure are as follows:
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -  Exception: Package file /builds/worker/fetches/target.zip is not a valid .zip or .tar file.
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2387, in repackage_mar
[task 2022-04-27T12:06:13.443Z] 12:06:13     INFO -      repackage_mar(
[task 2022-04-27T12:06:13.444Z] 12:06:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/mar.py", line 32, in repackage_mar
[task 2022-04-27T12:06:13.444Z] 12:06:13     INFO -      raise Exception("Package file %s is not a valid .zip or .tar file." % package)
[task 2022-04-27T12:06:13.520Z] 12:06:13    ERROR - Return code: 1
[task 2022-04-27T12:06:13.520Z] 12:06:13    ERROR - 1 not in success codes: [0]
[task 2022-04-27T12:06:13.520Z] 12:06:13  WARNING - setting return code to 2
[task 2022-04-27T12:06:13.520Z] 12:06:13    FATAL - Halting on failure while running ['/builds/worker/workspace/obj-build/_virtualenvs/common/bin/python', 'mach', '--log-no-times', 'repackage', 'mar', '--arch', 'aarch64', '--mar-channel-id', 'firefox-mozilla-central', '--input', '/builds/worker/fetches/target.zip', '--mar', '/builds/worker/fetches/mar-tools/mar', '--output', '/builds/worker/workspace/outputs/az/target.complete.mar']
[task 2022-04-27T12:06:13.520Z] 12:06:13    FATAL - Running post_fatal callback...
[task 2022-04-27T12:06:13.520Z] 12:06:13    FATAL - Exiting 2
[task 2022-04-27T12:06:13.520Z] 12:06:13     INFO - [mozharness: 2022-04-27 12:06:13.520263Z] Finished repackage step (failed)
[task 2022-04-27T12:06:13.634Z] cleanup
[task 2022-04-27T12:06:13.634Z] + cleanup
[task 2022-04-27T12:06:13.634Z] + local rv=2
[task 2022-04-27T12:06:13.634Z] + cleanup_xvfb
[task 2022-04-27T12:06:13.634Z] ++ pidof Xvfb
[task 2022-04-27T12:06:13.636Z] + local xvfb_pid=
[task 2022-04-27T12:06:13.636Z] + local vnc=false
[task 2022-04-27T12:06:13.636Z] + local interactive=false
[task 2022-04-27T12:06:13.636Z] + '[' -n '' ']'
[task 2022-04-27T12:06:13.636Z] + exit 2
[taskcluster 2022-04-27 12:06:14.181Z] === Task Finished ===
[taskcluster 2022-04-27 12:06:14.385Z] Artifact "public/build/az/target.complete.mar" not found at "/builds/worker/workspace/outputs/az/target.complete.mar"
[taskcluster 2022-04-27 12:06:14.481Z] Artifact "public/build" not found at "/builds/worker/artifacts/"
[taskcluster 2022-04-27 12:06:14.569Z] Artifact "public/build/az/target.installer.exe" not found at "/builds/worker/workspace/outputs/az/target.installer.exe"
[taskcluster 2022-04-27 12:06:14.788Z] Unsuccessful task run with exit code: 2 completed in 34.53 seconds

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Task Configuration' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Task Configuration
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.