On Thu, Sep 15, 2016 at 09:26:38AM +0000, Holger Levsen wrote:
> just now I enabled debugging like this:
> >   export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1

I've now also tried with LIBGUESTFS_MEMSIZE=2048 just in case it needs
more memory. the result is again attached :)


-- 
cheers,
        Holger
root@profitbricks-build3-amd64:~# schroot --directory /tmp -c 
source:jenkins-reproducible-unstable-diffoscope bash
(jenkins-reproducible-unstable-diffoscope)root@profitbricks-build3-amd64:/tmp# 
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
(jenkins-reproducible-unstable-diffoscope)root@profitbricks-build3-amd64:/tmp# 
export LIBGUESTFS_MEMSIZE=2048
(jenkins-reproducible-unstable-diffoscope)root@profitbricks-build3-amd64:/tmp# 
diffoscope --html /tmp/q.html --text /tmp/q.txt /tmp/q1 /tmp/q2
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_memsize 2048
libguestfs: trace: set_memsize = 0
libguestfs: create: flags = 0, handle = 0x29e7360, program = python3
libguestfs: trace: set_program "diffoscope"
libguestfs: trace: set_program = 0
libguestfs: trace: add_drive "/tmp/tmpm1zmy0hl_diffoscope/LiveOS/rootfs.img" 
"readonly:true" "format:raw"
libguestfs: creating COW overlay to protect original drive content
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsKpH1nW/overlay1" "qcow2" -1 
"backingfile:/tmp/tmpm1zmy0hl_diffoscope/LiveOS/rootfs.img" "backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o 
backing_file=/tmp/tmpm1zmy0hl_diffoscope/LiveOS/rootfs.img,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsKpH1nW/overlay1
Formatting '/tmp/libguestfsKpH1nW/overlay1', fmt=qcow2 size=2147483648 
backing_file=/tmp/tmpm1zmy0hl_diffoscope/LiveOS/rootfs.img backing_fmt=raw 
encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 32, 
release: 7, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=diffoscope
libguestfs: launch: version=1.32.7
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsKpH1nW
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00007ms] begin building supermin appliance
libguestfs: [00007ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.16
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: build: /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
supermin: reading the supermin appliance
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image 
(tar)
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image 
(tar)
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed 
excludefiles
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed 
hostfiles
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image 
(tar)
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages 
type uncompressed packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-hfsplus type uncompressed 
packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-reiserfs type 
uncompressed packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-xfs type uncompressed 
packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/udev-rules.tar.gz type gzip base 
image (tar)
supermin: mapping package names to installed packages
supermin: resolving full list of package dependencies
supermin: build: 171 packages, including dependencies
supermin: build: 7471 files
supermin: build: 3612 files, after matching excludefiles
supermin: build: 3614 files, after adding hostfiles
supermin: build: 3614 files, after removing unreadable files
supermin: build: 3615 files, after munging
supermin: failed to find a suitable kernel (host_cpu=x86_64).

I looked for kernels in /boot and modules in /lib/modules.

If this is a Xen guest, and you only have Xen domU kernels
installed, try installing a fullvirt kernel (only for
supermin use, you shouldn't boot the Xen guest with it).
libguestfs: trace: launch = -1 (error)
1473931511.659149    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, see debug messages 
above
1473931511.666939    ERROR If memory is too tight for 512 MiB, try running with 
LIBGUESTFS_MEMSIZE=256 or lower.
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_memsize 2048
libguestfs: trace: set_memsize = 0
libguestfs: create: flags = 0, handle = 0x2b42b70, program = python3
libguestfs: trace: set_program "diffoscope"
libguestfs: trace: set_program = 0
libguestfs: trace: add_drive "/tmp/tmpu3qwtk3e_diffoscope/LiveOS/rootfs.img" 
"readonly:true" "format:raw"
libguestfs: creating COW overlay to protect original drive content
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsvZ7RQm/overlay1" "qcow2" -1 
"backingfile:/tmp/tmpu3qwtk3e_diffoscope/LiveOS/rootfs.img" "backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o 
backing_file=/tmp/tmpu3qwtk3e_diffoscope/LiveOS/rootfs.img,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsvZ7RQm/overlay1
Formatting '/tmp/libguestfsvZ7RQm/overlay1', fmt=qcow2 size=2147483648 
backing_file=/tmp/tmpu3qwtk3e_diffoscope/LiveOS/rootfs.img backing_fmt=raw 
encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 32, 
release: 7, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=diffoscope
libguestfs: launch: version=1.32.7
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsvZ7RQm
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00014ms] begin building supermin appliance
libguestfs: [00014ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.1.16
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: build: /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
supermin: reading the supermin appliance
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image 
(tar)
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image 
(tar)
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed 
excludefiles
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed 
hostfiles
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image 
(tar)
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages 
type uncompressed packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-hfsplus type uncompressed 
packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-reiserfs type 
uncompressed packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages-xfs type uncompressed 
packages
supermin: build: visiting 
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/udev-rules.tar.gz type gzip base 
image (tar)
supermin: mapping package names to installed packages
supermin: resolving full list of package dependencies
supermin: build: 171 packages, including dependencies
supermin: build: 7471 files
supermin: build: 3612 files, after matching excludefiles
supermin: build: 3614 files, after adding hostfiles
supermin: build: 3614 files, after removing unreadable files
supermin: build: 3615 files, after munging
supermin: failed to find a suitable kernel (host_cpu=x86_64).

I looked for kernels in /boot and modules in /lib/modules.

If this is a Xen guest, and you only have Xen domU kernels
installed, try installing a fullvirt kernel (only for
supermin use, you shouldn't boot the Xen guest with it).
libguestfs: trace: launch = -1 (error)
1473931512.124053    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, see debug messages 
above
1473931512.125342    ERROR If memory is too tight for 512 MiB, try running with 
LIBGUESTFS_MEMSIZE=256 or lower.
libguestfs: trace: tar_out "/" "/tmp/tmpmdjus_8e_diffoscope/rootfs.img.tar"
libguestfs: trace: tar_out = -1 (error)
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)
libguestfs: trace: umount_all
libguestfs: trace: umount_all = -1 (error)
Exception ignored in: <bound method Archive.__del__ of 
<diffoscope.comparators.fsimage.FsImageContainer object at 0x7f77d55010f0>>
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)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x29e7360 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsKpH1nW
libguestfs: trace: umount_all
libguestfs: trace: umount_all = -1 (error)
Exception ignored in: <bound method Archive.__del__ of 
<diffoscope.comparators.fsimage.FsImageContainer object at 0x7f77d5501748>>
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)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x2b42b70 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsvZ7RQm
(jenkins-reproducible-unstable-diffoscope)root@profitbricks-build3-amd64:/tmp# 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to