Code review comment for lp:~bac/lpsetup/run-integration-tests-in-tarmac

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

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
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 *
**********************************************************************

+ set -o errexit
++ grep -v distribute_setup.py
++ find . -name build -prune -o -name '*.py'
+ pyfiles='./setup.py
./lplxcip/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/subcommands/test_inithost.py
./lpsetup/tests/subcommands/__init__.py
./lpsetup/tests/subcommands/test_initlxc.py
./lpsetup/tests/subcommands/test_install_lxc.py
./lpsetup/tests/subcommands/test_update.py
./lpsetup/tests/subcommands/test_version.py
./lpsetup/tests/subcommands/test_initrepo.py
./lpsetup/tests/subcommands/test_finish_inithost.py
./lpsetup/tests/subcommands/test_smoke.py
./lpsetup/tests/integration/common.py
./lpsetup/tests/integration/test_install_lxc.py
./lpsetup/tests/integration/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'
+ pocketlint ./setup.py ./lplxcip/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/subcommands/test_inithost.py ./lpsetup/tests/subcommands/__init__.py ./lpsetup/tests/subcommands/test_initlxc.py ./lpsetup/tests/subcommands/test_install_lxc.py ./lpsetup/tests/subcommands/test_update.py ./lpsetup/tests/subcommands/test_version.py ./lpsetup/tests/subcommands/test_initrepo.py ./lpsetup/tests/subcommands/test_finish_inithost.py ./lpsetup/tests/subcommands/test_smoke.py ./lpsetup/tests/integration/common.py ./lpsetup/tests/integration/test_install_lxc.py ./lpsetup/tests/integration/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
+ pep8 --exclude=build ./setup.py ./lplxcip/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/subcommands/test_inithost.py ./lpsetup/tests/subcommands/__init__.py ./lpsetup/tests/subcommands/test_initlxc.py ./lpsetup/tests/subcommands/test_install_lxc.py ./lpsetup/tests/subcommands/test_update.py ./lpsetup/tests/subcommands/test_version.py ./lpsetup/tests/subcommands/test_initrepo.py ./lpsetup/tests/subcommands/test_finish_inithost.py ./lpsetup/tests/subcommands/test_smoke.py ./lpsetup/tests/integration/common.py ./lpsetup/tests/integration/test_install_lxc.py ./lpsetup/tests/integration/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
+ nosetests
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
.....................................................................................................................................................
----------------------------------------------------------------------
Ran 149 tests in 13.651s

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

« Back to merge proposal