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

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

Build:
Build:
LAST BUILD BRANCH: dev/pau/majmin
DEFAULT BRANCH: master
Ran 10 Jun 2025 12:28PM 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

10 Jun 2025 12:27PM UTC coverage: 77.719%. Remained the same
15559456363

push

github

web-flow
Parallelize host evacuation even more (#6514)

With bab83d9d7, host evacuation was
parallelized by grouping VMs
into batches, and starting a new batch once the previous one has
finished.
This means that a single slow VM can potentially slow down the whole
evacuation.

Add a new `Tasks.wait_for_all_with_callback` function that will
invoke a callback every time one of the tasks is
deemed non-pending. This will allow its users to:

1) track the progress of tasks within the submitted batch
2) schedule new tasks to replace the completed ones

Use the new `Tasks.wait_for_all_with_callback` in `xapi_host` to
schedule a new migration as soon as any of the previous ones have
finished, thus maintaining a constant flow of `n` migrations.

Additionally expose the `evacuate-batch-size` parameter in the CLI, this
was missed when it was originally added with the CLI setting it to `0`
(pick the default) all the time.

===

Manually tested multiple times, confirmed to not break anything and to
actually maintain a constant flow of migrations. This should greatly
speed up host evacuations when there is a combination of bigger and
smaller VMs (in terms of memory/disk, or VMs with some other reason for
slow migration) on the host

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15559456363.1 10 Jun 2025 12:28PM UTC 33
77.72
GitHub Action Run
Source Files on build 15559456363
  • 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 #15559456363
  • 817b4341 on github
  • Prev Build on gh-readonly-queue/master/pr-6515-867d563c3d1794ad1f9e2a95801e36d64cbe634b (#15557398076)
  • Next Build on gh-readonly-queue/master/pr-6514-6727c4e9e125898f2240e3826fe80ca78e00cbdb (#15559456174)
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