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

xapi-project / xen-api / 15457914325
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: dev/pau/majmin
DEFAULT BRANCH: master
Ran 05 Jun 2025 03:44AM UTC
Jobs 1
Files 33
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

05 Jun 2025 03:43AM UTC coverage: 77.719%. Remained the same
15457914325

push

github

web-flow
CA-411766: Detach VBDs right after VM Halted (#6501)

In XSI-1915, MCS shutdowned a VM and tried to destroy VBD right after
MCS received the event which came from power_state's change and failed.
The failure reason is below:
1. The update for VM's power_state and the update for VBDs is not a
transaction, so the client may receive the event from the update for
power_state and operate VBDs before the update for VBDs.
2. The VM's running on supporter. The DB operation needs to send RPC to
the coordinator. This needs time.
3. Between the update for VM's power_state and the update for VBD, xapi
also updates the field pending_guildencs which needs at least 8 DB
operation. This also delays the update for VBDs.

It's not straightforward to add transactions for these DB operations.
The workaround is to move the update for pending_guildencs to the end of
the DB operation of VBDs, VIFs, GPUs, etc. So that VBD will be updated
after the update for VM's power_state immediately.

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15457914325.1 05 Jun 2025 03:44AM UTC 33
77.72
GitHub Action Run
Source Files on build 15457914325
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15457914325
  • 6c9167f4 on github
  • Prev Build on gh-readonly-queue/master/pr-6493-4bfdf7e78121784141121f6a2fdb4b418a6f124f (#15457817050)
  • Next Build on gh-readonly-queue/master/pr-6501-7ad7f88424b2cb9ead94511bdc8bf22c79ce52df (#15457914403)
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

© 2025 Coveralls, Inc