The attempt to merge lp:~jtv/maas/bug-1233069 into lp:maas failed. Below is the output from the failed tests. Ign http://security.ubuntu.com saucy-security 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 InRelease Ign http://nova.clouds.archive.ubuntu.com saucy-updates InRelease Hit http://nova.clouds.archive.ubuntu.com saucy Release.gpg Hit http://nova.clouds.archive.ubuntu.com saucy-updates Release.gpg Hit http://nova.clouds.archive.ubuntu.com saucy Release 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 Hit http://nova.clouds.archive.ubuntu.com saucy/main Sources Hit http://nova.clouds.archive.ubuntu.com saucy/universe Sources Hit http://nova.clouds.archive.ubuntu.com saucy/main amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy/universe amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy/main Translation-en Ign http://security.ubuntu.com saucy-security/main Translation-en_US Hit http://nova.clouds.archive.ubuntu.com saucy/universe Translation-en Ign http://security.ubuntu.com saucy-security/universe Translation-en_US 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 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 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-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-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. 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-djorm-ext-pgarray is already the newest version. python-pip is already the newest version. python-pocket-lint is already the newest version. python-simplestreams is already the newest version. python-virtualenv is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 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'... Error in migration: maasserver:0033_component_error FATAL ERROR - The following SQL query failed: CREATE TABLE "maasserver_componenterror" ("id" serial NOT NULL PRIMARY KEY, "component" varchar(40) NOT NULL UNIQUE, "error" varchar(1000) NOT NULL); The error was: relation "maasserver_componenterror" already exists DatabaseError: relation "maasserver_componenterror" already exists ................................................................................. ---------------------------------------------------------------------- Ran 81 tests in 2.969s OK .......................................................S................. ---------------------------------------------------------------------- Ran 73 tests in 4.580s OK (SKIP=1) .............................................................................................................................................................................................................................................SSSS......................................................................................................E...........................................................................................................E...............E.................................E...........E..................E......... ====================================================================== ERROR: provisioningserver.tests.test_start_cluster_controller.TestStartClusterController.test_register_passes_cluster_information ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/provisioningserver/tests/test_start_cluster_controller.py", line 216, in test_register_passes_cluster_information self.assertEqual([interface], json.loads(post['interfaces'])) File "/usr/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ====================================================================== ERROR: provisioningserver.tests.test_utils.SudoWriteFileTest.test_encodes_contents ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/provisioningserver/tests/test_utils.py", line 533, in test_encodes_contents sudo_write_file(self.make_file(), contents, encoding=encoding) File "/home/ubuntu/maas/src/provisioningserver/utils.py", line 329, in sudo_write_file raw_contents = contents.encode(encoding) LookupError: unknown encoding: utf-16 ====================================================================== ERROR: provisioningserver.tests.test_utils.TestAtomicWriteScript.test_script_executable ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/provisioningserver/tests/test_utils.py", line 797, in test_script_executable env=dict(PYTHONPATH=":".join(sys.path))) File "/usr/lib/python2.7/subprocess.py", line 709, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1325, in _execute_child child_exception = pickle.loads(data) File "/usr/lib/python2.7/pickle.py", line 1382, in loads return Unpickler(file).load() File "/usr/lib/python2.7/pickle.py", line 858, in load dispatch[key](self) File "/usr/lib/python2.7/pickle.py", line 971, in load_string self.append(rep.decode("string-escape")) LookupError: unknown encoding: string-escape ====================================================================== ERROR: provisioningserver.tests.test_utils.TestReadTextFile.test_uses_given_encoding ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/provisioningserver/tests/test_utils.py", line 991, in test_uses_given_encoding self.make_file(contents=text.encode('utf-16')), LookupError: unknown encoding: utf-16 ====================================================================== ERROR: provisioningserver.tests.test_utils.TestTempDir.test_decodes_bytes_from_mkdtemp ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/case.py", line 133, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/case.py", line 151, in runTest test(result) File "/home/ubuntu/maas/src/maastesting/testcase.py", line 127, in __call__ super(MAASTestCase, self).__call__(result) File "/home/ubuntu/maas/src/maastesting/scenarios.py", line 36, in __call__ super(WithScenarios, self).__call__(result) File "/usr/lib/python2.7/unittest/case.py", line 395, in __call__ return self.run(*args, **kwds) File "/home/ubuntu/maas/src/maastesting/testcase.py", line 123, in run super(MAASTestCase, self).run(result) File "build/bdist.linux-x86_64/egg/testscenarios/testcase.py", line 65, in run return super(WithScenarios, self).run(result) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/testcase.py", line 517, in run return self.__RunTest(self, self.exception_handlers).run(result) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 74, in run return self._run_one(actual_result) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 88, in _run_one return self._run_prepared_result(ExtendedToOriginalDecorator(result)) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 100, in _run_prepared_result self._run_core() File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 125, in _run_core self.case._run_test_method, self.result): File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 173, in _run_user return self._got_user_exception(sys.exc_info()) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/runtest.py", line 193, in _got_user_exception self.case.onException(exc_info, tb_label=tb_label) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/testcase.py", line 479, in onException self._report_traceback(exc_info, tb_label=tb_label) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/testcase.py", line 510, in _report_traceback self.addDetail(tb_label, content.TracebackContent(exc_info, self)) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/content.py", line 137, in __init__ value = self._exc_info_to_unicode(err, test) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/content.py", line 166, in _exc_info_to_unicode msgLines = format_exception(exctype, value, tb) File "/home/ubuntu/.buildout/eggs/testtools-0.9.14-py2.7.egg/testtools/compat.py", line 345, in _format_exc_info filename.decode(fs_enc, "replace"), LookupError: unknown encoding: utf-16 ====================================================================== ERROR: provisioningserver.tests.test_utils.TestWriteTextFile.test_uses_given_encoding ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/provisioningserver/tests/test_utils.py", line 1019, in test_uses_given_encoding write_text_file(path, text, encoding='utf-16') File "/home/ubuntu/maas/src/provisioningserver/utils.py", line 563, in write_text_file with codecs.open(path, 'w', encoding) as outfile: File "/home/ubuntu/maas/lib/python2.7/codecs.py", line 884, in open LookupError: unknown encoding: utf-16 ---------------------------------------------------------------------- Ran 541 tests in 72.803s FAILED (SKIP=4, errors=6) make: *** [test] Error 123