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

xapi-project / xen-api / 21626940142 / 1
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/marcusg/cp-309998
DEFAULT BRANCH: master
Ran 03 Feb 2026 10:42AM UTC
Files 34
Run time 1s
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

03 Feb 2026 10:39AM UTC coverage: 80.459%. Remained the same
21626940142.1

push

github

web-flow
storage_access: robustify SM detection on startup to avoid duplicates for master branch (#6875)

Some XCP-ng customers have observed xapi recording duplicate XOStore SM
backends.

On these cases the `host_pending_feature` map present in both SM objects
by the xapi objects were different: one was empty, and the other one had
an empty entry for each of the hosts in the pool.

This PR tries to address this by detecting the latter case and
transforming into the former. It also has changes to the startup process
where the processing of the SM objects could miss updating some of them,
and now makes a point of handling SM objects and SM types differently to
avoid missing as many cases as possible.

Since I've been unable to reproduce the issue of duplicates, there's
also code added to detect and log duplicates after the processing at the
startup has ended to be able to better identify when the situation
happens.

Port of #6873 to master

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Source Files on job python3.11 - 21626940142.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21626940142
  • ca3c2318 on github
  • Prev Job for on gh-readonly-queue/master/pr-6875-00c6f68d5e6eed360573fd1c2fe87c5f17f06c35 (#21619264358.1)
  • Next Job for on gh-readonly-queue/master/pr-6875-00c6f68d5e6eed360573fd1c2fe87c5f17f06c35 (#21626940316.1)
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