Merge lp:~bladernr/checkbox/926229-fix-multi_nic into lp:checkbox

Proposed by Jeff Lane 
Status: Merged
Merged at revision: 1360
Proposed branch: lp:~bladernr/checkbox/926229-fix-multi_nic
Merge into: lp:checkbox
Diff against target: 44 lines (+13/-2) (has conflicts)
2 files modified
debian/changelog (+11/-0)
jobs/networking.txt.in (+2/-2)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~bladernr/checkbox/926229-fix-multi_nic
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+101736@code.launchpad.net

Description of the change

forgot to request this last night... this removes dhclient from the multi_nic test to avoid the bug where the first run would hang on eth0...

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Looks good, just don't forget to add a note to the user indicating that having all interfaces configured before running this :)

Merging...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-04-11 23:26:26 +0000
+++ debian/changelog 2012-04-12 13:32:18 +0000
@@ -16,6 +16,7 @@
16 when testing is incomplete. (LP: #967457)16 when testing is incomplete. (LP: #967457)
17 * [FEATURE] Modified stress jobs so that they are all automated per decision17 * [FEATURE] Modified stress jobs so that they are all automated per decision
18 made during the cert sprint.18 made during the cert sprint.
19<<<<<<< TREE
1920
20 [Daniel Manrique]21 [Daniel Manrique]
21 * jobs/optical.txt.in: Change test descriptions to avoid confusing22 * jobs/optical.txt.in: Change test descriptions to avoid confusing
@@ -26,6 +27,16 @@
26 removable_storage_test commands (LP: #979356)27 removable_storage_test commands (LP: #979356)
2728
28 -- Jeff Lane <jeff@ubuntu.com> Wed, 11 Apr 2012 19:23:45 -040029 -- Jeff Lane <jeff@ubuntu.com> Wed, 11 Apr 2012 19:23:45 -0400
30=======
31 * Removed dhclient call from networking/multi_nic tests because of a bug in
32 dhclient that can cause it to hang when run on eth0. New test requirement
33 will be that the tester must configure and bring up all ethernet devices
34 prior to running checkbox. Also added a check to make sure we're not trying
35 to run the test on a device that's not active. (LP: #926229)
36
37
38 -- Jeff Lane <jeff@ubuntu.com> Wed, 11 Apr 2012 17:19:38 -0400
39>>>>>>> MERGE-SOURCE
2940
30checkbox (0.13.6) precise; urgency=low41checkbox (0.13.6) precise; urgency=low
3142
3243
=== modified file 'jobs/networking.txt.in'
--- jobs/networking.txt.in 2012-02-03 19:58:17 +0000
+++ jobs/networking.txt.in 2012-04-12 13:32:18 +0000
@@ -110,9 +110,9 @@
110 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"'110 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"'
111 plugin: shell111 plugin: shell
112 name: networking/multi_nic_$2112 name: networking/multi_nic_$2
113 requires: device.path == "$1" and package.name == 'linux'113 requires: device.path == "$1" and package.name == 'linux' and package.name == 'ethtool'
114 user: root114 user: root
115 command: dhclient $2; network_bandwidth_test --interface=$2 --scan=3 --log-level=debug115 command: ethtool $2 | tail -1 | grep "detected: yes" && network_bandwidth_test --interface=$2 --scan=3 --log-level=debug
116 description:116 description:
117 Testing for NIC $2117 Testing for NIC $2
118 EOF118 EOF

Subscribers

People subscribed via source and target branches