pcp
[Top] [All Lists]

pcp updates: merges, fixes, qa

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: merges, fixes, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 27 Jan 2016 22:35:01 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Is7wCVZXfSiIoH2mlV238stJSZxP+A==
Thread-topic: pcp updates: merges, fixes, qa
Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (14):
      qa/370: tweak script, add some more sysstat versions
      libpcp: fix some FreeBSD compiler warnings
      qa/370.out.?: remade after recent sar2pcp changes with more metrics
      src/libpcp/src/check-statics: change for FreeBSD
      src/pmdas/root/root.c: fix initialization
      qa/qt/setup-executables: need to source pcp.env, not pcp.conf
      qa/338: yet another fmt(1) variant to be checked
      qa/574.out.freebsd: new .out after early event record changes
      src/pmdas/bash/event.c: fix compilation warnings
      src/pmie/src/dstruct.c: fix compilation warnings
      qa/803: chmod to make the test executable
      qa/370.out.10: fix cosmetic change missed in last round of changes
      qa/370.out.6: fix cosmetic change missed in last round of changes
      qa/370.out.6: again, fix cosmetic change missed in last round of changes

Nathan Scott (6):
      qa: remake couple of derived metrics, overlapped changes
      build: fix types/headers for mingw windows builds
      pmrep: use the now-regular pmRegisterDerived exception handling
      python: provide accessors for log label str fields (py2/3 safe)
      qa: fix filtering in 1069 to handle any archive path
      pmrep: correctly report and use the --hostzone/-z option

Marko Myllynen (3):
      zbxpcp: tolerate pmcd restarts
      pmrep: extend QA coverage
      pmrep: tidy timezone printing in the extended header


 qa/1069                       |   43 
 qa/1069.out                   |   78 
 qa/338                        |    6 
 qa/370                        |   12 
 qa/370.out.1                  |    4 
 qa/370.out.10                 |   16 
 qa/370.out.11                 | 5690 ++++++++++++++++++++++++++++++++++++++++++
 qa/370.out.2                  |    4 
 qa/370.out.3                  |    4 
 qa/370.out.4                  |    4 
 qa/370.out.5                  |    4 
 qa/370.out.6                  |   14 
 qa/370.out.7                  |    4 
 qa/370.out.8                  |    4 
 qa/370.out.9                  |    4 
 qa/574.out.freebsd            |    1 
 qa/803.out                    |    1 
 qa/968.out                    |    6 
 qa/qt/setup-executables       |    4 
 qa/sadist/sa-sysstat-10.1.6   |binary
 src/libpcp/src/access.c       |    5 
 src/libpcp/src/accounts.c     |    2 
 src/libpcp/src/check-statics  |    2 
 src/libpcp/src/connectlocal.c |    2 
 src/pmdas/bash/event.c        |    2 
 src/pmdas/root/agent.c        |    8 
 src/pmdas/root/docker.c       |    3 
 src/pmdas/root/lxc.c          |    3 
 src/pmdas/root/root.c         |   14 
 src/pmdas/root/root.h         |    5 
 src/pmie/src/dstruct.c        |    2 
 src/pmrep/pmrep.py            |   29 
 src/python/pcp/pmapi.py       |   15 
 src/python/pmapi.c            |   11 
 src/zabbix-agent/src/zbxpcp.3 |   31 
 src/zabbix-agent/src/zbxpcp.c |   23 
 36 files changed, 5953 insertions(+), 107 deletions(-)


commit eb5eb3229cc0db29d0d28d95a8cc0ba4929826b8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 28 14:26:12 2016 +1100

    pmrep: correctly report and use the --hostzone/-z option
    
    Now that pmrep is more verbose in its reporting of timezones, we
    are overridding some of the work done deep in libpcp getopt code
    for setting up the host/archive-based timezone.  Needed a way to
    access this from the python wrapper to solve this, and an update
    to test 1069 (which is now deterministic in this aspect too).

commit f0f87be54f2337f1db94cdaaec92ecfaf7ee7692
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Thu Jan 28 13:21:34 2016 +1100

    pmrep: tidy timezone printing in the extended header

commit 661953fcb62dae0987d4d99af96ce068a17cddee
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 28 13:20:10 2016 +1100

    qa: fix filtering in 1069 to handle any archive path

