Bug#837681: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs
Holger Levsen
holger at layer-acht.org
Tue Sep 13 13:35:58 UTC 2016
Package: diffoscope
Version: 60
Severity: normal
Hi,
so I build an Qubes ISO, twice and ran diffoscope against it:
holger at profitbricks-build3-amd64:~$ sudo schroot --directory /tmp -c source:jenkins-reproducible-unstable-diffoscope diffoscope -- --html /tmp/q.html --text /tmp/q.txt /tmp/q1 /tmp/q2
1473773034.873399 ERROR guestfs can't be launched
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 43, in open_archive
self.g.launch()
File "/usr/lib/python3/dist-packages/guestfs.py", line 5398, in launch
r = libguestfsmod.launch (self._o)
RuntimeError: /usr/bin/supermin exited with error status 1.
To see full error messages you may need to enable debugging.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
1473773034.929533 ERROR If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.
1473773035.369462 ERROR guestfs can't be launched
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 43, in open_archive
self.g.launch()
File "/usr/lib/python3/dist-packages/guestfs.py", line 5398, in launch
r = libguestfsmod.launch (self._o)
RuntimeError: /usr/bin/supermin exited with error status 1.
To see full error messages you may need to enable debugging.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
1473773035.373510 ERROR If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 246, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 217, in run_diffoscope
parsed_args.path1, parsed_args.path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 124, in compare_root_paths
return compare_directories(path1, path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/directory.py", line 105, in compare_directories
return FilesystemDirectory(path1).compare(FilesystemDirectory(path2))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/directory.py", line 158, in compare
my_file, other_file, source=name)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 144, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 213, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 183, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 147, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 144, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 213, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 183, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 147, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 144, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 213, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 183, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 147, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 133, in compare_files
if file1.has_same_content_as(file2):
File "/usr/lib/python3/dist-packages/diffoscope/__init__.py", line 64, in tool_check
return original_function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 195, in has_same_content_as
my_size = os.path.getsize(self.path)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 246, in path
self._path = self.container.extract(self._name, self._temp_dir.name)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 68, in extract
self.g.tar_out("/", dest_path)
File "/usr/lib/python3/dist-packages/guestfs.py", line 9307, in tar_out
r = libguestfsmod.tar_out (self._o, directory, tarfile, compress, numericowner, excludes, xattrs, selinux, acls)
RuntimeError: tar_out: call launch before using this function
(in guestfish, don't forget to use the 'run' command)
Exception ignored in: <bound method Archive.__del__ of <diffoscope.comparators.fsimage.FsImageContainer object at 0x7f2109003908>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 279, in __del__
self.close_archive()
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 56, in close_archive
self.g.umount_all()
File "/usr/lib/python3/dist-packages/guestfs.py", line 9543, in umount_all
r = libguestfsmod.umount_all (self._o)
RuntimeError: umount_all: call launch before using this function
(in guestfish, don't forget to use the 'run' command)
Exception ignored in: <bound method Archive.__del__ of <diffoscope.comparators.fsimage.FsImageContainer object at 0x7f2108ffb3c8>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 279, in __del__
self.close_archive()
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 56, in close_archive
self.g.umount_all()
File "/usr/lib/python3/dist-packages/guestfs.py", line 9543, in umount_all
r = libguestfsmod.umount_all (self._o)
RuntimeError: umount_all: call launch before using this function
(in guestfish, don't forget to use the 'run' command)
holger at profitbricks-build3-amd64:~$ ls /tmp/q1 /tmp/q2
/tmp/q1:
Qubes-DVD-x86_64-20160913.iso
/tmp/q2:
Qubes-DVD-x86_64-20160913.iso
Am I missing some dependencies or what does that mean and what should I do now?
--
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160913/fa94ca67/attachment.sig>
More information about the Reproducible-builds
mailing list