pcp
[Top] [All Lists]

pcp updates: qa, fixes

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: qa, fixes
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 29 Jan 2016 00:55:04 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2018932575.15699649.1454046881157.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Db+cU4EijPazUSbjtPAxRgPmdwrYFA==
Thread-topic: pcp updates: qa, fixes
Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (7):
      qa/1099: notrun if pmiostat not installed
      qa/370: sysstat 10.2.1 seems the same as 10.2.0
      qa/370.out.7: remade after recent sar2pcp changes with more metrics
      qa/370: add logic and test file for systact 10.1.5
      qa/370: add logic and test file for sysstat 10.1.5
      simple PMDA: need to restart pmcd after Install
      qa: misc new .out files after simple PMDA Install script changes

Nathan Scott (6):
      python: extract strings with native encoding, always
      docs: add notes re couple more fixes to the changelog
      qa: additional diagnostics in test 110 to help resolve failures
      libpcp_pmda: ensure af_unix socket ownership allows pmcd to read
      pmdaroot: allow process creation without setting up fds
      Revert "simple PMDA: need to restart pmcd after Install"

Mark Goodwin (3):
      containers: add vector and other webapps to pcp-pmwebd
      containers: fix pcp-pmwebd Dockerfile options for pmwebd -S
      qa: add qa/847 to launch containers and test basic functionality

Marko Myllynen (2):
      zbxpcp: set systemd zabbix-agent vs pmcd startup ordering
      pmrep: further improvements to -z/--hostzone reporting


 CHANGELOG                              |    2 
 build/containers/pcp-pmwebd/Dockerfile |    6 
 qa/1069                                |    5 
 qa/1069.out                            |    6 
 qa/1099                                |    2 
 qa/110                                 |   11 
 qa/110.out                             |   21 
 qa/370                                 |    9 
 qa/370.out.12                          |10748 +++++++++++++++++++++++++++++++++
 qa/370.out.7                           |  105 
 qa/411.out                             |    3 
 qa/560.out                             |    3 
 qa/572.out                             |    2 
 qa/628.out                             |    4 
 qa/642.out                             |    3 
 qa/715.out                             |    3 
 qa/717.out                             |    3 
 qa/847                                 |   46 
 qa/847.out                             |    3 
 qa/group                               |    1 
 qa/sadist/sa-sysstat-10.1.5            |binary
 src/libpcp_pmda/src/open.c             |   47 
 src/libpcp_pmda/src/pduroot.c          |   47 
 src/pmcd/pmcd.service.in               |    1 
 src/pmdas/root/agent.c                 |   14 
 src/pmdas/root/root.c                  |   18 
 src/pmdas/simple/Install               |   16 
 src/pmrep/pmrep.py                     |    5 
 src/python/pcp/pmapi.py                |   19 
 29 files changed, 11086 insertions(+), 67 deletions(-)


commit b2860c8275b2d5c59b2c3034496e123120ce919a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 16:33:56 2016 +1100

    Revert "simple PMDA: need to restart pmcd after Install"
    
    This reverts commit 03bf33d5857809f4343d790724e172402aaef0a2.
    Solved differently by commits on another branch.

commit 91521846ab45c44cc273848caed9ebfb5ed4f42b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 16:26:21 2016 +1100

    pmdaroot: allow process creation without setting up fds
    
    In the case of communication between pmcd and PMDAs, we defer
    the setup of file descriptors until well after child process
    creation (unlike in the case of pipes).  So, we need to allow
    for this situation explicitly in the pmdaroot pmda-statup code
    (i.e. its not an error to not send open file descriptors along
    with a PID back to pmcd).
    
    Problem uncovered by qa/110, additional diagnostics added into
    pmdaroot that helped with figuring this out.

commit b6772605a3dbef6032388ca86e87ce607867f106
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 16:14:26 2016 +1100

    libpcp_pmda: ensure af_unix socket ownership allows pmcd to read
    
    Now that PMDAs-as-root can be started by pmcd-not-as-root, we can
    enter a situation where comms sockets created by PMDAs cannot be
    accessed by pmcd.  Fix this by allowing the user pmcd runs as to
    have access to these sockets (via filesystem permissions setting
    on the socket file).
    
    Problem uncovered by qa/110.

