Merge lp:~cgregan/checkbox/times-update-local into lp:checkbox

Proposed by Chris Gregan
Status: Rejected
Rejected by: Zygmunt Krynicki
Proposed branch: lp:~cgregan/checkbox/times-update-local
Merge into: lp:checkbox
Diff against target: 218 lines (+25/-2)
6 files modified
checkbox-old/jobs/ethernet.txt.in (+4/-0)
checkbox-old/jobs/graphics.txt.in (+10/-2)
checkbox-old/jobs/networking.txt.in (+6/-0)
checkbox-old/jobs/suspend.txt.in (+2/-0)
checkbox-old/jobs/usb.txt.in (+1/-0)
checkbox-old/jobs/wireless.txt.in (+2/-0)
To merge this branch: bzr merge lp:~cgregan/checkbox/times-update-local
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Disapprove
Daniel Manrique (community) Needs Fixing
Review via email: mp+211935@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

SOme local tests (see the ones at the beginning) have a duration of 10 seconds, while the ones at the end have 0.250 seconds. We should standardize them all. Remember this is only the local job that generates the sub-jobs; the subjobs themselves have their own duration specified elsewhere.

review: Needs Fixing
Revision history for this message
Daniel Manrique (roadmr) wrote :

In the time since this MR, a lot of the tests were updated with estimated_duration. It's probably worth revisiting this and leaving only the ones that don't already have a duration. Just so it doesn't go into "merge request hell" and stays here for years.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Rejecting, please re-post if you have any updates

review: Disapprove

Unmerged revisions

2805. By Chris Gregan

