Merge lp:~gary/lpsetup/paralleltweaks into lp:lpsetup
| Status: | Merged |
|---|---|
| Approved by: | Brad Crittenden on 2012-06-28 |
| Approved revision: | 35 |
| Merged at revision: | 38 |
| Proposed branch: | lp:~gary/lpsetup/paralleltweaks |
| Merge into: | lp:lpsetup |
| Diff against target: |
72 lines (+34/-8) 3 files modified
lpsetup/subcommands/lxcinstall.py (+19/-7) lpsetup/templates/lp-setup-lxc-test (+1/-1) lpsetup/templates/networking.conf (+14/-0) |
| To merge this branch: | bzr merge lp:~gary/lpsetup/paralleltweaks |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | 2012-06-27 | Approve on 2012-06-28 |
| Gary Poster (community) | Approve on 2012-06-27 | ||
|
Review via email:
|
|||
Commit Message
add the tweaks necessary for bug 1013921 and bug 1014916
Description of the Change
This branch adds the tweaks necessary for bug 1013921 and bug 1014916.
* For 1013921, make lp-setup-lxc-test include -vvv when calling bin/test so that testr gets test timings and can better balance tests.
* For 1014916, only when the container OS is Lucid (not necessary for Precise), do the following:
* Change /var/lib/
* in the host remove the container's /etc/init/
See the relevant bugs for the reasoning, if desired.
Given our lack of integration tests, I manually tested this on ec2 and it seems to be fine.
Thank you
| Gary Poster (gary) wrote : | # |
Oops, didn't mean to approve.
| Brad Crittenden (bac) wrote : | # |
This branch looks good. Thanks for the fixes Gary.
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~gary/lpsetup/paralleltweaks into lp:lpsetup failed. Below is the output from the failed tests.
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
EEEEE..
=======
ERROR: Failure: ImportError (No module named shelltoolbox)
-------
Traceback (most recent call last):
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/home/
from lpsetup import handlers
File "/home/
from shelltoolbox import (
ImportError: No module named shelltoolbox
=======
ERROR: Failure: ImportError (No module named shelltoolbox)
-------
Traceback (most recent call last):
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/home/
from lpsetup import handlers
File "/home/
from shelltoolbox import (
ImportError: No module named shelltoolbox
=======
ERROR: Failure: ImportError (No module named shelltoolbox)
-------
Traceback (most recent call last):
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/home/
from lpsetup import handlers
File "/home/
from shelltoolbox import (
ImportError: No module named shelltoolbox
=======
ERROR: Failure: ImportError (No module named shelltoolbox)
-------
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~gary/lpsetup/paralleltweaks into lp:lpsetup failed. Below is the output from the failed tests.
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
.......
=======
ERROR: test_idempotent (lpsetup.
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
containers = run('lxc-
File "/usr/lib/
close_
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
=======
ERROR: test_scrub (lpsetup.
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
containers = run('lxc-
File "/usr/lib/
close_
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
=======
ERROR: test_scrub_no_dir (lpsetup.
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
containers = run('lxc-
File "/usr/lib/
close_
File "/usr/lib/
| Brad Crittenden (bac) wrote : | # |
Gary sorry I have taken your MP hostage as I work through these tarmac issues.
| Gary Poster (gary) wrote : | # |
:-) yay, it worked! Thank you

Ah right: I also changed the application of the fix for bug 974584 to only happen for lucid, as described by the preexisting comment.