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

systemd / systemd / 29461261567
73%

Build:
DEFAULT BRANCH: main
Ran 16 Jul 2026 03:30AM UTC
Jobs 1
Files 2166
Run time 5min
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

15 Jul 2026 04:59PM UTC coverage: 72.983% (+0.05%) from 72.936%
29461261567

push

github

yuwata
tpm2-util: keep the measurement log's torn-write marker intact

The userspace measurement log carries a sticky-bit marker while a writer
is between updating a measurement register and appending the matching
record, so that a writer dying in between leaves the log detectably
incomplete.

However, the next successful writer used to clear the marker again after
appending its own record, erasing the evidence that an earlier writer
had died and the log is still missing a record. Keep the marker set in
that case instead; the new record is appended and synced regardless. The
marker likewise stays set if the measurement itself fails, so that any
non-clean completion remains flagged: a spurious flag on a failed but
harmless measurement is preferable to erasing evidence of a real gap,
and PCR replay stays authoritative either way.

Finally, warn when systemd-pcrlock loads a marked log, so the resulting
PCR validation failures come with a hint at their cause.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>

11 of 12 new or added lines in 2 files covered. (91.67%)

2475 existing lines in 54 files now uncovered.

346100 of 474222 relevant lines covered (72.98%)

1321758.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
75.41
0.01% src/pcrlock/pcrlock.c

Coverage Regressions

Lines Coverage ∆ File
1152
75.46
-0.24% src/repart/repart.c
248
46.01
0.24% src/cryptsetup/cryptsetup.c
214
79.69
-0.11% src/shared/tpm2-util.c
152
74.05
0.82% src/shared/copy.c
143
16.44
0.08% src/shared/btrfs-util.c
111
75.04
0.08% src/journal/journalctl.c
67
68.99
0.15% src/import/pull-raw.c
61
81.03
-0.12% src/test/test-copy.c
45
72.77
-0.07% src/import/pull-tar.c
37
80.85
-0.24% src/basic/fs-util.c
34
86.33
1.07% src/network/networkd-sysctl.c
27
88.67
0.71% src/journal/journalctl-filter.c
25
48.01
-8.28% src/login/logind-inhibit.c
22
68.75
0.0% src/import/import-fs.c
22
87.5
0.0% src/journal/journalctl-misc.c
20
82.07
2.34% src/pcrextend/pcrextend.c
15
93.85
-3.07% src/libsystemd/sd-netlink/test-netlink.c
9
63.81
7.62% src/basic/confidential-virt.c
8
79.07
-6.2% src/udev/udevadm-monitor.c
5
82.67
1.51% src/core/manager.c
4
98.79
0.0% src/resolve/test-dns-cache.c
3
75.0
-2.68% src/coredump/coredump-vacuum.c
3
62.54
-0.33% src/libsystemd-network/ndisc-option.c
3
73.5
-1.06% src/libsystemd-network/sd-ipv4acd.c
3
81.36
-1.08% src/libsystemd-network/sd-lldp-rx.c
3
83.19
-0.5% src/libsystemd/sd-device/test-sd-device.c
3
84.26
-0.07% src/libsystemd/sd-event/sd-event.c
3
79.68
-0.25% src/resolve/resolved-manager.c
2
77.96
-0.19% src/bootctl/bootctl-install.c
2
69.95
-0.06% src/core/exec-invoke.c
2
80.28
-0.12% src/core/execute.c
2
77.32
0.24% src/journal/journald-manager.c
2
90.26
-0.32% src/libsystemd/sd-device/device-enumerator.c
2
89.09
-0.4% src/libsystemd/sd-netlink/sd-netlink.c
2
80.16
-0.41% src/network/networkd-dhcp-server.c
1
97.69
-0.1% src/basic/hashmap.c
1
95.51
-0.2% src/basic/in-addr-util.c
1
82.76
-0.1% src/basic/process-util.c
1
46.82
-0.07% src/basic/terminal-util.c
1
58.34
-0.06% src/core/dbus-manager.c
1
96.82
-0.45% src/libsystemd-network/dhcp-relay-downstream.c
1
91.9
0.0% src/libsystemd/sd-journal/journal-file.c
1
86.41
0.0% src/libsystemd/sd-journal/sd-journal.c
1
77.14
-1.43% src/login/logind-utmp.c
1
73.22
-0.09% src/network/networkd-dhcp4.c
1
87.39
0.0% src/network/networkd-nexthop.c
1
79.17
-0.42% src/network/wait-online/wait-online-manager.c
1
73.73
0.71% src/resolve/resolved-dns-scope.c
1
67.6
-0.35% src/resolve/resolved-llmnr.c
1
68.66
-1.49% src/shared/module-util.c
1
70.56
-0.16% src/systemctl/systemctl-list-units.c
1
81.88
-0.36% src/systemctl/systemctl-start-unit.c
1
74.38
-0.31% src/test/test-namespace.c
1
87.92
-0.34% src/userdb/userwork.c
Jobs
ID Job ID Ran Files Coverage
1 29461261567.1 16 Jul 2026 03:30AM UTC 2166
72.98
GitHub Action Run
Source Files on build 29461261567
  • Tree
  • List 2166
  • Changed 126
  • Source Changed 47
  • Coverage Changed 104
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29461261567
  • afff448c on github
  • Prev Build on main (#29378720657)
  • Next Build on main (#29544664670)
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