[Libvirt-ci] Errored: libvirt/libvirt#3 (master - 234ac4e)

Travis CI builds at travis-ci.org
Thu Apr 20 09:41:10 UTC 2017


Build Update for libvirt/libvirt
-------------------------------------

Build: #3
Status: Errored

Duration: 10 minutes and 39 seconds
Commit: 234ac4e (master)
Author: Daniel P. Berrange
Message: Fix error reporting when poll returns POLLHUP/POLLERR

In the RPC client event loop code, if poll() returns only a POLLHUP
or POLLERR status, then we end up reporting a bogus error message:

  error: failed to connect to the hypervisor
  error: An error occurred, but the cause is unknown

We do actually report an error, but we virNetClientMarkClose method
has already captured the error status before we report it, so the
real error gets thrown away. The key fix is to report the error
before calling virNetClientMarkClose(). In changing this, we also
split out reporting of POLLHUP vs POLLERR to make any future bugs
easier to diagnose.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/355f5ab99899...234ac4e18db3

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/223886495

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20170420/e1f8d791/attachment.htm>


More information about the Libvirt-ci mailing list