This file is indexed.

/var/lib/pcp/testsuite/662.out.4 is in pcp-testsuite 4.0.1-1.

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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
QA output created by 662

=== IPv4 pmwebd testing via python ===
Received PM_CONTEXT_LOCAL ####
Received PM_CONTEXT_HOST ####
bad archive /dev/null response code 400
bad archive ../etc/passwd response code 400
bad archive /etc/passwd response code 400
bad archive ../../etc/shadow response code 400
command NOSUCHAPI response code 400
context NOSUCHCONTEXT response code 400
context 0 response code 400
non-pmwebapi response code 400
context #### local metric .* enumeration with pminfo ####
context #### local metric .* enumeration with pmwebinfo ####
context #### local metric .* enumeration match count PASS
context #### host metric .* enumeration with pminfo ####
context #### host metric .* enumeration with pmwebinfo ####
context #### host metric .* enumeration match count PASS
context #### local-kernel metric kernel.* enumeration with pminfo ####
context #### local-kernel metric kernel.* enumeration with pmwebinfo ####
context #### local-kernel metric kernel.* enumeration match count PASS
context #### host-kernel metric kernel.* enumeration with pminfo ####
context #### host-kernel metric kernel.* enumeration with pmwebinfo ####
context #### host-kernel metric kernel.* enumeration match count PASS
context #### response code 400
context #### fetch names= response code 400
context #### fetch names=no.such.metric response code 400
context #### fetch names=no.such.metric1,pmcd.client.whoami,no.such.metric2 response code 200
timestamps fields:2 len(values[]):0
context #### fetch names=no.such.metric3,pmcd.client.whoami,no.such.metric4 response code 200
timestamps fields:2 len(values[]):1
  metric:pmcd.client.whoami
  with instances
context #### fetch names=sample.event.records response code 200
timestamps fields:2 len(values[]):1
  metric:sample.event.records
  with instances
context #### fetch pmids=121634826,0x740000b response code 200
timestamps fields:2 len(values[]):2
  metric:sample.long.one
  with instances
  metric:sample.long.ten
  with instances
context #### fetch names=keepalive response code 400
context #### fetch names=sample.bogus_bin,sample.sysinfo,sample.byte_rate,sample.ulong.bin response code 200
timestamps fields:2 len(values[]):4
  metric:sample.bogus_bin
  with instances
  metric:sample.byte_rate
  with instances
  metric:sample.sysinfo
  with instances
  metric:sample.ulong.bin
  with instances
context #### fetch names=sample.longlong.bin,,,sample.ulonglong.million,sample.float.hundred response code 200
timestamps fields:2 len(values[]):3
  metric:sample.float.hundred
  with instances
  metric:sample.longlong.bin
  with instances
  metric:sample.ulonglong.million
  with instances
context #### fetch names=sample.double.bin_ctr,sample.aggregate.null,sample.hordes.one response code 200
timestamps fields:2 len(values[]):3
  metric:sample.aggregate.null
  with instances
  metric:sample.double.bin_ctr
  with instances
  metric:sample.hordes.one
  with instances
context #### fetch names=sample.dodgey.value response code 200
timestamps fields:2 len(values[]):1
  metric:sample.dodgey.value
  with instances
