pcp
[Top] [All Lists]

pcp updates: mostly negative metric values support and related QA

To: pcp@xxxxxxxxxxx
Subject: pcp updates: mostly negative metric values support and related QA
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 15 Feb 2016 08:17:59 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (18):
      qa/622: a but more sample.negative fallout
      qa/880: add notrun guard if pmrep not installed
      qa/201: make sure temporary files are cleaned up
      qa/440: make sure temporary files are cleaned up
      src/libpcp/src/util.c: reduce chance of temp file debris from pmprintf()
      qa/1070: filter out local timezone from pmrep
      src/libpcp_pmda/src/queues.c: rework diagnostics in pmdaEventNewClient()
      libpcp: fix __pmStringValue() to allow negative PM_TYPE_FLOAT values
      src/pmval/pmval.c: correct handling of real negative values
      src/libpcp_pmda/src/queues.c: cleanup the diagnostic reporting
      qa/287: extend the test a little
      qa/086: (new) exercise pcp clients with sample.negative metrics
      qa/group: add 806, cleanup the pmval group assignments
      qa/380: remove duplicated exit block
      qa/498: remade .out after libpcp_pmda diagnostic changes
      qa/956: change to use _save_config and _restore_config
      qa/common.check: _cleanup_pmda() should not remove temp files
      qa/287.out.64: remade after test and pmval changes

 qa/1070                      |   23 ++
 qa/1070.out                  |    4 
 qa/201                       |    4 
 qa/287                       |    4 
 qa/287.out.64                |  200 ++++++++++++++++++++----
 qa/380                       |    3 
 qa/440                       |    4 
 qa/498.out                   |  344 +++++++++++++++++++++---------------------
 qa/662.out.4                 |   14 +
 qa/662.out.46                |   28 +++
 qa/806                       |  109 +++++++++++++
 qa/806.out                   |  345 +++++++++++++++++++++++++++++++++++++++++++
 qa/880                       |    2 
 qa/956                       |    8 
 qa/common.check              |    1 
 qa/group                     |   54 +++---
 src/libpcp/src/stuffvalue.c  |    2 
 src/libpcp/src/util.c        |    3 
 src/libpcp_pmda/src/queues.c |   41 ++---
 src/pmval/pmval.c            |   54 ++++--
 20 files changed, 956 insertions(+), 291 deletions(-)

Details ...

commit dc02e36da71a16b525ee30efda9acbff84441943
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:16:46 2016 +1100

    qa/287.out.64: remade after test and pmval changes

commit a10d1f2f759c6ab498af4f05f1c784727c8dcbdd
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:14:10 2016 +1100

    qa/common.check: _cleanup_pmda() should not remove temp files

commit 8667af9324f70e66e297091b5c995e8cbb8dca31
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:13:22 2016 +1100

    qa/956: change to use _save_config and _restore_config

commit 2e668d7c9e919dc852e79a737ddd054139a6334f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:12:47 2016 +1100

    qa/498: remade .out after libpcp_pmda diagnostic changes

commit 508436cbf1d4b752bff208680c201ccd91b07dc7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:12:13 2016 +1100

    qa/380: remove duplicated exit block

commit 151a4f644fc0719de50ea89a145dcf2f7f903f63
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:11:28 2016 +1100

    qa/group: add 806, cleanup the pmval group assignments

commit d1904a7d316ee533186d7778a8edaf005c152b18
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:10:46 2016 +1100

    qa/086: (new) exercise pcp clients with sample.negative metrics

commit 18e7f5579a03cca1a6eec14af37f6e54f1541e5c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:05:52 2016 +1100

    qa/287: extend the test a little
    
    Arising from pmval negative values changes.

commit 7e8863461902f52991c9f1c42b72494ccec8e07c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 08:05:09 2016 +1100

    src/libpcp_pmda/src/queues.c: cleanup the diagnostic reporting

commit 896b1dbbeb6a8830b4e71bf1d595afb4deebf769
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 07:21:03 2016 +1100

    src/pmval/pmval.c: correct handling of real negative values
    
    Required some rework of the "wrap detection" logic, which was causing
    "!" to be printed instead of negative values for non-counter metrics.

commit babf659d3ab7257f53bf55777c3030661c47b8e3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 15 07:18:59 2016 +1100

    libpcp: fix __pmStringValue() to allow negative PM_TYPE_FLOAT values
    
    Check for float to double truncation was wrong.

commit f117b9da157de0b9086bbe879d135413b7bf5cda
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Feb 14 06:58:54 2016 +1100

    src/libpcp_pmda/src/queues.c: rework diagnostics in pmdaEventNewClient()
    
    1. always report a new client
    2. diags should be emitted vi fprintf to stderr, not

commit b1eb5aacf4130a6614f16ae404a54868d478541e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:40:53 2016 +1100

    qa/1070: filter out local timezone from pmrep

commit 43caaf25fe8842135b0b224994d477a2ece3745b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:30:43 2016 +1100

    src/libpcp/src/util.c: reduce chance of temp file debris from pmprintf()
    
    Close the window between creating and unlinking the temporary
    file used by pmprintf() and friends.
    
    This was causing files with names like pcp-XXXXXX to be sometimes
    left behind in /var/tmp when QA tests were interrupted.

commit 3c07a194b8ad251d9984451e7d6fc4ce0c003500
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:29:44 2016 +1100

    qa/440: make sure temporary files are cleaned up

commit 0449cd0fc7e0efe25553b6d5fbb6af4c5652d5d1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 19:29:03 2016 +1100

    qa/201: make sure temporary files are cleaned up

commit efda53e888303dbd209b09faebe6f77e0f32e919
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 13:48:39 2016 +1100

    qa/880: add notrun guard if pmrep not installed

commit 14ff22479eddb1c349bfb55b93dd289d44f6118b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Feb 13 06:44:38 2016 +1100

    qa/622: a but more sample.negative fallout

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: mostly negative metric values support and related QA, Ken McDonell <=