The attempt to merge lp:~gmb/maas/fix-bug-1184589 into lp:maas failed. Below is the output from the failed tests. Ign http://security.ubuntu.com saucy-security InRelease Ign http://nova.clouds.archive.ubuntu.com saucy InRelease Hit http://security.ubuntu.com saucy-security Release.gpg Hit http://security.ubuntu.com saucy-security Release Ign http://nova.clouds.archive.ubuntu.com saucy-updates InRelease Get:1 http://nova.clouds.archive.ubuntu.com saucy Release.gpg [933 B] Hit http://nova.clouds.archive.ubuntu.com saucy-updates Release.gpg Get:2 http://nova.clouds.archive.ubuntu.com saucy Release [49.6 kB] Hit http://nova.clouds.archive.ubuntu.com saucy-updates Release Hit http://security.ubuntu.com saucy-security/main Sources Hit http://security.ubuntu.com saucy-security/universe Sources Hit http://security.ubuntu.com saucy-security/main amd64 Packages Hit http://security.ubuntu.com saucy-security/universe amd64 Packages Hit http://security.ubuntu.com saucy-security/main Translation-en Hit http://security.ubuntu.com saucy-security/universe Translation-en Get:3 http://nova.clouds.archive.ubuntu.com saucy/main Sources [1,011 kB] Ign http://security.ubuntu.com saucy-security/main Translation-en_US Ign http://security.ubuntu.com saucy-security/universe Translation-en_US Get:4 http://nova.clouds.archive.ubuntu.com saucy/universe Sources [6,108 kB] Get:5 http://nova.clouds.archive.ubuntu.com saucy/main amd64 Packages [1,239 kB] Get:6 http://nova.clouds.archive.ubuntu.com saucy/universe amd64 Packages [5,642 kB] Hit http://nova.clouds.archive.ubuntu.com saucy/main Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy/universe Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main Sources Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe Sources Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe Translation-en Ign http://nova.clouds.archive.ubuntu.com saucy/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy/universe Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy-updates/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy-updates/universe Translation-en_US Fetched 14.0 MB in 7s (1,869 kB/s) Reading package lists... sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ --no-install-recommends install apache2 avahi-daemon avahi-utils bind9 bind9utils build-essential curl daemontools distro-info dnsutils firefox freeipmi-tools ipython isc-dhcp-common libjs-raphael libjs-yui3-full libjs-yui3-min libpq-dev make postgresql-9.1 python-amqplib python-avahi python-bzrlib python-celery python-convoy python-cssselect python-curtin python-dbus python-dev python-distro-info python-django python-django-piston python-django-south python-djorm-ext-pgarray python-docutils python-formencode python-httplib2 python-jinja2 python-lockfile python-lxml python-netaddr python-netifaces python-oauth python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted python-oops-wsgi python-pip python-pocket-lint python-psycopg2 python-pyinotify python-simplestreams python-sphinx python-tempita python-twisted python-txamqp python-txlongpoll python-virtualenv python-yaml rabbitmq-server syslinux-common tgt ubuntu-cloudimage-keyring wget xvfb Reading package lists... Building dependency tree... Reading state information... apache2 is already the newest version. avahi-daemon is already the newest version. avahi-utils is already the newest version. bind9 is already the newest version. bind9utils is already the newest version. build-essential is already the newest version. curl is already the newest version. distro-info is already the newest version. dnsutils is already the newest version. firefox is already the newest version. freeipmi-tools is already the newest version. isc-dhcp-common is already the newest version. libjs-raphael is already the newest version. libjs-yui3-full is already the newest version. libjs-yui3-min is already the newest version. libpq-dev is already the newest version. make is already the newest version. postgresql-9.1 is already the newest version. python-amqplib is already the newest version. python-avahi is already the newest version. python-bzrlib is already the newest version. python-celery is already the newest version. python-convoy is already the newest version. python-dbus is already the newest version. python-dev is already the newest version. python-distro-info is already the newest version. python-django is already the newest version. python-django-piston is already the newest version. python-django-south is already the newest version. python-djorm-ext-pgarray is already the newest version. python-docutils is already the newest version. python-formencode is already the newest version. python-httplib2 is already the newest version. python-jinja2 is already the newest version. python-lockfile is already the newest version. python-lxml is already the newest version. python-netaddr is already the newest version. python-netifaces is already the newest version. python-oauth is already the newest version. python-oops is already the newest version. python-oops-amqp is already the newest version. python-oops-datedir-repo is already the newest version. python-oops-twisted is already the newest version. python-oops-wsgi is already the newest version. python-psycopg2 is already the newest version. python-pyinotify is already the newest version. python-simplestreams is already the newest version. python-sphinx is already the newest version. python-tempita is already the newest version. python-twisted is already the newest version. python-txamqp is already the newest version. python-txlongpoll is already the newest version. python-yaml is already the newest version. rabbitmq-server is already the newest version. syslinux-common is already the newest version. tgt is already the newest version. ubuntu-cloudimage-keyring is already the newest version. wget is already the newest version. xvfb is already the newest version. daemontools is already the newest version. ipython is already the newest version. python-cssselect is already the newest version. python-curtin is already the newest version. python-pip is already the newest version. python-pocket-lint is already the newest version. python-virtualenv is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded. make -C acceptance clean make[1]: Entering directory `/home/ubuntu/maas/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/home/ubuntu/maas/acceptance' find . -type f -name '*.py[co]' -print0 | xargs -r0 rm -f find . -type f -name '*~' -print0 | xargs -r0 rm -f find . -type f -name dropin.cache -print0 | xargs -r0 rm -f rm -f -r media/demo/* media/development rm -f src/maasserver/static/js/enums.js rm -f *.log rm -f docs/api.rst rm -f -r docs/_autosummary docs/_build rm -f -r man/.doctrees rm -f -r bin include lib local rm -f -r eggs develop-eggs rm -f -r build dist logs/* parts rm -f tags TAGS .installed.cfg rm -f -r *.egg *.egg-info src/*.egg-info rm -f -r run/* services/*/supervise virtualenv --python=python2.7 --system-site-packages /home/ubuntu/maas New python executable in /home/ubuntu/maas/bin/python2.7 Also creating executable in /home/ubuntu/maas/bin/python Installing Setuptools...................................................................................................................................................................................................................................done. Installing Pip..........................................................................................................................................................................................................................................................................................................................................done. Running virtualenv with interpreter /usr/bin/python2.7 bin/pip --quiet install --ignore-installed \ --no-dependencies bootstrap/zc.buildout-1.5.2.tar.gz rm -f -f README.txt # zc.buildout installs an annoying README.txt. bin/buildout install database Creating directory '/home/ubuntu/maas/parts'. Creating directory '/home/ubuntu/maas/develop-eggs'. Installing database. Generated script '/home/ubuntu/maas/bin/database'. bin/buildout install repl Installing repl. Generated script '/home/ubuntu/maas/bin/ipy'. Generated interpreter '/home/ubuntu/maas/bin/py'. bin/py -m src/maasserver/utils/jsenums src/maasserver/enum.py src/metadataserver/enum.py src/provisioningserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install maas Installing maas. Generated script '/home/ubuntu/maas/bin/maas'. bin/buildout install maas-test Installing maas-test. Generated script '/home/ubuntu/maas/bin/test.maas'. bin/buildout install maascli Installing maascli. Generated script '/home/ubuntu/maas/bin/maascli'. bin/buildout install maascli-test Installing maascli-test. Generated script '/home/ubuntu/maas/bin/test.maascli'. bin/buildout install maastesting-test Installing maastesting-test. Generated script '/home/ubuntu/maas/bin/test.maastesting'. bin/buildout install pserv Installing pserv. Generated script '/home/ubuntu/maas/bin/celeryd'. Generated script '/home/ubuntu/maas/bin/maas-provision'. Generated script '/home/ubuntu/maas/bin/twistd.pserv'. bin/buildout install pserv-test Installing pserv-test. Generated script '/home/ubuntu/maas/bin/test.pserv'. bin/buildout install txlongpoll Installing txlongpoll. Generated script '/home/ubuntu/maas/bin/twistd.txlongpoll'. make -C acceptance clean make[1]: Entering directory `/home/ubuntu/maas/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/home/ubuntu/maas/acceptance' find . -type f -name '*.py[co]' -print0 | xargs -r0 rm -f find . -type f -name '*~' -print0 | xargs -r0 rm -f find . -type f -name dropin.cache -print0 | xargs -r0 rm -f rm -f -r media/demo/* media/development rm -f src/maasserver/static/js/enums.js rm -f *.log rm -f docs/api.rst rm -f -r docs/_autosummary docs/_build rm -f -r man/.doctrees bin/py -m src/maasserver/utils/jsenums src/maasserver/enum.py src/metadataserver/enum.py src/provisioningserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install maas Updating maas. bin/buildout install maas-test Updating maas-test. echo bin/test.maas bin/test.maascli bin/test.maastesting bin/test.pserv | xargs -n1 env nosetests --verbosity 1 --exclude=provisioningserver --exclude=maastesting --exclude=maascli Creating test database for alias 'default'... Destroying test database for alias 'default'... .............................................S......................................................................................................................................................................................sudo: maas-import-pxe-files: command not found E............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................maas-dhcp-server: unrecognized service E..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S........................................................................................................................................................................................................................................................................... ====================================================================== ERROR: maasserver.models.tests.test_nodegroup.TestNodeGroup.test_import_boot_images_calls_script_with_proxy ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_nodegroup.py", line 397, in test_import_boot_images_calls_script_with_proxy nodegroup.import_boot_images() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 264, in import_boot_images import_boot_images.apply_async(queue=self.uuid, kwargs=task_kwargs) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 445, in apply_async return self.apply(args, kwargs, task_id=task_id, **options) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 601, in apply request=request, propagate=throw) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 248, in eager_trace_task uuid, args, kwargs, request) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/home/ubuntu/maas/src/provisioningserver/tasks.py", line 392, in import_boot_images call_and_check(['sudo', '-n', '-E', 'maas-import-pxe-files'], env=env) File "/home/ubuntu/maas/src/provisioningserver/utils.py", line 107, in call_and_check return subprocess.check_call(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) ExternalProcessError: Command `sudo -n -E maas-import-pxe-files` returned non-zero exit status 1: None ====================================================================== ERROR: maasserver.tests.test_dhcp.TestDHCP.test_configure_dhcp_restart_dhcp_server ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_dhcp.py", line 119, in test_configure_dhcp_restart_dhcp_server nodegroup = factory.make_node_group(status=NODEGROUP_STATUS.ACCEPTED) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 221, in make_node_group ng.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 207, in save return super(NodeGroup, self).save(*args, **kwargs) File "/home/ubuntu/maas/src/maasserver/models/timestampedmodel.py", line 55, in save return super(TimestampedModel, self).save(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 664, in save_base update_fields=update_fields, raw=raw, using=using) File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 170, in send response = receiver(signal=self, sender=sender, **named) File "/home/ubuntu/maas/src/maasserver/signals.py", line 76, in post_save_callback callback(instance, original_value, deleted=False) File "/home/ubuntu/maas/src/maasserver/dhcp_connect.py", line 42, in dhcp_post_edit_status_NodeGroup configure_dhcp(instance) File "/home/ubuntu/maas/src/maasserver/dhcp.py", line 76, in configure_dhcp queue=nodegroup.work_queue, kwargs=task_kwargs) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 445, in apply_async return self.apply(args, kwargs, task_id=task_id, **options) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 601, in apply request=request, propagate=throw) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 248, in eager_trace_task uuid, args, kwargs, request) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/home/ubuntu/maas/src/provisioningserver/tasks.py", line 325, in write_dhcp_config callback.delay() File "/usr/lib/python2.7/dist-packages/celery/task/sets.py", line 62, in delay return self.apply_async(args=argmerge, kwargs=kwmerge) File "/usr/lib/python2.7/dist-packages/celery/task/sets.py", line 84, in apply_async return self.type.apply_async(args, kwargs, **options) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 445, in apply_async return self.apply(args, kwargs, task_id=task_id, **options) File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 601, in apply request=request, propagate=throw) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 248, in eager_trace_task uuid, args, kwargs, request) File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/home/ubuntu/maas/src/provisioningserver/tasks.py", line 331, in restart_dhcp_server call_and_check(['sudo', '-n', 'service', 'maas-dhcp-server', 'restart']) File "/home/ubuntu/maas/src/provisioningserver/utils.py", line 107, in call_and_check return subprocess.check_call(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) ExternalProcessError: Command `sudo -n service maas-dhcp-server restart` returned non-zero exit status 1: None ---------------------------------------------------------------------- Ran 1760 tests in 271.959s FAILED (SKIP=2, errors=2) ................................................................................. ---------------------------------------------------------------------- Ran 81 tests in 1.341s OK .........................................................S........................................................ ---------------------------------------------------------------------- Ran 114 tests in 3.218s OK (SKIP=1) ......................................................................................................................................................................................................................................................................SSSS.............................................................................................................................................................................................................................................................................................................................................................................. ---------------------------------------------------------------------- Ran 632 tests in 36.764s OK (SKIP=4) make: *** [test] Error 123