This file is indexed.

/usr/lib/python3/dist-packages/plainbox/impl/providers/exporters/data/checkbox.html is in python3-plainbox 0.25-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
{%- set ns = '2013.com.canonical.certification::' -%}
{%- set state = manager.default_device_context.state -%}
{%- set resource_map = state.resource_map -%}
{%- set job_state_map = state.job_state_map -%}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>System Testing Report</title>
    <style type="text/css">
      body {
        font-family: "Ubuntu Beta", "Bitstream Vera Sans", DejaVu Sans, Tahoma, sans-serif;
        color: #333;
        background: white;
        font-size: 12px;
        line-height: 14px;
        margin: 0px;
        padding: 0px;
      }
      #container {
        background: #f7f6f5;
        margin: 0px auto 20px;
        padding: 0px;
        width: 976px;
      }
      #container-inner {
        background-color: #dfdcd9;
      }
      #container-inner {
        border-radius: 0px 0px 5px 5px;
        box-shadow: #bbb 0px 0px 5px;
      }
      #title {
        padding: 28px 24px;
      }
      #content {
        padding: 32px 240px 32px 60px;
        margin: 0 16px 16px;
        width: 644px;
        background-color: #fff;
        border-radius: 4px;
      }
      h1, h2, h3, h4, h5 {
        padding: 0;
        margin: 0;
        font-weight: normal;
      }
      h1 {
        font-size: 36px;
        line-height: 40px;
        color: #dd4814;
      }
      h2 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 8px;
      }
      h3 {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 8px;
      }
      h4 {
        font-size: 12px;
        line-height: 14px;
      }
      h5 {
        color: #333;
        font-size: 10px;
        line-height: 14px;
      }
      h1 span.grey, h2 span.grey, h1 span, h2 span{
        color: #aea79f;
      }
      p {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 8px;
      }
      a {
        color: #333;
        text-decoration: none;
      }
      a:hover {
        color: #dd4814;
        text-decoration: underline;
      }
      div#content:hover a {
        color: #dd4814;
        text-decoration: none;
      }
      div#content:hover a:hover {
        color: #dd4814;
        text-decoration: underline;
      }
      ul {
        margin-bottom: 16px;
      }
      ul li {
        margin-bottom: 8px;
        line-height: 14px;
      }
      ul li:last-child {
        margin-bottom: 0px;
      }
      /* Clearing floats without extra markup
      Based on How To Clear Floats Without Structural Markup by PiE
      [http://www.positioniseverything.net/easyclearing.html] */
      .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
      }
      .clearfix {
        border-radius: 5px 5px 5px 5px;
        box-shadow: #bbb 0px 0px 5px;
        display: inline-block;
      }  /* for IE/Mac */
      th {
        text-align: left;
      }
      td {
        margin: 0;
        padding-bottom: 3px;
        border-bottom: 1px dotted #aea79f;
        font-size: 10px;
        line-height: 14px;
      }
      tr.historic-run td:first-child {
        padding-left: 2em;
      }
      .data {
        display:    none;
      }
    </style>
    <script type="text/javascript">
      function showHide(what) {
        var heading = document.getElementById(what);
        var contents = document.getElementById(what + "-contents");
        var headingcontents = heading.innerHTML;
        var newcontents;

        if (contents.style.display != "block") {
          newcontents = headingcontents.replace(/[^\x00-\x80]/g, "&#9660;");
          contents.style.display = "block";
        } else {
          newcontents = headingcontents.replace(/[^\x00-\x80]/g, "&#9654;");
          contents.style.display = "none";
        }

        heading.innerHTML = newcontents;
      }
    </script>