Updated local test times

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'checkbox-old/jobs/ethernet.txt.in'
2--- checkbox-old/jobs/ethernet.txt.in 2014-02-13 18:51:02 +0000
3+++ checkbox-old/jobs/ethernet.txt.in 2014-03-20 13:28:05 +0000
4@@ -34,6 +34,7 @@
5
6 plugin: local
7 name: ethernet/multi_nic
8+estimated_duration: 10.0
9 requires: device.category == 'NETWORK'
10 _description: Automated test to walk multiple network cards and test each one in sequence.
11 command:
12@@ -53,6 +54,7 @@
13
14 plugin: local
15 name: ethernet/ethtool_info
16+estimated_duration: 10.0
17 requires:
18 device.category == 'NETWORK'
19 command:
20@@ -70,6 +72,7 @@
21
22 plugin: local
23 name: ethernet/maximum_bandwidth
24+estimated_duration: 10.0
25 requires:
26 device.category == 'NETWORK'
27 package.name == 'zenity'
28@@ -97,6 +100,7 @@
29
30 plugin: local
31 name: ethernet/stress_performance
32+estimated_duration: 10.0
33 requires:
34 device.category == 'NETWORK'
35 _description: Automated test that tests performance of each wired network device under stress.
36
37=== modified file 'checkbox-old/jobs/graphics.txt.in'
38--- checkbox-old/jobs/graphics.txt.in 2014-02-26 09:12:32 +0000
39+++ checkbox-old/jobs/graphics.txt.in 2014-03-20 13:28:05 +0000
40@@ -13,6 +13,7 @@
41
42 plugin: manual
43 name: graphics/resolution-change
44+estimated_duration: 120.0
45 depends: graphics/xorg-version
46 _description:
47 PURPOSE:
48@@ -64,7 +65,7 @@
49 device.category == 'VIDEO'
50 package.name == 'qmlscene'
51 command: timeout 5 qmlscene --transparent --fullscreen $CHECKBOX_SHARE/scripts/resolution_test.qml
52-estimated_duration: 10
53+estimated_duration: 10.0
54 _description:
55 PURPOSE:
56 This test will verify the default display resolution
57@@ -91,7 +92,7 @@
58 device.category == 'VIDEO'
59 package.name == 'zenity'
60 command: zenity --info --text "Maximum resolution: $(xrandr -q |grep -A 1 "connected\( primary\)* [0-9]" |tail -1 |awk '{print $1}')"
61-estimated_duration: 10
62+estimated_duration: 10.0
63 _description:
64 PURPOSE:
65 This test will verify the display is operating at its maximum supported resolution
66@@ -116,15 +117,18 @@
67 name: graphics/fresh_rate
68 plugin: shell
69 command: fresh_rate_info
70+estimated_duration: 0.250
71 _description: Collect info on fresh rate.
72
73 name: graphics/graphic_memory
74 plugin: shell
75 command: graphic_memory_info
76+estimated_duration: 0.250
77 _description: Collect info on graphic memory.
78
79 plugin: user-verify
80 name: graphics/display
81+estimated_duration: 120.0
82 requires:
83 package.name == 'xorg'
84 package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
85@@ -188,6 +192,7 @@
86 plugin: user-verify
87 name: graphics/glxgears
88 requires: package.name == 'mesa-utils'
89+estimated_duration: 120.0
90 command: glxgears; true
91 _description:
92 PURPOSE:
93@@ -229,6 +234,7 @@
94
95 plugin: shell
96 name: graphics/screenshot
97+estimated_duration: 1.0
98 requires: package.name == 'fswebcam'
99 command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot.jpg -q 2>&1 | ansi_parser
100 _description:
101@@ -248,6 +254,7 @@
102 plugin: shell
103 name: graphics/screenshot_fullscreen_video
104 requires: package.name == 'fswebcam'
105+estimated_duration: 120.0
106 command:
107 [ -f ${CHECKBOX_SHARE}/data/video/Ogg_Theora_Video.ogv ] || { echo "Video file not found"; exit 1; }
108 dbus-launch gsettings set org.gnome.totem repeat true
109@@ -274,6 +281,7 @@
110 plugin: shell
111 name: graphics/screenshot_opencv_validation
112 requires: package.name == 'python-opencv'
113+estimated_duration: 10.0
114 environ: EXTERNAL_WEBCAM_DEVICE
115 command:
116 screenshot_validation \
117
118=== modified file 'checkbox-old/jobs/networking.txt.in'
119--- checkbox-old/jobs/networking.txt.in 2013-12-22 14:57:08 +0000
120+++ checkbox-old/jobs/networking.txt.in 2014-03-20 13:28:05 +0000
121@@ -8,6 +8,7 @@
122 plugin: local
123 name: networking/info
124 requires: device.category == 'NETWORK'
125+estimated_duration: 10.0
126 _description: Network Information
127 command:
128 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"'
129@@ -15,6 +16,7 @@
130 name: networking/info_$2
131 requires: device.path == "$1"
132 command: network_info $2 | zenity --text-info --title="$2"
133+ estimated_duration: 120.0
134 _description:
135 PURPOSE:
136 This test will check the $2 network interface
137@@ -43,18 +45,21 @@
138
139 plugin: shell
140 name: networking/ping
141+estimated_duration: 10.0
142 command: gateway_ping_test $CHECKBOX_SERVER
143 _description:
144 Automated test case to verify availability of some system on the network using ICMP ECHO packets.
145
146 plugin: shell
147 name: networking/http
148+estimated_duration: 10.0
149 command: wget -SO /dev/null http://$TRANSFER_SERVER
150 _description:
151 Automated test case to make sure that it's possible to download files through HTTP
152
153 plugin: shell
154 name: networking/ntp
155+estimated_duration: 10.0
156 requires: package.name == 'ntpdate'
157 user: root
158 command: network_ntp_test
159@@ -62,6 +67,7 @@
160
161 plugin: shell
162 name: networking/ssh
163+estimated_duration: 10.0
164 requires: package.name == 'openssh-client'
165 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
166 _description: Verify that an installation of checkbox-server on the network can be reached over SSH.
167
168=== modified file 'checkbox-old/jobs/suspend.txt.in'
169--- checkbox-old/jobs/suspend.txt.in 2014-03-12 18:45:28 +0000
170+++ checkbox-old/jobs/suspend.txt.in 2014-03-20 13:28:05 +0000
171@@ -45,6 +45,7 @@
172
173 plugin: local
174 name: suspend/iperf_before_suspend_ether_auto
175+estimated_duration: 0.250
176 requires:
177 device.category == 'NETWORK'
178 command:
179@@ -64,6 +65,7 @@
180
181 plugin: local
182 name: suspend/iperf_before_suspend_wifi_auto
183+estimated_duration: 0.250
184 requires:
185 device.category == 'WIRELESS'
186 command:
187
188=== modified file 'checkbox-old/jobs/usb.txt.in'
189--- checkbox-old/jobs/usb.txt.in 2014-02-26 17:00:22 +0000
190+++ checkbox-old/jobs/usb.txt.in 2014-03-20 13:28:05 +0000
191@@ -188,6 +188,7 @@
192
193 plugin: manual
194 name: usb/panels
195+estimated_duration: 120.0
196 _description:
197 PURPOSE:
198 This test will check your USB connection.
199
200=== modified file 'checkbox-old/jobs/wireless.txt.in'
201--- checkbox-old/jobs/wireless.txt.in 2014-02-20 08:02:44 +0000
202+++ checkbox-old/jobs/wireless.txt.in 2014-03-20 13:28:05 +0000
203@@ -318,6 +318,7 @@
204
205 plugin: local
206 name: wireless/stress_performance
207+estimated_duration: 0.250
208 requires:
209 device.category == 'NETWORK'
210 _description: Automated test that tests performance of each wireless network device under stress.
211@@ -388,6 +389,7 @@
212
213 plugin: local
214 name: wireless/maximum_bandwidth
215+estimated_duration: 0.250
216 requires:
217 device.category == 'WIRELESS'
218 package.name == 'zenity'

Subscribers

People subscribed via source and target branches