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

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

Build:
DEFAULT BRANCH: master
Ran 05 Jun 2025 04:06AM UTC
Files 33
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

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

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

Source Files on job python3.11 - 15458137074.1
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15458137074
  • 6c9167f4 on github
  • Prev Job for on master (#15457817050.1)
  • Next Job for on master (#15467753975.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

© 2025 Coveralls, Inc