context #### fetch pmids=blargh response code 400
context #### metadata prefix=no.such.metric response code 200
len(metrics[]):0
context #### metadata prefix=no.such.metric1,pmcd.client.whoami,no.such.metric2 response code 200
len(metrics[]):0
context #### metadata prefix=no.such.metric3,pmcd.client.whoami,no.such.metric4 response code 200
len(metrics[]):0
context #### metadata prefix=sample response code 200
len(metrics[]):174
  metric:sample.aggregate.hullo metadata:7
  metric:sample.aggregate.null metadata:7
  metric:sample.aggregate.write_me metadata:7
  metric:sample.bad.fetch.again metadata:7
  metric:sample.bad.nosupport metadata:7
  metric:sample.bad.novalues metadata:7
  metric:sample.bigid metadata:7
  metric:sample.bin metadata:8
  metric:sample.bogus_bin metadata:8
  metric:sample.bucket metadata:8
  metric:sample.byte_ctr metadata:7
  metric:sample.byte_rate metadata:7
  metric:sample.byte_rate_perhour metadata:7
  metric:sample.colour metadata:8
  metric:sample.const_rate.gradient metadata:7
  metric:sample.const_rate.value metadata:7
  metric:sample.control metadata:7
  metric:sample.daemon_pid metadata:7
  metric:sample.darkness metadata:8
  metric:sample.datasize metadata:7
  metric:sample.dodgey.control metadata:7
  metric:sample.dodgey.value metadata:8
  metric:sample.double.bin metadata:8
  metric:sample.double.bin_ctr metadata:8
  metric:sample.double.hundred metadata:7
  metric:sample.double.million metadata:7
  metric:sample.double.one metadata:7
  metric:sample.double.ten metadata:7
  metric:sample.double.write_me metadata:7
  metric:sample.drift metadata:7
  metric:sample.dupnames.daemon_pid metadata:7
  metric:sample.dupnames.pid_daemon metadata:7
  metric:sample.dupnames.three.bin metadata:8
  metric:sample.dupnames.three.write_me metadata:7
  metric:sample.dupnames.two.bin metadata:8
  metric:sample.dupnames.two.double.ten metadata:7
  metric:sample.dupnames.two.float.ten metadata:7
  metric:sample.dupnames.two.lights metadata:7
  metric:sample.dupnames.two.seconds metadata:7
  metric:sample.dupnames.two.write_me metadata:7
  metric:sample.dynamic.counter metadata:8
  metric:sample.dynamic.discrete metadata:8
  metric:sample.dynamic.instant metadata:8
  metric:sample.dynamic.meta.metric metadata:7
  metric:sample.dynamic.meta.pmdesc.indom metadata:7
  metric:sample.dynamic.meta.pmdesc.sem metadata:7
  metric:sample.dynamic.meta.pmdesc.type metadata:7
  metric:sample.dynamic.meta.pmdesc.units metadata:7
  metric:sample.error_check metadata:7
  metric:sample.error_code metadata:7
  metric:sample.event.highres_records metadata:8
  metric:sample.event.no_indom_records metadata:7
  metric:sample.event.param_32 metadata:7
  metric:sample.event.param_64 metadata:7
  metric:sample.event.param_aggregate metadata:7
  metric:sample.event.param_double metadata:7
  metric:sample.event.param_float metadata:7
  metric:sample.event.param_string metadata:7
  metric:sample.event.param_u32 metadata:7
  metric:sample.event.param_u64 metadata:7
  metric:sample.event.records metadata:8
  metric:sample.event.reset metadata:7
  metric:sample.event.reset_highres metadata:7
  metric:sample.event.type metadata:7
  metric:sample.float.bin metadata:8
  metric:sample.float.bin_ctr metadata:8
  metric:sample.float.hundred metadata:7
  metric:sample.float.million metadata:7
  metric:sample.float.one metadata:7
  metric:sample.float.ten metadata:7
  metric:sample.float.write_me metadata:7
  metric:sample.hordes.one metadata:8
  metric:sample.hordes.two metadata:8
  metric:sample.kbyte_ctr metadata:7
  metric:sample.kbyte_rate metadata:7
  metric:sample.lights metadata:7
  metric:sample.load metadata:7
  metric:sample.long.bin metadata:8
  metric:sample.long.bin_ctr metadata:8
  metric:sample.long.hundred metadata:7
  metric:sample.long.million metadata:7
  metric:sample.long.one metadata:7
  metric:sample.long.ten metadata:7
  metric:sample.long.write_me metadata:7
  metric:sample.longlong.bin metadata:8
  metric:sample.longlong.bin_ctr metadata:8
  metric:sample.longlong.hundred metadata:7
  metric:sample.longlong.million metadata:7
  metric:sample.longlong.one metadata:7
  metric:sample.longlong.ten metadata:7
  metric:sample.longlong.write_me metadata:7
  metric:sample.magnitude metadata:7
  metric:sample.many.count metadata:7
  metric:sample.many.int metadata:8
  metric:sample.milliseconds metadata:7
  metric:sample.mirage metadata:8
  metric:sample.mirage_longlong metadata:8
  metric:sample.needprofile metadata:8
  metric:sample.negative.ctr.m_32 metadata:7
  metric:sample.negative.ctr.m_64 metadata:7
  metric:sample.negative.ctr.m_double metadata:7
  metric:sample.negative.ctr.m_float metadata:7
  metric:sample.negative.discrete.m_32 metadata:7
  metric:sample.negative.discrete.m_64 metadata:7
  metric:sample.negative.discrete.m_double metadata:7
  metric:sample.negative.discrete.m_float metadata:7
  metric:sample.negative.instant.m_32 metadata:7
  metric:sample.negative.instant.m_64 metadata:7
  metric:sample.negative.instant.m_double metadata:7
  metric:sample.negative.instant.m_float metadata:7
  metric:sample.noinst metadata:7
  metric:sample.not_ready metadata:7
  metric:sample.part_bin metadata:8
  metric:sample.pdu metadata:7
  metric:sample.percontext.control.active metadata:7
  metric:sample.percontext.control.ctx metadata:7
  metric:sample.percontext.control.end metadata:7
  metric:sample.percontext.control.start metadata:7
  metric:sample.percontext.pdu metadata:7
  metric:sample.percontext.recv_pdu metadata:7
  metric:sample.percontext.xmit_pdu metadata:7
  metric:sample.rapid metadata:7
  metric:sample.recv_pdu metadata:7
  metric:sample.scale_step.bytes_down metadata:7
  metric:sample.scale_step.bytes_up metadata:7
  metric:sample.scale_step.count_down metadata:7
  metric:sample.scale_step.count_up metadata:7
  metric:sample.scale_step.none_up metadata:7
  metric:sample.scale_step.time_up_nanosecs metadata:7
  metric:sample.scale_step.time_up_secs metadata:7
  metric:sample.scramble.bin metadata:8
  metric:sample.scramble.version metadata:7
  metric:sample.seconds metadata:7
  metric:sample.secret.bar metadata:7
  metric:sample.secret.foo.bar.four metadata:7
  metric:sample.secret.foo.bar.grunt.five metadata:7
  metric:sample.secret.foo.bar.grunt.snort.huff.puff.seven metadata:7
  metric:sample.secret.foo.bar.grunt.snort.six metadata:7
  metric:sample.secret.foo.bar.max.redirect metadata:8
  metric:sample.secret.foo.bar.three metadata:7
  metric:sample.secret.foo.one metadata:7
  metric:sample.secret.foo.two metadata:7
  metric:sample.step metadata:7
  metric:sample.step_counter metadata:7
  metric:sample.string.bin metadata:8
  metric:sample.string.hullo metadata:7
  metric:sample.string.null metadata:7
  metric:sample.string.write_me metadata:7
  metric:sample.sysinfo metadata:7
  metric:sample.ulong.bin metadata:8
  metric:sample.ulong.bin_ctr metadata:8
  metric:sample.ulong.count.base metadata:7
  metric:sample.ulong.count.deca metadata:7
  metric:sample.ulong.count.hecto metadata:7
  metric:sample.ulong.count.kilo metadata:7
  metric:sample.ulong.count.mega metadata:7
  metric:sample.ulong.hundred metadata:7
  metric:sample.ulong.million metadata:7
  metric:sample.ulong.one metadata:7
  metric:sample.ulong.ten metadata:7
  metric:sample.ulong.write_me metadata:7
  metric:sample.ulonglong.bin metadata:8
  metric:sample.ulonglong.bin_ctr metadata:8
  metric:sample.ulonglong.hundred metadata:7
  metric:sample.ulonglong.million metadata:7
  metric:sample.ulonglong.one metadata:7
  metric:sample.ulonglong.ten metadata:7
  metric:sample.ulonglong.write_me metadata:7
  metric:sample.wrap.long metadata:7
  metric:sample.wrap.longlong metadata:7
  metric:sample.wrap.ulong metadata:7
  metric:sample.wrap.ulonglong metadata:7
  metric:sample.write_me metadata:7
  metric:sample.xmit_pdu metadata:7
