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

xapi-project / xen-api / 45162475370
79%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2026 11:09AM UTC
Jobs 1
Files 36
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

23 Nov 2026 10:59AM UTC coverage: 78.996%. Remained the same
45162475370

push

github

web-flow
xapi: Fix pool.join breaking due to dangling ref (#7365)

`SR.forget` can create a dangling reference in `Host.local_cache_sr`.
During
pool join, this will prevent the supporter host from creating its host
object
on the coordinator, which leads to a broken supporter host:

[debug||pool.join|xapi_pool] Found no host with uuid = 'SUPPORTER' on
the master, so creating one.
[debug||pool.join|xapi_pool] Ignoring exception:
Db_exn.DBCache_NotFound("missing row", "SR", "OpaqueRef:DANGLING")
[error||pool.join|backtrace] Raised Db_exn.DBCache_NotFound("missing
row", "SR", "OpaqueRef:DANGLING")
[error||pool.join|backtrace] 1/5 xapi Raised at file
ocaml/database/db_cache_impl.ml, line 151
[error||pool.join|backtrace] 2/5 xapi Called from file
ocaml/xapi/db_actions.ml, line 14885
[error||pool.join|backtrace] 3/5 xapi Called from file
ocaml/xapi/xapi_pool.ml, line 1101
[error||pool.join|backtrace] 4/5 xapi Called from file
ocaml/xapi/xapi_pool.ml, line 1539
[error||pool.join|backtrace] 5/5 xapi Called from file lib/backtrace.ml,
line 110

In case of an error, simply set `Host.local_cache_sr` to `Ref.null` and
continue.
Thus, after the fix:

[debug||pool.join|xapi_pool] Found no host with uuid = 'SUPPORTER' on
the master, so creating one.
    [debug||pool.join|xapi_pool] Creating host object on master

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 45162475370.1 23 Nov 2026 11:09AM UTC 36
79.0
GitHub Action Run
Source Files on build 45162475370
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45162475370
  • 46d2baa3 on github
  • Prev Build on gh-readonly-queue/master/pr-7400-79994b12d3a72935b28c2f743e2293db8a0f312e (#45122568883)
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