Bug#903444: diffoscope: FileNotFoundError with gfxboot/4.5.2-1.1-6
Mattia Rizzolo
mattia at debian.org
Tue Jul 10 09:06:51 BST 2018
Package: diffoscope
Version 98
Severity: important
As seen with gfxboot/4.5.2-1.1-6 (both buster/sid and amd64/i386):
Sun Jul 8 23:41:52 UTC 2018 I: diffoscope 98 will be used to compare the two builds:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 460, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 432, in run_diffoscope
difference = compare_root_paths(path1, path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 68, in compare_root_paths
difference = compare_files(file1, file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/debian.py", line 184, in compare
differences = super().compare(other, *args, **kwargs)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 108, in compare_files
specialize(file1)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/specialize.py", line 49, in specialize
if try_recognize(file, cls, cls.recognizes):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/specialize.py", line 36, in try_recognize
if not recognizes(file):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binwalk.py", line 88, in recognizes
directory=unpacked.name,
File "/usr/lib/python3/dist-packages/binwalk/__init__.py", line 8, in scan
objs = m.execute()
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 729, in execute
obj = self.run(module)
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 746, in run
obj = self.load(module, kwargs)
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 774, in load
argv.update(self.dependencies(module, argv['enabled']))
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 800, in dependencies
depobj = self.run(dependency.module, dependency=True, kwargs=dependency.kwargs)
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 746, in run
obj = self.load(module, kwargs)
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 775, in load
return module(self, **argv)
File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 233, in __init__
self.plugins = binwalk.core.plugin.Plugins(self)
File "/usr/lib/python3/dist-packages/binwalk/core/plugin.py", line 93, in __init__
self.settings = binwalk.core.settings.Settings()
File "/usr/lib/python3/dist-packages/binwalk/core/settings.py", line 44, in __init__
magic=self._magic_signature_files(user_only=True),
File "/usr/lib/python3/dist-packages/binwalk/core/settings.py", line 70, in _magic_signature_files
files += [os.path.join(user_dir, x) for x in os.listdir(user_dir)]
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/jenkins/.binwalk/magic'
Interestingly, I couldn't reproduce this locally, so it might have
something to do with the environment we are calling diffoscope in
jenkins (notice the odd file it seems to be looking for while
crashing…).
Artifacts are available in
https://tests.reproducible-builds.org/debian/artifacts/r00t-me/gfxboot_unstable_amd64_tmp-dakAv/b1/
for a few more hours, or I have a copy with me as well for now.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180710/7cc561f1/attachment.sig>
More information about the Reproducible-builds
mailing list