pcp
[Top] [All Lists]

pcp updates: special apres weekend grab bag

To: pcp@xxxxxxxxxxx
Subject: pcp updates: special apres weekend grab bag
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 26 Oct 2015 09:41:01 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (16):
      qa/722: don't run if an acceptable python version not installed
      qa/816: notrun if pmdumptext not installed
      qa/864: notrun if pcp-collectl not installed
      qa/550: don't run if an acceptable python version not installed
      qa/547: don't run if an acceptable python version not installed
      qa/1082: don't run if an acceptable python version not installed
      qa/088: improve stability
      qa/575: track latest change in pmie rc script message format
      qa/179: try to avoid pmlc-pmlogger race
      configure magic to allow statfs() and statvfs() headers to be found
      qa/src/statvfs.c: accommodate BSD differences in statfs()
      Revert "linux PMDA: provide GNUmakefile hook to change gcc optimization"
      configure: allow control over compiler optimization level
      Turn gcc optimization off for builds on vm04.localdomain
      qa/897: try to avoid pmlc-pmlogger race
      qa/083: try to avoid pmlc-pmlogger race

 Makepkgs                    |   11 +++++++++++
 configure                   |   33 +++++++++++++++++++++++++++++++++
 configure.ac                |   17 +++++++++++++++++
 qa/083                      |   30 ++++++++++++++++++++++++++++++
 qa/083.out                  |   12 ++++++++++++
 qa/088                      |    7 ++-----
 qa/1082                     |    2 ++
 qa/179                      |    9 +++++++++
 qa/179.out                  |   24 ++++++++++++++++++++++++
 qa/547                      |    2 ++
 qa/550                      |    2 ++
 qa/575.out.1                |    2 +-
 qa/575.out.2                |    2 +-
 qa/722                      |    2 ++
 qa/816                      |    2 ++
 qa/864                      |    3 +++
 qa/897                      |    4 ++++
 qa/897.out                  |    7 +++++++
 qa/admin/myconfigure        |   11 +++++++++++
 qa/src/statvfs.c            |   38 +++++++++++++++++++++++++++++++++++++-
 src/include/builddefs.in    |    2 +-
 src/include/pcp/config.h.in |    4 ++++
 src/pmdas/linux/GNUmakefile |    1 -
 23 files changed, 217 insertions(+), 10 deletions(-)

Details ...

commit 7f16a454de482edb3ff1cb3bf18e099286ba01d2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Oct 26 09:36:37 2015 +1100

    qa/083: try to avoid pmlc-pmlogger race
    
    With the "log early" changes to pmlogger, back-to-back requests
    from pmlc may get done in a single pmlogger callback (only almost
    immediately rather than after delta), which means the order of records
    in the archive is no longer deterministic.
    
    Change to doing a batch of logging requests, close the pmlc session,
    short sleep then another pmlc session to interrogate the pmlogger
    status.

commit a936b18ecba957a45189433099c3d1bbac7c8442
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Oct 26 07:36:01 2015 +1100

    qa/897: try to avoid pmlc-pmlogger race
    
    1. Make sure pmlogger has had a chance to complete the initial
       log records (happens sooner now with the "log early" changes
       to pmlogger).
    
    2. Back-to-back requests from pmlc may get done (only a little later,
       not delta later) in a single pmlogger callback, which means
       the order of records in the archive is no longer deterministic.
       Change to doing one logging or status request per pmlc invocation
       to try and avoid this.

commit e6f25408026aa08e2911b6edf7c038e1810fd452
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Oct 26 07:28:47 2015 +1100

    Turn gcc optimization off for builds on vm04.localdomain
    
    On this QA platform
        Host        PCP      CPU     Operating System
        vm04        3.10.8   i586    CentOS 5.11 (Final)
    gcc -O2 (or -O1) produces bad code for the linux PMDA
    (proc_net_softnet.c in particular), so disable -O2 when building
    here.

