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

psafont / xen-api / 13029914858
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: dev/pau/stringless
DEFAULT BRANCH: master
Ran 29 Jan 2025 11:05AM UTC
Jobs 1
Files 37
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

29 Jan 2025 11:03AM UTC coverage: 78.248%. Remained the same
13029914858

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 DMCI 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

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13029914858.1 29 Jan 2025 11:05AM UTC 37
78.25
GitHub Action Run
Source Files on build 13029914858
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13029914858
  • 774633f2 on github
  • Prev Build on private/paus/ipmissing (#13029834182)
  • Next Build on private/paus/ipmissing (#13030472872)
  • 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