• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 4891
80%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2018 04:25PM UTC
Jobs 1
Files 397
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4891

push

travis-ci

mseri
CA-286364: When creating guest_metrics, ensure all fields reflect current state

In CA-286364, a reboot happened on a VM that had PV tools installed. This
triggered xapi's updates-from-xenopsd to look at the new state. This was slow
for other reasons and by the time we were looking at the events the VM had
reloaded its PV drivers.

When we notice a VM has a different start time we delete and recreate the guest
metrics. This object was, prior to this change, created with `PV_drivers_detected`
taking the default value of `false`.

We then took a look at the value of 'PV_drivers_detected' in the current state
of the VM and noticed that it hadn't changed since we last looked at it (before
the VM rebooted) - so we didn't set the field in the database.

The change in this CS ensures we always create the guest_metrics with the current
state of the VM, which we were already doing for all other fields in
`VM_guest_metrics`.

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>

19506 of 97634 relevant lines covered (19.98%)

2254.11 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4891.3 (BUILD_METHOD=opam-coverage) 04 Apr 2018 04:25PM UTC 0
19.98
Travis Job 4891.3
Source Files on build 4891
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4891
  • 7c35d068 on github
  • Prev Build on master (#4883)
  • Next Build on master (#4914)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc