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
16 PMDA: ./pmdas/broken/broken_pmda_2_0
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[]:
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
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
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
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
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[]:
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
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
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[]:
85 249.0.11 (broken.no.shorthelp): numval: 1 valfmt: 0 vlist[]:
87 249.0.12 (broken.no.longhelp): numval: 1 valfmt: 0 vlist[]:
89 dbpmda> text broken.no.help
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
95 [<no one line help text specified>]
96 There is no short help for the metric
97 dbpmda> text broken.no.longhelp
100 <no help text specified>
101 dbpmda> # Test for handling of bad semantics
102 dbpmda> fetch broken.bad.semantics
104 pmResult dump from ADDR timestamp: EPOCH in LOCALTIME numpmid: 1
105 249.1.1 (broken.bad.semantics): numval: 1 valfmt: 0 vlist[]:
107 dbpmda> # Test for handling of bad scale
108 dbpmda> fetch broken.bad.scale
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
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
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
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
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
174 PMDA: ./pmdas/broken/broken_pmda_2_1
176 PMDA PMAPI Version: 2
181 Dump Instance Profile state=INCLUDE, 0 profiles
184 dbpmda> fetch broken.bad.indom
186 Error: __pmSendProfile() failed: [PMDA died]
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
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
204 PMDA: ./pmdas/broken/broken_pmda_2_2
206 PMDA PMAPI Version: 2
211 Dump Instance Profile state=INCLUDE, 0 profiles
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
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
227 PMDA: ./pmdas/broken/broken_pmda_2_3
229 PMDA PMAPI Version: 2
234 Dump Instance Profile state=INCLUDE, 0 profiles
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
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
250 PMDA: ./pmdas/broken/broken_pmda_2_4
252 PMDA PMAPI Version: 2
257 Dump Instance Profile state=INCLUDE, 0 profiles
259 dbpmda> text broken.valid.one
261 [calls to fetch callback]
262 The number of calls to the PMDA-supplied fetch callback function.
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
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)
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
292 PMDA: ./pmdas/broken/broken_pmda_2_5
294 PMDA PMAPI Version: unknown!
299 Dump Instance Profile state=INCLUDE, 0 profiles
301 dbpmda> text broken.valid.one
303 Error: __pmSendTextReq() failed: [PMDA died]
304 Error: __pmSendTextReq() failed: [PMDA died]
307 Culling the Performance Metrics Name Space ...
309 Skipping PMDA removal and PMCD re-configuration