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

kontron / python-ipmi / 40672328227
95%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2026 10:28AM UTC
Jobs 6
Files 59
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

28 Oct 2026 10:27AM UTC coverage: 95.205% (-0.06%) from 95.268%
40672328227

push

github

hthiery
interfaces: add the KCM interface

The Kontron Chassis Monitor (KCM) is connected to both IPMB buses of a
chassis, IPMB-A on channel 0 and IPMB-B on channel 1, and to the host
over a serial port. There was no interface to use it with python-ipmi.

The new interface "kcm" implements the serial protocol of the KCM: STX,
the hex encoded command, payload and CRC-8 (polynomial 0x97, init 0xff),
ETX. Replies are matched to their command by the 16 bit sequence
number, received IPMB messages (command 6) are passed to the interface
of their channel. Like openipmblink, both channels share one serial
port and each channel is an IpmbInterface, so responses are matched and
incoming requests are answered by the MessageRouter.

Opening a channel reads the firmware version and sets the own IPMB
address and the I2C bit rate of the channel. A failed send (success 0
in the status reply) raises an IOError, so the request is retried.

The protocol and the frames used in the tests were checked against a
KCM with firmware 1.6: it uses the same status reply as 1.7, so 1.6 is
the oldest supported version.

Add the interface to the CLI, the man page, the documentation and the
README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

244 of 264 new or added lines in 3 files covered. (92.42%)

11437 of 12013 relevant lines covered (95.21%)

5.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
92.43
pyipmi/interfaces/kcm.py
1
90.61
0.01% pyipmi/cli.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.13 - 40672328227.1 28 Oct 2026 10:28AM UTC 59
95.17
GitHub Action Run
2 run-3.12 - 40672328227.2 28 Oct 2026 10:28AM UTC 59
95.17
GitHub Action Run
3 run-3.10 - 40672328227.3 28 Oct 2026 10:28AM UTC 59
95.17
GitHub Action Run
4 run-3.11 - 40672328227.4 28 Oct 2026 10:28AM UTC 59
95.17
GitHub Action Run
5 run-3.14 - 40672328227.5 28 Oct 2026 10:28AM UTC 59
95.17
GitHub Action Run
6 run-pypy3.10 - 40672328227.6 28 Oct 2026 10:29AM UTC 59
95.01
GitHub Action Run
Source Files on build 40672328227
  • Tree
  • List 59
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40672328227
  • e00494fe on github
  • Prev Build on master (#40181567841)
  • Next Build on master (#40682969782)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc