~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-checkbox/jobs/info.txt.in

  • Committer: Tarmac
  • Author(s): Brendan Donegan
  • Date: 2013-06-03 11:12:58 UTC
  • mfrom: (2154.2.1 bug1185759)
  • Revision ID: tarmac-20130603111258-1b3m5ydvkf1accts
"[r=zkrynicki][bug=1185759][author=brendan-donegan] automatic merge by tarmac"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# The dkms_info script requires python3-debian package
2
 
unit: packaging meta-data
3
 
os-id: debian
4
 
Depends: python3-debian
5
 
 
6
 
# The dkms_info script requires python3-guacamole package
7
 
unit: packaging meta-data
8
 
os-id: debian
9
 
Depends: python3-guacamole (>= 0.9)
10
 
 
11
 
# This is for lsblk attachment and disk/detect
12
 
unit: packaging meta-data
13
 
os-id: debian
14
 
Depends: util-linux
15
 
 
16
 
id: codecs_attachment
17
 
plugin: attachment
18
 
category_id: 2013.com.canonical.plainbox::info
19
 
requires: device.driver == 'snd_hda_intel'
20
 
command: cat /proc/asound/card*/codec#*
21
 
estimated_duration: 0.023
22
 
_description: Attaches a report of installed codecs for Intel HDA
23
 
 
24
 
id: cpuinfo_attachment
25
 
plugin: attachment
26
 
category_id: 2013.com.canonical.plainbox::info
27
 
command: cat /proc/cpuinfo
28
 
estimated_duration: 0.006
29
 
_description: Attaches a report of CPU information
30
 
_summary: Attach a copy of /proc/cpuinfo
31
 
 
32
 
id: dmesg_attachment
33
 
plugin: attachment
34
 
category_id: 2013.com.canonical.plainbox::info
35
 
command: cat /var/log/dmesg | ansi_parser
36
 
estimated_duration: 0.640
37
 
_description: Attaches a copy of /var/log/dmesg to the test results
38
 
_summary: Attach a copy of /var/log/dmesg
39
 
 
40
 
id: dmi_attachment
41
 
plugin: attachment
42
 
category_id: 2013.com.canonical.plainbox::info
43
 
command: [ -d /sys/class/dmi/id/ ] && (grep -r . /sys/class/dmi/id/ 2>/dev/null || true) || false
44
 
estimated_duration: 0.044
45
 
_description: Attaches info on DMI
46
 
_summary: Attach a copy of /sys/class/dmi/id/*
47
 
 
48
 
id: dmidecode_attachment
49
 
plugin: attachment
50
 
category_id: 2013.com.canonical.plainbox::info
51
 
requires: package.name == 'dmidecode'
52
 
user: root
53
 
command: dmidecode | iconv -t 'utf-8' -c
54
 
estimated_duration: 0.030
55
 
_description: Attaches dmidecode output
56
 
_summary: Attach output of dmidecode
57
 
 
58
 
id: lshw_attachment
59
 
plugin: attachment
60
 
category_id: 2013.com.canonical.plainbox::info
61
 
requires: package.name == 'lshw'
62
 
user: root
63
 
command: lshw | iconv -t 'utf-8' -c
64
 
_summary: Attach lshw output
65
 
_description: Attaches lshw output
66
 
 
67
 
id: efi_attachment
68
 
plugin: attachment
69
 
category_id: 2013.com.canonical.plainbox::info
70
 
user: root
71
 
command: [ -d /sys/firmware/efi ] && grep -m 1 -o --color=never 'EFI v.*' /var/log/kern.log* || true
72
 
estimated_duration: 0.5
73
 
_summary: Attaches firmware version info
74
 
_description: Attaches the firmware version
75
 
 
76
 
id: lspci_attachment
77
 
plugin: attachment
78
 
category_id: 2013.com.canonical.plainbox::info
79
 
command: lspci -vvnn | iconv -t 'utf-8' -c
80
 
estimated_duration: 0.042
81
 
_description: Attaches very verbose lspci output.
82
 
_summary: Attach a list of PCI devices
83
 
 
84
 
id: lspci_network_attachment
85
 
plugin: attachment
86
 
category_id: 2013.com.canonical.plainbox::info
87
 
command: lspci -vvnnQ | iconv -t 'utf-8' -c
88
 
estimated_duration: 1.322
89
 
_description: Attaches very verbose lspci output (with central database Query).
90
 
 
91
 
id: lspci_standard_config_attachment
92
 
_summary: Attach PCI configuration space hex dump
93
 
plugin: attachment
94
 
category_id: 2013.com.canonical.plainbox::info
95
 
command: lspci -x
96
 
estimated_duration: 0.1
97
 
_description:
98
 
    Attaches a hex dump of the standard part of the PCI configuration
99
 
    space for all PCI devices.
100
 
 
101
 
id: lsusb_attachment
102
 
plugin: attachment
103
 
category_id: 2013.com.canonical.plainbox::info
104
 
requires: package.name == 'usbutils'
105
 
user: root
106
 
command: lsusb -vv | iconv -t 'utf-8' -c
107
 
estimated_duration: 0.700
108
 
_summary: Attach output of lsusb
109
 
_description: Attaches a list of detected USB devices.
110
 
 
111
 
id: meminfo_attachment
112
 
plugin: attachment
113
 
category_id: 2013.com.canonical.plainbox::info
114
 
command: cat /proc/meminfo
115
 
estimated_duration: 0.043
116
 
_summary: Attach copy of /proc/meminfo
117
 
_description: Attaches info on system memory as seen in /proc/meminfo.
118
 
 
119
 
id: modprobe_attachment
120
 
plugin: attachment
121
 
category_id: 2013.com.canonical.plainbox::info
122
 
command: find /etc/modprobe.* -name \*.conf | xargs cat
123
 
estimated_duration: 0.015
124
 
_description: Attaches the contents of the various modprobe conf files.
125
 
_summary: Attach the contents of /etc/modprobe.*
126
 
 
127
 
id: modinfo_attachment
128
 
plugin: attachment
129
 
category_id: 2013.com.canonical.plainbox::info
130
 
_summary: Attach modinfo information
131
 
command:
132
 
    for mod in $(lsmod | cut -f 1 -d " ")
133
 
    do
134
 
        printf "%-16s%s\n" "name:" "$mod"
135
 
        modinfo $mod
136
 
        echo
137
 
    done
138
 
estimated_duration: 1.5
139
 
_description: Attaches modinfo information for all currently loaded modules
140
 
 
141
 
id: modules_attachment
142
 
plugin: attachment
143
 
category_id: 2013.com.canonical.plainbox::info
144
 
command: cat /etc/modules
145
 
estimated_duration: 0.004
146
 
_description: Attaches the contents of the /etc/modules file.
147
 
_summary: Attach the contents of /etc/modules
148
 
 
149
 
id: sysctl_attachment
150
 
plugin: attachment
151
 
category_id: 2013.com.canonical.plainbox::info
152
 
command: find /etc/sysctl.* -name \*.conf | xargs cat
153
 
estimated_duration: 0.014
154
 
_description: Attaches the contents of various sysctl config files.
155
 
_summary: Attach sysctl configuration files.
156
 
 
157
 
id: sysfs_attachment
158
 
plugin: attachment
159
 
category_id: 2013.com.canonical.plainbox::info
160
 
_description: Attaches a report of sysfs attributes.
161
 
command:
162
 
 for i in `udevadm info --export-db | sed -n 's/^P: //p'`; do
163
 
  echo "P: $i"
164
 
  udevadm info --attribute-walk --path=/sys$i 2>/dev/null | sed -n 's/    ATTR{\(.*\)}=="\(.*\)"/A: \1=\2/p'
165
 
  echo
166
 
 done
167
 
estimated_duration: 6.344
168
 
_summary: Attach detailed sysfs property output from udev
169
 
 
170
 
id: udev_attachment
171
 
plugin: attachment
172
 
category_id: 2013.com.canonical.plainbox::info
173
 
command: udevadm info --export-db | xml_sanitize
174
 
estimated_duration: 1.465
175
 
_description: Attaches a dump of the udev database showing system hardware information.
176
 
_summary: Attach dump of udev database
177
 
 
178
 
id: udev_resource_attachment
179
 
plugin: attachment
180
 
category_id: 2013.com.canonical.plainbox::info
181
 
command: udev_resource
182
 
estimated_duration: 0.432
183
 
_description: Attaches the output of udev_resource, for debugging purposes
184
 
 
185
 
id: lsblk_attachment
186
 
estimated_duration: 0.1
187
 
plugin: attachment
188
 
command: lsblk -i -n -P -o KNAME,TYPE,MOUNTPOINT
189
 
requires: package.name == "util-linux"
190
 
_description: Attaches disk block devices mount points
191
 
_summary: Attach info block devices and their mount points
192
 
 
193
 
id: gcov_attachment
194
 
plugin: attachment
195
 
category_id: 2013.com.canonical.plainbox::info
196
 
requires: package.name == 'lcov'
197
 
user: root
198
 
command: gcov_tarball
199
 
_description: Attaches a tarball of gcov data if present.
200
 
 
201
 
id: lsmod_attachment
202
 
plugin: attachment
203
 
category_id: 2013.com.canonical.plainbox::info
204
 
command: lsmod_info
205
 
estimated_duration: 0.5
206
 
_description: Attaches a list of the currently running kernel modules.
207
 
_summary: Attach a list of currently running kernel modules
208
 
 
209
 
id: dkms_info_attachment
210
 
plugin: attachment
211
 
category_id: 2013.com.canonical.plainbox::info
212
 
command: dkms_info  --format json
213
 
_description: Attaches json dumps of installed dkms package information.
214
 
_summary: Attaches json dumps of installed dkms package information.
215
 
 
216
 
plugin: attachment
217
 
category_id: 2013.com.canonical.plainbox::info
218
 
id: acpi_sleep_attachment
219
 
command: [ -e /proc/acpi/sleep ] && cat /proc/acpi/sleep || echo "No /proc/acpi/sleep found"
220
 
estimated_duration: 0.5
221
 
_description: Attaches the contents of /proc/acpi/sleep if it exists.
222
 
 
223
 
plugin: shell
224
 
category_id: 2013.com.canonical.plainbox::info
225
 
id: info/bootchart
226
 
_description: Bootchart information.
227
 
requires: package.name == 'bootchart' or package.name == 'pybootchartgui'
228
 
user: root
229
 
command:
230
 
 process_wait -u root bootchart collector ureadahead; \
231
 
 [ `ls /var/log/bootchart/*.tgz 2>/dev/null | wc -l` -lt 2 ] && reboot && sleep 100
232
 
 
233
 
unit: template
234
 
template-resource: device
235
 
template-filter: device.category == 'DISK'
236
 
plugin: attachment
237
 
category_id: 2013.com.canonical.plainbox::info
238
 
id: info/hdparm_{name}.txt
239
 
estimated_duration: 1.0
240
 
requires:
241
 
 package.name == 'hdparm'
242
 
 block_device.{name}_state != 'removable'
243
 
user: root
244
 
command: hdparm -I /dev/{name}
245
 
_summary: Attaches info from hdparm about {name}
246
 
 
247
 
plugin: attachment
248
 
category_id: 2013.com.canonical.plainbox::info
249
 
id: bootchart.png
250
 
depends: info/bootchart
251
 
requires: package.name == 'pybootchartgui'
252
 
_description: Attaches the bootchart png file for bootchart runs
253
 
command:
254
 
 file=`ls /var/log/bootchart/*.png 2>/dev/null | tail -1`; \
255
 
 [ -e "$file" ] && cat "$file"
256
 
 
257
 
plugin: attachment
258
 
category_id: 2013.com.canonical.plainbox::info
259
 
id: bootchart.tgz
260
 
depends: info/bootchart
261
 
_description: Attaches the bootchart log for bootchart test runs.
262
 
command:
263
 
 file=`ls /var/log/bootchart/*.tgz 2>/dev/null | tail -1`; \
264
 
 [ -e "$file" ] && cat "$file"
265
 
 
266
 
plugin: attachment
267
 
category_id: 2013.com.canonical.plainbox::info
268
 
id: installer_bootchart.tgz
269
 
command: [ -f /var/log/installer/bootchart.tgz ] && base64 /var/log/installer/bootchart.tgz
270
 
_description: Attach the installer bootchart tarball if it exists.
271
 
 
272
 
plugin: attachment
273
 
category_id: 2013.com.canonical.plainbox::info
274
 
id: installer_debug.gz
275
 
user: root
276
 
command: [ -f /var/log/installer/debug ] && gzip -9 -c /var/log/installer/debug | base64
277
 
estimated_duration: 0.1
278
 
_description: Attaches the installer debug log if it exists.
279
 
 
280
 
plugin: attachment
281
 
category_id: 2013.com.canonical.plainbox::info
282
 
id: info/touchpad_driver
283
 
requires: device.category == 'TOUCHPAD'
284
 
command: touchpad_driver_info
285
 
estimated_duration: 0.384
286
 
_description:
287
 
 Returns the name, driver name and driver version of any touchpad discovered on
288
 
 the system.
289
 
 
290
 
plugin: attachment
291
 
category_id: 2013.com.canonical.plainbox::info
292
 
id: info/audio_device_driver
293
 
requires:
294
 
 package.name == 'pulseaudio-utils'
295
 
 package.name == 'kmod' or package.name == 'module-init-tools'
296
 
 device.category == 'AUDIO'
297
 
command: audio_driver_info
298
 
estimated_duration: 0.177
299
 
_description: Lists the device driver and version for all audio devices.
300
 
 
301
 
plugin: attachment
302
 
category_id: 2013.com.canonical.plainbox::info
303
 
id: info/network_devices
304
 
requires:
305
 
 device.category == 'NETWORK' or device.category == 'WIRELESS'
306
 
 package.name == 'kmod' or package.name == 'module-init-tools'
307
 
 package.name == 'pciutils'
308
 
command: network_device_info
309
 
estimated_duration: 0.550
310
 
_description: Provides information about network devices
311
 
 
312
 
plugin: attachment
313
 
category_id: 2013.com.canonical.plainbox::info
314
 
id: info/mobile_broadband_info
315
 
command: broadband_info
316
 
estimated_duration: 0.5
317
 
_description: Provides information about wwan/mobile broadband devices
318
 
 
319
 
plugin: attachment
320
 
category_id: 2013.com.canonical.plainbox::info
321
 
id: info/xrandr
322
 
command: xrandr -q --verbose
323
 
_description: Provides information about displays attached to the system
324
 
 
325
 
plugin: attachment
326
 
category_id: 2013.com.canonical.plainbox::info
327
 
id: info/disk_partitions
328
 
estimated_duration: 1.0
329
 
user: root
330
 
command: parted -l -s
331
 
_summary: Attaches info about disk partitions
332
 
_description: Attaches information about disk partitions
333
 
 
334
 
plugin: attachment
335
 
category_id: 2013.com.canonical.plainbox::info
336
 
id: info/buildstamp
337
 
estimated_duration: 0.1
338
 
_description: Attaches the buildstamp identifier for the preinstalled OS
339
 
_summary: Attach /etc/buildstamp
340
 
command: [ -s /etc/buildstamp ] && cat /etc/buildstamp
341
 
 
342
 
plugin: shell
343
 
category_id: 2013.com.canonical.plainbox::info
344
 
id: info/detect_recovery
345
 
requires: package.name == 'dell-recovery' or package.name == 'ubuntu-recovery'
346
 
user: root
347
 
estimated_duration: 0.2
348
 
_summary: Check existence of recovery partition
349
 
_description: Check existence of recovery partition
350
 
command: recovery_info
351
 
 
352
 
plugin: shell
353
 
category_id: 2013.com.canonical.plainbox::info
354
 
id: info/detect_dell_recovery
355
 
depends: info/detect_recovery
356
 
requires: package.name == 'dell-recovery'
357
 
user: root
358
 
estimated_duration: 0.2
359
 
_summary: Check the recovery type is dell or not
360
 
_description: Check the recovery type is dell or not
361
 
command: recovery_info checktype DELL
362
 
 
363
 
plugin: attachment
364
 
category_id: 2013.com.canonical.plainbox::info
365
 
id: recovery_info_attachment
366
 
depends: info/detect_recovery
367
 
requires: package.name == 'dell-recovery' or package.name == 'ubuntu-recovery'
368
 
user: root
369
 
estimated_duration: 0.2
370
 
_summary: Attach the recovery partition versions
371
 
_description:
372
 
 Attach the recovery partition version
373
 
 image_version is the preinstalled OS image version
374
 
 bto_version is only for dell_recovery
375
 
 Example:
376
 
 image_version: somerville-trusty-amd64-20140620-0
377
 
 bto_version: A00_dell-bto-trusty-houston-15-A11-iso-20141203-0.iso
378
 
command: recovery_info version
379
 
 
380
 
plugin: attachment
381
 
category_id: 2013.com.canonical.plainbox::info
382
 
id: dell_bto_xml_attachment
383
 
depends: info/detect_dell_recovery
384
 
requires: package.name == 'dell-recovery'
385
 
user: root
386
 
estimated_duration: 0.5
387
 
_summary: Attach the bto.xml in Dell recovery partition
388
 
_description:
389
 
 bto.xml is basically a Fish manifest
390
 
 The information include:
391
 
  - fish packages
392
 
  - dell recovery stage 2 boot log
393
 
command: recovery_info file bto.xml
394
 
 
395
 
plugin: attachment
396
 
category_id: 2013.com.canonical.plainbox::info
397
 
id: info/kvm_output
398
 
estimated_duration: 0.1
399
 
_summary:
400
 
 Attaches console log from the kvm_check_vm test
401
 
_description: 
402
 
 Attaches the debug log from the virtualization/kvm_check_vm test
403
 
 to the results submission.
404
 
command: [ -f $PLAINBOX_SESSION_SHARE/virt_debug ] && cat $PLAINBOX_SESSION_SHARE/virt_debug
405
 
 
406
 
id: kernel_cmdline_attachment
407
 
plugin: attachment
408
 
category_id: 2013.com.canonical.plainbox::info
409
 
command: cat /proc/cmdline
410
 
estimated_duration: 0.005
411
 
_description: Attaches the kernel command line used to boot
412
 
_summary: Attach a copy of /proc/cmdline