context #### metadata prefix=keepalive response code 200
len(metrics[]):0
context #### indom indom= response code 400
context #### indom indom=0x7400009 response code 200
indom:121634825
  with instances
context #### indom name=sample.many.int&instance=1,4 response code 200
indom:121634824
  with instances
context #### indom name=sample.many.int&instance=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 response code 200
indom:121634824
  with instances
context #### indom indom=0x7400008&iname=i-2,,,i-3 response code 200
indom:121634824
  with instances
context #### indom name=pmcd.client.whoami response code 200
indom:8388614
  with instances
context #### indom names=keepalive response code 400
context #### store name= response code 400
context #### store name=sample.write_me response code 400
context #### store name=sample.write_me&value=42 response code 200
store: success
context #### store name=sample.write_me&value=bad response code 400
context #### store name=sample.long.write_me&value=42 response code 200
store: success
  sample.long.write_me[42]
context #### store name=sample.long.write_me&value=bad response code 400
context #### store name=sample.ulong.write_me&value=42 response code 200
store: success
  sample.ulong.write_me[42]
context #### store name=sample.ulong.write_me&value=bad response code 400
context #### store name=sample.float.write_me&value=42.0 response code 200
store: success
  sample.float.write_me[42]
context #### store name=sample.string.write_me&value=good response code 200
store: success
  sample.string.write_me[good]
context #### store name=sample.double.write_me&value=bad response code 400
context #### store name=sample.aggregate.write_me&value=bad response code 400
context #### store name=sample.colour&value=10&instance=0 response code 200
store: success
  sample.colour[111]
