~roadmr/ubuntu/precise/checkbox/0.13.5

« back to all changes in this revision

Viewing changes to jobs/networking.txt.in

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-08-10 22:53:09 UTC
  • mfrom: (30.1.1 exp-ubuntu-checkbox)
  • Revision ID: mathieu-tl@ubuntu.com-20110810225309-6mis2ukos72cfrzi
Tags: 0.12.4
New upstream release (LP: #824180):
[Brendan Donegan]
* Refactored job definition files.
* Fixed dependencies and test naming.
* Added Online CPU before/after suspend test.
* Automated wireless tests.
* Removed redundant sru_suite.txt, updated dependencies accordingly.
* Automated bluetooth_obex tests.
[Daniel Manrique]
* Further improvements to make frontend/backend communication more reliable.
  Prevents stuck backends, failure to close the GUI due to lack of reply
  from the backend, and test specifying "user" not being run.
* scripts/keyboard_test modified to account for pygi-related GTK API
  changes. (LP: #804369)
* scripts/sleep_test: improve handling of NetworkManager DBus API
  changes. (LP: #808423)
* scripts/cdimage_resource: properly handle releases with "LTS" in their
  name (LP: #814085)
* Updated minimum_resolution test as per latest system requirements, leaving
  just one unified test. (LP: #767166)
[Javier Collado]
* Checkbox exits with EX_NOINPUT if a whitelist or blacklist file is
  specified and cannot be found.
* Deselect a test suite automatically when none of its children is selected,
  in the GTK interface. (LP: #651878)
* Make the "Next" button the default action when Enter is pressed, to 
  streamline testing with the GTK interface.
[Marc Tardif]
* Fixed udevam not being found because /sbin not in PATH (LP: #597305)
* Fixed hardware attachments for udev and dmi (LP: #822682)
[Sylvain Pineau]
* Expose the message store to other plugins, via firing an expose-msgstore
  event.
[Andrew Faulkner]
* Fix description for nautilus_file_create job (LP: #821141) 
[Kenneth Wimer]
* New header image that follows brand guidelines (LP: #554202)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plugin: manual
 
2
name: networking/detect
 
3
requires: device.category == 'NETWORK'
 
4
command: network_test
 
5
_description:
 
6
 Detecting your network controller(s):
 
7
 .
 
8
 $output
 
9
 .
 
10
 Is this correct?
 
11
 
 
12
plugin: manual
 
13
name: networking/internet
 
14
depends: networking/detect
 
15
command: internet_test
 
16
_description:
 
17
 Testing your connection to the Internet:
 
18
 .
 
19
 $output
 
20
 .
 
21
 Is this correct?
 
22
 
 
23
plugin: local
 
24
name: networking/info
 
25
requires: device.category == 'NETWORK'
 
26
_description: Network Information
 
27
command:
 
28
 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"'
 
29
 plugin: manual
 
30
 name: networking/info_$2
 
31
 requires: device.path == "$1" and package.name == 'linux'
 
32
 command: network_info $2
 
33
 _description:
 
34
  Please verify the following information for NIC $2?
 
35
  .
 
36
  \$output
 
37
  .
 
38
  Is this correct?
 
39
 EOF
 
40
 
 
41
plugin: shell
 
42
name: networking/wireless_scanning
 
43
user: root
 
44
requires: package.name == 'wireless-tools'
 
45
command: network_wireless_test
 
46
_description: Wireless scanning test.
 
47
 
 
48
plugin: manual
 
49
name: networking/wireless_connection
 
50
command: network_check
 
51
requires: device.category == 'NETWORK'
 
52
_description:
 
53
 Wireless network connection procedure:
 
54
 1.- Click on the Network Manager applet
 
55
 2.- Select a network below the 'Wireless networks' section
 
56
 3.- Notify OSD should confirm that the connection has been established
 
57
 4.- Select Test to verify that it's possible to establish an HTTP connection
 
58
 .
 
59
 Was the connection correctly established?
 
60
 
 
61
plugin: manual
 
62
name: networking/wired_connection
 
63
command: network_check
 
64
_description:
 
65
 Wired network connection procedure:
 
66
 1.- Click on the Network Manager applet
 
67
 2.- Select a network below the 'Wired network' section
 
68
 3.- Notify OSD should confirm that the connection has been established
 
69
 4.- Select Test to verify that it's possible to establish an HTTP connection
 
70
 .
 
71
 Was the connection correctly established?
 
72
 
 
73
plugin: manual
 
74
name: networking/modem_connection
 
75
command: network_check
 
76
_description:
 
77
 Built-in modem network connection procedure:
 
78
 1.- Connect the telephone line to the computer
 
79
 2.- Right click on the Network Manager applet
 
80
 3.- Select 'Edit Connections'
 
81
 4.- Select the 'DSL' tab
 
82
 5.- Click on add 'Add' button
 
83
 6.- Configure the connection parameters properly
 
84
 7.- Notify OSD should confirm that the connection has been established
 
85
 8.- Select Test to verify that it's possible to establish an HTTP connection
 
86
 .
 
87
 Was the connection correctly established?
 
88
 
 
89
plugin: shell
 
90
name: networking/ping
 
91
command: internet_test $CHECKBOX_SERVER
 
92
_description:
 
93
 Automated test case to verify availability of some system on the network
 
94
 using ICMP ECHO packets.
 
95
 
 
96
plugin: shell
 
97
name: networking/http
 
98
command: wget -SO /dev/null http://$TRANSFER_SERVER
 
99
_description:
 
100
 Automated test case to make sure that it's possible to download files through HTTP
 
101
 
 
102
plugin: shell
 
103
name: networking/ntp
 
104
requires: package.name == 'ntpdate'
 
105
user: root
 
106
command: network_ntp_test 
 
107
_description: Test to see if we can sync local clock to an NTP server
 
108
 
 
109
plugin: shell
 
110
name: networking/ssh
 
111
requires: package.name == 'openssh-client'
 
112
command: if [ $CHECKBOX_SERVER ]; then ssh -q -o 'StrictHostKeyChecking=no' -o "UserKnownHostsFile=/tmp/ssh_test_$$" -l ubuntu $CHECKBOX_SERVER "uname -a" && rm /tmp/ssh_test_$$; fi
 
113
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.
 
114
 
 
115
plugin: shell
 
116
name: networking/printer
 
117
requires: package.name == 'cups-client'
 
118
command: network_printer_test -s $CHECKBOX_SERVER
 
119
_description: Try to enable a remote printer on the network and print a test page.
 
120
 
 
121
plugin: local
 
122
name: networking/multi_nic
 
123
requires: device.category == 'NETWORK'
 
124
_description: Multiple network cards
 
125
command:
 
126
 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"'
 
127
 plugin: shell
 
128
 name: networking/multi_nic_$2
 
129
 requires: device.path == "$1" and package.name == 'linux'
 
130
 user: root
 
131
 command: dhclient $2; internet_test --interface=$2 --deadline=15
 
132
 description:
 
133
  Testing for NIC $2
 
134
 EOF
 
135
 
 
136
plugin: shell
 
137
name: networking/bandwidth
 
138
requires:
 
139
 package.name == 'linux'
 
140
 package.name == 'ethtool' and package.name == 'nmap'
 
141
 device.category == 'NETWORK'
 
142
user: root
 
143
command: network_bandwidth_test --log-level=info --scan=3
 
144
_description: Test to measure the network bandwidth