pcp
[Top] [All Lists]

pcp updates - mixed bag, some QA, some init script tweaks

To: pcp@xxxxxxxxxxx
Subject: pcp updates - mixed bag, some QA, some init script tweaks
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2014 10:22:47 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
Changes committed to git://git.performancecopilot.org/kenj/pcp.git dev

 qa/115                   |   80 ++++++++++++++++++++++++-----------------------
 qa/511                   |   17 +++++++--
 qa/755                   |    1 
 qa/769                   |   60 ++++++++++++++++++++++++++++++++++-
 qa/769.out               |   25 ++++++++++++++
 qa/admin/pcp-qa-summary  |    2 -
 qa/group                 |    1 
 src/pmcd/rc-proc.sh      |   28 +++++++++++++++-
 src/pmie/rc_pmie         |    9 ++++-
 src/pmlogger/rc_pmlogger |    8 ++++
 10 files changed, 181 insertions(+), 50 deletions(-)

commit 34af50f5f72e42dddba6318b9cfc1c07d4957a8c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 10:19:13 2014 +1100

    src/pmlogger/rc_pmlogger: dodge an annoying blank line of output

commit 5c8d4a885831717ebcc9c175451a153161cac291
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:43:32 2014 +1100

    src/pmie/rc_pmie: dodge an annoying blank line of output

commit a6fd664acf25401df610eacd7e8b8478e5983e56
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:42:33 2014 +1100

    qa/755: extra diagnostics to help triage failure

commit 0fff189a067b37161890c80f2e953a258fa50c97
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:41:25 2014 +1100

    qa/admin/pcp-qa-summary: remove diagnostic left in by accident

commit b328d6603558f2be0a693d5129c5886a8993898a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:39:39 2014 +1100

    qa/769: improvements
    
    - preserve service state before and after
    - increase coverage
    - output useful diagnostic stuff to $seq.full

commit 8724b65df347291556a32fa198c0c7caca7d8b64
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:37:56 2014 +1100

    qa/115: revert to previous state
    
    Real fix was in $PCP_SHARE_DIR/lib/rc-proc.sh, not a maze of
    extra conditionals here.

commit 90c8e906e815be636ea3ba00a9caeebe27a8985c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 14 09:27:58 2014 +1100

    rc-proc.sh: fix minor systemctl-related regression
    
    On some platforms, systemctl does not like our services and
    redirects queries about their state to chkconfig, as in ...
    
      $ systemctl is-enabled pmlogger.service
      pmlogger.service is not a native service, redirecting to /sbin/chkconfig.
      Executing /sbin/chkconfig pmlogger --level=5
      pmlogger  on
      enabled
    
    This is benign, _except_ that it confuses the is_chkconfig_on()
    method and it does not return the true state of the service,
    i.e. 0 for on or enabled, else 1 for off or disabled).
    
    Fix this and add some debugging (under the control of
    $VERBOSE_CONFIG when set to true) to report which of the twisty
    passages is_chkconfig_on() is using to arrive at an answer.

commit 4d1228ce96dfe3fe608f9322b0cae49b9c90c31a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Nov 13 07:24:39 2014 +1100

    qa/769: (new) check "chkconfig" controls for init scripts and QA work

commit c8dc9298358ae921742df83475f2580ca90e84b0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Nov 12 06:52:56 2014 +1100

    qa/115: handle missing controls for init scripts
    
    When we don't have the moral equivalent of chkconfig, we can't
    really disable a service, so running the init.d script directly
    as this test does will always start the service.
    
    Add some convoluted logic in the test to detect this case and
    behave accordingly.
    
    Was failing on i486 Gentoo 2.0.3 (vm05).

commit 1fada59ecf5ba6e0e591373be6be24e8f8b6fb08
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Nov 12 06:51:01 2014 +1100

    qa/511: dodge bad xml from sadf
    
    Some combinations of binary data files and sadf version on some
    platforms conspire to generate badly formed XML ... detect and
    handle these cases in the test.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - mixed bag, some QA, some init script tweaks, Ken McDonell <=