summaryrefslogtreecommitdiff
path: root/qa/282.out
blob: 504e6683a3af1e253a27bd9a65fb78f89c803c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
QA output created by 282

=== expect error: no $PCP_PMCDCONF_PATH ===
Waiting for pmcd to terminate DOTS
$PCP_RC_DIR/pmcd:
Warning: pmcd control file $PCP_PMCDCONF_PATH is missing, cannot identify PMDAs
         to be terminated.
$PCP_RC_DIR/pmcd:
Error: pmcd control file $PCP_PMCDCONF_PATH is missing, cannot start pmcd.
Starting pmlogger ... 
=== probe pmcd: pmprobe: Cannot connect to PMCD on host "HOST": Connection refused

=== simple case, no frills, no errors ===
Starting pmcd ... 
Starting pmlogger ... 
=== probe pmcd: OK
=== probe pmlogger: OK

=== expected failure: a mere mortal ===
$PCP_RC_DIR/pmcd:
Error: You must be root (uid 0) to start or stop the Performance Co-Pilot pmcd.
$PCP_RC_DIR/pmlogger:
Error: You must be root (uid 0) to start or stop the Performance Co-Pilot loggers.
=== probe pmcd: OK
=== start again ===
Waiting for pmcd to terminate DOTS
Starting pmcd ... 
Starting pmlogger ... 
=== probe pmcd: OK
=== probe pmlogger: OK

=== expect 2 x connect failure: pmcd is true(1), so hard for pmlogger ===
Waiting for pmcd to terminate DOTS
Starting pmcd ... 
Starting pmlogger ... 
=== probe pmcd: pmprobe: Cannot connect to PMCD on host "HOST": Connection refused
=== probe pmlogger: Unable to connect to primary pmlogger at HOST: Connection refused
=== start again ===
Starting pmcd ... 
Starting pmlogger ... 
=== probe pmcd: OK
=== probe pmlogger: OK
=== expect difficulty terminating pmcd ... it has been sent a SIGSTOP ===
Waiting for pmcd to terminate DOTS
Process ...
-- ps output line --
$PCP_RC_DIR/pmcd: Warning: Forcing pmcd to terminate!
Starting pmcd ... 
Starting pmlogger ... 
=== probe pmcd: OK

=== expect warning: PMLOGGER.CHECK moved, so no pmlogger ===
Waiting for pmcd to terminate DOTS
Starting pmcd ... 
$PCP_RC_DIR/pmlogger:
Warning: Performance Co-Pilot installation is incomplete (at least the
         script "PMLOGGER.CHECK" is missing) and the PCP archive logger(s)
	 cannot be started.
=== probe pmcd: OK
=== probe pmlogger: Unable to connect to primary pmlogger at HOST: Connection refused

=== expect error: pmlogger/control moved, so no pmlogger ===
Waiting for pmcd to terminate DOTS
Starting pmcd ... 
$PCP_RC_DIR/pmlogger:
Error: PCP archive logger control file $PCP_PMLOGGERCONTROL_PATH
       is missing!  Cannot start any Performance Co-Pilot archive logger(s).
=== probe pmcd: OK
=== probe pmlogger: Unable to connect to primary pmlogger at HOST: Connection refused

Restore the state of the universe ...
Waiting for pmcd to terminate ...
Starting pmcd ... 
Starting pmlogger ...