2
name: miscellanea/submission-resources
3
depends: cpuinfo dpkg lsb package uname
4
estimated_duration: 1.0
7
A meta-job depending on the resources needed for a valid submission.
10
name: miscellanea/tester-info
13
Keep tester related information in the report
16
2. Please enter the following information in the comments field:
19
c. Reason for this test run
21
Nothing to verify for this test
23
plugin: user-interact-verify
24
name: miscellanea/chvt
31
This test will check that the system can switch to a virtual terminal and back to X
33
1. Click "Test" to switch to another virtual terminal and then back to X
35
Did your screen change temporarily to a text console and then switch back to your current session?
38
name: miscellanea/fwts_test
40
package.name == 'fwts'
43
Run Firmware Test Suite (fwts) automated tests.
44
environ: CHECKBOX_DATA
46
fwts_test -l $CHECKBOX_DATA/fwts_results.log
49
name: miscellanea/fwts_results.log
51
[[ -e ${CHECKBOX_DATA}/fwts_results.log ]] && cat ${CHECKBOX_DATA}/fwts_results.log
52
_description: Attaches the FWTS results log to the submission
55
name: miscellanea/ipmi_test
56
requires: package.name == 'ipmitool'
60
This will run some basic connectivity tests against a BMC, verifying that IPMI works.
63
name: miscellanea/is_laptop
66
Determine if we need to run tests specific to portable computers that may not apply to desktops.
67
command: check_is_laptop
70
name: miscellanea/apport-directory
71
requires: package.name == 'apport'
72
command: if [ -d /var/crash ]; then if [ $(find /var/crash -type f | grep -v .lock | wc -l) -eq 0 ]; then echo "/var/crash is empty"; else echo `ls /var/crash`; false; fi; else echo "/var/crash does not exist"; fi
74
Test that the /var/crash directory doesn't contain anything. Lists the files contained within if it does, or echoes the status of the directory (doesn't exist/is empty)
77
name: miscellanea/sources-list
78
command: sources_test $SOURCES_LIST "$REPOSITORIES"
79
_description: Checks that a specified sources list file contains the requested repositories
82
name: miscellanea/pxe_boot
83
requires: device.category == 'NETWORK'
84
_description: Automated job to generate the PXE verification test for each NIC.
86
cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
88
name: miscellanea/pxe_boot_$2
91
This test will verify that you have attempted to PXE boot this machine from
92
the network device $2.
94
1. Prior to running this test, you should have attempted to boot this system via PXE on every Network Port available.
96
1. Select Yes if you successfully used PXE boot this system using the NIC $2
97
2. Select No if you did not attempt to PXE boot this system using the NIC $2
98
3. Select No if you attempted to PXE boot via $2 and it failed for some reason.
102
name: miscellanea/remote_shared_ipmi
103
requires: device.category == 'NETWORK'
104
_description: Automated job to generate the Remote Shared IPMI verification test for each NIC.
106
cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
108
name: miscellanea/remote_shared_ipmi_$2
111
This test will verify that you have attempted IPMI control of this machine from the network device $2.
113
1. Prior to running this test, you should have configured and used IPMI to power this machine off and on using every Network Port available.
115
1. Select Yes if you successfully used IPMI to remotely power this system off and on using the NIC $2
116
2. Select No if you did not attempt to use IPMI to remotely power this sytem off and on via the NIC $2
117
3. Select No if you attempted to use IPMI to remotely power off/on this system via $2 and it failed for some reason.
121
name: miscellanea/remote_dedicated_ipmi
124
Some systems do not share IPMI over all NICs but instead have a dedicated management port directly connected to the BMC. This test verifies that you have used that port for remote IPMI connections and actions.
126
1. Prior to running the test, you should have configured and used the Dedicated Management Port to remotely power off/on this sytem.
128
Skip this test if this system ONLY uses shared management/ethernet ports OR if this system does not have a BMC (Management Console)
129
1. Select Yes if you successfully used IPMI to remotely power this system off and on using the dedicated management port.
130
2. Select No if you attempted to use the dedicated management port to remotely power this system off/on and it failed for some reason.