pcp updates: qa (mostly) for better systemd integration
"Ken McDonell" <[email protected]> Mon, 6 Feb 2017 07:10:09 +1100
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (5):
qa/1059: tweak the lsof(1) use ... need -U on some platforms
Better systemd integration, part 2 (QA)
qa/1087 & admin/check-vm: the bind2 PMDA also needs the File::Slurp perl module
src/pmdas/apache/README: clarify apache2 stats export setup
qa: assorted more systemd changes, this time for openSUSE
qa/023 | 4 -
qa/025 | 3
qa/032 | 4 -
qa/041 | 15 ++--
qa/043 | 3
qa/051 | 4 -
qa/066 | 10 +-
qa/067 | 9 ++
qa/068 | 6 -
qa/069 | 22 +++---
qa/069.out.ipv6 | 8 +-
qa/069.out.nonipv6 | 8 +-
qa/083 | 4 -
qa/096 | 2
qa/1000 | 4 -
qa/1018 | 5 -
qa/102 | 4 -
qa/1034 | 2
qa/1055 | 8 +-
qa/1059 | 5 -
qa/1087 | 2
qa/1090 | 12 +--
qa/115 | 16 +++-
qa/115.out | 100 ++++++++++++++--------------
qa/119 | 11 +--
qa/156 | 2
qa/168 | 5 -
qa/169 | 13 ++-
qa/170 | 8 +-
qa/172 | 9 ++
qa/172.out.ipv6 | 2
qa/172.out.nonipv6 | 2
qa/183 | 4 -
qa/187 | 2
qa/192 | 5 -
qa/193 | 4 -
qa/196 | 2
qa/200 | 10 +-
qa/212 | 18 +++--
qa/220 | 4 -
qa/224 | 9 ++
qa/230 | 3
qa/241 | 2
qa/243 | 4 -
qa/244 | 4 -
qa/254 | 4 -
qa/255 | 6 +
qa/258 | 5 -
qa/272 | 10 +-
qa/273 | 3
qa/279 | 16 +++-
qa/280 | 4 -
qa/282 | 16 ++++
qa/282.out | 3
qa/283 | 6 +
qa/294 | 4 -
qa/295 | 4 -
qa/296 | 5 -
qa/297 | 8 +-
qa/300 | 26 +++++--
qa/300.out | 11 ---
qa/301 | 4 -
qa/309 | 4 -
qa/324 | 2
qa/326 | 8 +-
qa/336 | 2
qa/340 | 10 +-
qa/346 | 2
qa/347 | 2
qa/348 | 2
qa/349 | 2
qa/356 | 4 -
qa/365 | 13 +++
qa/381 | 4 -
qa/389 | 6 +
qa/398 | 10 ++
qa/426 | 2
qa/427 | 5 -
qa/445 | 6 +
qa/455 | 2
qa/462 | 16 ++--
qa/462.out | 5 -
qa/510 | 7 +-
qa/522 | 4 -
qa/535 | 3
qa/541 | 2
qa/557 | 5 -
qa/558 | 5 -
qa/565 | 3
qa/572 | 8 +-
qa/575 | 9 ++
qa/575.out | 1
qa/578 | 12 ++-
qa/578.out | 2
qa/581 | 21 +++---
qa/581.out | 5 -
qa/583 | 4 -
qa/584 | 4 -
qa/587 | 6 +
qa/628 | 6 +
qa/642 | 2
qa/643 | 2
qa/657 | 12 +++
qa/657.out | 4 +
qa/660 | 4 -
qa/666 | 18 ++---
qa/668 | 4 -
qa/669 | 22 +++---
qa/704 | 7 +-
qa/712 | 4 -
qa/713 | 6 -
qa/714 | 4 -
qa/717 | 2
qa/725 | 2
qa/740 | 2
qa/761 | 5 -
qa/778 | 2
qa/782 | 6 -
qa/796 | 2
qa/799 | 2
qa/805 | 16 ++++
qa/805.out | 2
qa/819 | 2
qa/823 | 7 +-
qa/825 | 2
qa/831 | 3
qa/832 | 9 ++
qa/835 | 2
qa/837 | 2
qa/848 | 4 -
qa/854 | 8 +-
qa/856 | 8 +-
qa/882 | 10 +-
qa/892 | 5 -
qa/893 | 4 -
qa/915 | 10 +-
qa/932 | 6 -
qa/948 | 6 +
qa/956 | 16 +++-
qa/956.out | 1
qa/960 | 2
qa/964 | 8 +-
qa/966 | 4 -
qa/983 | 4 -
qa/admin/check-vm | 15 ++++
qa/common | 8 +-
qa/common.check | 167 +++++++++++++++++++++++++++++++++++++++++++++---
qa/common.filter | 7 +-
qa/common.secure | 3
qa/src/pmcdgone.c | 11 ++-
src/pmcd/pmdaproc.sh | 41 ++++++++++-
src/pmcd/rc_pcp | 6 -
src/pmdas/apache/README | 3
153 files changed, 823 insertions(+), 423 deletions(-)
Details ...
commit e2ad43d36750381a273d4ff2f030b40f2721f400
Author: Ken McDonell <[email protected]>
Date: Mon Feb 6 07:05:47 2017 +1100
qa: assorted more systemd changes, this time for openSUSE
Of course, systemd on openSUSE 12.2 (vm19) turns out to be
different to systemd on Fedora 23 (vm31) where the original
systemd integration changes were made.
With these (ugly) changes QA is passing on openSUSE 12.2.
commit 157baca0d836274d7656decac8b43393969889c5
Author: Ken McDonell <[email protected]>
Date: Mon Feb 6 07:05:08 2017 +1100
src/pmdas/apache/README: clarify apache2 stats export setup
commit b67101388ed834dd6b4ba84e985a1aa4183d71cd
Author: Ken McDonell <[email protected]>
Date: Mon Feb 6 07:04:18 2017 +1100
qa/1087 & admin/check-vm: the bind2 PMDA also needs the File::Slurp perl module
commit 1c83c3954c9bfc7aeed790c6a80ec23a871f76fe
Author: Ken McDonell <[email protected]>
Date: Sat Feb 4 16:04:54 2017 +1100
Better systemd integration, part 2 (QA)
There are many changes in this commit.
1. Most uses of $PCP_RC_DIR have been replaced by the "wrapper"
script _service() ... and the wrapper will use systemctl if
appropriate, else run the underlying PCP init script directly.
2. Some uses of $PCP_RC_DIR have been preserved when we're testing
something that is likely to upset systemd, e.g. killing off
pmcd or pmlogger. In all these cases we first do a
_service pcp stop
so that systemd is placated (if it is running)
3. Some white space filtering ... messages coming out of journalctl
are not quite the same as the messages issued by the PCP init
scripts, especially white space at the start or end of the
message.
4. In a few cases, the interaction with the init scripts has been
reduced by using
_service pmcd [stop|start|restart]
instead of
_service pcp [stop|start|restart]
when the test is exercising pmcd and has nothing to do with
pmlogger. Note the "pcp" init script is not really a service
(in the systemd sense) but is already a wrapper for the pmcd
and pmlogger scripts, so this complicates matters ... avoid the
complication if we don't really care about pmlogger in a
particular test.
5. Logic fixups ... some of the tests failed basic analysis for
robustness, e.g. could terminate with the primary pmlogger maybe,
or maybe not, started.
All of this has passed on a system with systemd (vm31, Fedora 23)
and a system without a real systemd (bozo, Ubuntu 16.04), but has
not yet escaped to the wider QA Farm.
commit eb845aba86addebd0f97492fd17a0c183f724f06
Author: Ken McDonell <[email protected]>
Date: Sat Feb 4 07:07:23 2017 +1100
qa/1059: tweak the lsof(1) use ... need -U on some platforms
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links:
You receive all messages sent to this group.
View/Reply Online (#15065): https://groups.io/g/pcp/message/15065
View All Messages In Topic (1): https://groups.io/g/pcp/topic/4334365
Mute This Topic: https://groups.io/mt/4334365?uid=174580
New Topic: https://groups.io/g/pcp/post
-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
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
-=-=-=-=-=-=-=-=-=-=-=-