vcswatch reports that
this package seems to have a new changelog entry (version
7.2.4-1, distribution
unstable) and new commits
in its VCS. You should consider whether it's time to make
an upload.
Here are the relevant commit messages:
commit a33b60a7b3b15072bcb5af10f90445bcf410754d
Author: Renaud Métrich <rmetrich@redhat.com>
Date: Fri Oct 2 13:27:55 2026 +0200
pmproxy/UBSAN: fix access to misaligned address 0x000000000007
Error being reported by UBSAN:
query.c:98:11: runtime error: member access within misaligned address 0x000000000007 for type 'struct node_t', which requires 8 byte alignment
0x000000000007: note: pointer points here
<memory cannot be printed>
#0 0x7f61e117e896 in skip_free_value_set [...]/src/libpcp_web/src/query.c:98
#1 0x7f61e117eb1f in freeSeriesQueryNode [...]/src/libpcp_web/src/query.c:114
#2 0x7f61e1180926 in freeSeriesGetQuery [...]/src/libpcp_web/src/query.c:154
#3 0x7f61e11822f9 in series_query_finished [...]/src/libpcp_web/src/query.c:284
#4 0x7f61e11827dc in series_query_end_phase [...]/src/libpcp_web/src/query.c:303
#5 0x7f61e120551e in key_lookup_mapping_callback [...]/src/libpcp_web/src/query.c:6138
#6 0x7f61e1248eac in keySlotsReplyCallback [...]/src/libpcp_web/src/slots.c:590
#7 0x7f61e12d95a3 in valkeyClusterAsyncCallback deps/libvalkey/src/cluster.c:3051
#8 0x7f61e12c1473 in valkeyRunCallback deps/libvalkey/src/async.c:300
#9 0x7f61e12c219c in valkeyAsyncFreeInternal deps/libvalkey/src/async.c:349
#10 0x7f61e1247db4 in valkeyLibuvPoll ../../../vendor/github.com/valkey-io/libvalkey/include/valkey/adapters/libuv.h:54
#11 0x7f61e1d8154c in uv__io_poll /usr/src/debug/libuv-1.52.1-1.el10_2.x86_64/src/unix/linux.c:1546
#12 0x7f61e1d6b9f1 in uv_run /usr/src/debug/libuv-1.52.1-1.el10_2.x86_64/src/unix/core.c:460
#13 0x55c5271c9217 in main_loop [...]/src/pmproxy/src/server.c:921
#14 0x55c5271c823f in main [...]/src/pmproxy/src/pmproxy.c:473
#15 0x7f61dfe5158d in __libc_start_call_main (/lib64/libc.so.6+0x2a58d) (BuildId: cc6959d636202b0e1d6e17b273bf4060ec9265e5)
#16 0x7f61dfe51648 in __libc_start_main_alias_2 (/lib64/libc.so.6+0x2a648) (BuildId: cc6959d636202b0e1d6e17b273bf4060ec9265e5)
#17 0x55c5271c8c34 in _start ([...]/src/pmproxy/src/pmproxy+0x65c34) (BuildId: 8145839e69ef9e1eeb443adc33bf70cf083cf8ba)
Root cause:
seriesGetLookup (which contains seriesGetSID series[], a flexible array
member) was placed before seriesGetQuery query in seriesQueryBaton:
typedef struct seriesQueryBaton {
seriesBatonMagic header; /* MAGIC_QUERY */
seriesBatonPhase *current;
seriesBatonPhase phases[QUERY_PHASES];
pmSeriesModule *module;
pmSeriesCallBacks *callbacks;
pmLogInfoCallBack info;
void *userdata;
keySlots *slots;
int error;
seriesGetLookup lookup;
seriesGetQuery query;
} seriesQueryBaton;
This cause overwriting baton->query.root with sid->header.magic = 7 when
calling initSeriesBatonMagic(sid, MAGIC_SID).
Trigger:
When the valkey connection dropped, the error path in
series_query_end_phase called series_query_finished → freeSeriesGetQuery
on a lookup baton, which then passed the corrupted SeriesBaton magic
(0x7) to be passed to freeSeriesQueryNode.
Fix:
Because seriesGetLookup is a flexible array, it has to be last in
structure, therefore seriesGetQuery and seriesGetLookup must be swapped.
Reproducer:
In grafana open the PCP Valkey: Metric Preview, set to 5s refresh, then
continuously start/stop the valkey service:
# while :; do systemctl stop valkey; echo "valkey stopped"; sleep 3.1; \
systemctl start valkey; echo "valkey started"; sleep 10.1; done
After some time (unpredictable), the connection may break just after a
Lookup Baton has been referenced, causing freeSeriesGetQuery to be freed
instead. This was verified with PCP_DEBUG=desperate level and new
instrumentation on line 218; pmproxy.log then shows the issue on Baton
0x51500007c680:
Baton [query/0x51500007c680] verified magic - 6 (@ series_lookup_services)
Baton [query/0x51500007c680] references: 0 -> 1 (@ series_lookup_services)
Baton [query/0x51500007c680] verified magic - 6 (@ series_query_end_phase)
Baton [query/0x51500007c680] references: 1 -> 0 (@ series_query_end_phase[seriesPassBaton])
Baton [query/0x51500007c680] verified magic - 6 (@ series_lookup_mapping)
Baton [query/0x51500007c680] 0 references - verified (@ series_lookup_mapping)
HERE BELOW Lookup Baton is referenced
Baton [query/0x51500007c680] references: 0 -> 1 (@ series_lookup_mapping)
:
[Fri Oct 2 13:13:28] pmproxy(375872) Error: Lost connection to key server.
:
Baton [query/0x51500007c680] verified magic - 6 (@ key_lookup_mapping_callback)
Baton [query/0x51500007c680] verified magic - 6 (@ series_query_end_phase)
HERE BELOW Query Baton is dereferenced while it should be Lookup Baton!!
Baton [query/0x51500007c680] references: 1 -> 0 (@ series_query_end_phase)
Baton [query/0x51500007c680] verified magic - 6 (@ freeSeriesGetQuery)
Baton [query/0x51500007c680] 0 references - verified (@ freeSeriesGetQuery)
query.c:98:11: runtime error: member access within misaligned address 0x000000000007 for type 'struct node_t', which requires 8 byte alignment
[...]
Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
commit ad780be7ac7b6eafc9cae6dc5a1195539e5fbd14
Author: Jan Kurik <jkurik@redhat.com>
Date: Fri Dec 4 11:51:25 2026 +0100
qa/1948: pin PMDA refresh interval
The test fails on slow machines (ppc64le) because every fetch PDU GETs
each source once, but a PMNS lookup also re-fetches any source older
than the refresh interval (-R, 10 seconds by default). The fake
endpoints serve only --limit responses, and the expected output records
both the returned response counters and the PM_ERR_AGAIN errors that
follow exhaustion, so the test assumes exactly one GET per pminfo. On
slow machines source4 gets refreshed an extra time and runs out of
responses early, giving "Error: Try again. Information not currently
available" for all of its metrics.
Pin -R for the duration of the test, as qa/1843 already does in the
opposite direction, so the output no longer depends on machine speed.
qa/1948.out is unchanged.
commit dcd96e4d50df3c1845d34625b2737166a9bbadeb
Merge: cfa5d22c 21eff49f
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 17:12:25 2026 +1100
Merge pull request #2822 from kmcdonell/wip
Optional (and desperate) audit logging for pmsignal
commit 21eff49fc7fdb48da58ae48a00efc35a7f394cde
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 14:30:09 2026 +1100
src/pmsignal/pmsignal.sh: fix small nit
if pidlist is empty, don't append it to pid (the accumulated list).
commit cfa5d22c6d5e87a2c163f864c8d676982f96ce0f
Author: Nathan Scott <nathans@redhat.com>
Date: Fri Dec 4 10:44:20 2026 +1100
qa: fix to debug on_client filter for 1617 and 1618
commit 73c2b2df75a93dcc2813d7276037334af1ef020f
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 08:09:17 2026 +1100
pmsignal: rework auditing
- move log file into $PCP_TMP_DIR and for practical purposes it
only needs to be writable by the PCP user, not the world
- tweak command line argument sanitizing
commit 8f01de66aa4c7a7ac3640bfd1405bd4711b96a06
Merge: 1d5c4de3 fd43a446
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:55:03 2026 +1100
Merge pull request #2805 from inode64/pmdalinux-skip-autofs-indirect-mounts
pmdalinux: skip filesystems mounted below an autofs indirect map
commit fd43a446bc79c19f77829bd879e27e2bceb56f58
Merge: 86c8c9f8 1d5c4de3
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:54:34 2026 +1100
Merge branch 'main' into pmdalinux-skip-autofs-indirect-mounts
commit 1d5c4de30a17253375828efe53d69a4e91872ebc
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:49:10 2026 +1100
qa/1749: reassign to qa/1751
To avoid clash with qa/1749 from PR #2805
commit 49ab5d4475d4123ba88e4b8040a5b20cf08bdde2
Merge: 5099013f 3c7aa134
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:45:48 2026 +1100
Merge branch 'main' of https://github.com/performancecopilot/pcp
commit 3c7aa134495bf114f7f63b3785a4190c4f8785ae
Merge: d4cd52c4 7dd13fa7
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:44:03 2026 +1100
Merge pull request #2808 from randomizedcoder/fix-openlog-pid-link
libpcp: fix the <logname>.<pid> link in pmOpenLog
commit 2ebb8c404556972c7a7413caaac7ee1e61109027
Merge: 5099013f 005048ff
Author: Ken McDonell <kenj@kenj.id.au>
Date: Fri Dec 4 06:20:38 2026 +1100
Merge branch 'nextrel' into wip
commit 5099013f7843b0b280643989a7e25eb828dde71a
Merge: 5a28a35f d4cd52c4
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 21:19:22 2026 +1100
Merge branch 'main' of https://github.com/performancecopilot/pcp
commit d4cd52c408d7b973d79f88e498cd166e33e1bee9
Merge: 61b7044d 567475ea
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 17:13:45 2026 +1100
Merge pull request #2819 from kmcdonell/wip
Add hinv.cpu.topology metrics to the linux PMDA
commit 567475ea10acaa5ae61bd721064af870efa074f5
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 16:53:12 2026 +1100
src/pmdas/linux/cpu_topology.c: allow cpu id 0 (alone)
commit 01ccc86b297895dd245929b33a981e2f8dfcd7f6
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 15:54:44 2026 +1100
linux PMDA: harden error checks for cpu topolgy metrics
commit 5a28a35fcd7cfb5675d16b91cc61bec3f5abd45c
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 14:10:13 2026 +1100
src/sha1int2ext.c: fix typo in initial comment block
commit b25ab5d9ab01c933f62b9007b642a99ea5bd685a
Author: Ken McDonell <kenj@kenj.id.au>
Date: Thu Dec 3 11:26:09 2026 +1100
linux PMDA: CPU topology metrics improvements
Based in part on the feedback for coderabbitai in the context of
PR #2819.
- persist the smt instance domain so that the each unique package id
and core id combinations gets the same internal instance number
across reboots and pmcd restarts
- support offline and hotplug CPUs ... the set of allocated CPU
id's is not necessarily fully populated, not fixed in time
during the life of the PMDA
- change smt instance string from "pN:cM" to "pkgN:coreM" -- this
is more of an improved readability and consitency with instance
names like "cpuN" and "nodeN"
- if there is no topolgy information, don't try to return results
(duh!)
- bug fixes, mostly boundary condition fixups and hardening error
paths
commit 61b7044d05c74ef1eb3762e4bba989414f68bfb6
Author: Renaud Métrich <rmetrich@redhat.com>
Date: Fri Oct 2 14:30:48 2026 +0200
pmproxy/UBSAN: fix access within NULL pointer
load.c:1533:21: runtime error: member access within null pointer of type 'struct seriesLoadBaton'
#0 0x7fa203a37a8a in pmSeriesDiscoverInDom [...]/src/libpcp_web/src/load.c:1533
#1 0x7fa203a61e70 in pmDiscoverInvokeInDomCallBacks [...]/src/libpcp_web/src/discover.c:1083
#2 0x7fa203a6abb6 in process_metadata [...]/src/libpcp_web/src/discover.c:1777
#3 0x7fa203a6c070 in pmDiscoverInvokeCallBacks [...]/src/libpcp_web/src/discover.c:2034
#4 0x7fa203a6c070 in directory_changed_cb [...]/src/libpcp_web/src/discover.c:2111
#5 0x7fa203a6e011 in pmDiscoverTraverseArg [...]/src/libpcp_web/src/discover.c:226
#6 0x7fa203a6e011 in changed_callback [...]/src/libpcp_web/src/discover.c:2188
#7 0x7fa203a5f1fa in fs_change_callBack [...]/src/libpcp_web/src/discover.c:510
#8 0x7fa203729d91 in uv__inotify_read.isra.0 /usr/src/debug/libuv-1.52.1-1.el10_2.x86_64/src/unix/linux.c:2647
#9 0x7fa20372a54c in uv__io_poll /usr/src/debug/libuv-1.52.1-1.el10_2.x86_64/src/unix/linux.c:1546
#10 0x7fa2037149f1 in uv_run /usr/src/debug/libuv-1.52.1-1.el10_2.x86_64/src/unix/core.c:460
#11 0x560dc1911d1e in main_loop [...]/src/pmproxy/src/server.c:949
#12 0x560dc19080ef in main [...]/src/pmproxy/src/pmproxy.c:473
#13 0x7fa202e5158d in __libc_start_call_main (/lib64/libc.so.6+0x2a58d) (BuildId: cc6959d636202b0e1d6e17b273bf4060ec9265e5)
#14 0x7fa202e51648 in __libc_start_main_alias_2 (/lib64/libc.so.6+0x2a648) (BuildId: cc6959d636202b0e1d6e17b273bf4060ec9265e5)
#15 0x560dc1908ac4 in _start ([...]/src/pmproxy/src/pmproxy+0x6aac4) (BuildId: d5f1c4b18fc5dfd78310c07630c5bae5500e226f)
Similar occurrences were found and fixed as part of this commit.
Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
commit 3909e946af6f48ccf35d2b252fc1c6e44d93f1d5
Merge: 9cc5bb07 bd1b736f
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 21:09:43 2026 +1100
Merge branch 'main' of github.com:performancecopilot/pcp
commit 9cc5bb07e62bc1291234cf2d81f1da92cc7aa19f
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 20:05:24 2026 +1100
python api: fix metric units in MMV bindings
The mmv_metric constructor accepts a dimension (pmUnits) but never
assigns it to the structure, so metrics exported via the pcp.mmv
python module have their units silently dropped and are reported
as having "none".
Add QA coverage with a non-elapsed metric carrying units, and check
the dimension directly, since pmdammv synthesises microsec units for
MMV_TYPE_ELAPSED metrics and so masked this bug in qa/704. Note that
the counter metric's expected units in qa/704.out were previously
"none" as a result of this bug, and are now corrected to "count".
Fixes https://github.com/performancecopilot/pcp/issues/2815
commit ef5fb3b7449e547a5b752aef70170ca930e34184
Author: Ken McDonell <kenj@kenj.id.au>
Date: Wed Dec 2 15:39:41 2026 +1100
qa/linux/mk.cpu-topology: fix nit-picking from Roger Rabbit
commit 0ea8d84a1fe71e5b1ac4e2514b30220b1ad61360
Author: Ken McDonell <kenj@kenj.id.au>
Date: Wed Dec 2 15:36:42 2026 +1100
qa/1749: add valgrind dual (new) qa/1750
commit bd1b736ffdd843739f92449574f33df624824264
Merge: 24fc1fec 436f9b78
Author: Nathan Scott <natoscott@users.noreply.github.com>
Date: Wed Dec 2 13:22:33 2026 +1100
Merge pull request #2813 from performancecopilot/dependabot/github_actions/github/codeql-action-4.39.5
build(deps): bump github/codeql-action from 4.39.4 to 4.39.5
commit 24fc1fec917180e21f8936d62335f89a8fdfebe0
Merge: 2b5324e2 76704686
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:08:03 2026 +1100
Merge branch 'randomizedcoder-fix-perl-macos-bundle-race'
commit 76704686849265b3be8d1e70389bcd3cb4fd2cd7
Merge: 2b5324e2 6207777d
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:07:49 2026 +1100
Merge branch 'fix-perl-macos-bundle-race' of github.com:randomizedcoder/pcp into randomizedcoder-fix-perl-macos-bundle-race
commit 2b5324e261c0db6279359a510ae043cc021d0010
Merge: 1badf350 547a4a49
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:07:02 2026 +1100
Merge branch 'randomizedcoder-nix-microvm-tap-preflight'
commit 547a4a49e21880b888d7437a31e8f1f18bcca520
Merge: 1badf350 be991f15
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:06:48 2026 +1100
Merge branch 'nix-microvm-tap-preflight' of github.com:randomizedcoder/pcp into randomizedcoder-nix-microvm-tap-preflight
commit 1badf350c05d2b794abc50aa7d63877cf885efae
Merge: dab5c2f6 72606e31
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:04:25 2026 +1100
Merge branch 'kraj-fix-vendored-parallel-build'
commit 72606e316ad8cf2545139616336c399c40637966
Merge: dab5c2f6 dd49ef3a
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:04:12 2026 +1100
Merge branch 'fix-vendored-parallel-build' of github.com:kraj/pcp into kraj-fix-vendored-parallel-build
commit dab5c2f6e3bd8f7b03b335940ec4e0fd2e8c0d72
Merge: 21f6eb32 0a40b78f
Author: Nathan Scott <nathans@redhat.com>
Date: Wed Dec 2 13:00:58 2026 +1100
Merge branch 'ci-sign-release-artifacts'
commit db873d423c31d4ce03134f4e4ef94d2c1fe4255b
Merge: 46b734ba 21f6eb32
Author: Ken McDonell <kenj@kenj.id.au>
Date: Wed Dec 2 12:18:40 2026 +1100
Merge branch 'main' of https://github.com/performancecopilot/pcp
commit 46b734bae374c1d0029202c3ee95dbf4e3d2f3dc
Author: Ken McDonell <kenj@kenj.id.au>
Date: Wed Dec 2 12:10:09 2026 +1100
linux PMDA: add hinv.cpu.topology metrics
Exports the CPU <--> {package,core} maps.
Also (new) qa/1749 and new faketoot tarballs in qa/linux/*cpu-topology*.
Resolves https://github.com/performancecopilot/pcp/issues/2471
commit dd49ef3a5051bcce5c7c3d4c74b98bb47e8df909
Author: Khem Raj <khem.raj@oss.qualcomm.com>
Date: Tue Dec 1 12:08:22 2026 -0800
build: fix parallel make race for vendored libvalkey and inih sources
libvalkey and libpcp_web symlink the vendored libvalkey and inih sources
into deps/ and try to order the objects after those links with
%.o: $(LIBVALKEY_XFILES)
A pattern rule without a recipe does not add prerequisites to the
objects, which are still built by the built-in %.o: %.c rule and only
wait for their own .c file. With make -j an object can be compiled
before the headers are linked:
deps/libvalkey/src/adlist.c:30:10: fatal error: adlist.h: No such file or directory
make[3]: *** [<builtin>: deps/libvalkey/src/adlist.o] Error 1
Make $(OBJECTS) depend on the linked files instead.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
commit 436f9b78b063ef3951a241bf1ed3e1f2eb27ddd7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Nov 30 22:33:05 2026 +0000
build(deps): bump github/codeql-action from 4.39.4 to 4.39.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.39.4 to 4.39.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.39.4...v4.39.5)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.39.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
commit 21f6eb322ca6dca715174d6871561a33ab18c24e
Merge: 8eb5f523 8ec9c9ea
Author: Ken McDonell <kenj@kenj.id.au>
Date: Mon Nov 30 15:05:33 2026 +1100
Merge pull request #2806 from randomizedcoder/fix-units-parse-loop
libpcp: fix pmParseUnitsStr hang after an extra unit
commit 6207777d0ef21e868b07250d1de8f1d1cc4c917f
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sun Nov 29 17:15:33 2026 -0800
perl: relink the macOS bundle if missing, else fail
The empty $(BUNDLE) rule let make succeed when <module>.o was current
but the bundle was missing (e.g. after a failed link), and
linker_fixup_done then stamped an unfixed bundle. Rerun the generated
Makefile in that case, and stop if the bundle still isn't there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 8eb5f523cd3469e1e0674df7b2e4b544178c4f61
Merge: 26a32424 d17fd0ed
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 12:10:00 2026 +1100
Merge branch 'randomizedcoder-fix-objstyle-macho'
commit d17fd0ed45ef619cace6276092058e96dfe020e8
Merge: 26a32424 95064e9e
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 12:09:39 2026 +1100
Merge branch 'fix-objstyle-macho' of github.com:randomizedcoder/pcp into randomizedcoder-fix-objstyle-macho
commit 26a32424686373aab743b3b80d85ea36b99cfeed
Merge: f1e6691c ffb9fd00
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 12:06:53 2026 +1100
Merge branch 'randomizedcoder-fix-series-parse'
commit ffb9fd00b90f22014c45e84e3111e23c5b0ecb90
Merge: f1e6691c ad8f90bb
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 12:06:34 2026 +1100
Merge branch 'fix-series-parse' of github.com:randomizedcoder/pcp into randomizedcoder-fix-series-parse
commit f1e6691c0ffcd32891c34113f85b9836a64157b2
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 12:06:14 2026 +1100
docs: bump version and update changelogs for next planned release
commit 0a40b78f4b83a31d77fe35bfa16003e277714e99
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 10:34:38 2026 +1100
ci: move release signing into a key-checking helper
The release workflow asserted the signing key with a substring match over
every secret key fingerprint, and then invoked the signing scripts
without -k, so they signed with the first secret key gpg listed. A
secret bundle that carried another key as well as the PCP key would have
passed the check and been signed - and verified - with the wrong key
before being uploaded to Packagecloud.
Move the import, assertion and signing into build/ci/sign-release.sh.
It requires the imported PCP key to be the only secret key and passes
that fingerprint to both signing scripts, so a mismatch fails before any
package is touched. This also removes the nested shell quoting from the
workflow.
The signing self-test now exercises the helper, including a secret
bundle that carries an extra key ahead of the expected one, and runs
whenever the release workflow changes.
commit 718a28b3514588c5b2bc1a15e0abe76a37ae7876
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 10:34:34 2026 +1100
docs: correct signing key import and workflow links
The build/ci README is not at the repository root, so the relative links
to the release and signing self-test workflows pointed at paths below
build/ci that do not exist.
rpm --import needs the public key on disk in ASCII-armored form. The
documented example fed a binary export to rpm on standard input, which
fails with "rpmkeys: no arguments given" (no file argument) and "key 1
not an armored public key" (binary input).
commit 1d8246f6f187cc16054549e3ce0ddd3d225aea43
Merge: 0b812a88 720d2627
Author: Nathan Scott <natoscott@users.noreply.github.com>
Date: Mon Nov 30 10:25:37 2026 +1100
Merge pull request #2797 from performancecopilot/dependabot/github_actions/github/codeql-action-4.39.4
build(deps): bump github/codeql-action from 4.38.2 to 4.39.4
commit 3a9d40be400cebf6bc8f0824e021dee4633d4d87
Merge: da24e19f 0b812a88
Author: Nathan Scott <nathans@redhat.com>
Date: Mon Nov 30 10:11:54 2026 +1100
Merge branch 'main' into ci-sign-release-artifacts
commit ad8f90bba45641c5bf65e68d2763d2a2d5fa5413
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 20:50:53 2026 -0800
qa/1212: add empty and blank series queries
Before the fix pmseries '' crashes (SIGSEGV, valgrind shows a read
before the query string in parseError()). Now it gives the usual
syntax error with the caret at the start; the blank query (not
changed by the fix) has the caret at its end.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 7dd13fa7c0728d419a02457889e13470427b9bcd
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 21:13:08 2026 -0800
qa/1943: pmOpenLog() <logname>.<pid> link
Run src/chkopenlog with $PCP_LOGS_APPEND_PID set and check that
tmp.log.<pid> is made and is a link to tmp.log. Before the fix there
is no link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 8ec9c9ea230a798ac444565339cf4dbdfcd99d69
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 20:45:49 2026 -0800
qa/670: add unknown text after an extra unit
Before the fix pmParseUnitsStr() loops for ever on "power (W) foo",
so this test hangs at that line. Now each is an "unrecognized or
duplicate base unit" error.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 9de28e1e83a24ca302c8facd9e9bbd2a2776d22d
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 19:40:45 2026 -0800
libpcp: fix the <logname>.<pid> link in pmOpenLog
4fbd59d18c changed the snprintf() that builds the link name into
pmprintf() instead of pmsprintf(). The link name buffer was never
filled in (and was passed to pmprintf() as a format), so with
$PCP_LOGS_APPEND_PID set unlink() and link() were called with an
uninitialised name and the link was not made.
Found by cppcheck (uninitvar).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit a80124b321db6587d136447e85b9e0568809dcf8
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 19:40:45 2026 -0800
libpcp: fix pmParseUnitsStr hang after an extra unit
Once an extra unit such as "power (W)" has been matched, an unknown
token after it is classed as d_none. Because extra_cnt is non-zero
the d_none case does not error, ptr is not moved, and the loop runs
for ever.
Only accept d_none when an extra unit was matched in this pass of
the loop, i.e. ptr has moved. Otherwise report "unrecognized or
duplicate base unit", as for any other unknown token.
Found by libFuzzer (timeout).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 33be7060f58ea51113a72c4e61851b76be318f1c
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Sat Nov 28 19:40:28 2026 -0800
libpcp_web: fix series parse error caret for an empty query
series_lex() sets yy_lexicon to yy_input[-1] at the first non-space
character. get() does not advance yy_input at the end of input, so
for an empty query yy_lexicon is one byte before the start. Then
the caret loop in parseError() never reaches it and writes past the
end of the malloc'd message.
Point at the start of the query in that case. The caret position
for every other query is unchanged.
Found by fuzzing (libFuzzer + AddressSanitizer).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 005048ff502f39576dd6542cbc51e26246419596
Author: Ken McDonell <kenj@kenj.id.au>
Date: Sat Nov 28 21:59:26 2026 +1100
src/pmsignal/pmsignal.sh: rework auditfile use of ps(1)
commit 86c8c9f81d53ec0117a671bff34c7276f01bf221
Author: Fco Javier Felix <ffelix@inode64.com>
Date: Sat Nov 28 09:18:14 2026 +0100
qa/1749: skip on non-Linux platforms
commit ec6a5411a7088211aa2a4aa100005f8b4cef01c4
Author: Ken McDonell <kenj@kenj.id.au>
Date: Sat Nov 28 16:43:49 2026 +1100
qa/1617: fixes _filter_context_debug()
Recent pmproxy changes meant that some additional client connect and
disconnect messages were being emitted with -Dcontext ... these are not
relevant to qa/1617 (or qa/1618), so filter 'em away here.
commit c7817e9f361f8506c90c15d868c337c92f43cb2b
Merge: 2f545daa 110a84b3
Author: Ken McDonell <kenj@kenj.id.au>
Date: Sat Nov 28 16:43:34 2026 +1100
Merge branch 'main' into nextrel
commit 6549fe30476246dc207f851e1be1c40d1fc94bf0
Author: Fco Javier Felix <ffelix@inode64.com>
Date: Sat Nov 28 01:20:08 2026 +0100
qa/1749: new test for pmdalinux filesys metrics below autofs maps
Check with a canned mount table that a filesystem below an indirect
autofs map is not reported, while a direct map and a mount point that
only shares a prefix with the map still are.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N8fTR5F9qkNs7QLgr6V3Ei
commit 33e1d74b266aaaeb46e93be04ab2e9ebe7af7535
Author: Fco Javier Felix <ffelix@inode64.com>
Date: Sat Nov 28 01:20:08 2026 +0100
pmdalinux: skip filesystems mounted below an autofs indirect map
Fetching most filesys metrics (all but filesys.mountdir, filesys.uuid
and filesys.type) calls statfs() on the mount point, and for a
filesystem that autofs mounted on demand this counts as a use, so its
expiry timer never fires: with pmlogger sampling filesys.*, an
on-demand mount (a USB backup disk under /misc, say) stays mounted for
ever.
Leave out the mounts that sit below an autofs mount point in the same
mount table. Only indirect maps are affected: a direct map is mounted on
the autofs mount point itself and keeps being reported.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N8fTR5F9qkNs7QLgr6V3Ei
commit be991f15c77751289b03f4a3e01f3632c4a6ddb8
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Fri Nov 27 13:26:21 2026 -0800
nix: use the target-prefixed ar so cross builds configure
package.nix hard-coded ${bintools}/bin/ar, which does not exist in a
cross toolchain (riscv64-unknown-linux-gnu-ar), so configure stopped with
"cannot find a valid 'ar' command". Use stdenv.cc.targetPrefix; it is
empty for native builds, so native derivations are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 95064e9e73da7e6b07190847074665049d4c96fa
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Fri Nov 27 01:36:17 2026 -0800
pmcd PMDA: quote SIM_ABI on darwin, same as linux
Without quotes, shell characters in objstyle output (like '|')
break the compile. Linux already quotes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit ed7d034378b1ba85172f1a70c42779b27065033f
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 23:55:06 2026 -0800
perl: fix make -j race for macOS bundle
On macOS, linker_fixup_done needs $(BUNDLE), but $(BUNDLE) had no
rule. It is made by the <module>.o rule. With make -j this fails:
No rule to make target 'blib/arch/auto/PCP/PMDA/PMDA.bundle'
Add an empty rule: $(BUNDLE) depends on <module>.o.
Same fix in PMDA, MMV and LogImport.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 4fc1328b5998c86c58ad7b2be5e2647132909881
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 23:54:51 2026 -0800
pmcd PMDA: fix objstyle for new file(1) Mach-O output
file(1) 5.46+ prints:
Mach-O 64-bit arm64 object, flags:<|SUBSECTIONS_VIA_SYMBOLS>
objstyle took the last word, so SIM_ABI was "flags:<|...>" and
the '|' broke the pmcd.c compile on macOS.
Parse Mach-O lines to get the arch. Old format still works.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit d97e534dd84b99555b41c0a34fae1b397dbc3ce7
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 22:10:24 2026 -0800
nix: drop libbpf __u128 patch, fixed upstream
main now vendors a libbpf whose linux/types.h defines __u128, and
configure adds -D__u128 for bpftool (85bb238a87, 28b246008b). The
patch's bpftool typedef would collide with that macro.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit bb7e5d6cd21ee60fba798a925a1b5aad99d85ec9
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 19:46:25 2026 -0800
nix: keep GNU binutils off the darwin build PATH
GNU strip (binutils 2.46) shadowed the stdenv strip during fixup and
rewrote arm64 Mach-O files with a 32-bit MH_MAGIC header; AMFI then
SIGKILLs every binary that loads libpcp. The darwin stdenv already
provides strip/ar/nm, so only add binutils on Linux.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 9634a51088601fbf3af1dd8a54fc477a45aaae0e
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 19:28:11 2026 -0800
nix: merge doc dirs into $doc instead of mv
On darwin $doc/share/doc/pcp already exists when postInstall runs, so
'mv' failed with "Directory not empty".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 9813383210f1f34e5f2b7a3560830a6b3ab5d449
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 19:22:25 2026 -0800
nix: merge the platform PMNS root on darwin
postInstall hard-coded root_linux and several Linux-only PMNS files,
so pmnsmerge failed on darwin. Use root_darwin there and skip optional
files that were not installed; the base and platform roots stay
mandatory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 78aea815873bba476a5a3105eb9694251475a503
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 19:18:38 2026 -0800
nix: patch over aarch64 and darwin build failures pending upstream
Bumping nixpkgs exposed three PCP source bugs. Carry them as nix
patches so this PR stays nix-only; each will be sent upstream
separately and the patch dropped once merged:
- libbpf-u128-types.patch: newer kernel UAPI uses __u128 in arm64
asm/ptrace.h, missing from vendored libbpf/bpftool linux/types.h
(backport of libbpf f90a9c487d75, bpftool 3e1a35a9357b)
- objstyle-macho-file546.patch: file(1) 5.46+ Mach-O output gave
SIM_ABI="flags:<|...>", breaking the darwin pmcd PMDA compile
- perl-macos-bundle-race.patch: make -j race on the perl .bundle
linker fixup on darwin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 1be0868a5a06581485461fde3a03f553e188dbea
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 19:03:29 2026 -0800
nix: add cctools on darwin for Apple libtool
The build creates static archives with 'libtool -static', which current
nixpkgs no longer puts on the darwin stdenv PATH.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 94fda62845da700db715cd6c4b64ede849b0dbcc
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 16:52:16 2026 -0800
nix: install man pages and fix dangling pmtop.1 symlink
configure only enables man page installation when it finds an existing
*.1 page under /usr/man, /usr/share/man or $mandir, none of which exist
in the nix sandbox, so the nix package shipped no man pages at all.
Since 97e256b4ed the htop makefile also creates pmtop.1 -> pcp-htop.1
unconditionally, which current nixpkgs rejects (noBrokenSymlinks).
Seed $mandir with a placeholder page before configure and remove it in
postInstall.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit b0cbb58a23750c03e3ef949b7a8c67ce3a699e4b
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 16:38:42 2026 -0800
nix: bump flake inputs to 2026-11-21
nixpkgs 2026-05-10 -> 2026-11-21
microvm.nix 2026-05-13 -> 2026-11-21
flake-utils 2024-11-13 -> 2026-11-11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 0920c4b23e3a3c1ccdf077b9285792ed77d6bdb7
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 16:38:42 2026 -0800
nix: use stdenv.hostPlatform.is{Linux,Darwin}
stdenv.isLinux/isDarwin are deprecated in current nixpkgs and emit
evaluation warnings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 78b28263581b238efef6d46b2958616f223c3360
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 16:38:42 2026 -0800
nix: drop stale bcc variant from microvm helper scripts
bedd21ad59 removed bcc from constants.variantPortOffsets but
pcp-vm-ssh still referenced it, so 'nix flake check' failed with
"attribute 'bcc' missing".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 645b81272b0f7adb9ef2328b88c572ac1bcde209
Author: randomizedcoder dave.seddon.ca@gmail.com <dave.seddon.ca@gmail.com>
Date: Thu Nov 26 16:38:42 2026 -0800
nix: skip TAP preflight when --skip-tap is given
Addresses review feedback on #2593: with --skip-tap the runner still
probed for pcpbr0/pcptap0 and printed the setup banner, which is
confusing when the user explicitly asked to skip tap variants.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit 163338e3e9671ab56f0307c4d599b6f92486581b
Author: randomizedcoder <dave.seddon.ca@gmail.com>
Date: Wed May 13 12:07:16 2026 -0700
nix: set explicit grafana secret_key for newer nixpkgs
The Grafana NixOS module no longer provides a default for
services.grafana.settings.security.secret_key and asserts that
operators set their own. Without this, eval of the grafana MicroVM
variant fails with:
Failed assertions:
- Grafana's secret key (services.grafana.settings.security.secret_key)
doesn't have a default value anymore. Please generate your own
and use a file-provider on this option!
The dev MicroVM is already documented as local-development-only (the
admin password is the literal string "pcp" and a warning is emitted
on activation), so a hardcoded non-default value satisfies the
assertion without changing the security posture. A file-provider
would only meaningfully help if there were real persistent secrets
to protect, which there aren't in this test image.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
commit 439c7ce9c338ad863f2632d6bdaeb8998325cc36
Author: randomizedcoder <dave.seddon.ca@gmail.com>
Date: Wed May 13 10:07:12 2026 -0700
nix: bump nixpkgs to 2026-05-10 and microvm.nix to 2026-05-13
Updates the nixpkgs input from 2026-01-05 to 2026-05-10. Bumping
nixpkgs alone broke MicroVM evaluation because the newer ZFS module
forces resolution of fileSystems."/nix/store".fsType during initrd
configuration, which is set by microvm.nix's 9p share but not in time
under the new option-evaluation order. Updating microvm.nix from
2026-02-22 to 2026-05-13 (its corresponding tracking version)
restores eval and the MicroVM lifecycle tests pass with the new
nixpkgs.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
commit b1a7c467419d5e1ab306101142d19a6c77e96396
Author: randomizedcoder <dave.seddon.ca@gmail.com>
Date: Wed May 13 09:36:44 2026 -0700
nix: skip tap microvm tests with actionable hint when host network is missing
pcp-test-all-microvms previously reported VM_START_FAILED for the
base-tap, eval-tap and grafana-tap variants when the host TAP bridge
and device had not been created. The failure mode gave no hint that
sudo nix run .#pcp-network-setup was the fix.
Detect the bridge and TAP device up front and, when they are not
present, print a banner pointing at pcp-check-host / pcp-network-setup
and mark the three tap variants as "SKIPPED (tap network not set up)"
in the summary, mirroring the existing --skip-tap path (which is now
labelled "SKIPPED (--skip-tap)" so the two skip reasons are
distinguishable). Non-tap variants are unaffected and the run still
exits 0 when only tap variants are skipped, matching --skip-tap
semantics.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
commit 2f545daa1097c54dae228d3caa1bb7eda7376ed8
Author: Ken McDonell <kenj@kenj.id.au>
Date: Wed Nov 25 07:12:31 2026 +1100
src/pmsignal/pmsignal.sh: add support for an optional audit log
From the man page ...
In some cases, especially when triaging non-determin‐
istic QA failures, it is useful to be able to produce
a timestamped audit log of ``who sent which signal to
whom''. If the file /tmp/pmsignal.audit exists and is
writable (really needs to be world-writable because
PCP processes run with different user IDs), then an
audit lines are written to this file showing the cur‐
rent time and summary ps(1) information for the caller
process, all ancestor processes and the target
process(es).
commit da24e19f1a14c086d9b8bce8d199937ddc4f9b1e
Author: Nathan Scott <nathans@redhat.com>
Date: Fri Nov 27 11:40:21 2026 +1100
build: use the PCP maintainers key for both package formats
Fetch the key from a working keyserver by fingerprint and point both
RPM_SIGN_KEYID and DEB_SIGN_KEYID at it. The previous pcp-maintainers
lookup matched no key, and DEB packages were signed with a personal key
rather than the key published at pcp.io.
commit 58f967e513dad8d3cfd433b45738ea945e706a0e
Author: Nathan Scott <nathans@redhat.com>
Date: Fri Nov 27 11:40:19 2026 +1100
ci: sign release artifacts with the PCP maintainers key
Sign every released RPM and DEB with the pcp-masters key after QA and
before the Packagecloud upload. assert the imported key fingerprint so
a misconfigured secret fails before anything is published.
Add a dry_run dispatch input that signs the artifacts, skips the
Packagecloud upload and attaches the signed packages to the run, plus a
self-test workflow that exercises the signing scripts with a throwaway
key whenever they or the signing image change.
commit a7b5d7c181627aa1040db70e039119e3967ac576
Author: Nathan Scott <nathans@redhat.com>
Date: Fri Nov 27 11:40:16 2026 +1100
build: add signing container and RPM/DEB artifact scripts
Add build/ci/signing.Dockerfile, a pinned debian:trixie environment with
rpm and debsigs. debsigs 0.2.2 or later is needed for zstd-compressed
Debian packages and for signature verification, which the GitHub Actions
runner image cannot provide.
sign-rpms.sh and sign-debs.sh sign packages in place using the secret
key in $GNUPGHOME and verify every signature immediately. sign-test.sh
exercises both scripts with an ephemeral passphrase-protected key and
checks that unsigned packages are rejected.
commit 720d26272711d3664e6d5cad2c328481346b5fcb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Nov 23 22:33:19 2026 +0000
build(deps): bump github/codeql-action from 4.38.2 to 4.39.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.38.2 to 4.39.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.38.2...v4.39.4)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.39.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>