</head>
<body>
    <div id="container">
        <div id="container-inner">
            <div id="title">
                <h1>System Testing<span class="grey"> Report</span></h1>
            </div>
            <div id="content" class="clearfix">
                This report was created using {{ client_name }} {{ client_version }} on {{ timestamp }}
            </div>
            {%- if ns ~ "lsb" in resource_map and resource_map[ns ~ "lsb"][0] %}
            <div id="content" class="clearfix">
                <h2>Software Information</h2>
                <p>{{ resource_map[ns ~ "lsb"][0]["description"] }}</p>
            </div>
            {%- endif %}
            {%- set cert_blockers = manager.state.get_certification_status_map() %}
            {%- if cert_blockers %}
            <div id="content" class="clearfix">
            <h2 id="questions">Certification Status - Blockers</h2>
                <table style="width: 700px">
                <thead>
                    <tr>
                        <th>Test ID</th>
                        <th>Result</th>
                    </tr>
                </thead>
                <tbody>
                {% for job_id, job_state in cert_blockers|dictsort %}
                    <tr>
                        <td>{{ job_state.job.tr_summary() }}</td>
                        <td style='font-weight: bold; color: {{ job_state.result.outcome_meta().color_hex }}'>{{ job_state.result.outcome_meta().tr_label }}</td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            </div>
            {%- endif %}
            {%- set cert_non_blockers = manager.state.get_certification_status_map(certification_status_filter=('non-blocker',)) %}
            {%- if cert_non_blockers %}
            <div id="content" class="clearfix">
            <h2 id="questions">Certification Status - Non Blockers</h2>
                <table style="width: 700px">
                <thead>
                    <tr>
                        <th>Test ID</th>
                        <th>Result</th>
                    </tr>
                </thead>
                <tbody>
                {%- for job_id, job_state in cert_non_blockers|dictsort %}
                    <tr>
                        <td>{{ job_state.job.tr_summary() }}</td>
                        <td style='font-weight: bold; color: {{ job_state.result.outcome_meta().color_hex }}'>{{ job_state.result.outcome_meta().tr_label }}</td>
                    </tr>
                {%- endfor %}
                </tbody>
            </table>
            </div>
            {%- endif %}
            <div id="content" class="clearfix">
            <h2 id="questions">Tests Performed</h2>
                <table style="width: 824px">
                <thead>
                    <tr>
                        <th>Test ID</th>
                        <th>Result</th>
                        <th>Certification status</th>
                        <th>Run</th>
                        <th>Comment</th>
                    </tr>
                </thead>
                <tbody>
                {%- for job_id, job_state in job_state_map|dictsort if job_state.result.outcome != None and job_state.job.plugin not in ("resource", "local", "attachment") %}
                    <tr>
                        <td>{{ job_state.job.tr_summary() }}</td>
                        <td style='font-weight: bold; color: {{ job_state.result.outcome_meta().color_hex }}'>{{ job_state.result.outcome_meta().tr_label }}</td>
                        <td>{{ job_state.effective_certification_status }}</td>
                        <td>{{ job_state.result_history|length }}</td>
                        {%- if job_state.result.comments != None %}
                        <td>{{ job_state.result.comments }}</td>
                        {%- else %}
                        {%- if job_state.result.io_log_as_flat_text != "" %}
                        <td><div style="vertical-align: middle; width: 420px; overflow: auto;">
                                <pre>{{ job_state.result.io_log_as_flat_text }}</pre>
                            </div>
                        </td>
                        {%- else %}
                        <td>&nbsp;</td>
                        {%- endif %}
                        {%- endif %}
                    </tr>
                    {%- for result in job_state.result_history[:-1] %}
                    <tr class='historic-run'>
                        <td>{{ job_state.job.tr_summary() }}</td>
                        <td style='font-weight: bold; color: {{ result.outcome_meta().color_hex }}'>{{ result.outcome_meta().tr_label }}</td>
                        <td></td>
                        <td>{{ loop.revindex }}</td>
                        {%- if result.comments != None %}
                        <td>{{ result.comments }}</td>
                        {%- else %}
                        {%- if result.io_log_as_flat_text != "" %}
                        <td><div style="vertical-align: middle; width: 420px; overflow: auto;">
                                <pre>{{ result.io_log_as_flat_text }}</pre>
                            </div>
                        </td>
                        {%- else %}
                        <td>&nbsp;</td>
                        {%- endif %}
                        {%- endif %}
                    </tr>
                    {%- endfor %}
                {%- endfor %}
                </tbody>
            </table>
            </div>
            {%- if ns ~ "requirements" in manager.state.resource_map %}
            <div id="content" class="clearfix">
                <h2>Requirements documents</h2>
                <ul>
                {%- for doc in manager.state.resource_map[ns ~ "requirements"] %}
                    <li><a href="{{ doc["link"] }}">{{ doc["name"] }}</a></li>
                {%- endfor %}
                </ul>
            </div>
            {%- endif %}
            <div id="content" class="clearfix">
                <h2>Log Files and Environment Information</h2>
                <div id="packages-contents">
                    {%- if ns ~ "package" in resource_map %}
                    <span onClick="showHide('package');"><h3><span id="package" style="color: #dd4814;">&#9654;</span>
                        packages installed</h3></span>
                    <div class="data" id="package-contents" style="overflow: auto;">
                        <table>
                            <thead>
                                <tr>
                                    <th>Name</th>
                                    <th>Version</th>
                                </tr>
                            </thead>
                            <tbody>
                            {%- for package in resource_map[ns ~ "package"] %}
                                <tr>
                                    <td>{{ package["name"] }}</td>
                                    <td>{{ package["version"] }}</td>
                                </tr>
                            {%- endfor %}
                            </tbody>
                        </table>
                    </div>
                    {%- endif %}
                    {%- for job_id, job_state in job_state_map|dictsort if job_state.result.outcome != None and job_state.job.plugin == "attachment" %}
                    <span onClick="showHide('att{{ loop.index }}');"><h3><span id="att{{ loop.index }}" style="color: #dd4814;">&#9654;</span>
                        {{ job_state.job.partial_id|replace("_attachment", "") }}</h3></span>
                    <div class="data" id="att{{ loop.index }}-contents" style="overflow: auto;">
                        <pre>{{ job_state.result.io_log_as_text_attachment }}</pre>
                    </div>
                    {%- endfor %}
                </div>
            </div>
        </div>
    </div>
</body>
</html>