Merge lp:~jameinel/lpsetup/missing_lxc_1045728 into lp:lpsetup
| Status: | Merged |
|---|---|
| Merged at revision: | 81 |
| Proposed branch: | lp:~jameinel/lpsetup/missing_lxc_1045728 |
| Merge into: | lp:lpsetup |
| Diff against target: |
57 lines (+32/-2) 2 files modified
lplxcip/lxcip.py (+14/-2) lplxcip/tests/test_lxcip.py (+18/-0) |
| To merge this branch: | bzr merge lp:~jameinel/lpsetup/missing_lxc_1045728 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| John A Meinel (community) | Approve on 2012-09-07 | ||
| j.c.sackett (community) | 2012-09-04 | Approve on 2012-09-06 | |
|
Review via email:
|
|||
Commit Message
Probe for lxc.so.0 in multiple locations because it exists in a different spot on Precise vs Quantal.
Description of the Change
This is meant to address bug #1045728. It looks like 'lxc.so' has moved between Ubuntu versions. So we need to probe for it in multiple locations.
The fix is pretty straightforward, most of the churn from the patch is to make it testable so we understand *why* we try multiple locations, and avoid regressing in the future. (Also allows us to rip out some of the code when P becomes obsolete many years from now.)
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~jameinel/lpsetup/missing_lxc_1045728 into lp:lpsetup failed. Below is the output from the failed tests.
./lplxcip/
76: E301 expected 1 blank line, found 0
./lplxcip/lxcip.py
186: local variable 'e' is assigned to but never used
+ set -o errexit
++ grep -v distribute_setup.py
++ find . -name build -prune -o -name '*.py'
+ pyfiles='./setup.py
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/lxcip.py
./lpsetup/utils.py
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/cli.py'
+ pocketlint ./setup.py ./lplxcip/
| Launchpad QA Bot (lpqabot) wrote : | # |
There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.
| John A Meinel (jameinel) wrote : | # |
So... QA Bot, you rejected the submission because it had some lint, I fixed the lint, and now you say I need more review. I reject your hypothesis on trivial revisions, and submit my own fix yet again. :)
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~jameinel/lpsetup/missing_lxc_1045728 into lp:lpsetup failed. Below is the output from the failed tests.
* Reloading AppArmor profiles
...done.
WARNING: this command will destroy the 'lpsetup-
This includes all machines, services, data, and other resources. Continue [y/N]**
* Checking test environment. *
*******
*******
* Setting up the test environment for LXC container. *
*******
-------
check_call:
juju bootstrap -e lpsetup-testing-lxc
-------
*******
None
*******
*******
* Cleaning up. *
*******
*******
* Run time: 0:00:22.655719 *
*******
+ set -o errexit
++ grep -v distribute_setup.py
++ find . -name build -prune -o -name '*.py'
+ pyfiles='./setup.py
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/lxcip.py
./lpsetup/utils.py
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/cli.py'
+ pocketlint ./setup.py ./lplxcip/
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~jameinel/lpsetup/missing_lxc_1045728 into lp:lpsetup failed. Below is the output from the failed tests.
lxc.aa_profile = lxc-container-
WARNING: this command will destroy the 'lpsetup-
This includes all machines, services, data, and other resources. Continue [y/N]**
* Checking test environment. *
*******
*******
* Setting up the test environment for LXC container. *
*******
-------
check_call:
juju bootstrap -e lpsetup-testing-lxc
-------
*******
None
*******
*******
* Cleaning up. *
*******
*******
* Run time: 0:00:23.530643 *
*******
+ set -o errexit
++ grep -v distribute_setup.py
++ find . -name build -prune -o -name '*.py'
+ pyfiles='./setup.py
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/
./lplxcip/lxcip.py
./lpsetup/utils.py
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/cli.py'
+ pocketlint ./setup.py ./lplxcip/
| j.c.sackett (jcsackett) wrote : | # |
John, just noticed this was still sitting in my +activereviews; are you still trying to land this, or can we mark it as abandoned?
| Colin Watson (cjwatson) wrote : | # |
I merged this manually (with a follow-up fix for API changes in liblxc.so.1), since I have no idea where the Tarmac instance for this lives (if anywhere now) and this surprised us when preparing buildbot for xenial.

This looks ok to land. Thanks, John.