Closed Bug 1385601 Opened 7 years ago Closed 2 years ago

mozinstall.mozinstall.InstallError: Failed to install "/home/worker/workspace/build/installer.tar.bz2 ([Errno 22] Invalid argument)"

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aryx, Unassigned)

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=119166144&repo=autoland

[task 2017-07-29T02:35:51.952520Z] 02:35:51     INFO - mkdir: /home/worker/workspace/build/application
[task 2017-07-29T02:35:51.952689Z] 02:35:51     INFO - Getting output from command: ['/home/worker/workspace/build/venv/bin/mozinstall', '/home/worker/workspace/build/installer.tar.bz2', '--destination', '/home/worker/workspace/build/application']
[task 2017-07-29T02:35:51.953002Z] 02:35:51     INFO - Copy/paste: /home/worker/workspace/build/venv/bin/mozinstall /home/worker/workspace/build/installer.tar.bz2 --destination /home/worker/workspace/build/application
[task 2017-07-29T02:35:52.291221Z] 02:35:52     INFO - Reading from file tmpfile_stdout
[task 2017-07-29T02:35:52.296410Z] 02:35:52     INFO - Output received:
[task 2017-07-29T02:35:52.296503Z] 02:35:52     INFO -  src: /home/worker/workspace/build/installer.tar.bz2
[task 2017-07-29T02:35:52.296556Z] 02:35:52    ERROR - Errors received:
[task 2017-07-29T02:35:52.296604Z] 02:35:52     INFO - Reading from file tmpfile_stderr
[task 2017-07-29T02:35:52.296686Z] 02:35:52    ERROR -  Traceback (most recent call last):
[task 2017-07-29T02:35:52.296755Z] 02:35:52    ERROR -    File "/home/worker/workspace/build/venv/bin/mozinstall", line 11, in <module>
[task 2017-07-29T02:35:52.296844Z] 02:35:52    ERROR -      load_entry_point('mozInstall==1.13', 'console_scripts', 'mozinstall')()
[task 2017-07-29T02:35:52.296932Z] 02:35:52    ERROR -    File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/mozinstall/mozinstall.py", line 360, in install_cli
[task 2017-07-29T02:35:52.297016Z] 02:35:52    ERROR -      install_path = install(src, options.dest)
[task 2017-07-29T02:35:52.297095Z] 02:35:52    ERROR -    File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/mozinstall/mozinstall.py", line 130, in install
[task 2017-07-29T02:35:52.297175Z] 02:35:52    ERROR -      install_dir = mozfile.extract(src, dest)[0]
[task 2017-07-29T02:35:52.297251Z] 02:35:52    ERROR -    File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/mozfile/mozfile.py", line 104, in extract
[task 2017-07-29T02:35:52.297326Z] 02:35:52    ERROR -      namelist = extract_zip(src, dest)
[task 2017-07-29T02:35:52.297403Z] 02:35:52    ERROR -    File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/mozfile/mozfile.py", line 56, in extract_zip
[task 2017-07-29T02:35:52.297450Z] 02:35:52    ERROR -      bundle = zipfile.ZipFile(src)
[task 2017-07-29T02:35:52.297530Z] 02:35:52    ERROR -    File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
[task 2017-07-29T02:35:52.297581Z] 02:35:52    ERROR -      self._RealGetContents()
[task 2017-07-29T02:35:52.297670Z] 02:35:52    ERROR -    File "/usr/lib/python2.7/zipfile.py", line 829, in _RealGetContents
[task 2017-07-29T02:35:52.297726Z] 02:35:52    ERROR -      fp.seek(self.start_dir, 0)
[task 2017-07-29T02:35:52.297831Z] 02:35:52    ERROR -  mozinstall.mozinstall.InstallError: Failed to install "/home/worker/workspace/build/installer.tar.bz2 ([Errno 22] Invalid argument)"
[task 2017-07-29T02:35:52.297875Z] 02:35:52    ERROR - Return code: 1
[task 2017-07-29T02:35:52.298167Z] 02:35:52  WARNING - setting return code to 3
[task 2017-07-29T02:35:52.298515Z] 02:35:52    FATAL - Halting on failure while running ['/home/worker/workspace/build/venv/bin/mozinstall', '/home/worker/workspace/build/installer.tar.bz2', '--destination', '/home/worker/workspace/build/application']
[task 2017-07-29T02:35:52.298862Z] 02:35:52    FATAL - Running post_fatal callback...
Recent log failure:
https://treeherder.mozilla.org/logviewer.html#?job_id=204971574&repo=autoland&lineNumber=1253 

