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

hardbyte / python-can / 46197751921
74%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2026 10:45PM UTC
Jobs 21
Files 91
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 Nov 2026 10:39PM UTC coverage: 74.212%. First build
46197751921

push

github

web-flow
canutils: read the candump raw DLC suffix of Classical CAN frames (#2163)

* canutils: read and write the candump raw DLC of Classical CAN frames

candump -8 -L writes the raw DLC (9 to 15) of a Classical CAN frame with
8 data bytes as a suffix: 123#1122334455667788_C, 123#R8_F.
CanutilsLogReader raised ValueError on such a line, which ended reading
of the whole file, and CanutilsLogWriter dropped the raw DLC.

Read the suffix into Message.dlc the way can-utils parse_canframe does
(only a digit from 9 to F after exactly 8 bytes), as the SocketCAN
interface already stores len8_dlc, and write it back in the same form.

* canutils: take the raw DLC suffix only from Classical CAN remote frames

A CAN FD record such as 123##0R8_C was read as a remote frame with
DLC 12; can-utils rejects it. Correct the candump option in the news
fragment and test comment: the suffix comes from candump -L and -l log
output, not -8.

* test: cover a trailing character after the raw DLC digit and a remote length of 1

* canutils: read a candump remote length before the raw DLC as can-utils does

can-utils reads one length digit from 0 to 8 after R and takes the raw
DLC only after the length 8, so 123#R08_C is a remote frame with DLC 0.

* doc: name the news fragment after the pull request

* canutils: read a raw DLC suffix as an 8-byte frame with dlc 8

Message.dlc holds the payload length of a Classical CAN frame (0 to 8),
and can-utils keeps the raw DLC in the separate len8_dlc field. The
reader now drops the raw DLC digit after 8 data bytes or R8, and the
writer is back to main's behaviour.

8 of 8 new or added lines in 1 file covered. (100.0%)

8213 of 11067 relevant lines covered (74.21%)

14.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unittests-windows-latest-pypy312 - 46197751921.1 28 Nov 2026 10:54PM UTC 91
67.39
GitHub Action Run
2 Unittests-windows-latest-py314 - 46197751921.2 28 Nov 2026 10:49PM UTC 91
71.42
GitHub Action Run
3 Unittests-macos-latest-py311 - 46197751921.3 28 Nov 2026 10:53PM UTC 91
70.53
GitHub Action Run
4 Unittests-windows-latest-py311 - 46197751921.4 28 Nov 2026 10:48PM UTC 91
71.74
GitHub Action Run
5 Unittests-macos-latest-py312 - 46197751921.5 28 Nov 2026 10:45PM UTC 91
70.53
GitHub Action Run
6 Unittests-windows-latest-pypy311 - 46197751921.6 28 Nov 2026 10:52PM UTC 91
67.39
GitHub Action Run
7 Unittests-ubuntu-latest-py314 - 46197751921.7 28 Nov 2026 10:48PM UTC 91
72.65
GitHub Action Run
8 Unittests-macos-latest-py314 - 46197751921.8 28 Nov 2026 10:53PM UTC 91
70.32
GitHub Action Run
9 Unittests-ubuntu-latest-pypy311 - 46197751921.9 28 Nov 2026 10:53PM UTC 91
69.59
GitHub Action Run
10 Unittests-macos-latest-py313 - 46197751921.10 28 Nov 2026 10:51PM UTC 91
70.53
GitHub Action Run
11 Unittests-macos-latest-py315 - 46197751921.11 28 Nov 2026 10:49PM UTC 91
68.75
GitHub Action Run
12 Unittests-ubuntu-latest-py315 - 46197751921.12 28 Nov 2026 10:46PM UTC 91
71.09
GitHub Action Run
13 Unittests-ubuntu-latest-py312 - 46197751921.13 28 Nov 2026 10:46PM UTC 91
72.86
GitHub Action Run
14 Unittests-windows-latest-py315 - 46197751921.14 28 Nov 2026 10:53PM UTC 91
68.06
GitHub Action Run
15 Unittests-ubuntu-latest-py313 - 46197751921.15 28 Nov 2026 10:52PM UTC 91
72.86
GitHub Action Run
16 Unittests-windows-latest-py313 - 46197751921.16 28 Nov 2026 10:53PM UTC 91
71.63
GitHub Action Run
17 Unittests-macos-latest-pypy311 - 46197751921.17 28 Nov 2026 10:55PM UTC 91
68.99
GitHub Action Run
18 Unittests-macos-latest-pypy312 - 46197751921.18 28 Nov 2026 10:54PM UTC 91
69.01
GitHub Action Run
19 Unittests-ubuntu-latest-pypy312 - 46197751921.19 28 Nov 2026 10:48PM UTC 91
69.53
GitHub Action Run
20 Unittests-ubuntu-latest-py311 - 46197751921.20 28 Nov 2026 10:52PM UTC 91
72.86
GitHub Action Run
21 Unittests-windows-latest-py312 - 46197751921.21 28 Nov 2026 10:51PM UTC 91
71.74
GitHub Action Run
Source Files on build 46197751921
  • Tree
  • List 91
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46197751921
  • 6ecdddd9 on github
  • Prev Build on main (#46168335717)
  • Next Build on main (#46207793833)
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