Bug 1036742

Summary: Disable libguestfs tests on PPC
Product: [Fedora] Fedora Reporter: Gustavo Luiz Duarte <gustavold>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: gustavold, mbooth, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.24.2-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-17 19:06:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gustavo Luiz Duarte 2013-12-02 14:33:50 UTC
Description of problem:

The libguestfs test suite requires virtualization, but the ppc64 Koji builders on Fedora don't have virtualization support. QEMU's ppc64 emulation is not an option because it is incomplete and fails with 'illegal instruction' error.

I tried the libguestfs test suite on a ppc64 machine with virtualization support and most of the tests passed, with the exception of a few btrfs and ntfs tests. Most of the bindings test suite also passed (I didn't try all of them), though there are some sporadic hangs.

Could we disable the tests during libguestfs build so that we unblock several libguestfs dependencies on ppc64?

Comment 1 Richard W.M. Jones 2013-12-02 15:19:56 UTC
Sure, done:

http://pkgs.fedoraproject.org/cgit/libguestfs.git/commit/?id=443fd797335fda0a494770669a1880d2b8de61e9
(also in F20 git)

By the way, I do occasionally run the test suite on ppc64 and
it should work.  Unfortunately I only have an Apple G5 locally
which supports the "fake" KVM (PR?), which was recently disabled
in the Fedora kernel, leaving me without a way to test KVM at
all.

There was a patch floating around:
"Allow PR and HV KVM to coexist in one kernel"

Some/all of it seems to be upstream so maybe we can get PR enabled
again?  Then I can add it to CI-tests, which means it won't break
so much.

Comment 2 Gustavo Luiz Duarte 2013-12-04 23:35:19 UTC
(In reply to Richard W.M. Jones from comment #1)
> Sure, done:
> 
> http://pkgs.fedoraproject.org/cgit/libguestfs.git/commit/
> ?id=443fd797335fda0a494770669a1880d2b8de61e9
> (also in F20 git)

Thanks Richard, could you also create a build on primary? We cannot build on secondary arches until a build happens on primary.


> By the way, I do occasionally run the test suite on ppc64 and
> it should work.  Unfortunately I only have an Apple G5 locally
> which supports the "fake" KVM (PR?), which was recently disabled
> in the Fedora kernel, leaving me without a way to test KVM at
> all.
> 
> There was a patch floating around:
> "Allow PR and HV KVM to coexist in one kernel"
> 
> Some/all of it seems to be upstream so maybe we can get PR enabled
> again?  Then I can add it to CI-tests, which means it won't break
> so much.

Yes, that patch is upstream. Once we have kernel-3.13 on Fedora we can try to enable PR KVM.

Comment 3 Richard W.M. Jones 2013-12-05 09:59:07 UTC
F20 build in progress:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6258986

Comment 4 Richard W.M. Jones 2013-12-05 10:06:04 UTC
I have opened a bug about the unrelated KVM PR issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1038541

Comment 5 Fedora Update System 2013-12-06 09:02:58 UTC
libguestfs-1.24.1-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libguestfs-1.24.1-5.fc20

Comment 6 Fedora Update System 2013-12-06 20:00:02 UTC
Package libguestfs-1.24.1-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libguestfs-1.24.1-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22849/libguestfs-1.24.1-5.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-12-08 10:56:44 UTC
libguestfs-1.24.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libguestfs-1.24.2-1.fc20

Comment 8 Fedora Update System 2013-12-17 19:06:04 UTC
libguestfs-1.24.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.