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

systemd / systemd / 27451129235
73%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 03:27AM UTC
Jobs 1
Files 2129
Run time 4min
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

12 Jun 2026 01:39PM UTC coverage: 72.886% (-0.03%) from 72.913%
27451129235

push

github

keszybz
pcrextend: skip measurement gracefully when the TPM can't be used

So far --graceful only short-circuited when no TPM was present at all (the
!tpm2_is_mostly_supported() check). If a TPM is present but can't actually be
used for the measurement we want, the measurement still failed hard. For
systemd-pcrextend instances ordered before sysinit.target this pushes the
system to degraded and blocks boot, which defeats the purpose of --graceful.

Make the two extend helpers report every "TPM is present-or-absent but cannot
be used for this measurement" condition with a single errno, -EOPNOTSUPP: no
usable PCR bank, no TPM device, missing crypto (e.g. AES-128-CFB), no NvPCR
support, and OpenSSL-less builds. tpm2_context_new_or_warn() reports a missing
device as -ENOENT, so each helper translates that to -EOPNOTSUPP at the call
site, keeping every errno single-meaning.

Co-developed-by: Claude Opus 4.8 <noreply@anthropic.com>

9 of 11 new or added lines in 1 file covered. (81.82%)

260 existing lines in 35 files now uncovered.

337094 of 462492 relevant lines covered (72.89%)

1285662.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
80.49
0.2% src/pcrextend/pcrextend.c

Coverage Regressions

Lines Coverage ∆ File
40
66.89
-6.66% src/bootctl/bootctl-link.c
38
74.84
-3.54% src/bootctl/bootctl-install.c
30
33.63
-6.59% src/udev/udev-builtin-path_id.c
16
70.45
-0.35% src/core/service.c
16
79.03
-0.91% src/udev/udev-rules.c
13
84.23
-0.73% src/network/networkd-link.c
11
81.55
-10.68% src/shared/utmp-wtmp.c
8
73.5
-2.83% src/libsystemd-network/sd-ipv4acd.c
8
72.79
0.35% src/resolve/resolved-dns-scope.c
8
58.45
-1.35% src/timesync/timesyncd-manager.c
7
65.55
-0.37% src/core/socket.c
7
80.99
-0.09% src/libsystemd/sd-varlink/sd-varlink.c
7
82.27
-1.94% src/shared/bus-polkit.c
5
68.12
-0.73% src/libsystemd/sd-journal/journal-verify.c
4
82.54
-0.12% src/core/unit.c
4
39.71
-0.1% src/login/logind-dbus.c
4
50.0
-50.0% src/shared/find-esp.h
3
75.0
-2.68% src/coredump/coredump-vacuum.c
3
80.28
-0.18% src/core/execute.c
3
62.54
-0.33% src/libsystemd-network/ndisc-option.c
3
55.89
-0.35% src/login/logind-session.c
3
79.72
-0.25% src/resolve/resolved-manager.c
3
85.27
-2.33% src/udev/udevadm-monitor.c
2
79.13
0.0% src/core/job.c
2
82.6
-0.38% src/core/path.c
2
75.25
-0.33% src/core/transaction.c
2
83.72
1.09% src/resolve/resolved-link.c
1
89.13
-2.17% src/libsystemd-network/arp-util.c
1
84.21
-0.04% src/libsystemd/sd-event/sd-event.c
1
92.64
-0.05% src/libsystemd/sd-journal/journal-file.c
1
32.73
-0.23% src/login/logind-varlink.c
1
70.07
-0.07% src/machine/machinectl.c
1
81.18
-1.18% src/shared/journal-util.c
1
88.84
-0.1% src/shared/userdb.c
1
64.67
-0.32% src/udev/udev-format.c
Jobs
ID Job ID Ran Files Coverage
1 27451129235.1 13 Jun 2026 03:27AM UTC 2129
72.89
GitHub Action Run
Source Files on build 27451129235
  • Tree
  • List 2129
  • Changed 51
  • Source Changed 2
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27451129235
  • c925e405 on github
  • Prev Build on main (#27386690186)
  • Next Build on main (#27483642751)
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