Closed Bug 1814365 Opened 2 years ago Closed 2 years ago

Intermittent File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozinstall/mozinstall.py", line 138, in install | OSError: Invalid data stream

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1778297

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=404194134&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RqZUz5D6SdO7uXL2-R5hAQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RqZUz5D6SdO7uXL2-R5hAQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2023-02-01T10:30:23.078Z] 10:30:23     INFO - Reading from file tmpfile_stdout
[task 2023-02-01T10:30:23.079Z] 10:30:23     INFO - Output received:
[task 2023-02-01T10:30:23.079Z] 10:30:23     INFO -  Usage: mozinstall [options] installer
[task 2023-02-01T10:30:23.079Z] 10:30:23     INFO -  Options:
[task 2023-02-01T10:30:23.079Z] 10:30:23     INFO -    -h, --help            show this help message and exit
[task 2023-02-01T10:30:23.080Z] 10:30:23     INFO -    -d DEST, --destination=DEST
[task 2023-02-01T10:30:23.080Z] 10:30:23     INFO -                          Directory to install application into. [default:
[task 2023-02-01T10:30:23.080Z] 10:30:23     INFO -                          "/builds/worker/workspace"]
[task 2023-02-01T10:30:23.081Z] 10:30:23     INFO -    --app=APP             Application being installed. [default: firefox]
[task 2023-02-01T10:30:23.081Z] 10:30:23     INFO - mkdir: /builds/worker/workspace/build/application
[task 2023-02-01T10:30:23.081Z] 10:30: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 2023-02-01T10:30:23.081Z] 10:30: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 2023-02-01T10:31:08.849Z] 10:31:08    ERROR - Errors received:
[task 2023-02-01T10:31:08.849Z] 10:31:08     INFO - Reading from file tmpfile_stderr
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -  Traceback (most recent call last):
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozinstall/mozinstall.py", line 138, in install
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -      install_dir = mozfile.extract(src, dest)[0]
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozfile/mozfile.py", line 120, in extract
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -      namelist = extract_tarball(src, dest, ignore=ignore)
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozfile/mozfile.py", line 63, in extract_tarball
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -      bundle.extract(m, path=dest)
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2054, in extract
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -      numeric_owner=numeric_owner)
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2124, in _extract_member
[task 2023-02-01T10:31:08.849Z] 10:31:08    ERROR -      self.makefile(tarinfo, targetpath)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2173, in makefile
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 249, in copyfileobj
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      buf = src.read(bufsize)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/bz2.py", line 182, in read
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      return self._buffer.read(size)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/_compression.py", line 68, in readinto
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      data = self.read(len(byte_view))
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/_compression.py", line 103, in read
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      data = self._decompressor.decompress(rawblock, size)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -  OSError: Invalid data stream
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -  During handling of the above exception, another exception occurred:
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -  Traceback (most recent call last):
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/bin/mozinstall", line 33, in <module>
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      sys.exit(load_entry_point('mozInstall==2.0.1', 'console_scripts', 'mozinstall')())
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozinstall/mozinstall.py", line 429, in install_cli
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      install_path = install(src, options.dest)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozinstall/mozinstall.py", line 157, in install
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      reraise(InstallError, error, trbk)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/six.py", line 695, in reraise
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      raise value.with_traceback(tb)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozinstall/mozinstall.py", line 138, in install
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      install_dir = mozfile.extract(src, dest)[0]
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozfile/mozfile.py", line 120, in extract
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      namelist = extract_tarball(src, dest, ignore=ignore)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/mozfile/mozfile.py", line 63, in extract_tarball
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      bundle.extract(m, path=dest)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2054, in extract
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      numeric_owner=numeric_owner)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2124, in _extract_member
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      self.makefile(tarinfo, targetpath)
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 2173, in makefile
[task 2023-02-01T10:31:08.850Z] 10:31:08    ERROR -      copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/tarfile.py", line 249, in copyfileobj
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -      buf = src.read(bufsize)
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/bz2.py", line 182, in read
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -      return self._buffer.read(size)
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/_compression.py", line 68, in readinto
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -      data = self.read(len(byte_view))
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -    File "/usr/lib/python3.6/_compression.py", line 103, in read
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -      data = self._decompressor.decompress(rawblock, size)
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR -  mozinstall.mozinstall.InstallError: Failed to install "/builds/worker/workspace/build/installer.tar.bz2 (Invalid data stream)"
[task 2023-02-01T10:31:08.851Z] 10:31:08    ERROR - Return code: 1
[task 2023-02-01T10:31:08.851Z] 10:31:08  WARNING - setting return code to 3
[task 2023-02-01T10:31:08.851Z] 10:31:08    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 2023-02-01T10:31:08.851Z] 10:31:08    FATAL - Running post_fatal callback...
[task 2023-02-01T10:31:08.851Z] 10:31:08    FATAL - Exiting 3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1778297
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.