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

psafont / xen-api / 13030472872 / 1
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: v26.1.3-8.3
DEFAULT BRANCH: master
Ran 29 Jan 2025 11:41AM UTC
Files 37
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

29 Jan 2025 11:36AM UTC coverage: 78.248%. Remained the same
13030472872.1

push

github

psafont
CA-399669: Detect a reason for IPMI readings being unavailable

When the IPMI devices are missing, this is printed in the error line:

$ /usr/bin/ipmitool -I open dcmi discover
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

Detect this situation so an appropriate warning can be printed.

This needed changes in the function that executes the command, to be able to
process stderr

Example output:
$ ./disco.exe
[debug] Forking command /usr/bin/ipmitool dcmi discover
[debug] Forked command /usr/bin/ipmitool dcmi discover
[ info] DCMI discover: Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
[debug] Process 423018 exited normally with code 1
[ warn] IPMI DCMI power readings not available, stopping. Reason: IPMI devices are missing

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Source Files on job python3.11 - 13030472872.1
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13030472872
  • d7a5c7e1 on github
  • Prev Job for on private/paus/ipmissing (#13029914858.1)
  • Next Job for on private/paus/ipmissing (#13030559049.1)
  • Delete
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