pcp
[Top] [All Lists]

pcp updates: qa, build, pmdaroot refactoring

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: qa, build, pmdaroot refactoring
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 9 Dec 2015 00:16:12 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1753988278.38136064.1449638120876.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: lxIhiJtP9JhXpjZULZwuY7eORlJdGg==
Thread-topic: pcp updates: qa, build, pmdaroot refactoring
Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (6):
      build/rpm/pcp.spec.in: add missing pcp2graphite conditional
      pipe pmda: fix small compiler warning
      qa/admin/pcp-daily: only run -g sanity for NetBSD
      qa/864: rework notrun guard
      qa/common.python: rework guard for usable Python installed
      qa/common.rpm: add more diags, failure goes away

Nathan Scott (5):
      qa: add the pmrep tests into the general python group as well
      qa: avoid race in test 956, pmcd has internal 1sec pmda-died sleep
      build: refactor pmda.h to expose pmdaroot internals separately
      qa: drop the 322.out from qa gitignore, it now exists
      qa: exercise pmrep derived metric use directly from the command line

Lukas Berk (1):
      pmdaroot: rename some globals to avoid namespace conflicts


 build/rpm/pcp.spec.in           |    2 
 debian/libpcp-pmda3-dev.install |    1 
 qa/.gitignore                   |    1 
 qa/1069                         |    4 +
 qa/1069.out                     |    8 +++
 qa/864                          |    4 -
 qa/956                          |    2 
 qa/admin/pcp-daily              |    4 -
 qa/common.python                |    3 -
 qa/common.rpm                   |    2 
 qa/group                        |    4 -
 src/include/pcp/GNUmakefile     |    5 --
 src/include/pcp/pmda.h          |   38 ------------------
 src/include/pcp/pmdaroot.h      |   81 ++++++++++++++++++++++++++++++++++++++++
 src/libpcp_pmda/src/pduroot.c   |    2 
 src/libpcp_pmda/src/pduroot.h   |   36 -----------------
 src/libpcp_pmda/src/root.c      |    2 
 src/pcp/pcp.sh                  |    4 -
 src/pcp/python/pcp-python.sh    |    2 
 src/pmdas/linux/namespaces.c    |    1 
 src/pmdas/pipe/event.c          |    2 
 src/pmdas/root/root.c           |   56 ++++++++++++++-------------
 22 files changed, 146 insertions(+), 118 deletions(-)


commit ff3e6bc23cebae0284a92d6c63ef76de15348cfe
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Dec 9 15:34:20 2015 +1100

    qa: exercise pmrep derived metric use directly from the command line
    
    Resolve a couple of quoting issues in pcp(1) and pcp-python(1) found
    while exercising this case as well.

commit 78947a4d6721182696f3bc6f28d781da938cd6c4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 14:03:22 2015 +1100

    qa/common.rpm: add more diags, failure goes away
    
    qa/750 is a regular failure on vm24.  Adding these diagnostics
    (that run rpm -qa a couple of extra times) makes the test pass.
    Heisenbug strikes again.

commit ccb3acec2e57eb31a06219ae6d21051a7308ded1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 12:31:01 2015 +1100

    qa/common.python: rework guard for usable Python installed
    
    Previous version passed incorrectly with Python 2.4.3.

commit 8af48b9b2a0f75e04521cb573f149a48e440a507
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 10:41:51 2015 +1100

    qa/864: rework notrun guard
    
    pcp collectl --version does not return exit status 2 ... it has an exit
    status of 1 independent of whether pcp-collectl is installed or not.
    So grep the output from pcp collectl --version to decide if you can
    run this one or not.

commit 678195de0ecf3ac4c4e9582862218e5b1604f5bd
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 07:02:34 2015 +1100

    qa/admin/pcp-daily: only run -g sanity for NetBSD

commit fddde7b4f15f9649fc818c201c1463496fb9a35a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 07:01:56 2015 +1100

    pipe pmda: fix small compiler warning

commit fed60e62a241b6e7c561c5a48c1ca8e6a0a83022
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 9 06:59:01 2015 +1100

    build/rpm/pcp.spec.in: add missing pcp2graphite conditional
    
    One more place where
        %if "@have_python@" == "true"
        ...
        %endif
    wrappers needed to fix build breakage (was failing on vm04 and vm25).

commit 4a41ffa41998ea93f993656edbab22b6678058da
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 8 16:24:59 2015 +1100

    qa: drop the 322.out from qa gitignore, it now exists

commit aa28068afe62bda06fea053160360c9aebca923c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 8 16:24:04 2015 +1100

    build: refactor pmda.h to expose pmdaroot internals separately
    
    Some code refactoring to prepare the way for the next round of
    pmdaroot changes (starting PMDAs on behalf of PMCD).  Its become
    clear that increasingly large amounts of detailed internal info
    (root PDU macros, structures, functions) that do not need to be
    visible to most PMDAs should be handled via a separate pmdaroot
    header.  This is arguably an API/ABI break, but being realistic
    noone is ever going to be affected (and pmdaroot.h is available
    still anyway).

commit 1b76e21f3a78ed156b75c30266ce0898c09155c5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 8 14:44:55 2015 +1100

    qa: avoid race in test 956, pmcd has internal 1sec pmda-died sleep

commit a54c71a59b9f7031b8e2c8b592905dc3f6bbfc92
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Tue Dec 8 14:43:41 2015 +1100

    pmdaroot: rename some globals to avoid namespace conflicts

commit dee285bd81dcc3c9be3c2167d734b470fe58f8c6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 8 14:10:38 2015 +1100

    qa: add the pmrep tests into the general python group as well

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