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

xapi-project / xen-api / 21716512138
80%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2026 03:03PM 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

05 Feb 2026 02:54PM UTC coverage: 80.459%. Remained the same
21716512138

push

github

web-flow
CA-423576: fix cli_progress_bar crashes (#6892)

cli_progress_bar is used by `xe --progress`, and I've reused it in my
test code in https://github.com/xapi-project/xen-api/pull/6858.
However >90% of my test runs failed on various machines due to a
`String.blit` exception from `cli_progress_bar`.

There are 2 possible reasons, not sure which one caused the failure, but
I've fixed both, and now I have a lot more green tests (and the failures
are due to actual bugs in the product, not bugs in the progress bar):
* if the ETA printed would be >99h (even just temporarily) then we'd
overflow the buffer's size and raise an exception. `%02d` means at least
2 digits, not at most!
* if time goes backwards then we'd get a negative ETA and try to print a
`-` and overflow the buffer size again and raise an exception. Replaced
it with monotonic time

This also contains an improvement I've made on the other PR to print
total time in `ms` (to avoid having to solve rebase conflicts twice in
the 2 PRs). This avoids printing awkward looking lines like Total time
00:00:00, when it actually took 0.9s maybe.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 21716512138.1 05 Feb 2026 03:03PM UTC 34
80.46
GitHub Action Run
Source Files on build 21716512138
  • 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 #21716512138
  • 90d6814c on github
  • Prev Build on gh-readonly-queue/master/pr-6885-20e5cf391317b2659df4a3a32dace992ef2b2479 (#21715435569)
  • Next Build on master (#21738589782)
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