pcp updates: kenj+brolley merges
"Nathan Scott" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Changes committed to git://git.pcp.io/pcp.git master
Ken McDonell (8):
src/libpcp_web/json_helpers.c: fix handling of 64-bit values on 32-bit platforms
qa/232: adjust filter for recently tweaked nfs4.2 server metric indom
qa/905: fix filter and .out
qa: be firmer about stopping/restoring the systemd Restart=always behaviour
qa/systemd: removed
qa/common.check: use systemctl daemon-reload if possible
src/perl/PMDA/PMDA.xs: type returned by pmda_ulong was wrong
qa/798: make conditional .out depending on pmda_ulong() type
Dave Brolley (1):
Make local: the default source for libpcp_qmc clients.
Nathan Scott (1):
build: rework part of the fmt_uint64 change for multilib
qa/.gitignore | 1
qa/025 | 9
qa/032 | 3
qa/041 | 3
qa/051 | 3
qa/066 | 11
qa/067 | 4
qa/068 | 3
qa/069 | 3
qa/083 | 7
qa/1000 | 4
qa/102 | 5
qa/119 | 7
qa/169 | 3
qa/170 | 3
qa/172 | 5
qa/193 | 9
qa/200 | 3
qa/220 | 3
qa/224 | 3
qa/232 | 12 -
qa/241 | 3
qa/243 | 3
qa/244 | 3
qa/254 | 3
qa/255 | 3
qa/258 | 3
qa/273 | 3
qa/280 | 9
qa/297 | 3
qa/467 | 1
qa/468 | 1
qa/798 | 8
qa/798.out.32 | 427 +++++++++++++++++++++++++++++++++++++
qa/798.out.64 | 427 +++++++++++++++++++++++++++++++++++++
qa/905 | 6
qa/905.out | 4
qa/GNUmakefile | 2
qa/GNUmakefile.install | 2
qa/common.check | 39 +++
qa/systemd/GNUmakefile | 23 -
qa/systemd/GNUmakefile.install | 1
qa/systemd/pmcd.conf | 2
qa/systemd/pmmgr.conf | 2
qa/systemd/pmproxy.conf | 2
qa/systemd/pmwebd.conf | 2
src/include/pcp/platform32.h | 4
src/include/pcp/platform64.h | 4
src/include/pcp/platform_defs.h.in | 15 +
src/include/pcp/platformsz.h.in | 4
src/libpcp_qmc/src/qmc_group.cpp | 5
src/libpcp_qmc/src/qmc_source.cpp | 24 +-
src/libpcp_qmc/src/qmc_source.h | 7
src/libpcp_web/src/json_helpers.c | 8
src/perl/PMDA/PMDA.xs | 2
55 files changed, 1089 insertions(+), 70 deletions(-)
commit 0863189ab073cbd24d427cc964af07c47f0236bf
Author: Nathan Scott <[email protected]>
Date: Mon Nov 21 11:31:06 2016 +1100
build: rework part of the fmt_uint64 change for multilib
The strange platform{32,64}.h files are needed to support
multilib RPM package builds, unfortunately. Reinstate the
affected bits, and add in the new unsigned type support.
commit 3b6eb7ffee71b3f604219bf29b6f1ce235aebf79
Author: Ken McDonell <[email protected]>
Date: Sun Nov 20 07:26:52 2016 +1100
qa/798: make conditional .out depending on pmda_ulong() type
Needs related fix for pmda_ulong() in the PCP::PMDA perl module.
commit 67ff83a76d21d7f20baaea1a61650fa83f184d3a
Author: Ken McDonell <[email protected]>
Date: Sun Nov 20 07:18:04 2016 +1100
src/perl/PMDA/PMDA.xs: type returned by pmda_ulong was wrong
In what I suspect is a cut-n-paste error, pmda_ulong() was returning
PM_TYPE_32 or PM_TYPE_64 instead of PM_TYPE_U32 or PM_TYPE_U64.
commit 77a15bee13432776d7820bb2c8e06929e0baa68c
Author: Ken McDonell <[email protected]>
Date: Sat Nov 19 11:20:06 2016 +1100
qa/common.check: use systemctl daemon-reload if possible
commit fe10857d737a36b218b473b3c440f4e8166a5bca
Author: Dave Brolley <[email protected]>
Date: Fri Nov 18 16:21:46 2016 -0500
Make local: the default source for libpcp_qmc clients.
pmchart(1) and pmdumptext(1).
commit a8b1e061e42145ebc10bb80ef416ca96a6c0d802
Author: Ken McDonell <[email protected]>
Date: Sat Nov 19 07:36:08 2016 +1100
qa/systemd: removed
We believe this is replaced by the more targeted and more generally
applicable logic of the methods _stop_systemd_restart() and
_restore_systemd_restart() in qa/common.check and the associated
use of these in the tests that do NOT require PCP daemons to be
restarted by systemd.
commit 1f72bd23581b891a2eb896a279b1c138b44dc28a
Author: Ken McDonell <[email protected]>
Date: Fri Nov 18 16:54:18 2016 +1100
qa: be firmer about stopping/restoring the systemd Restart=always behaviour
Many QA tests need to take control of the stopping and starting of
pmcd (and pmlogger and pmmgr), but the recently introduced systemd
Restart=always behaviour is getting in the way.
So for the tests that care, force systemd to not restart one or more
of the pmcd daemons, and restore the systemd configuration at the end
of the test.
commit 09f36edf13ef66a86fab1ed903e1eed856627866
Author: Ken McDonell <[email protected]>
Date: Fri Nov 18 16:50:07 2016 +1100
qa/905: fix filter and .out
Was incorrectly trying to match the hostname in the string
bozo.the.clown, which is fine _except_ if your host is called bozo,
and even worse if you made the .out file on bozo!
commit 044de09b97c2c812a9ddde7d83c04ba0b15f7204
Author: Ken McDonell <[email protected]>
Date: Thu Nov 17 06:51:35 2016 +1100
qa/232: adjust filter for recently tweaked nfs4.2 server metric indom
Client-side done earlier, but these were missed.
Also added a comment to the test to explain where the mysterious
but apparently OK numbers 18, 22, 56 and (now) 71 come from in the
_filter_dodgey_nfs_indom() method.
commit cf98b792f62631c31a8ec7542aa7869307ba2eab
Author: Ken McDonell <[email protected]>
Date: Thu Nov 17 06:46:47 2016 +1100
src/libpcp_web/json_helpers.c: fix handling of 64-bit values on 32-bit platforms
Using long as the data type and calling strtol() won't work.
Rather use the type __int64_t (to match the type of the .ll field in
a pmAtomValue) and convert using strtoll().
Ditto for unsigned 64-bit metrics.
With these changes, qa/884 passes on both 32-bit and 64-bit platforms.
-=-=-=-=-=-=-=-=-=-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Groups.io Links:
You receive all messages sent to this group.
View/Reply Online (#14753): https://groups.io/g/pcp/message/14753
View All Messages In Topic (1): https://groups.io/g/pcp/topic/3156531
Mute This Topic: https://groups.io/mt/3156531?uid=174580
New Topic: https://groups.io/g/pcp/post
Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580
Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]
Terms of Service: https://groups.io/static/tos
Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-