pcp
[Top] [All Lists]

pcp updates: merges, pmdaproc fix, qa

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: merges, pmdaproc fix, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 20 Apr 2016 02:06:46 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: CUUcdVaqJDhmhn0Qj2J16tc9z9mbZQ==
Thread-topic: pcp updates: merges, pmdaproc fix, qa
Changes committed to git://git.pcp.io/pcp.git master

Nathan Scott (5):
      qa: revert some change to expected 244 outputs (from pmda-restart)
      pmieconf: tweak pcp.pmda rule to detect persistent failures
      qa: fix softnet test indeterminism when test system does not have 4 CPUs
      pmdaproc: fix per-process scheduler metrics - type and semantics
      qa: yet more regression test fallout from pmcd pmda-restart change

Frank Ch. Eigler (2):
      RHBZ1323521: pmcd agent auto-restart
      pmcd pmda auto-restart: pcpqa fallout

Marko Myllynen (1):
      docs: update to the pmdajson README file


 man/man1/pmcd.1                          |   19 ++++++++++--
 qa/023                                   |   13 +++++++-
 qa/023.out.1                             |   41 +++++++++++++++++++++++---
 qa/023.out.2                             |   42 ++++++++++++++++++++++++---
 qa/102                                   |   12 +++++++
 qa/102.out                               |    3 +
 qa/1030                                  |    1 
 qa/244.out.ipv6                          |   39 ++++++++++++++++++++++---
 qa/244.out.nonipv6                       |   38 +++++++++++++++++++++---
 qa/326                                   |    3 +
 qa/326.out                               |    4 ++
 qa/971                                   |   48 +++++++++++++++++++++++++++++++
 qa/971.out                               |   20 ++++++++++++
 qa/archives/GNUmakefile                  |    2 -
 qa/archives/mk.procsched.sh              |   28 ++++++++++++++++++
 qa/archives/procsched.0                  |binary
 qa/archives/procsched.index              |binary
 qa/archives/procsched.meta               |binary
 qa/group                                 |    1 
 src/pmcd/pmcd.defaults                   |   10 +++++-
 src/pmcd/src/config.c                    |    7 ++--
 src/pmcd/src/pmcd.c                      |   28 ++++++++++++++++--
 src/pmdas/json/README                    |   31 ++++++++++++++++----
 src/pmdas/linux_proc/GNUmakefile         |    5 +--
 src/pmdas/linux_proc/help_text.h         |    4 +-
 src/pmdas/linux_proc/pmda.c              |   17 +++++++++-
 src/pmdas/linux_proc/proc_scheduler.conf |   13 ++++++++
 src/pmieconf/pcp/pmda_status             |   15 ---------
 28 files changed, 391 insertions(+), 53 deletions(-)


commit 811113bb1eeedafc7279d27a871b3db2c06f7d40
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 20 15:56:21 2016 +1000

    qa: yet more regression test fallout from pmcd pmda-restart change
    
    Test 102 is still failing and continuing to exercise functionality
    there is beyond a simple output qa/remake.  So, this commit adds a
    way to optionally disable (sysconfig) the auto-pmda-restart & then
    uses it in qa/102.

commit aef250ad7f91dcc7a975f00de821a0f9526639c6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 20 15:42:00 2016 +1000

    pmdaproc: fix per-process scheduler metrics - type and semantics
    
    Correct the type to signed-32bit-int and semantics to instantaneous
    for the proc.psinfo.nice and proc.psinfo.priority metrics, after a
    bit of kernel code review.  Also followed up on Markos point that
    proc.psinfo.tty_pgrp looks dodgey - found the kernel can return -1
    in the case that no tty is associated with the process.  So we will
    return no-values-available in that case, instead of (unsigned)-1.
    
    Log rewriting rules have been put in place, and qa/971 is added.
    
    Resolves Red Hat BZ #1328432.

commit 70330eb77b0af537fe7fb359b4b667c1deba8e9c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 20 10:04:55 2016 +1000

    qa: fix softnet test indeterminism when test system does not have 4 CPUs

commit 58a04b821d1dd07e4c2d0950a8bcd3b65b3a655f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 20 10:03:08 2016 +1000

    pmieconf: tweak pcp.pmda rule to detect persistent failures
    
    No longer need to have pmie restarting PMDAs, pmcd will attempt
    this.  However, there are no guarantees for success, as before,
    so this rule continues to report on long-term failed PMDAs such
    that this situation is notified and can be acted on.

commit 41e215bbf1be2e5818bda57f2679e424979e17f3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 20 10:00:27 2016 +1000

    qa: revert some change to expected 244 outputs (from pmda-restart)
    
    Get test qa/244 back to passing reliably, look like an unexpected
    PM_ERR_NOAGENT situation was present on the test machine used for
    the previous update.

commit 10be06056479a3a9dea7f3e0a5e97c0d076a5077
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Mon Apr 18 15:39:41 2016 +1000

    docs: update to the pmdajson README file

commit e30b4e22e81deb79eeac295b12956c73ae819a46
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Fri Apr 15 17:52:41 2016 -0400

    pmcd pmda auto-restart: pcpqa fallout
    
    A few pcpqa tests specifically use crashy or timeout-inducing pmdas to
    test pmcd's response to it.  With auto-restart, the response is
    different, so these tests need updating.  Some of the tests are
    essentially unmodified, just outputs regenerated (to assert
    auto-restart), and 326 is changed to double-kill pmdas (to assert
    auto-restart rate limiting).

commit 05f7ad04b5426ef16ba75eee1fe7cdb963189961
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Wed Apr 13 20:37:07 2016 -0400

    RHBZ1323521: pmcd agent auto-restart
    
    A few lines of code in pmcd's ClientLoop allow it to connect the
    preexisting flags that detect recent agent malfunctions to the
    preexisting code to trigger agent restarts.  In this case, the
    automatic restarting is limited once per minute.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: merges, pmdaproc fix, qa, Nathan Scott <=