Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 274.out
blobf8cdb3692961a792fed59352ba0e7e4db35fef54
1 QA output created by 274
2 You will need to choose an appropriate configuration for installation of
3 the "broken" Performance Metrics Domain Agent (PMDA).
5   collector     collect performance statistics on this system
6   monitor       allow this system to monitor local and/or remote systems
7   both          collector and monitor configuration for this system
9 Please enter c(ollector) or m(onitor) or b(oth) [m] Updating the Performance Metrics Name Space (PMNS) ...
10 Skipping PMDA install and PMCD re-configuration
11 dbpmda> open pipe pmdas/broken/broken_pmda_2_0 -D47104 -l logfile
12 Start broken_pmda_2_0 PMDA: ./pmdas/broken/broken_pmda_2_0 -D47104 -l logfile
13 dbpmda> status
15 Namespace:              (default)
16 PMDA:                   ./pmdas/broken/broken_pmda_2_0
17 Connection:             daemon
18 PMDA PMAPI Version:     2
19 pmDebug:                0 (none)
20 Timer:                  off
21 Getdesc:                off
23 Dump Instance Profile state=INCLUDE, 0 profiles
25 dbpmda> # Test the valid metrics
26 dbpmda> fetch broken.valid.one broken.valid.two broken.valid.three
27 PMID(s): 249.0.0 249.0.1 249.0.7
28 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 3
29   249.0.0 (broken.valid.one): numval: 1 valfmt: 0 vlist[]:
30    value 1 REAL 0x1
31   249.0.1 (broken.valid.two): numval: 3 valfmt: 0 vlist[]:
32     inst [0 or ???] value 1 REAL 0x1
33     inst [1 or ???] value 2 REAL 0x2
34     inst [2 or ???] value 3 REAL 0x3
35   249.0.7 (broken.valid.three): numval: 3 valfmt: 0 vlist[]:
36     inst [50 or ???] value 44 REAL 0x2c
37     inst [10 or ???] value 45 REAL 0x2d
38     inst [9 or ???] value 46 REAL 0x2e
39 dbpmda> text broken.valid.one
40 PMID: 249.0.0
41 [calls to fetch callback]
42 The number of calls to the PMDA-supplied fetch callback function.
43 dbpmda> # Test for metric not defined in table but in the PMNS and fetch callback
44 dbpmda> fetch broken.bogus.one
45 PMID(s): 249.0.2
46 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
47   249.0.2 (broken.bogus.one): Unknown or illegal metric identifier
48 dbpmda> # Test for metric not defined in table and PMNS but in the fetch callback
49 dbpmda> fetch broken.bogus.two
50                              ^ at or near here
51 Error: Unknown metric name
52 Type 'help' for a list of commands.
53 dbpmda> # Test for metric defined in table and fetch, but not the pmns
54 dbpmda> fetch broken.no.pmns
55                            ^ at or near here
56 Error: Unknown metric name
57 Type 'help' for a list of commands.
58 dbpmda> # Test for multiple fetch with an invalid metric between valid metrics
59 dbpmda> fetch broken.valid.one broken.bogus.one broken.valid.two
60 PMID(s): 249.0.0 249.0.2 249.0.1
61 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 3
62   249.0.0 (broken.valid.one): numval: 1 valfmt: 0 vlist[]:
63    value 2 REAL 0x2
64   249.0.2 (broken.bogus.one): Unknown or illegal metric identifier
65   249.0.1 (broken.valid.two): numval: 3 valfmt: 0 vlist[]:
66     inst [0 or ???] value 1 REAL 0x1
67     inst [1 or ???] value 2 REAL 0x2
68     inst [2 or ???] value 3 REAL 0x3
69 dbpmda> # Test for illegal data types
70 dbpmda> fetch broken.bad.type
71 PMID(s): 249.0.5
72 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
73   249.0.5 (broken.bad.type): Unknown or illegal metric type
74 dbpmda> # Test for metric with no fetch support
75 dbpmda> fetch broken.no.fetch
76 PMID(s): 249.0.9
77 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
78   249.0.9 (broken.no.fetch): Unknown or illegal metric identifier
79 dbpmda> # Test for metric with no help
80 dbpmda> fetch broken.no.help broken.no.shorthelp broken.no.longhelp
81 PMID(s): 249.0.10 249.0.11 249.0.12
82 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 3
83   249.0.10 (broken.no.help): numval: 1 valfmt: 0 vlist[]:
84    value 55 REAL 0x37
85   249.0.11 (broken.no.shorthelp): numval: 1 valfmt: 0 vlist[]:
86    value 66 REAL 0x42
87   249.0.12 (broken.no.longhelp): numval: 1 valfmt: 0 vlist[]:
88    value 77 REAL 0x4d
89 dbpmda> text broken.no.help
90 PMID: 249.0.10
91 Error PDU: Oneline or help text is not available
92 Error PDU: Oneline or help text is not available
93 dbpmda> text broken.no.shorthelp
94 PMID: 249.0.11
95 [<no one line help text specified>]
96 There is no short help for the metric
97 dbpmda> text broken.no.longhelp
98 PMID: 249.0.12
99 [no long help]
100 <no help text specified>
101 dbpmda> # Test for handling of bad semantics
102 dbpmda> fetch broken.bad.semantics
103 PMID(s): 249.1.1
104 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
105   249.1.1 (broken.bad.semantics): numval: 1 valfmt: 0 vlist[]:
106    value 333 REAL 0x14d
107 dbpmda> # Test for handling of bad scale
108 dbpmda> fetch broken.bad.scale
109 PMID(s): 249.1.2
110 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
111   249.1.2 (broken.bad.scale): numval: 1 valfmt: 0 vlist[]:
112    value 12345 REAL 0x3039
113 dbpmda> # Test for handling of empty instance lists
114 dbpmda> fetch broken.no.instances
115 PMID(s): 249.0.14
116 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
117   249.0.14 (broken.no.instances): No values returned!
118 dbpmda> # Test for handling of missing instances in fetch
119 dbpmda> fetch broken.no.instfetch
120 PMID(s): 249.0.13
121 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
122   249.0.13 (broken.no.instfetch): numval: 2 valfmt: 0 vlist[]:
123     inst [50 or ???] value 44 REAL 0x2c
124     inst [9 or ???] value 46 REAL 0x2e
125 dbpmda> close
126 dbpmda> quit
127 Log started
129 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_0: Metric 0.0.1(1) matched to indom 249.0(0)
130 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_0: Metric 0.0.7(3) matched to indom 249.7(1)
131 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_0: Metric 0.0.13(8) matched to indom 249.7(1)
132 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_0: Metric 0.0.14(12) matched to indom 249.8(2)
133 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_0: help file pmdas/broken/broken_v2 opened
134 broken pmda Warning: pmdaDirect: PMDA broken_pmda_2_0: Direct mapping for metrics disabled @ metrics[2] 249.0.5
135 broken pmda Info: name        = broken_pmda_2_0
136 broken pmda Info: domain      = 249
137 broken pmda Info: ext flags  = 4
138 broken pmda Info: num metrics = 13
139 broken pmda Info: num indom   = 3
140 broken pmda Debug: pmdaConnect: PMDA broken_pmda_2_0: opened pipe to pmcd, infd = 0, outfd = 1
141 broken pmda Debug: Received PDU_PROFILE
142 broken pmda Debug: Received PDU_FETCH
143 broken pmda Debug: Received PDU_TEXT_REQ
144 broken pmda Debug: Received PDU_TEXT_REQ
145 broken pmda Debug: Received PDU_FETCH
146 broken pmda Error: pmdaDesc: Requested metric 249.0.2 is not defined
147 broken pmda Error: pmdaFetch: Requested metric 249.0.2 is not defined
148 broken pmda Debug: Received PDU_FETCH
149 broken pmda Error: pmdaDesc: Requested metric 249.0.2 is not defined
150 broken pmda Error: pmdaFetch: Requested metric 249.0.2 is not defined
151 broken pmda Debug: Received PDU_FETCH
152 broken pmda Error: pmdaFetch: Descriptor type (Not Supported) for metric 249.0.5 is bad
153 broken pmda Debug: Received PDU_FETCH
154 broken pmda Error: pmdaFetch: PMID 249.0.9 not handled by fetch callback
155 broken pmda Debug: Received PDU_FETCH
156 broken pmda Debug: Received PDU_TEXT_REQ
157 broken pmda Debug: Received PDU_TEXT_REQ
158 broken pmda Debug: Received PDU_TEXT_REQ
159 broken pmda Debug: Received PDU_TEXT_REQ
160 broken pmda Debug: Received PDU_TEXT_REQ
161 broken pmda Debug: Received PDU_TEXT_REQ
162 broken pmda Debug: Received PDU_FETCH
163 broken pmda Debug: Received PDU_FETCH
164 broken pmda Debug: Received PDU_FETCH
165 broken pmda Debug: Received PDU_FETCH
166 broken pmda Error: pmdaFetch: Instance 10 of PMID 249.0.13 not handled by fetch callback
168 Log finished
169 dbpmda> open pipe pmdas/broken/broken_pmda_2_1 -D47104 -l logfile
170 Start broken_pmda_2_1 PMDA: ./pmdas/broken/broken_pmda_2_1 -D47104 -l logfile
171 dbpmda> status
173 Namespace:              (default)
174 PMDA:                   ./pmdas/broken/broken_pmda_2_1
175 Connection:             daemon
176 PMDA PMAPI Version:     2
177 pmDebug:                0 (none)
178 Timer:                  off
179 Getdesc:                off
181 Dump Instance Profile state=INCLUDE, 0 profiles
183 dbpmda> wait 5
184 dbpmda> fetch broken.bad.indom
185 PMID(s): 249.1.4
186 Error: __pmSendProfile() failed: [PMDA died]
187 dbpmda> close
188 dbpmda> quit
189 Log started
191 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_1: Metric 0.0.1(1) matched to indom 249.0(0)
192 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_1: Metric 0.0.7(3) matched to indom 249.7(1)
193 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_1: Metric 0.0.13(8) matched to indom 249.7(1)
194 broken pmda Critical: pmdaInit: PMDA broken_pmda_2_1: Undefined instance domain serial (17) specified in metric 0.1.4(12)
195 broken pmda Debug: pmdaConnect: PMDA broken_pmda_2_1: opened pipe to pmcd, infd = 0, outfd = 1
196 broken pmda Error: PMDA Initialisation Failed
198 Log finished
199 dbpmda> open pipe pmdas/broken/broken_pmda_2_2 -D47104 -l logfile
200 Start broken_pmda_2_2 PMDA: ./pmdas/broken/broken_pmda_2_2 -D47104 -l logfile
201 dbpmda> status
203 Namespace:              (default)
204 PMDA:                   ./pmdas/broken/broken_pmda_2_2
205 Connection:             daemon
206 PMDA PMAPI Version:     2
207 pmDebug:                0 (none)
208 Timer:                  off
209 Getdesc:                off
211 Dump Instance Profile state=INCLUDE, 0 profiles
213 dbpmda> close
214 dbpmda> quit
215 Log started
217 broken pmda Critical: pmdaInit: PMDA broken_pmda_2_2: Undefined instance domain serial (0) specified in metric 0.0.1(1)
218 broken pmda Debug: pmdaConnect: PMDA broken_pmda_2_2: opened pipe to pmcd, infd = 0, outfd = 1
219 broken pmda Error: PMDA Initialisation Failed
221 Log finished
222 dbpmda> open pipe pmdas/broken/broken_pmda_2_3 -D47104 -l logfile
223 Start broken_pmda_2_3 PMDA: ./pmdas/broken/broken_pmda_2_3 -D47104 -l logfile
224 dbpmda> status
226 Namespace:              (default)
227 PMDA:                   ./pmdas/broken/broken_pmda_2_3
228 Connection:             daemon
229 PMDA PMAPI Version:     2
230 pmDebug:                0 (none)
231 Timer:                  off
232 Getdesc:                off
234 Dump Instance Profile state=INCLUDE, 0 profiles
236 dbpmda> close
237 dbpmda> quit
238 Log started
240 broken pmda Critical: pmdaInit: PMDA broken_pmda_2_3: nmetrics (-1) should be non-negative
241 broken pmda Debug: pmdaConnect: PMDA broken_pmda_2_3: opened pipe to pmcd, infd = 0, outfd = 1
242 broken pmda Error: PMDA Initialisation Failed
244 Log finished
245 dbpmda> open pipe pmdas/broken/broken_pmda_2_4 -D47104 -l logfile
246 Start broken_pmda_2_4 PMDA: ./pmdas/broken/broken_pmda_2_4 -D47104 -l logfile
247 dbpmda> status
249 Namespace:              (default)
250 PMDA:                   ./pmdas/broken/broken_pmda_2_4
251 Connection:             daemon
252 PMDA PMAPI Version:     2
253 pmDebug:                0 (none)
254 Timer:                  off
255 Getdesc:                off
257 Dump Instance Profile state=INCLUDE, 0 profiles
259 dbpmda> text broken.valid.one
260 PMID: 249.0.0
261 [calls to fetch callback]
262 The number of calls to the PMDA-supplied fetch callback function.
263 dbpmda> close
264 dbpmda> quit
265 Log started
267 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_4: Metric 0.0.1(1) matched to indom 249.0(0)
268 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_4: Metric 0.0.7(3) matched to indom 249.7(1)
269 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_4: Metric 0.0.13(8) matched to indom 249.7(1)
270 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_4: Metric 0.0.14(12) matched to indom 249.8(2)
271 broken pmda Debug: pmdaInit: PMDA broken_pmda_2_4: help file pmdas/broken/broken_v2 opened
272 broken pmda Warning: pmdaDirect: PMDA broken_pmda_2_4: Direct mapping for metrics disabled @ metrics[2] 249.0.5
273 broken pmda Info: name        = broken_pmda_2_4
274 broken pmda Info: domain      = 249
275 broken pmda Info: ext flags  = 4
276 broken pmda Info: num metrics = 13
277 broken pmda Info: num indom   = 3
278 broken pmda Debug: pmdaConnect: PMDA broken_pmda_2_4: opened pipe to pmcd, infd = 0, outfd = 1
279 broken pmda Debug: Received PDU_TEXT_REQ
280 broken pmda Debug: Received PDU_TEXT_REQ
282 Log finished
283 dbpmda> open pipe pmdas/broken/broken_pmda_2_5 -D47104 -l logfile
284 [DATE] broken_pmda_2_5(PID) Critical: __pmdaSetup: broken_pmda_2_5 PMDA: interface version 77 not supported (domain=249)
285 pmdaDaemon() failed!
286 pmdaversion: expecting PDU_CREDS, got PDU type 0
287 Warning: no version exchange with PMDA ./pmdas/broken/broken_pmda_2_5
288 Start broken_pmda_2_5 PMDA: ./pmdas/broken/broken_pmda_2_5 -D47104 -l logfile
289 dbpmda> status
291 Namespace:              (default)
292 PMDA:                   ./pmdas/broken/broken_pmda_2_5
293 Connection:             daemon
294 PMDA PMAPI Version:     unknown!
295 pmDebug:                0 (none)
296 Timer:                  off
297 Getdesc:                off
299 Dump Instance Profile state=INCLUDE, 0 profiles
301 dbpmda> text broken.valid.one
302 PMID: 249.0.0
303 Error: __pmSendTextReq() failed: [PMDA died]
304 Error: __pmSendTextReq() failed: [PMDA died]
305 dbpmda> close
306 dbpmda> quit
307 Culling the Performance Metrics Name Space ...
308 broken ... done
309 Skipping PMDA removal and PMCD re-configuration