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

xapi-project / xen-api / 13770543461
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/stevenwo/CP-308811
DEFAULT BRANCH: master
Ran 10 Mar 2025 05:07PM UTC
Jobs 1
Files 33
Run time 2min
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

10 Mar 2025 05:06PM UTC coverage: 77.729%. Remained the same
13770543461

push

github

web-flow
CA-408126 - rrd: Do not lose ds_min/max when adding to the RRD (#6349)

Rrd.ds_create has optional min and max arguments (defaulting to
neg_infinity and infinity respectively). Several callers would omit
these parameters, resulting in ds_min and ds_max being lost during the
conversion from Ds.ds to Rrd.ds. Without these, metrics couldn't be kept
in range, which would result in some (such as CPU usage numbers) going
negative when a domain would change its domid (over a reboot), for
example.

Make these parameters required, not optional. Requires adjusting unit
tests as well.

This latent behaviour was exposed during the major timestamp and plugin
refactoring last year.
Previously, the entire RRD was created at once by calling
create_fresh_rrd. Now create_fresh_rrd is only called for the first
chunk, and other chunks of the RRD call merge_new_dss, which omitted the
optional arguments. Rrdd_server.add_ds also ommitted these arguments,
which meant that datasources enabled at runtime would not be kept in
range.

3354 of 4315 relevant lines covered (77.73%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13770543461.1 10 Mar 2025 05:07PM UTC 33
77.73
GitHub Action Run
Source Files on build 13770543461
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13770543461
  • 182528aa on github
  • Prev Build on gh-readonly-queue/master/pr-6344-75a34eda65d473948924f097851497020a670b0b (#13759103999)
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

© 2025 Coveralls, Inc