/usr/share/2013.com.canonical.certification:checkbox/jobs/ethernet.txt.in is in plainbox-provider-checkbox 0.4-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 | plugin: shell
id: ethernet/detect
requires:
device.category == 'NETWORK' or device.category == 'WIRELESS'
package.name == 'module-init-tools'
package.name == 'pciutils'
command: network_device_info
estimated_duration: 1.2
_description: Test to detect the available network controllers
plugin: shell
id: ethernet/info_automated
requires:
package.name == 'network-manager'
device.category == 'NETWORK'
command: 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 network_info \$i; done"
estimated_duration: 30.0
_description:
This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.
plugin: user-interact-verify
id: ethernet/wired_connection
command: network_check
estimated_duration: 1.2
_description:
PURPOSE:
This test will check your wired connection
STEPS:
1. Click on the Network icon in the top panel
2. Select a network below the "Wired network" section
3. Click "Test" to verify that it's possible to establish a HTTP connection
VERIFICATION:
Did a notification show and was the connection correctly established?
plugin: local
id: ethernet/multi_nic
requires: device.category == 'NETWORK'
_description: Automated test to walk multiple network cards and test each one in sequence.
command:
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"'
plugin: shell
id: ethernet/multi_nic_$2
requires:
package.name == 'ethtool'
package.name == 'nmap'
device.path == "$1"
user: root
environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS
command: network test -i $2 -t iperf --fail-threshold 80
estimated_duration: 330.0
description:
Testing for NIC $2
EOF
plugin: local
id: ethernet/ethtool_info
requires:
device.category == 'NETWORK'
command:
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"'
plugin: shell
id: ethernet/ethertool_check_$2
requires: device.path == "$1"
command: ethtool $2
estimated_duration: 330.0
_description:
This test executes ethtool requests against all the ethernet devices found on the system.
EOF
_description:
This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.
plugin: local
id: ethernet/maximum_bandwidth
requires:
device.category == 'NETWORK'
package.name == 'zenity'
package.name == 'iperf'
command:
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"'
plugin: user-verify
user: root
id: ethernet/maximum_bandwidth_$2
requires: device.path == "$1"
command: network test -i $2 -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'ethernet max bw $2'
estimated_duration: 330.0
_description:
PURPOSE:
User verification of whether the observed transfer throughput is acceptable
for the type and maximum speed of each ethernet interface.
STEPS:
1. Read the network test summary and confirm that the throughput is acceptable.
2. If needed, click "Test" again to repeat the transfer test.
VERIFICATION:
Was the reported throughput acceptable for the type and maximum speed of this interface?
EOF
_description:
This test executes a maximum throughput test against all the ethernet devices found on the system.
plugin: local
id: ethernet/stress_performance
requires:
device.category == 'NETWORK'
_description: Automated test that tests performance of each wired network device under stress.
command:
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"'
plugin: shell
id: ethernet/stress_performance_$2
requires: device.path == "$1"
user: root
command: network test -i $2 -t stress
estimated_duration: 330.0
_description:
This test executes iperf to generate a load on the network device and then performs a ping test to watch for dropped packets and very large latency periods.
EOF
|