Bug 1188534 - libguestfs-1.29.23-1.fc22 FTBFS: tests fail
Summary: libguestfs-1.29.23-1.fc22 FTBFS: tests fail
Keywords:
Status: CLOSED DUPLICATE of bug 1188553
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-03 07:16 UTC by Petr Pisar
Modified: 2015-02-03 13:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-03 10:19:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2015-02-03 07:16:46 UTC
libguestfs-1.29.23-1.fc22 does not build in F22 because tests fail:

***** 1 / 502 tests FAILED *****
/builddir/build/BUILD/libguestfs-1.29.23/run: command failed with exit code 1
FAIL: tests
0 seconds: ./test-just-header
PASS: test-just-header
1 seconds: ./test-create-handle
PASS: test-create-handle
0 seconds: ./test-dlopen
PASS: test-dlopen
0 seconds: ./test-config
PASS: test-config
0 seconds: ./test-add-drive-opts
PASS: test-add-drive-opts
18 seconds: ./test-last-errno
PASS: test-last-errno
0 seconds: ./test-backend-settings
PASS: test-backend-settings
0 seconds: ./test-private-data
PASS: test-private-data
17 seconds: ./test-user-cancel
PASS: test-user-cancel
14 seconds: ./test-debug-to-file
PASS: test-debug-to-file
0 seconds: ./test-environment
PASS: test-environment
1 seconds: ./test-event-string
PASS: test-event-string
0 seconds: ./test-dlopen
PASS: test-dlopen
0 seconds: ./test-just-header-cxx
PASS: test-just-header-cxx
0 seconds: ./test-add-libvirt-dom
PASS: test-add-libvirt-dom
====================
1 of 16 tests failed
====================
Makefile:2354: recipe for target 'check-TESTS' failed
make[3]: Leaving directory '/builddir/build/BUILD/libguestfs-1.29.23/tests/c-api'

Difference between working and failing build root:

        btrfs-progs 	3.18.1-1.fc22 	> 	3.18.2-1.fc22
	openssh-clients 	6.7p1-1.fc22 	> 	6.7p1-2.fc22
	nss 	3.17.3-3.fc22 	> 	3.17.3-4.fc22
	openssh 	6.7p1-1.fc22 	> 	6.7p1-2.fc22
	openldap 	2.4.40-7.fc22 	> 	2.4.40-8.fc22
	harfbuzz 	0.9.37-1.fc22 	> 	0.9.38-1.fc22
	nss-sysinit 	3.17.3-3.fc22 	> 	3.17.3-4.fc22
	cups-libs 	1:2.0.1-1.fc22 	> 	1:2.0.1-2.fc22
	harfbuzz-devel 	0.9.37-1.fc22 	> 	0.9.38-1.fc22
	harfbuzz-icu 	0.9.37-1.fc22 	> 	0.9.38-1.fc22
	nss-tools 	3.17.3-3.fc22 	<

Comment 1 Richard W.M. Jones 2015-02-03 08:48:56 UTC
There are actually two failures currently, but the one you're
seeing is:

sfdisk --part-type /dev/sda 1 7f
sfdisk: failed to parse dos partition type '7f'
[   67.586198]  sda: sda1
guestfsd: error: sfdisk --part-type: sfdisk: failed to parse dos partition type 
'7f'
guestfsd: main_loop: proc 236 (part_set_mbr_id) took 0.02 secondslibguestfs: tra
ce: part_set_mbr_id = -1 (error)
libguestfs: error: part_set_mbr_id: sfdisk --part-type: sfdisk: failed to parse 
dos partition type '7f'
FAIL: test_part_get_mbr_id_0

This is caused by a bug in sfdisk (util-linux) which is supposedly
going to be fixed, according to:
https://bugzilla.redhat.com/show_bug.cgi?id=1183234#c3

Comment 2 Richard W.M. Jones 2015-02-03 10:19:59 UTC
Actually looking at the build log
(https://kojipkgs.fedoraproject.org//work/tasks/2312/8742312/build.log)
I see the failure is not this one, but the other one:

FAIL: test_btrfs_qgroup_show_0

This is a duplicate of bug 1188553 which I filed this morning.
The test is going to be disabled in 1.29.24.

*** This bug has been marked as a duplicate of bug 1188553 ***

Comment 3 Richard W.M. Jones 2015-02-03 13:40:18 UTC
FWIW this test has been disabled in 1.29.24.


Note You need to log in before you can comment on or make changes to this bug.