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

xapi-project / xen-api / 15440657040
80%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2025 11:06AM UTC
Jobs 1
Files 33
Run time 1min
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 Jun 2025 10:48AM UTC coverage: 77.719%. Remained the same
15440657040

push

github

web-flow
xapi_vif: Guarantee the device parameter is an unsigned decimal integer (#6495)

This has been always true as xapi will call valid_device on VIF creation
to
make sure device is an integer, but the datamodel type of 'device' is
string,
    without any such guarantees.

Specify the guarantee in the documentation and make the check stricter
(int_of_string will accept "0x9fe" as an integer, for example), making
sure
that the device is specifically a decimal unsigned integer.
allowed_VIF_devices
has already enforced the unsigned decimal integer limitation on
compliant clients.

This could be helpful in ensuring that the clients will always be right
in
sorting devices as numbers, not as strings (so that "2" follows "1"
instead of
    the string order of "1"->"10"->"11", etc.).

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15440657040.1 04 Jun 2025 11:06AM UTC 33
77.72
GitHub Action Run
Source Files on build 15440657040
  • 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 #15440657040
  • 4bfdf7e7 on github
  • Prev Build on gh-readonly-queue/master/pr-6500-ee1e4c8abb8c80a79b4708016c3d2f452d1dd9b8 (#15439600266)
  • Next Build on master (#15457633250)
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