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

xapi-project / xen-api / 17554303936
80%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2025 02:33PM 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

08 Sep 2025 02:23PM UTC coverage: 80.368%. Remained the same
17554303936

push

github

web-flow
CA-416351: Slave shutdown timeout (#6645)

Before shutting down, xapi calls `xapi_pre_shutdown` to execute several
pre-shutdown scripts, which require the current host's UUID as a
parameter.

Currently, xapi obtains this UUID in a redundant manner:
1. It retrieves the UUID from the local inventory file.
2. It queries the database for the host's reference using the UUID.
3. It queries the database again for the host's UUID using the reference
obtained in step 2.

Steps 2 and 3 are unnecessary since the UUID is already available from
step 1. Moreover, when the master stops, the slave fails to query the
database, increasing xapi shutdown times on the slave.

The solution is to directly use the UUID obtained in step 1, eliminating
the redundant database queries.

3496 of 4350 relevant lines covered (80.37%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 17554303936.1 08 Sep 2025 02:33PM UTC 34
80.37
GitHub Action Run
Source Files on build 17554303936
  • 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 #17554303936
  • a59f1c96 on github
  • Prev Build on gh-readonly-queue/master/pr-6653-fb23194de11162e7620f580c4163e89a9aa7f18a (#17553603437)
  • Next Build on master (#17570511100)
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