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

xcp-ng / xen-api / 15585197219 / 1
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: v26.1.3-8.3
DEFAULT BRANCH: master
Ran 11 Jun 2025 01:55PM UTC
Files 37
Run time 68min
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

11 Jun 2025 12:29PM UTC coverage: 78.248%. Remained the same
15585197219.1

push

github

last-genius
rrdd: Avoid missing aggregation of metrics from newly destroyed domains

Currently rrdd needs to know when a metric comes from a newly created domain,
(after a local migration, for example). This is because when a new domain is
created the counters start from zero again. This needs special logic for
aggregating metrics since xcp-rrdd needs to provide continuity of metrics of a
VM with a UUID, even if the domid changes.

Previously rrdd fetched the data about domains before metrics from plugins
were collected, and reused the data for self-reported metrics. While this meant
that for self-reported metrics it was impossible to miss collected information,
for plugin metrics it meant that for created and destroyed domains, the
between between domain id and VM UUID was not available.

With the current change the domain ids and VM UUIDs are collected every
iteration of the monitor loop, and kept for one more iteration, so domains
destroyed in the last iteration are remembered and not missed.

With this done it's now safe to move the host and memory metrics collection
into its own plugin.

Also use sequences more thoroughly in the code for transformations

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Source Files on job python3.11 - 15585197219.1
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15585197219
  • c6dc38c8 on github
  • Prev Job for on v25.6.0-8.3 (#15207727647.1)
  • Next Job for on v25.6.0-8.3 (#15895299829.1)
  • Delete
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