Hi,
Is it only me failing on tests/alignmentScanTests.py on a fresh clone of vdsm tree?
$ cat /etc/fedora-release Fedora release 19 (Schrödinger’s Cat)
$ ./autogen.sh --system && make && make rpm
zombieReaperTests testProcessDiedBeforeBeingTracked OK testProcessDiesAfterBeingTracked OK
====================================================================== FAIL: test_help_response (alignmentScanTests.AlignmentScanTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests/alignmentScanTests.py", line 56, in test_help_response "alignment of virtual machine partitions"), -1) AssertionError: -1 == -1 -------------------- >> begin captured logging << -------------------- Storage.Misc.excCmd: DEBUG: '/usr/bin/virt-alignment-scan --help' (cwd None) Storage.Misc.excCmd: DEBUG: SUCCESS: <err> = ''; <rc> = 0 --------------------- >> end captured logging << ---------------------
---------------------------------------------------------------------- Ran 272 tests in 288.602s
FAILED (SKIP=23, failures=1) make[4]: *** [check-local] Error 1 make[4]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0' error: Bad exit status from /var/tmp/rpm-tmp.3i1rpi (%check)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3i1rpi (%check) make: *** [rpm] Error 1
Hi Douglas, Please try from terminal: '/usr/bin/virt-alignment-scan --help' What's the output?
Yeela
----- Original Message -----
From: "Douglas Schilling Landgraf" dougsland@redhat.com To: "VDSM Project Development" vdsm-devel@lists.fedorahosted.org Cc: "Dan Kenigsberg" danken@redhat.com Sent: Friday, June 21, 2013 3:16:17 AM Subject: make rpm - tests/alignmentScanTests.py
Hi,
Is it only me failing on tests/alignmentScanTests.py on a fresh clone of vdsm tree?
$ cat /etc/fedora-release Fedora release 19 (Schrödinger’s Cat)
$ ./autogen.sh --system && make && make rpm
zombieReaperTests testProcessDiedBeforeBeingTracked OK testProcessDiesAfterBeingTracked OK
====================================================================== FAIL: test_help_response (alignmentScanTests.AlignmentScanTests)
Traceback (most recent call last): File "/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests/alignmentScanTests.py", line 56, in test_help_response "alignment of virtual machine partitions"), -1) AssertionError: -1 == -1 -------------------- >> begin captured logging << -------------------- Storage.Misc.excCmd: DEBUG: '/usr/bin/virt-alignment-scan --help' (cwd None) Storage.Misc.excCmd: DEBUG: SUCCESS: <err> = ''; <rc> = 0 --------------------- >> end captured logging << ---------------------
Ran 272 tests in 288.602s
FAILED (SKIP=23, failures=1) make[4]: *** [check-local] Error 1 make[4]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/fedora/rpmbuild/BUILD/vdsm-4.11.0' error: Bad exit status from /var/tmp/rpm-tmp.3i1rpi (%check)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3i1rpi (%check) make: *** [rpm] Error 1
-- Cheers Douglas
On 06/23/2013 09:11 AM, Yeela Kaplan wrote:
/usr/bin/virt-alignment-scan --help
$ /usr/bin/virt-alignment-scan --help virt-alignment-scan: check alignment of virtual machine partitions Copyright (C) 2011 Red Hat Inc. Usage: virt-alignment-scan [--options] -d domname virt-alignment-scan [--options] -a disk.img [-a disk.img ...] Options: -a|--add image Add image -c|--connect uri Specify libvirt URI for -d option -d|--domain guest Add disks from libvirt guest --format[=raw|..] Force disk format for -a option --help Display brief help -P nr_threads Use at most nr_threads -q|--quiet No output, just exit code -v|--verbose Verbose messages -V|--version Display version and exit -x Trace libguestfs API calls For more information, see the manpage virt-alignment-scan(1).
$ /usr/bin/virt-alignment-scan -V virt-alignment-scan 1.21.38fedora=19,release=1.fc19,libvirt
Douglas, This should fix the problem: http://gerrit.ovirt.org/#/c/16098/
Can you please verify this on f19? Thanks! Yeela
----- Original Message -----
From: "Douglas Schilling Landgraf" dougsland@redhat.com To: "Yeela Kaplan" ykaplan@redhat.com Cc: "VDSM Project Development" vdsm-devel@lists.fedorahosted.org, "Dan Kenigsberg" danken@redhat.com Sent: Tuesday, June 25, 2013 6:08:59 PM Subject: Re: make rpm - tests/alignmentScanTests.py
On 06/23/2013 09:11 AM, Yeela Kaplan wrote:
/usr/bin/virt-alignment-scan --help
$ /usr/bin/virt-alignment-scan --help virt-alignment-scan: check alignment of virtual machine partitions Copyright (C) 2011 Red Hat Inc. Usage: virt-alignment-scan [--options] -d domname virt-alignment-scan [--options] -a disk.img [-a disk.img ...] Options: -a|--add image Add image -c|--connect uri Specify libvirt URI for -d option -d|--domain guest Add disks from libvirt guest --format[=raw|..] Force disk format for -a option --help Display brief help -P nr_threads Use at most nr_threads -q|--quiet No output, just exit code -v|--verbose Verbose messages -V|--version Display version and exit -x Trace libguestfs API calls For more information, see the manpage virt-alignment-scan(1).
$ /usr/bin/virt-alignment-scan -V virt-alignment-scan 1.21.38fedora=19,release=1.fc19,libvirt
-- Cheers Douglas
On 06/26/2013 06:11 AM, Yeela Kaplan wrote:
Douglas, This should fix the problem: http://gerrit.ovirt.org/#/c/16098/
Can you please verify this on f19?
Worked, thanks!
Thanks! Yeela
----- Original Message -----
From: "Douglas Schilling Landgraf" dougsland@redhat.com To: "Yeela Kaplan" ykaplan@redhat.com Cc: "VDSM Project Development" vdsm-devel@lists.fedorahosted.org, "Dan Kenigsberg" danken@redhat.com Sent: Tuesday, June 25, 2013 6:08:59 PM Subject: Re: make rpm - tests/alignmentScanTests.py
On 06/23/2013 09:11 AM, Yeela Kaplan wrote:
/usr/bin/virt-alignment-scan --help
$ /usr/bin/virt-alignment-scan --help virt-alignment-scan: check alignment of virtual machine partitions Copyright (C) 2011 Red Hat Inc. Usage: virt-alignment-scan [--options] -d domname virt-alignment-scan [--options] -a disk.img [-a disk.img ...] Options: -a|--add image Add image -c|--connect uri Specify libvirt URI for -d option -d|--domain guest Add disks from libvirt guest --format[=raw|..] Force disk format for -a option --help Display brief help -P nr_threads Use at most nr_threads -q|--quiet No output, just exit code -v|--verbose Verbose messages -V|--version Display version and exit -x Trace libguestfs API calls For more information, see the manpage virt-alignment-scan(1).
$ /usr/bin/virt-alignment-scan -V virt-alignment-scan 1.21.38fedora=19,release=1.fc19,libvirt
-- Cheers Douglas
vdsm-devel@lists.stg.fedorahosted.org