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

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

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/master/pr-7061-844281a97c58c8568c07ad3bcef9dd8a44653df7
DEFAULT BRANCH: master
Ran 30 Apr 2026 03:05PM 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

30 Apr 2026 03:03PM UTC coverage: 80.459%. Remained the same
25172927125

push

github

web-flow
xapi_vm_lifecycle: Only consult `data-cant-suspend-reason` and `feature-suspend` for live VMs (#7047)

Otherwise, a shutdown VM that had `data/cant_suspend_reason` populated
during its runtime will not be migratable with `VM_NON_SUSPENDABLE`
error.

Additionally uses `Xapi_vm_lifecycle_helpers.is_live` (which checks for
both `Paused` and `Running`) instead of a check for `Running` to
determine if the VM is live.

The following matrix of cases was tested:

* [x] Test on migratable Windows (shouldn't block suspend) → OK

* [x] Test on Windows with a non-migratable device (should block suspend
as VM
    lacks feature) → OK

* [x] Test on migratable Linux with XenServer tools (shouldn't block) →
OK

* [x] Test on migratable Linux with XCP-ng tools (shouldn't block) → OK

* [x] Test on Linux with a non-migratable device (should block) → OK

* [x] Test nopv Windows/Linux without unmigratable devices with manual
    `feature-suspend` xenstore entry forced (shouldn't block, should
    resume correctly)

   * [x] Windows BIOS → OK

   *  [x] Linux BIOS → OK

* [x] Test VDI migration on VM that had cant_suspend_reason populated
but was
    shut down (shouldn't block VDI migration) → OK

Fixes: c895469f5 ("xapi_vm_lifecycle: Disallow suspend when
cant_suspend_reason is present")

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 25172927125.1 30 Apr 2026 03:05PM UTC 34
80.46
GitHub Action Run
Source Files on build 25172927125
  • 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 #25172927125
  • ca64708a on github
  • Prev Build on gh-readonly-queue/master/pr-7045-27590e8b5b3f460bcbed11eb31a95423bb138ab2 (#25100978802)
  • Next Build on gh-readonly-queue/master/pr-7047-fd19748bd82cbeb9f9b89330f6f844642e80a780 (#25172928137)
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