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

xapi-project / xen-api / 4891 / 3
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2018 04:25PM UTC
Files 397
Run time 15s
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

04 Apr 2018 03:55PM UTC coverage: 19.979% (+0.004%) from 19.975%
BUILD_METHOD=opam-coverage

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

Source Files on job 4891.3 (BUILD_METHOD=opam-coverage)
  • Tree
  • List 0
  • Changed 32
  • Source Changed 2
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 4891.3
  • 7c35d068 on github
  • Prev Job for BUILD_METHOD=opam-coverage on master (#4883.3)
  • Next Job for BUILD_METHOD=opam-coverage on master (#4914.3)
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