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