commit b823e76fad77baeb8e14edc3f54436fedd7f0f0b
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Thu Jan 28 13:16:10 2016 +1100

    pmrep: extend QA coverage
    
    - adjust the test config file to be as per man page
      (output unchanged as cmd line opts override these)
    - some additional output testing, revealed a P3 bug
      introduced in 19237bb, fix sent off-list already
    - archives/sample-secs has timezone :Australia/Melbourne,
      so exercise that unusual string
    - some additional unit conversion tests
    - un/interpolated archive tests
    
    We should now have very good pmrep coverage in QA.

commit 8c8822f37ab7a3481ca97a12997728f3892e280b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 28 13:08:28 2016 +1100

    python: provide accessors for log label str fields (py2/3 safe)
    
    Fixes an issue Marko came across in new pmrep qa test additions.

commit 55f0b12baecb16fc144e79252146e8fe411374c6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 28 12:47:13 2016 +1100

    pmrep: use the now-regular pmRegisterDerived exception handling

commit da7691741345e98df19291d0261a5d0b64aa56a1
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Thu Jan 28 12:33:00 2016 +1100

    zbxpcp: tolerate pmcd restarts
    
    While it is not easily feasible to ensure pmcd starts before
    zabbix-agent [1], it is possible for zbxpcp to recover from
    pmcd restarts via pmReconnectContext(3), so let's do that.
    
    Update zbxpcp(3) accordingly and make it follow PCP style.
    
    [1] http://www.pcp.io/pipermail/pcp/2016-January/009408.html

commit 242e34a86cbeb95d9b8caac5151f0ac9f714f860
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:45:58 2016 +1100

    qa/370.out.6: again, fix cosmetic change missed in last round of changes

commit ea7456bd67a9453a6a0833d91b69e1f6fe221aea
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:43:06 2016 +1100

    qa/370.out.6: fix cosmetic change missed in last round of changes

commit 3c45474fad7573699b8407c92a87fe489dc0ea91
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:32:38 2016 +1100

    qa/370.out.10: fix cosmetic change missed in last round of changes

commit 1d160a034b0bab9fa41685df344532109e7f3f19
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:32:10 2016 +1100

    qa/803: chmod to make the test executable

commit 2b75d613b2ad0f64c5838b378a9ce4f727cb8efe
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:24:40 2016 +1100

    src/pmie/src/dstruct.c: fix compilation warnings
    
    More FreeBSD chatter.

commit df8cb11f4c3feb0b7b351716941f68df83365375
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 11:22:52 2016 +1100

    src/pmdas/bash/event.c: fix compilation warnings
    
    More FreeBSD chatter.

commit c49106c6e233f71d396ecdebdd325938cf21adb6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 09:22:52 2016 +1100

    qa/574.out.freebsd: new .out after early event record changes

commit 5c4444acc13871af5a1cd1e79b46343d10572521
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 09:22:18 2016 +1100

    qa/338: yet another fmt(1) variant to be checked
    
    FreeBSD this time.

commit b4653b3a4ca39edca32c23134547f4897402ad20
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 09:21:20 2016 +1100

    qa/qt/setup-executables: need to source pcp.env, not pcp.conf
    
    Difference is on FreeBSD where $PCP_ECHO_C (for example) is not
    set correctly without this change.

commit 46943e35e579cc7c7ea48c0283d59224c22a1d72
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 08:42:11 2016 +1100

    src/pmdas/root/root.c: fix initialization
    
    These are probably benign (for force, not so much for code), but the
    FreeBSD C compiler was all over them with warnings.

commit 6a5f04dca0018a96ac62bc0848acf4612fe28a12
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 08:41:21 2016 +1100

    src/libpcp/src/check-statics: change for FreeBSD
    
    New fmt[] appears in symbol table (static string, so not an issue).

commit d19b0d9fceafaacffad727d34af37fdc03f13be5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 08:33:07 2016 +1100

    qa/370.out.?: remade after recent sar2pcp changes with more metrics
    
    qa/370.out.6 and qa/370.out.10 this time

commit f61b0bf77c2aa22fe076301a5a9cd15a19b2fb14
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 08:23:53 2016 +1100

    libpcp: fix some FreeBSD compiler warnings

commit f1781fd5b5a4c18b5776f19242c113275fc4d62c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 28 07:06:49 2016 +1100

    qa/370: tweak script, add some more sysstat versions

commit 796f13865335905887bc4f4f72243842d7dfac46
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jan 27 16:33:36 2016 +1100

    build: fix types/headers for mingw windows builds

commit c8aeb9b1e763283d513a7ffccae393c9fc84fa69
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jan 27 16:05:43 2016 +1100

    qa: remake couple of derived metrics, overlapped changes

<Prev in Thread] Current Thread [Next in Thread>