pcp
[Top] [All Lists]

pcp updates: bag-o-stuff

To: pcp@xxxxxxxxxxx
Subject: pcp updates: bag-o-stuff
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Jun 2016 11:29:56 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
This is all fodder for the next release ... even though there are some real bug 
fixes here (libpcp ones in the main), they are corner cases and too risky for 
this stage in the release cycle.

Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (15):
      qa/1006: take better control of the test instances for sample.mirage
      tar packaging: add Python and Perl artefacts
      qa/007: relax the range of acceptable values
      qa/src/record.c: add some more diagnostics
      src/libpcp/src/secureserver.c: whitespace removal to make code closer to 
auxserver.c
      src/libpcp/src/auxserver.c: fix borked code in 
!defined(HAVE_SECURE_SOCKETS) case
      bash and zsh completion: fix install rules
      src/pcp/summary/pcp-summary.sh: add -D flag to aid debugging
      src/pmcd/src/pmcd.c: increase buffer for __pmServerRequestPortString()
      src/dbpmda: minor cleanups
      src/libpcp/src/pmns.c: fix malloc corruption for PMNS load/unload 
operations
      qa/1040: exercise PMNS load/unload operations
      qa/008.out.bozo+sdc: reflect new hardware setup for bozo
      qa/051: handle single quote brain damange from cat(1)
      qa/738: handle single quote brain damange from ls(1)

 build/tar/GNUmakefile          |   22 ++-------
 build/tar/listfiles            |   64 +++++++++++++++++++++++++++
 qa/007                         |    2 
 qa/008.out.bozo+sdc            |   22 ++++++---
 qa/051                         |    8 ++-
 qa/1006.out                    |    6 +-
 qa/1040                        |   61 ++++++++++++++++++++++++++
 qa/1040.out                    |   40 +++++++++++++++++
 qa/738                         |   11 ++++
 qa/group                       |    1 
 qa/src/record.c                |   96 +++++++++++++++++++++++++++++++++--------
 qa/views/006-04                |    4 -
 qa/views/006-05                |    2 
 src/bashrc/GNUmakefile         |    5 +-
 src/dbpmda/src/dbpmda.c        |    1 
 src/dbpmda/src/gram.y          |   21 ++++----
 src/dbpmda/src/pmda.c          |    6 +-
 src/dbpmda/src/util.c          |   18 +++++--
 src/libpcp/src/auxserver.c     |   25 +++++++---
 src/libpcp/src/pmns.c          |   14 +++--
 src/libpcp/src/secureserver.c  |    1 
 src/pcp/summary/pcp-summary.sh |   15 +++++-
 src/pmcd/src/pmcd.c            |    2 
 src/zshrc/GNUmakefile          |    5 +-
 24 files changed, 367 insertions(+), 85 deletions(-)

Details ...

commit 5da736a76fae4577d83f52d261653d18402ea0b2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 09:28:26 2016 +1000

    qa/738: handle single quote brain damange from ls(1)
    
    On increasingly more platforms (Ubuntu 16.04 this time), ls(1)
    from coreutils is (historically) broken by adding gratuitous single
    quotes around filenames, thanks to the silliness of the GNU team.

commit 94d9644e327afaa3682c9472853cf0fd09327287
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 09:17:46 2016 +1000

    qa/051: handle single quote brain damange from cat(1)
    
    On increasingly more platforms (Ubuntu 16.04 this time), cat(1)
    from coreutils is (historically) broken by adding gratuitous single
    quotes around filenames, thanks to the silliness of the GNU team.

commit b75a0be5b0022737fd8e775fa6bac9cbd36100ad
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 08:54:42 2016 +1000

    qa/008.out.bozo+sdc: reflect new hardware setup for bozo

commit 2b43e9c8540ba81b4a9ee404520d773010d0eeff
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 08:30:26 2016 +1000

    qa/1040: exercise PMNS load/unload operations
    
    Used to expose and fix libpcp problems in pmns.c

commit 278c0e7ec00faacf77f68700d128df975a97eeec
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 08:27:02 2016 +1000

    src/libpcp/src/pmns.c: fix malloc corruption for PMNS load/unload operations
    
    Only dbpmda is really able to exercise this, but if you load a PMNS,
    unload it, load another one (and especially if the second load fails
    for some reason) the internal state of the PMNS was bad, leading to
    all sorts of corruption at a subsequent load or unload.

commit 282e5262f10c315636bcf7fb4f5713eadc1c239b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 06:42:52 2016 +1000

    src/dbpmda: minor cleanups
    
    1. replace calls to strcpy() with calls to strncpy() in places
       where this improves code robustness
    2. don't load any pmda's for the one PM_CONTEXT_LOCAL that dbpmda
       needs ... was causing permission issues when dbpmda run as non-root
       for platforms where the default pmda's for PM_CONTEXT_LOCAL need
       root privileges (e.g. to read /dev/kmem)

commit 953820873c7a0cf9eeb15ae8903112f0dc40e912
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 06:39:50 2016 +1000

    src/pmcd/src/pmcd.c: increase buffer for __pmServerRequestPortString()
    
    Pathnames were being truncated in the pmcd log; cosmetic issue only.

commit 520e72a82f92e6d2d1f76ea3a82f7ca8d3dfb364
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 20:33:37 2016 +1000

    src/pcp/summary/pcp-summary.sh: add -D flag to aid debugging

commit 2b4a50c79e97f3bfd33a74e6c9d050441f3c5320
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 20:27:05 2016 +1000

    bash and zsh completion: fix install rules
    
    1. avoid '/../' in install lines ... this is forbidden on
       some platforms, like the BSD once needing tar packaging
    
    2. install required subdirectories

commit a94e419041eb28101af92c8f71a7cf6e5e220943
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 19:55:03 2016 +1000

    src/libpcp/src/auxserver.c: fix borked code in 
!defined(HAVE_SECURE_SOCKETS) case
    
    Handling of PM_SERVER_FEATURE_CERT_REQD was completely broken ... only
    exposed for platforms when HAVE_SECURE_SOCKETS is not defined.

commit 2b1047d90da7bbbf5b62a42641b8ffa9e1de6a65
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 19:52:54 2016 +1000

    src/libpcp/src/secureserver.c: whitespace removal to make code closer to 
auxserver.c

commit 75c7b954550c2b001d2c822db0ae16d77ff52865
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 19:50:39 2016 +1000

    qa/src/record.c: add some more diagnostics

commit 4389c3fe763c3e4c01a631c338b0bc8fe0cdbcdc
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 19:48:55 2016 +1000

    qa/007: relax the range of acceptable values

commit 1a3103264bdf3faf855169b1a21d8b752348b7ad
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 19:44:00 2016 +1000

    tar packaging: add Python and Perl artefacts
    
    This has been missing for a long time.

commit b9163a8f214eac11130b3155eea603ed81453e6e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jun 16 08:39:21 2016 +1000

    qa/1006: take better control of the test instances for sample.mirage
    
    Test cases were using _all_ instances in the pmchart configs, but this
    is prone to non-determinism as the instance domain for sample.mirage
    and friends is dynamic.
    
    These tests work just fine with the explicit "m-00" instance which
    is always present.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: bag-o-stuff, Ken McDonell <=