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

xcp-ng / xen-api / 29095499371
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 8.3
DEFAULT BRANCH: master
Ran 10 Jul 2026 01:18PM 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

10 Jul 2026 01:17PM UTC coverage: 80.459%. First build
29095499371

push

github

gthvn1
start SM service after dbsync to avoid startup deadlock

message-switch only removes a message from the org.xen.xapi.storage queue once
it has been acked. If we are stuck in a SM call (e.g. DP.destroy that never
returns), restarting the XAPI will fail. The issue is that the message will be
redilevered early when XAPI starts and the call will takes the per-VDI lock
again. When XAPI will try to sync its database, it will call
refresh_local_vdi_activations that will block in stat_vdi because the lock for
the VDI is already taken.

So this patch moves the registers of the queue (Storage_access.start) after the
synchronisation of the XAPI database. Pending messages remains in the queue. Of
course the problem with the VDI is still there but XAPI can now start.

Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@vates.tech>

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 29095499371.1 10 Jul 2026 01:18PM UTC 34
80.46
GitHub Action Run
Source Files on build 29095499371
  • 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 #29095499371
  • cc8ede51 on github
  • Next Build on gtn-delay-storage-access-start (#29402602517)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc