lxc.aa_profile = lxc-container-with-nesting
WARNING: this command will destroy the 'lpsetup-testing-lxc' environment (type: local).
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:02:26.380304 *
**********************************************************************
OK
+ '[' --nested-mods == --nested-mods ']'
+ sudo bin/setup-host-for-nested-lxc-containers.sh
+ lpsetup/tests/integration/test_install_lxc.py
juju environment not found: no details available
2012-08-27 14:34:44,163 ERROR juju environment not found: no details available
2012-08-27 14:34:57,768 INFO Bootstrapping environment 'lpsetup-testing-lxc' (origin: distro type: local)...
2012-08-27 14:34:57,800 INFO Checking for required packages...
2012-08-27 14:35:56,711 INFO Starting networking...
2012-08-27 14:36:03,918 INFO Starting zookeeper...
2012-08-27 14:36:04,110 INFO Starting storage server...
could not connect before timeout
2012-08-27 14:36:34,579 ERROR could not connect before timeout
2012-08-27 14:36:35,424 INFO Destroying environment 'lpsetup-testing-lxc' (type: local)...
2012-08-27 14:36:35,424 INFO Destroying unit containers...
2012-08-27 14:36:37,628 INFO 'destroy_environment' command finished successfully
Traceback (most recent call last):
File "lpsetup/tests/integration/test_install_lxc.py", line 91, in <module>
sys.exit(InstallLXCTest().run())
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/integration/common.py", line 137, in run
self.set_up()
File "lpsetup/tests/integration/test_install_lxc.py", line 62, in set_up
super(InstallLXCTest, self).set_up()
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/integration/common.py", line 83, in set_up
self.check_call('juju bootstrap -e {}'.format(self.juju_env).split())
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/integration/common.py", line 58, in check_call
check_call_orig(*args)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju', 'bootstrap', '-e', 'lpsetup-testing-lxc']' returned non-zero exit status 1
The attempt to merge lp:~bac/lpsetup/setup_x into lp:lpsetup failed. Below is the output from the failed tests.
lxc.aa_profile = lxc-container- with-nesting testing- lxc' environment (type: local). ******* ******* ******* ******* ******* ******* ******* ******* ******* ***** ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *******
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:02:26.380304 *
*******
+ set -o errexit tests/utils. py tests/_ _init__ .py tests/test_ lxcip.py tests/test_ helpers. py tests/test_ utils.py __init_ _.py handlers. py tests/utils. py tests/_ _init__ .py tests/test_ argparser. py tests/test_ cli.py tests/test_ handlers. py tests/subcomman ds/__init_ _.py tests/subcomman ds/test_ version. py tests/subcomman ds/test_ initrepo. py tests/subcomman ds/test_ init_target. py tests/subcomman ds/test_ smoke.py tests/integrati on/common. py tests/integrati on/test_ install_ lxc.py tests/integrati on/test_ init_target. py tests/test_ utils.py subcommands/ __init_ _.py subcommands/ install_ lxc.py subcommands/ initlxc. py subcommands/ init_target. py subcommands/ update. py subcommands/ initrepo. py subcommands/ version. py exceptions. py argparser. py settings. py tests/utils. py ./lplxcip/ tests/_ _init__ .py ./lplxcip/ tests/test_ lxcip.py ./lplxcip/ tests/test_ helpers. py ./lplxcip/ tests/test_ utils.py ./lplxcip/lxcip.py ./lpsetup/utils.py ./lpsetup/ __init_ _.py ./lpsetup/ handlers. py ./lpsetup/ tests/utils. py ./lpsetup/ tests/_ _init__ .py ./lpsetup/ tests/test_ argparser. py ./lpsetup/ tests/test_ cli.py ./lpsetup/ tests/test_ handlers. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ init_target. py ./lpsetup/ tests/subcomman ds/test_ smoke.py ./lpsetup/ tests/integrati on/common. py ./lpsetup/ tests/integrati on/test_ install_ lxc.py ./lpsetup/ tests/integrati on/test_ init_target. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. py ./lpsetup/ subcommands/ init_target. py ./lpsetup/ subcommands/ update. py ./lpsetup/ subcommands/ initrepo. py ./lpsetup/ subcommands/ version. py ./lpsetup/ exceptions. py ./lpsetup/ argparser. py ./lpsetup/ settings. py ./lpsetup/cli.py tests/utils. py ./lplxcip/ tests/_ _init__ .py ./lplxcip/ tests/test_ lxcip.py ./lplxcip/ tests/test_ helpers. py ./lplxcip/ tests/test_ utils.py ./lplxcip/lxcip.py ./lpsetup/utils.py ./lpsetup/ __init_ _.py ./lpsetup/ handlers. py ./lpsetup/ tests/utils. py ./lpsetup/ tests/_ _init__ .py ./lpsetup/ tests/test_ argparser. py ./lpsetup/ tests/test_ cli.py ./lpsetup/ tests/test_ handlers. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ init_target. py ./lpsetup/ tests/subcomman ds/test_ smoke.py ./lpsetup/ tests/integrati on/common. py ./lpsetup/ tests/integrati on/test_ install_ lxc.py ./lpsetup/ tests/integrati on/test_ init_target. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. py ./lpsetup/ subcommands/ init_target. py ./lpsetup/ subcommands/ update. py ./lpsetup/ subcommands/ initrepo. py ./lpsetup/ subcommands/ version. py ./lpsetup/ exceptions. py ./lpsetup/ argparser. py ./lpsetup/ settings. py ./lpsetup/cli.py ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ------- ------- ------- ------- ------- ------- ------- ------- subcommands. init_target 136 54 60% 101, 138-142, 152-177, 198-205, 222-240, 246, 251-259, 268-278 subcommands. initlxc 91 44 52% 63-67, 82-126, 139, 146-147, 160-205, 214-217, 224-226 subcommands. initrepo 73 10 86% 64-66, 73, 78-80, 87-89 subcommands. install_ lxc 66 34 48% 44-46, 55-81, 91-92, 98-107, 117-121, 131-140 subcommands. update 49 18 63% 34-35, 44-63, 74-75, 86-88 subcommands. version 11 0 100% ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
++ 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/
+ pep8 --exclude=build ./setup.py ./lplxcip/
+ nosetests
.......
Name Stmts Miss Cover Missing
-------
lpsetup 6 0 100%
lpsetup.argparser 123 2 98% 226, 255
lpsetup.cli 79 8 90% 65-66, 83-85, 121-122, 179
lpsetup.exceptions 6 0 100%
lpsetup.handlers 96 1 99% 244
lpsetup.settings 33 0 100%
lpsetup.subcommands 0 0 100%
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.
lpsetup.utils 190 41 78% 122, 189, 243-253, 268, 307-314, 336, 346, 362-370, 387-393, 408-410, 422-428
-------
TOTAL 959 212 78%
-------
Ran 168 tests in 65.669s
OK host-for- nested- lxc-containers. sh tests/integrati on/test_ install_ lxc.py testing- lxc' (origin: distro type: local)... testing- lxc' (type: local)... environment' command finished successfully tests/integrati on/test_ install_ lxc.py" , line 91, in <module> exit(InstallLXC Test(). run()) tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 137, in run tests/integrati on/test_ install_ lxc.py" , line 62, in set_up InstallLXCTest, self).set_up() tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 83, in set_up check_call( 'juju bootstrap -e {}'.format( self.juju_ env).split( )) tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 58, in check_call call_orig( *args) python2. 7/subprocess. py", line 511, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['juju', 'bootstrap', '-e', 'lpsetup- testing- lxc']' returned non-zero exit status 1
+ '[' --nested-mods == --nested-mods ']'
+ sudo bin/setup-
+ lpsetup/
juju environment not found: no details available
2012-08-27 14:34:44,163 ERROR juju environment not found: no details available
2012-08-27 14:34:57,768 INFO Bootstrapping environment 'lpsetup-
2012-08-27 14:34:57,800 INFO Checking for required packages...
2012-08-27 14:35:56,711 INFO Starting networking...
2012-08-27 14:36:03,918 INFO Starting zookeeper...
2012-08-27 14:36:04,110 INFO Starting storage server...
could not connect before timeout
2012-08-27 14:36:34,579 ERROR could not connect before timeout
2012-08-27 14:36:35,424 INFO Destroying environment 'lpsetup-
2012-08-27 14:36:35,424 INFO Destroying unit containers...
2012-08-27 14:36:37,628 INFO 'destroy_
Traceback (most recent call last):
File "lpsetup/
sys.
File "/home/
self.set_up()
File "lpsetup/
super(
File "/home/
self.
File "/home/
check_
File "/usr/lib/
raise CalledProcessEr
subprocess.