This file is indexed.

/var/lib/pcp/testsuite/245.out.1 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
QA output created by 245
+++ Errors +++

=== no args ===
Usage: pmnsdel [-d] [-n pmnsfile ] metricpath [...]

=== no such PMNS file ===
Error Parsing ASCII PMNS: Cannot open "no-such-input"
pmnsdel: Error: pmLoadNameSpace(no-such-input): No such file or directory

=== cannot open existing output file for writing ===
pmnsdel: Error: cannot open PMNS file "mypmns" for writing: Permission denied

=== cannot create output file ===
pmnscomp: cannot create "mypmns.bin": Permission denied

=== syntax error in input ===
[mypmns:2] Error Parsing ASCII PMNS: Expected NAME, PMID or }
    bogus - this is not correct
          ^
pmnsdel: Error: pmLoadNameSpace(mypmns): Problems parsing PMNS definitions

+++ Common starting PMNS for all remaing tests ...
one PMID: 1.1.1
sub0.five PMID: 5.5.5
sub0.four PMID: 4.4.4
sub0.sub2.seven PMID: 7.7.7
sub0.sub2.sub4.sub6.nine PMID: 9.9.9
sub1.eight PMID: 8.8.8
sub1.six PMID: 6.6.6
three PMID: 3.3.3
two PMID: 2.2.2

=== assorted undefined metricpaths ===
pmnsdel: Error: metricpath "leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.sub6.no_leaf" not defined in the PMNS
pmnsdel: Error: metricpath "sub0.sub2.sub4.sub6.no_nonleaf.no_leaf" not defined in the PMNS

+++ Operations +++

=== single metric ===
one:
Compiled PMNS contains
	    7 hash table entries
	    8 leaf nodes
	    6 non-leaf nodes
	   71 bytes of symbol table
diffs ...
1d0
< one PMID: 1.1.1
sub0.sub2.sub4.sub6.nine:
Compiled PMNS contains
	    7 hash table entries
	    8 leaf nodes
	    4 non-leaf nodes
	   60 bytes of symbol table
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
sub0.sub2.seven:
Compiled PMNS contains
	    7 hash table entries
	    8 leaf nodes
	    6 non-leaf nodes
	   69 bytes of symbol table
diffs ...
4d3
< sub0.sub2.seven PMID: 7.7.7

=== multiple metrics ===
delete: one sub0.sub2.sub4.sub6.nine sub0.sub2.seven
Compiled PMNS contains
	    1 hash table entries
	    6 leaf nodes
	    3 non-leaf nodes
	   45 bytes of symbol table
diffs ...
1d0
< one PMID: 1.1.1
4,5d2
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9

=== non-leaves ===
delete: sub0
Compiled PMNS contains
	    1 hash table entries
	    5 leaf nodes
	    2 non-leaf nodes
	   34 bytes of symbol table
diffs ...
2,5d1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub1
Compiled PMNS contains
	    7 hash table entries
	    7 leaf nodes
	    5 non-leaf nodes
	   60 bytes of symbol table
diffs ...
6,7d5
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6
delete: sub0.sub2
Compiled PMNS contains
	    7 hash table entries
	    7 leaf nodes
	    3 non-leaf nodes
	   49 bytes of symbol table
diffs ...
4,5d3
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2.sub4
Compiled PMNS contains
	    7 hash table entries
	    8 leaf nodes
	    4 non-leaf nodes
	   60 bytes of symbol table
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2.sub4.sub6
Compiled PMNS contains
	    7 hash table entries
	    8 leaf nodes
	    4 non-leaf nodes
	   60 bytes of symbol table
diffs ...
5d4
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub0.sub2
Compiled PMNS contains
	    7 hash table entries
	    7 leaf nodes
	    3 non-leaf nodes
	   49 bytes of symbol table
diffs ...
4,5d3
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
delete: sub1 sub0.sub2.sub4.sub6 sub0 
Compiled PMNS contains
	    1 hash table entries
	    3 leaf nodes
	    1 non-leaf nodes
	   19 bytes of symbol table
diffs ...
2,7d1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6

=== all leaves ===
Compiled PMNS contains
	    7 hash table entries
	    9 leaf nodes
	    6 non-leaf nodes
	   75 bytes of symbol table
delete: one sub0.four sub0.sub2.seven sub0.sub2.sub4.sub6.nine sub0.five two three sub1.six sub1.eight 
Compiled PMNS contains
	    1 hash table entries
	    0 leaf nodes
	    1 non-leaf nodes
	    5 bytes of symbol table
diffs ...
1,9c1
< one PMID: 1.1.1
< sub0.five PMID: 5.5.5
< sub0.four PMID: 4.4.4
< sub0.sub2.seven PMID: 7.7.7
< sub0.sub2.sub4.sub6.nine PMID: 9.9.9
< sub1.eight PMID: 8.8.8
< sub1.six PMID: 6.6.6
< three PMID: 3.3.3
< two PMID: 2.2.2
---
> PMNS appears to be empty!