Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
Holger Levsen: > On Thu, Sep 15, 2016 at 04:38:00PM +, HW42 wrote: >>> 3.16.0-4-amd64 is the kernel (so jessie standard), and the host this is >>> running on is a profitbricks VM, so running on kvm. >> I assume you have this kernel only installed on the VM not the chroot. >> So try installing linux-image-amd64 _inside_ the chroot. > > the problem is, that this is a sid chroot, so linux-image would have > version 4.7.2, while the host has 3.16… I don't think this mismatch is a problem. signature.asc Description: OpenPGP digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
On Thu, Sep 15, 2016 at 04:38:00PM +, HW42 wrote: > > 3.16.0-4-amd64 is the kernel (so jessie standard), and the host this is > > running on is a profitbricks VM, so running on kvm. > I assume you have this kernel only installed on the VM not the chroot. > So try installing linux-image-amd64 _inside_ the chroot. the problem is, that this is a sid chroot, so linux-image would have version 4.7.2, while the host has 3.16… -- cheers, Holger signature.asc Description: Digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
Holger Levsen: > On Thu, Sep 15, 2016 at 02:58:00PM +, HW42 wrote: >> It fails to find a kernel for the VM image it creates on the fly: > > ah, wow. > >> diffoscope-qubes-debug: >>> 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) >>> 1473930826.096060ERROR guestfs can't be launched >> >> On what kind of VM is this run, and what kernels are installed? > > 3.16.0-4-amd64 is the kernel (so jessie standard), and the host this is > running on is a profitbricks VM, so running on kvm. I assume you have this kernel only installed on the VM not the chroot. So try installing linux-image-amd64 _inside_ the chroot. signature.asc Description: OpenPGP digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
On Thu, Sep 15, 2016 at 02:58:00PM +, HW42 wrote: > It fails to find a kernel for the VM image it creates on the fly: ah, wow. > diffoscope-qubes-debug: > > 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) > > 1473930826.096060ERROR guestfs can't be launched > > On what kind of VM is this run, and what kernels are installed? 3.16.0-4-amd64 is the kernel (so jessie standard), and the host this is running on is a profitbricks VM, so running on kvm. -- cheers, Holger signature.asc Description: Digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
Holger Levsen: > On Tue, Sep 13, 2016 at 03:35:58PM +0200, Holger Levsen wrote: >> so I build an Qubes ISO, twice and ran diffoscope against it: > > just now I enabled debugging like this: > >> To see full error messages you may need to enable debugging. >> Do: >> export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 > > the result is attached. It fails to find a kernel for the VM image it creates on the fly: diffoscope-qubes-debug: > 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) > 1473930826.096060ERROR guestfs can't be launched On what kind of VM is this run, and what kernels are installed? signature.asc Description: OpenPGP digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
Hi, these qubes ISO image files are (temporarily) now also available for download at https://jenkins.debian.net/userContent/qubes/ -- cheers, Holger signature.asc Description: Digital signature
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
On Thu, Sep 15, 2016 at 09:26:38AM +, 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 = 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: [7ms] begin building supermin appliance libguestfs: [7ms] 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
Bug#837681: debug output (Re: diffoscope: 'ERROR guestfs can't be launched' when trying to compare to qubes ISOs)
On Tue, Sep 13, 2016 at 03:35:58PM +0200, Holger Levsen wrote: > so I build an Qubes ISO, twice and ran diffoscope against it: just now I enabled debugging like this: > To see full error messages you may need to enable debugging. > Do: > export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 the result is 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# diffoscope --html /tmp/q.html --text /tmp/q.txt /tmp/q1 /tmp/q2 libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x1d8e170, program = python3 libguestfs: trace: set_program "diffoscope" libguestfs: trace: set_program = 0 libguestfs: trace: add_drive "/tmp/tmpglu0svm4_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/libguestfsKt1Kw6/overlay1" "qcow2" -1 "backingfile:/tmp/tmpglu0svm4_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/tmpglu0svm4_diffoscope/LiveOS/rootfs.img,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsKt1Kw6/overlay1 Formatting '/tmp/libguestfsKt1Kw6/overlay1', fmt=qcow2 size=2147483648 backing_file=/tmp/tmpglu0svm4_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 = 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/libguestfsKt1Kw6 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: [7ms] begin building supermin appliance libguestfs: [7ms] 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