QA output created by 244
Waiting for pmcd to terminate ...
$PCP_PMCDCONF_PATH contains:
<BEGIN>
fake_irix 1 pipe binary dumb_pmda -d 1 fake_irix
fake_sampledso 30 pipe binary dumb_pmda -d 30 fake_sampledso
fake_cisco 5 pipe binary dumb_pmda -d 5 fake_cisco
fake_linux 60 pipe binary dumb_pmda -d 60 fake_linux
pmcd 2 dso pmcd_init ...pmda_pmcd.$DSO_SUFFIX
[access]
allow localhost : all;
disallow * : all;
<END>
Expect "IPC protocol failure" ...
hinv.ncpu: pmLookupDesc: IPC protocol failure
$PCP_PMCDCONF_PATH now contains:
<BEGIN>
fake_irix 1 pipe binary dumb_pmda -d 1 fake_irix
sample 29 pipe binary ...pmdasample -d 29
fake_cisco 5 pipe binary dumb_pmda -d 5 fake_cisco
fake_linux 60 pipe binary dumb_pmda -d 60 fake_linux
pmcd 2 dso pmcd_init ...pmda_pmcd.$DSO_SUFFIX
[access]
allow localhost : all;
disallow * : all;
<END>
Expect "Unknown or illegal metric identifier" ...
sampledso.control: pmLookupDesc: Unknown or illegal metric identifier
Expect "IPC protocol failure" ...
hinv.ncpu: pmLookupDesc: IPC protocol failure
Expect 9 values available ...
sample.bin 9 100 200 300 400 500 600 700 800 900

Deleting, adding and keeping agents test
Getting a desriptor from domain 30 (fake_sampledso agent had this domain)

sampledso.control PMID: 30.0.0
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
Log for pmcd on HOST started DATE


active agent dom   pid  in out ver protocol parameters
============ === ===== === === === ======== ==========
fake_irix 1 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 1 fake_irix
pmcd 2 A_PID dso i:6 lib=...pmda_pmcd.$DSO_SUFFIX entry=pmcd_init
fake_cisco 5 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 5 fake_cisco
fake_sampledso 30 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 30 fake_sampledso
fake_linux 60 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 60 fake_linux

Host access list:
00 01 Cur/MaxCons host-spec                               host-mask                               lvl host-name
== == =========== ======================================= ======================================= === ==============
y y A_PID 0 MYIPADDR MYHOSTMASK 0 localhost
n n A_PID 0 0.0.0.0 0.0.0.0 4 .*
n n A_PID 0 :: :: 8 :*


pmcd: PID = PID
pmcd request port(s):
  sts fd   port  family address
  === ==== ===== ====== =======
ok FD A_PID inet INADDR_ANY
ok FD A_PID ipv6 INADDR_ANY
[DATE] pmcd(PID) Warning: pduread: timeout (after 2.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=FD
Cleanup "fake_irix" agent (dom 1): protocol failure for fd=FD, exit(0)
[DATE] pmcd(PID) Info: Auto-restarting agents.
[DATE] pmcd(PID) Info: 

pmcd RESTARTED at DATE


Current PMCD clients ...
     fd  client connection from                    ipc ver  operations denied
     ==  ========================================  =======  =================

Configuration file '$PCP_PMCDCONF_PATH' unchanged
Restarting any deceased agents:
    "fake_irix" agent


active agent dom   pid  in out ver protocol parameters
============ === ===== === === === ======== ==========
fake_irix 1 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 1 fake_irix
pmcd 2 A_PID dso i:6 lib=...pmda_pmcd.$DSO_SUFFIX entry=pmcd_init
fake_cisco 5 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 5 fake_cisco
fake_sampledso 30 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 30 fake_sampledso
fake_linux 60 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 60 fake_linux

Host access list:
00 01 Cur/MaxCons host-spec                               host-mask                               lvl host-name
== == =========== ======================================= ======================================= === ==============
y y A_PID 0 MYIPADDR MYHOSTMASK 0 localhost
n n A_PID 0 0.0.0.0 0.0.0.0 4 .*
n n A_PID 0 :: :: 8 :*

[DATE] pmcd(PID) Info: PMNS file "DEFAULT" is unchanged
[DATE] pmcd(PID) Info: 

pmcd RESTARTED at DATE


Current PMCD clients ...
     fd  client connection from                    ipc ver  operations denied
     ==  ========================================  =======  =================

Cleanup "fake_sampledso" agent (dom 30): unconfigured, exit(0)

active agent dom   pid  in out ver protocol parameters
============ === ===== === === === ======== ==========
fake_irix 1 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 1 fake_irix
pmcd 2 A_PID dso i:6 lib=...pmda_pmcd.$DSO_SUFFIX entry=pmcd_init
fake_cisco 5 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 5 fake_cisco
sample 29 A_PID FD FD 2 bin pipe cmd=...pmdasample -d 29
fake_linux 60 A_PID FD FD 2 bin pipe cmd=dumb_pmda -d 60 fake_linux

Host access list:
00 01 Cur/MaxCons host-spec                               host-mask                               lvl host-name
== == =========== ======================================= ======================================= === ==============
y y A_PID 0 MYIPADDR MYHOSTMASK 0 localhost
n n A_PID 0 0.0.0.0 0.0.0.0 4 .*
n n A_PID 0 :: :: 8 :*

[DATE] pmcd(PID) Info: PMNS file "DEFAULT" is unchanged
[DATE] pmcd(PID) Warning: pduread: timeout (after 2.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=FD
Cleanup "fake_irix" agent (dom 1): protocol failure for fd=FD, exit(0)
[DATE] pmcd(PID) Info: 

pmcd RESTARTED at DATE


Current PMCD clients ...
     fd  client connection from                    ipc ver  operations denied
     ==  ========================================  =======  =================

Cleanup "fake_cisco" agent (dom 5): unconfigured, exit(0)
Cleanup "fake_linux" agent (dom 60): unconfigured, exit(0)

...
Restart and ping pmcd ...
Starting pmcd ... 
Starting pmlogger ... 
pmcd.control.debug 1
