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

xcp-ng / xen-api / 14900861617
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: v26.1.3-8.3
DEFAULT BRANCH: master
Ran 08 May 2025 07:16AM UTC
Jobs 1
Files 37
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

08 May 2025 07:14AM UTC coverage: 78.248%. Remained the same
14900861617

push

github

last-genius
xapi_xenops: Try to avoid a race during suspend

As described in [#6451](https://github.com/xapi-project/xen-api/issues/6451),
a xapi event could prevent update_vm from pulling the latest Xenopsd metadata,
overwriting it with stale information. In case of suspend, this would make the
snapshot unresumable, raising an assert in xenopsd due to incongruities in
memory values.

Grab the metadata mutex for the duration of the entire power state update
function, which, in my testing, prevents the race and fixes the broken suspend.

Accordingly update Xenopsd_metadata.pull to handle recursive mutex locking
gracefully.

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 14900861617.1 08 May 2025 07:16AM UTC 37
78.25
GitHub Action Run
Source Files on build 14900861617
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14900861617
  • 40646966 on github
  • Prev Build on v25.6.0-8.3 (#14643636199)
  • Next Build on v25.6.0-8.3 (#15137607145)
  • Delete
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