commit f659682f53f373fdcdd587fcf86003bdc5c19081
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Oct 26 07:24:54 2015 +1100

    configure: allow control over compiler optimization level
    
    To address recurring problems with gcc generating bad code with
    -O2 level optimization, allow --with-optimization={yes,no} and
    --without-optimization.
    
    The default is unchanged (-O2 -g) but otherwise -O0 -g may be
    used.
    
    A big hammer, I know, but I'm the one that keeps tripping over these
    gcc problems, so it is my hammer ... 8^)>

commit da07856ad3e3ab4f91c6cf63f1b89577f34dd960
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Oct 26 07:19:56 2015 +1100

    Revert "linux PMDA: provide GNUmakefile hook to change gcc optimization"
    
    This reverts commit 506c442696148d9823765b9e288ddb3038c1189b.
    
    This commit served to demonstrate that the gcc problem really
    exists, but was insufficient to allow Makepks to optionally build
    without -O2 optimization ... a bigger configure hammer is needed
    for this, and follows in a subsequent commit.

commit bc46cbff03ca26bd1bad17a8335e174d4a4f19a6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Oct 25 07:27:01 2015 +1100

    qa/src/statvfs.c: accommodate BSD differences in statfs()

commit 47cddeb6616131d0f0ac75186555d98a5c2ff7ac
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Oct 25 07:16:30 2015 +1100

    configure magic to allow statfs() and statvfs() headers to be found

commit 0da394f7c46afb47a94c45ca5730d63ab8ed5b8c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Oct 24 08:34:48 2015 +1100

    qa/179: try to avoid pmlc-pmlogger race
    
    With the "log early" changes to pmlogger, back-to-back requests
    from pmlc may get done in a single pmlogger callback, which means the
    order of records in the archive is no longer deterministic.
    Change to doing one logging request per pmlc invocation to try
    and avoid this.

commit 9ee91173094b138dd93b7afb396c2e97d7932b45
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Oct 24 08:34:05 2015 +1100

    qa/575: track latest change in pmie rc script message format

commit 16840e27a0bef2aed32e883f4f1557b537424def
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Oct 24 06:53:13 2015 +1100

    qa/088: improve stability
    
    After pmlogger changes to "log early" don't need to start at
    time of first sample any more ... just running pmval from the
    (default) start of the archive seems to work fine.

commit f584b95f49b2c5f3c1c4b36c15b8b3a514bb444d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Oct 24 06:42:50 2015 +1100

    qa/1082: don't run if an acceptable python version not installed
    
    This test uses src/procpid.python which won't work with older versions
    if Python ... leverage the "at least Python 2.6" requirement from
    the build.

commit 869948e01190d63f77ac882a3d6cce765d5d742f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 23 20:32:25 2015 +1100

    qa/547: don't run if an acceptable python version not installed
    
    This test uses secure/crash-* which won't work with older versions
    of Python ... leverage the "at least Python 2.6" requirement from
    the build.

commit 9a7d7fc2235d23b9009ea8bfd2c580b1c3791848
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 23 20:27:30 2015 +1100

    qa/550: don't run if an acceptable python version not installed
    
    This test uses secure/leak-* which won't work with older versions
    of Python ... leverage the "at least Python 2.6" requirement from
    the build.

commit 9e8dd39a108c74a53ef7d1f766c7cfbd78f5c2a6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 23 20:20:28 2015 +1100

    qa/864: notrun if pcp-collectl not installed

commit 5764aeef7cf438ae45046bb6d2f07e9def4ed6e6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 23 20:19:09 2015 +1100

    qa/816: notrun if pmdumptext not installed

commit 29323392afeab67229b766e0215a5660481f2241
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 23 20:11:58 2015 +1100

    qa/722: don't run if an acceptable python version not installed
    
    This test uses src/test_set_source.python which won't work with older
    versions if Python ... leverage the "at least Python 2.6" requirement
    from the build.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: special apres weekend grab bag, Ken McDonell <=