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
----------------------------------------------------------------------
**********************************************************************
* Cleaning up. *
**********************************************************************
**********************************************************************
* Run time: 0:00:30.859648 *
**********************************************************************
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-07 12:58:33,697 ERROR juju environment not found: no details available
2012-08-07 12:58:37,298 INFO Bootstrapping environment 'lpsetup-testing-lxc' (origin: distro type: local)...
2012-08-07 12:58:37,298 INFO Checking for required packages...
2012-08-07 12:58:45,290 INFO Starting networking...
2012-08-07 12:58:47,211 INFO Starting zookeeper...
2012-08-07 12:58:47,270 INFO Starting storage server...
could not connect before timeout
2012-08-07 12:59:01,271 ERROR could not connect before timeout
2012-08-07 12:59:01,828 INFO Destroying environment 'lpsetup-testing-lxc' (type: local)...
2012-08-07 12:59:01,828 INFO Destroying unit containers...
2012-08-07 12:59:02,456 INFO 'destroy_environment' command finished successfully
Traceback (most recent call last):
File "lpsetup/tests/integration/test_install_lxc.py", line 112, in <module>
sys.exit(InstallLXCTest().run())
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/integration/common.py", line 128, in run
self.set_up()
File "lpsetup/tests/integration/test_install_lxc.py", line 83, in set_up
super(InstallLXCTest, self).set_up()
File "/home/tarmac/repos/lpsetup/trunk/lpsetup/tests/integration/common.py", line 74, 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 54, 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/run-integration-tests-in-tarmac 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
-------
*******
* Cleaning up. *
*******
******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *******
* Run time: 0:00:30.859648 *
*******
+ 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_ handlers. py tests/subcomman ds/test_ inithost. py tests/subcomman ds/__init_ _.py tests/subcomman ds/test_ initlxc. py tests/subcomman ds/test_ install_ lxc.py tests/subcomman ds/test_ update. py tests/subcomman ds/test_ version. py tests/subcomman ds/test_ initrepo. py tests/subcomman ds/test_ finish_ inithost. py tests/subcomman ds/test_ smoke.py tests/integrati on/common. py tests/integrati on/test_ install_ lxc.py tests/integrati on/test_ init_host. py tests/examples. py tests/test_ utils.py subcommands/ __init_ _.py subcommands/ finish_ inithost. py subcommands/ inithost. py subcommands/ install_ lxc.py subcommands/ initlxc. 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_ handlers. py ./lpsetup/ tests/subcomman ds/test_ inithost. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ initlxc. py ./lpsetup/ tests/subcomman ds/test_ install_ lxc.py ./lpsetup/ tests/subcomman ds/test_ update. py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ finish_ inithost. 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_host. py ./lpsetup/ tests/examples. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ finish_ inithost. py ./lpsetup/ subcommands/ inithost. py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. 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_ handlers. py ./lpsetup/ tests/subcomman ds/test_ inithost. py ./lpsetup/ tests/subcomman ds/__init_ _.py ./lpsetup/ tests/subcomman ds/test_ initlxc. py ./lpsetup/ tests/subcomman ds/test_ install_ lxc.py ./lpsetup/ tests/subcomman ds/test_ update. py ./lpsetup/ tests/subcomman ds/test_ version. py ./lpsetup/ tests/subcomman ds/test_ initrepo. py ./lpsetup/ tests/subcomman ds/test_ finish_ inithost. 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_host. py ./lpsetup/ tests/examples. py ./lpsetup/ tests/test_ utils.py ./lpsetup/ subcommands/ __init_ _.py ./lpsetup/ subcommands/ finish_ inithost. py ./lpsetup/ subcommands/ inithost. py ./lpsetup/ subcommands/ install_ lxc.py ./lpsetup/ subcommands/ initlxc. 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 ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... .. ------- ------- ------- ------- ------- ------- ------- ------- -------
++ 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/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/
./lpsetup/cli.py'
+ pocketlint ./setup.py ./lplxcip/
+ pep8 --exclude=build ./setup.py ./lplxcip/
+ nosetests
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
.......
-------
Ran 149 tests in 13.651s
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 112, in <module> exit(InstallLXC Test(). run()) tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 128, in run tests/integrati on/test_ install_ lxc.py" , line 83, in set_up InstallLXCTest, self).set_up() tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 74, in set_up check_call( 'juju bootstrap -e {}'.format( self.juju_ env).split( )) tarmac/ repos/lpsetup/ trunk/lpsetup/ tests/integrati on/common. py", line 54, 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-07 12:58:33,697 ERROR juju environment not found: no details available
2012-08-07 12:58:37,298 INFO Bootstrapping environment 'lpsetup-
2012-08-07 12:58:37,298 INFO Checking for required packages...
2012-08-07 12:58:45,290 INFO Starting networking...
2012-08-07 12:58:47,211 INFO Starting zookeeper...
2012-08-07 12:58:47,270 INFO Starting storage server...
could not connect before timeout
2012-08-07 12:59:01,271 ERROR could not connect before timeout
2012-08-07 12:59:01,828 INFO Destroying environment 'lpsetup-
2012-08-07 12:59:01,828 INFO Destroying unit containers...
2012-08-07 12:59:02,456 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.