[Libvirt-ci] Broken: libvirt/libvirt#3021 (master - 35d603d)

Travis CI builds at travis-ci.org
Tue Jan 7 17:54:40 UTC 2020


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

Build: #3021
Status: Broken

Duration: 1 hr, 11 mins, and 31 secs
Commit: 35d603d (master)
Author: Michal Privoznik
Message: remote_daemon: Initialize host boot time global variable

This is not strictly needed, but it makes sure we initialize the
@bootTime global variable. Thing is, in order to validate XATTRs
and prune those set in some previous runs of the host, a
timestamp is recorded in XATTRs. The host boot time was unique
enough so it was chosen as the timestamp value. And to avoid
querying and parsing /proc/uptime every time, the query function
does that only once and stores the boot time in a global
variable. However, the only time the query function is called is
in a child process that does lock files and changes seclabels. So
effectively, we are doing exactly what we wanted to prevent from
happening.

The fix is simple, call the virHostBootTimeInit() function which
sets the global variable.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
Reviewed-by: Cole Robinson <crobinso at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/40a65ab4a98d...35d603d5ae0a

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/633843566?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the libvirt/libvirt repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific 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/20200107/a7e8d386/attachment.htm>


More information about the Libvirt-ci mailing list