ovirt-appliance_master_build-artifacts-el7-x86_64 is ignoring failed commands

Description

In:
http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/196/console

After appliance shutdown:

00:15:44.383 [[ -n "1" ]] && [[ "$(virt-sparsify --help)" =~
--in-place ]] && ( virt-sparsify --in-place
ovirt-engine-appliance.qcow2 ; ln ovirt-engine-appliance.qcow2
ovirt-engine-appliance.qcow2.sparse ; )00:25:53.734 virt-sparsify:
error: libguestfs error: guestfs_launch failed.00:25:53.735 This
usually means the libguestfs appliance failed to start or
crashed.00:25:53.735 See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs*00:25:53.735*
or run 'libguestfs-test-tool' and post the complete output into
a*00:25:53.735* bug report or message to the libguestfs mailing list.

The job should have failed here. Instead, the job continues and fails in a
later stage:

00:33:01.284 ls -shal ovirt-engine-appliance.ova*00:33:01.287* 1.4G
-rwxr-xr-x. 1 root root 1.4G Oct 6 14:13
ovirt-engine-appliance.ova*00:33:01.288* echo "all" appliance
done*00:33:01.290* all appliance done*00:33:01.291* + make
check*00:33:01.299* make -f image-tools/build.mk
ovirt-engine-appliance-manifest-rpm*00:33:01.305* make[1]: Entering
directory `/home/jenkins/workspace/ovirt-appliance_master_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance'00:33:01.305
guestfish --ro -i -a ovirt-engine-appliance.qcow2 sh 'rpm -qa | sort
-u' > ovirt-engine-appliance-manifest-rpm*00:41:58.044* libguestfs:
error: appliance closed the connection unexpectedly.00:41:58.044
This usually means the libguestfs appliance crashed.00:41:58.044 See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs*00:41:58.045*
for information about how to debug libguestfs and report
bugs.00:41:58.045 libguestfs: error: guestfs_launch
failed.00:41:58.045 This usually means the libguestfs appliance
failed to start or crashed.00:41:58.045 See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs*00:41:58.046*
or run 'libguestfs-test-tool' and post the complete output into
a*00:41:58.046* bug report or message to the libguestfs mailing
list.00:41:58.059 make[1]: *** [ovirt-engine-appliance-manifest-rpm]
Error 1*00:41:58.059* make[1]: Leaving directory
`/home/jenkins/workspace/ovirt-appliance_master_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance'00:41:58.060
make: *** [ovirt-engine-appliance-manifest-rpm] Error 2*00:41:58.065*
Took 2325 seconds

wasting 20 minutes of jenkins slave time testing something already known
broken.

While working on fixing this job, please investigate while it's failing and
open a separate issue or bugzilla for it.


Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>

Activity

Show:

Eyal Edri November 28, 2016 at 9:16 AM

this job is still not working, is it using the new experimental rpms?

Anything infra team can help with?

Eyal Edri November 13, 2016 at 4:30 PM

Former user November 7, 2016 at 3:39 PM

This failure is coming out of image-tools (which is still on github).

I need to check, but it looks like there's some problem with automake exiting automatically when there's a failure an a subshell. Can you look when you return?

This repo isn't under gerrit control, so we'll need to wait for Fabian...

Eyal Edri November 7, 2016 at 3:09 PM

can you have a look at the job and see if there is a bug or anything the ci team can help with?

Eyal Edri October 31, 2016 at 8:26 AM

Should be handled by node team, as the code is in the appliance repo.

Eyal Edri October 31, 2016 at 8:25 AM

I'm guessing Tolik wrote this job? can anyone from the node team have a look and fail early on the code?

Incomplete

Details

Assignee

Reporter

Blocked By

Priority

Created October 7, 2016 at 7:04 AM
Updated January 30, 2017 at 9:25 AM
Resolved January 29, 2017 at 10:23 AM