pcp
[Top] [All Lists]

pcp updates: qa, build, fixes - libpcp, logconf, pmdalinux

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: qa, build, fixes - libpcp, logconf, pmdalinux
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 1 Aug 2016 20:42:45 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <521715924.13014419.1470098555818.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: t/7VeKpgspqICjz3Ubnkcg5sa691mw==
Thread-topic: pcp updates: qa, build, fixes - libpcp, logconf, pmdalinux
Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (6):
      qa/381: at last, problem identified
      src/libpcp/src/pdu.c: add fault injection check for __pmGetPDU()
      src/libpcp: make the pmcd-client protocol safer in the presence of 
timeouts
      qa/865 and 866 (new): exercise the new PM_ERR_TIMOUT protocols
      qa/866: tweak filtering
      qa/169 & 200: minor tweaks after PM_ERR_TIMEOUT protocol changes

Nathan Scott (5):
      pmlogconf: add pidstat, update mpstat logconf files
      build: temporarily disable libvirt PMDA from the install
      pmdalinux: add kernel.percpu.intr count metric
      qa: replace PCP_SHARE_DIR in 994 too for probes path
      qa: fix typos, add missing pmmgr path perms case


 configure                             |    2 
 configure.ac                          |    4 
 qa/169                                |   11 
 qa/169.out                            |    1 
 qa/200.out                            |    5 
 qa/366                                |    3 
 qa/381                                |    2 
 qa/381.out                            |   22 -
 qa/857                                |    2 
 qa/857.out                            |   22 +
 qa/865                                |   75 +++++
 qa/865.out                            |  161 +++++++++++
 qa/866                                |  133 +++++++++
 qa/866.out                            |  339 +++++++++++++++++++++++
 qa/886                                |    4 
 qa/886.out                            |   24 +
 qa/994                                |    1 
 qa/group                              |    2 
 qa/src/GNUlocaldefs                   |    2 
 qa/src/mkpermslist                    |   15 -
 qa/src/multictx.c                     |  496 ++++++++++++++++++++++++++++++++++
 qa/src/store.c                        |   48 +++
 src/include/pcp/fault.h               |    3 
 src/libpcp/src/context.c              |   21 +
 src/libpcp/src/desc.c                 |    9 
 src/libpcp/src/fetch.c                |    3 
 src/libpcp/src/help.c                 |   10 
 src/libpcp/src/instance.c             |   28 +
 src/libpcp/src/internal.h             |    2 
 src/libpcp/src/pdu.c                  |    3 
 src/libpcp/src/pmns.c                 |   26 +
 src/libpcp/src/store.c                |    9 
 src/libpcp_fault/pmfault.3            |   23 +
 src/pmdas/linux/help                  |   10 
 src/pmdas/linux/interrupts.c          |   56 ++-
 src/pmdas/linux/pmda.c                |   19 -
 src/pmdas/linux/root_linux            |    1 
 src/pmlogconf/tools/localdefs         |    3 
 src/pmlogconf/tools/mpstat            |   10 
 src/pmlogconf/tools/mpstat-interrupts |    5 
 src/pmlogconf/tools/mpstat-summary    |    8 
 src/pmlogconf/tools/pidstat           |   27 +
 src/pmlogconf/tools/pidstat-summary   |    7 
 43 files changed, 1565 insertions(+), 92 deletions(-)


commit a245ce91e404318a6a7f0c98030fa5d1af2402da
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Aug 2 09:24:39 2016 +1000

    qa: fix typos, add missing pmmgr path perms case

commit 907880852f3dcf49383b3cdad528449d1f5f2333
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Aug 2 09:24:00 2016 +1000

    qa: replace PCP_SHARE_DIR in 994 too for probes path

commit 0223b660580aa9778903788225a66d7bb5b7d580
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Aug 2 09:23:23 2016 +1000

    pmdalinux: add kernel.percpu.intr count metric
    
    Turns out pcp-mpstat(1) needs per-CPU interrupt counts, which
    are most easily calculated here and exported in a similar way
    to kernel.all.intr.  The mpstat changes to use this should be
    following from Sitaram shortly.

commit 12cf46982cf0124ef3a312ad77608c73ec2e7486
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Aug 1 19:57:18 2016 +1000

    qa/169 & 200: minor tweaks after PM_ERR_TIMEOUT protocol changes

commit d175228933515ad30d83b6eb46d2d880d0499534
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Aug 1 16:15:59 2016 +1000

    qa/866: tweak filtering

commit dc9ee41f7683b5414bf9347b6c1c185b3f31fb1b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Aug 1 15:57:58 2016 +1000

    qa/865 and 866 (new): exercise the new PM_ERR_TIMOUT protocols
    
    865 uses the (Perl version of the) slow PMDA.
    
    866 uses new fault injection services in libpcp_fault.

commit 22758584ba8e3597355b73a98f3313086d57ebfb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Aug 1 15:49:11 2016 +1000

    src/libpcp: make the pmcd-client protocol safer in the presence of timeouts
    
    If a timeout occurs on a PDU read (in __pmGetPDU) the libpcp callers
    are now responsible for closing the channel that connects pmcd and all
    contexts associated with that pmcd in the current client app.
    
    Because this channel maybe multiplexed between contexts, a timeout
    introduces the possibility that incorrect PDUs are seen by other
    contexts and this breaks the synchronous communication between pmcd
    and a PMAPI context, or worse, delivers incorrect data to other PMAPI
    contexts.
    
    This change prevents that from happening, but the other contexts
    will need to call pmReconnectContext() before they can resume sending
    and receiving PDUs to and from the pmcd that triggered the original
    timeout condition.

commit 5f76a6400baafbb5e64046a6af1d68b65a6d4c29
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Aug 1 15:47:07 2016 +1000

    src/libpcp/src/pdu.c: add fault injection check for __pmGetPDU()
    
    If the class PM_FAULT_TIMEOUT has been armed, return immediately
    with PM_ERR_TIMEOUT.
    
    Note this generates no code for the regular libpcp, it is only
    enabled in libpcp_fault.

commit 01f77ad70e1bbfe50d7bdb61d3dc7fcf1ad237d8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Aug 1 15:13:02 2016 +1000

    build: temporarily disable libvirt PMDA from the install
    
    Expecting to re-enable for the next release ...
    http://www.pcp.io/pipermail/pcp/2016-July/011242.html

commit 5e23d06d2e8aa3de3c75780894eb39f9f584e9c5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Aug 1 14:58:55 2016 +1000

    pmlogconf: add pidstat, update mpstat logconf files
    
    Resolves Red Hat BZ #1361943.

commit 6eea1779a5e45ccfe47864e267cdd582e5a60c62
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Jul 27 08:56:56 2016 +1000

    qa/381: at last, problem identified
    
    This test has been failing intermittently for some time and I've
    finally tracked it down ... the logic assumed that the primary logger
    was handling pmlc requests on port 4330.  This is true most of the
    time (test passes) but sometimes (especially with pmmgr in the mix)
    may not be so (test fails).

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: qa, build, fixes - libpcp, logconf, pmdalinux, Nathan Scott <=