context #### store name=sample.colour&value=20&instance=0,1 response code 200
store: success
  sample.colour[121]
  sample.colour[222]
context #### store name=sample.colour&value=30&iname=blue response code 200
store: success
  sample.colour[331]
context #### store name=sample.colour&value=40&iname=red,blue response code 200
store: success
  sample.colour[141]
  sample.colour[342]
context #### metrics target=sample.dupnames.three.bin response code 200
metrics: success
#### PCP sample.dupnames.three.bin instant none
#### HELP sample:dupnames:three:bin Several constant instances
#### TYPE sample:dupnames:three:bin gauge
sample:dupnames:three:bin{instance="bin-100"} 100
sample:dupnames:three:bin{instance="bin-200"} 200
sample:dupnames:three:bin{instance="bin-300"} 300
sample:dupnames:three:bin{instance="bin-400"} 400
sample:dupnames:three:bin{instance="bin-500"} 500
sample:dupnames:three:bin{instance="bin-600"} 600
sample:dupnames:three:bin{instance="bin-700"} 700
sample:dupnames:three:bin{instance="bin-800"} 800
sample:dupnames:three:bin{instance="bin-900"} 900


#### number of metrics attempted: 1
#### number of metrics completed: 1

context #### metrics target=sample.float.bin response code 200
metrics: success
#### PCP sample.float.bin instant none
#### HELP sample:float:bin like sample.bin but type FLOAT
#### TYPE sample:float:bin gauge
sample:float:bin{instance="bin-100"} 100
sample:float:bin{instance="bin-200"} 200
sample:float:bin{instance="bin-300"} 300
sample:float:bin{instance="bin-400"} 400
sample:float:bin{instance="bin-500"} 500
sample:float:bin{instance="bin-600"} 600
sample:float:bin{instance="bin-700"} 700
sample:float:bin{instance="bin-800"} 800
sample:float:bin{instance="bin-900"} 900


#### number of metrics attempted: 1
#### number of metrics completed: 1

context #### metrics target=sample.double.one response code 200
metrics: success
#### PCP sample.double.one instant none
#### HELP sample:double:one 1 as a 64-bit floating point value
#### TYPE sample:double:one gauge
sample:double:one 1


#### number of metrics attempted: 1
#### number of metrics completed: 1

context #### metrics target=sample.long.bin_ctr response code 200
metrics: success
#### PCP sample.long.bin_ctr counter Kbyte
#### HELP sample:long:bin_ctr_bytes like sample.bin but type 32, SEM_COUNTER and SPACE_KBYTE
#### TYPE sample:long:bin_ctr_bytes_total counter
sample:long:bin_ctr_bytes_total{instance="bin-100"} 102400
sample:long:bin_ctr_bytes_total{instance="bin-200"} 204800
sample:long:bin_ctr_bytes_total{instance="bin-300"} 307200
sample:long:bin_ctr_bytes_total{instance="bin-400"} 409600
sample:long:bin_ctr_bytes_total{instance="bin-500"} 512000
sample:long:bin_ctr_bytes_total{instance="bin-600"} 614400
sample:long:bin_ctr_bytes_total{instance="bin-700"} 716800
sample:long:bin_ctr_bytes_total{instance="bin-800"} 819200
sample:long:bin_ctr_bytes_total{instance="bin-900"} 921600


#### number of metrics attempted: 1
#### number of metrics completed: 1

context #### metrics target=sample.ulong.bin_ctr response code 200
metrics: success
#### PCP sample.ulong.bin_ctr counter Kbyte
#### HELP sample:ulong:bin_ctr_bytes like sample.bin but type U32, SEM_COUNTER and SPACE_KBYTE
#### TYPE sample:ulong:bin_ctr_bytes_total counter
sample:ulong:bin_ctr_bytes_total{instance="bin-100"} 102400
sample:ulong:bin_ctr_bytes_total{instance="bin-200"} 204800
sample:ulong:bin_ctr_bytes_total{instance="bin-300"} 307200
sample:ulong:bin_ctr_bytes_total{instance="bin-400"} 409600
sample:ulong:bin_ctr_bytes_total{instance="bin-500"} 512000
sample:ulong:bin_ctr_bytes_total{instance="bin-600"} 614400
sample:ulong:bin_ctr_bytes_total{instance="bin-700"} 716800
sample:ulong:bin_ctr_bytes_total{instance="bin-800"} 819200
sample:ulong:bin_ctr_bytes_total{instance="bin-900"} 921600


#### number of metrics attempted: 1
#### number of metrics completed: 1

sleeping briefly to expire contexts
context #### metadata names=kernel.all.nprocs response code 400
context #### indom names=kernel.all.nprocs response code 400