commit 5410fe3ab8e55423e40216a6c8be56a0a85c1c70
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Fri Jan 29 16:13:43 2016 +1100

    qa: add qa/847 to launch containers and test basic functionality
    
    First draft of a qa test to actually launch pcp containers
    and test basic functionality. The idea is to launch these
    containers and have them check basic PCP functionality using
    the local pmcd service. And then to stop the local pmcd service
    and instead start the pcp-collector container, then run the same
    tests again.
    
    This test will _notrun if the 'atomic' or 'docker' commands
    aren't available. It will also _notrun if the pcp containers are
    not present.

commit 538658d9c992a452057042a44a7df349c95723e5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 16:11:03 2016 +1100

    qa: additional diagnostics in test 110 to help resolve failures

commit 63c00629097965cdef74f9aaa9c1b6a466ab8318
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jan 29 15:41:47 2016 +1100

    qa: misc new .out files after simple PMDA Install script changes

commit 03bf33d5857809f4343d790724e172402aaef0a2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jan 29 15:01:05 2016 +1100

    simple PMDA: need to restart pmcd after Install

commit 31810b4ad5a8457dbe510c8c1c6cdc650a3e1bcf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 20:26:12 2016 +1100

    qa/370: add logic and test file for sysstat 10.1.5

commit a3a3bd3b44e3515e4a85f3aabe889f96415da7f7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 10:17:05 2016 +1100

    docs: add notes re couple more fixes to the changelog

commit 1480eefd0bb4eaebc791ff143ba655693255a240
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Fri Jan 29 10:11:06 2016 +1100

    pmrep: further improvements to -z/--hostzone reporting

commit 80df79db7abc7ed3223d7be06e7862c60c8dd942
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Fri Jan 29 09:48:41 2016 +1100

    zbxpcp: set systemd zabbix-agent vs pmcd startup ordering

commit af2305d31f4f47fe9663244a6bd177ed954fe129
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 29 09:46:48 2016 +1100

    python: extract strings with native encoding, always
    
    Change python pmAtomValue dref() routine so that it will
    pass appropriately encoded strings up to higher layers.
    This avoids the need for pmExtractValue, fetchgroup, and
    higher layers (like pmrep, where bug was found) having to
    manually decode strings.  Complete the set of dref types.
    
    This hides more of the py2/3 deltas from high-level APIs
    and scripts, which is a universally Good Thing.
    
    Test 1069 is updated to check pmcd.version string (esp.
    ensuring its not prefixed with py3 b'...' bytes goop at
    the time it is printed).

commit d1d3800c593ab3f0f577a4d1db2da851496faedf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 20:26:12 2016 +1100

    qa/370: add logic and test file for systact 10.1.5

commit e651c9a47723e631b9a9afccd1d6757138834fcf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 17:16:51 2016 +1100

    qa/370.out.7: remade after recent sar2pcp changes with more metrics

commit 2bc448c9106537c353c07016a94da132f6548a62
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 17:15:50 2016 +1100

    qa/370: sysstat 10.2.1 seems the same as 10.2.0

commit ea64c2fa7a2a87f7ee3b3080b193ae4c4ba20f14
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 17:05:09 2016 +1100

    qa/1099: notrun if pmiostat not installed
    
    Happens on old systems where Python is not acceptable and the build
    has HAVE_PYTHON false ... the qa test needed to be cogniscent of
    this scenario.

commit 62530cef5ceb00d5f0671e89bc0bfd57a70d1920
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Thu Jan 28 14:55:39 2016 +1100

    containers: fix pcp-pmwebd Dockerfile options for pmwebd -S
    
    Also: only install pcp-webapi and pcp-webjs since the latter also drags in 
the various webapps

commit e82506104541bb14b7d9b1ade7e1f6e53d99ce07
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Thu Jan 28 13:03:08 2016 +1100

    containers: add vector and other webapps to pcp-pmwebd
    
        modified:   build/containers/pcp-pmwebd/Dockerfile

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: qa, fixes, Nathan Scott <=