[task 2018-10-12T01:11:23.358Z] 01:11:23     INFO - mkdir: /builds/worker/workspace/build/application
[task 2018-10-12T01:11:23.359Z] 01:11:23     INFO - Getting output from command: ['/builds/worker/workspace/build/venv/bin/mozinstall', '/builds/worker/workspace/build/installer.tar.bz2', '--destination', '/builds/worker/workspace/build/application']
[task 2018-10-12T01:11:23.360Z] 01:11:23     INFO - Copy/paste: /builds/worker/workspace/build/venv/bin/mozinstall /builds/worker/workspace/build/installer.tar.bz2 --destination /builds/worker/workspace/build/application
[task 2018-10-12T01:11:23.616Z] 01:11:23     INFO - Reading from file tmpfile_stdout
[task 2018-10-12T01:11:23.617Z] 01:11:23     INFO - Output received:
[task 2018-10-12T01:11:23.618Z] 01:11:23     INFO -  src: /builds/worker/workspace/build/installer.tar.bz2
[task 2018-10-12T01:11:23.619Z] 01:11:23    ERROR - Errors received:
[task 2018-10-12T01:11:23.619Z] 01:11:23     INFO - Reading from file tmpfile_stderr
[task 2018-10-12T01:11:23.620Z] 01:11:23    ERROR -  Traceback (most recent call last):
[task 2018-10-12T01:11:23.620Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/bin/mozinstall", line 9, in <module>
[task 2018-10-12T01:11:23.622Z] 01:11:23    ERROR -      load_entry_point('mozInstall==1.16.0', 'console_scripts', 'mozinstall')()
[task 2018-10-12T01:11:23.622Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozinstall/mozinstall.py", line 367, in install_cli
[task 2018-10-12T01:11:23.623Z] 01:11:23    ERROR -      install_path = install(src, options.dest)
[task 2018-10-12T01:11:23.624Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozinstall/mozinstall.py", line 152, in install
[task 2018-10-12T01:11:23.625Z] 01:11:23    ERROR -      reraise(InstallError, error, trbk)
[task 2018-10-12T01:11:23.625Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozinstall/mozinstall.py", line 133, in install
[task 2018-10-12T01:11:23.626Z] 01:11:23    ERROR -      install_dir = mozfile.extract(src, dest)[0]
[task 2018-10-12T01:11:23.627Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozfile/mozfile.py", line 96, in extract
[task 2018-10-12T01:11:23.628Z] 01:11:23    ERROR -      namelist = extract_zip(src, dest)
[task 2018-10-12T01:11:23.628Z] 01:11:23    ERROR -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozfile/mozfile.py", line 57, in extract_zip
[task 2018-10-12T01:11:23.629Z] 01:11:23    ERROR -      bundle = zipfile.ZipFile(src)
[task 2018-10-12T01:11:23.629Z] 01:11:23    ERROR -    File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
[task 2018-10-12T01:11:23.630Z] 01:11:23    ERROR -      self._RealGetContents()
[task 2018-10-12T01:11:23.630Z] 01:11:23    ERROR -    File "/usr/lib/python2.7/zipfile.py", line 829, in _RealGetContents
[task 2018-10-12T01:11:23.632Z] 01:11:23    ERROR -      fp.seek(self.start_dir, 0)
[task 2018-10-12T01:11:23.632Z] 01:11:23    ERROR -  mozinstall.mozinstall.InstallError: Failed to install "/builds/worker/workspace/build/installer.tar.bz2 ([Errno 22] Invalid argument)"
[task 2018-10-12T01:11:23.633Z] 01:11:23    ERROR - Return code: 1
[task 2018-10-12T01:11:23.633Z] 01:11:23  WARNING - setting return code to 3
[task 2018-10-12T01:11:23.633Z] 01:11:23    FATAL - Halting on failure while running ['/builds/worker/workspace/build/venv/bin/mozinstall', '/builds/worker/workspace/build/installer.tar.bz2', '--destination', '/builds/worker/workspace/build/application']
[task 2018-10-12T01:11:23.633Z] 01:11:23    FATAL - Running post_fatal callback...
[task 2018-10-12T01:11:23.633Z] 01:11:23    FATAL - Exiting 3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.