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

xapi-project / xen-api / 21670221985
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/edvint/squeeze-me-not
DEFAULT BRANCH: master
Ran 04 Feb 2026 11:47AM UTC
Jobs 1
Files 34
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 Feb 2026 11:46AM UTC coverage: 80.459%. Remained the same
21670221985

push

github

web-flow
CA-423204: use xen field meminfo.claimed to calculate available memory in node for new VM (#6867)

The available memory in the node that can actually be further claimed in
the node for a new VM needs to be calculated as
(meminfo.memfree - meminfo.claimed). Considering only meminfo.memfree
does not consider VMs that may have claimed in the node but not yet
finished allocating the claimed amount.

A new debug line during the calculation makes it easier to understand
the different node memory values being considered and calculated for the
VMs being created, eg:
```
2026-01-27T00:03:44.788754+00:00 orca xenopsd-xc: [debug||22 |Async.VM.start_on R:4533f11cb6bf|xenops]
mem_claimable_for_new_vm: NUMA nodeid=0, domid=69: memfree=281696272384 memsize=825707462656 claimed=249459507200: available=32236765184
2026-01-27T00:03:44.788770+00:00 orca xenopsd-xc: [debug||22 |Async.VM.start_on R:4533f11cb6bf|xenops]
mem_claimable_for_new_vm: NUMA nodeid=1, domid=69: memfree=336155111424 memsize=824633720832 claimed=303146598400: available=33008513024
...
```

Tested with:
* SR-233407 (xs9 numa functional regression test)
* job 4541679, where this change calculates the correct nodes to start
the VMs in a host with 8 nodes and high contention of VMs starting
simultaneously.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 21670221985.1 04 Feb 2026 11:47AM UTC 34
80.46
GitHub Action Run
Source Files on build 21670221985
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21670221985
  • 6a2e5ac1 on github
  • Prev Build on gh-readonly-queue/master/pr-6882-ca3c231821b7a496e003fa523c5c0e41138f8a89 (#21634051219)
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