The attempt to merge lp:~jtv/maas/1.5-bug-1313556 into lp:maas/1.5 failed. Below is the output from the failed tests. Ign http://security.ubuntu.com trusty-security InRelease Hit http://security.ubuntu.com trusty-security Release.gpg Ign http://nova.clouds.archive.ubuntu.com trusty InRelease Hit http://security.ubuntu.com trusty-security Release Ign http://nova.clouds.archive.ubuntu.com trusty-updates InRelease Hit http://nova.clouds.archive.ubuntu.com trusty Release.gpg Hit http://nova.clouds.archive.ubuntu.com trusty-updates Release.gpg Hit http://nova.clouds.archive.ubuntu.com trusty Release Hit http://nova.clouds.archive.ubuntu.com trusty-updates Release Hit http://security.ubuntu.com trusty-security/main Sources Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://security.ubuntu.com trusty-security/universe Translation-en Hit http://nova.clouds.archive.ubuntu.com trusty/main Sources Hit http://nova.clouds.archive.ubuntu.com trusty/universe Sources Hit http://nova.clouds.archive.ubuntu.com trusty/main amd64 Packages Hit http://nova.clouds.archive.ubuntu.com trusty/universe amd64 Packages Ign http://security.ubuntu.com trusty-security/main Translation-en_US Hit http://nova.clouds.archive.ubuntu.com trusty/main Translation-en Ign http://security.ubuntu.com trusty-security/universe Translation-en_US Hit http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en Hit http://nova.clouds.archive.ubuntu.com trusty-updates/main Sources Hit http://nova.clouds.archive.ubuntu.com trusty-updates/universe Sources Hit http://nova.clouds.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://nova.clouds.archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://nova.clouds.archive.ubuntu.com trusty-updates/main Translation-en Hit http://nova.clouds.archive.ubuntu.com trusty-updates/universe Translation-en Ign http://nova.clouds.archive.ubuntu.com trusty/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en_US Ign http://nova.clouds.archive.ubuntu.com trusty-updates/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com trusty-updates/universe Translation-en_US Reading package lists... sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ --no-install-recommends install apache2 bind9 bind9utils build-essential bzr-builddeb curl daemontools debhelper dh-apport distro-info dnsutils firefox freeipmi-tools ipython isc-dhcp-common libjs-raphael libjs-yui3-full libjs-yui3-min libpq-dev make postgresql python-amqplib python-bzrlib python-celery python-convoy python-crochet python-cssselect python-curtin 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-jsonschema 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-seamicroclient python-simplestreams python-sphinx python-tempita python-twisted python-txamqp python-txlongpoll python-txtftp 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. 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. debhelper is already the newest version. dh-apport is already the newest version. distro-info is already the newest version. dnsutils 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 is already the newest version. python-amqplib 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-crochet is already the newest version. python-curtin is already the newest version. python-dev is already the newest version. python-distro-info 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-jsonschema 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-seamicroclient 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-txtftp 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. bzr-builddeb 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-pip is already the newest version. python-pocket-lint is already the newest version. python-virtualenv is already the newest version. firefox is already the newest version. python-django is already the newest version. The following package was automatically installed and is no longer required: librabbitmq1 Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ purge python-librabbitmq Reading package lists... Building dependency tree... Reading state information... Package 'python-librabbitmq' is not installed, so not removed The following package was automatically installed and is no longer required: librabbitmq1 Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. make -C acceptance clean make[1]: Entering directory `/tmp/tarmac/branch.h3svZh/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/tmp/tarmac/branch.h3svZh/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 /tmp/tarmac/branch.h3svZh New python executable in /tmp/tarmac/branch.h3svZh/bin/python2.7 Also creating executable in /tmp/tarmac/branch.h3svZh/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python2.7 bin/python -m 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 '/tmp/tarmac/branch.h3svZh/parts'. Creating directory '/tmp/tarmac/branch.h3svZh/develop-eggs'. Installing database. Generated script '/tmp/tarmac/branch.h3svZh/bin/database'. bin/buildout install repl Installing repl. Generated script '/tmp/tarmac/branch.h3svZh/bin/ipy'. Generated interpreter '/tmp/tarmac/branch.h3svZh/bin/py'. bin/py -m src/maasserver/utils/jsenums src/maasserver/enum.py src/metadataserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install maas Installing maas. Generated script '/tmp/tarmac/branch.h3svZh/bin/celeryd.region'. Generated script '/tmp/tarmac/branch.h3svZh/bin/maas-region-admin'. bin/buildout install maas-test Installing maas-test. Generated script '/tmp/tarmac/branch.h3svZh/bin/test.maas'. bin/buildout install maascli Installing maascli. Generated script '/tmp/tarmac/branch.h3svZh/bin/maas'. bin/buildout install maascli-test Installing maascli-test. Generated script '/tmp/tarmac/branch.h3svZh/bin/test.maascli'. bin/buildout install maastesting-test Installing maastesting-test. Generated script '/tmp/tarmac/branch.h3svZh/bin/test.maastesting'. bin/buildout install pserv Installing pserv. Generated script '/tmp/tarmac/branch.h3svZh/bin/celeryd.cluster'. Generated script '/tmp/tarmac/branch.h3svZh/bin/maas-provision'. Generated script '/tmp/tarmac/branch.h3svZh/bin/twistd.pserv'. bin/buildout install pserv-test Installing pserv-test. Generated script '/tmp/tarmac/branch.h3svZh/bin/test.pserv'. bin/buildout install config-test Installing config-test. Generated script '/tmp/tarmac/branch.h3svZh/bin/test.config'. bin/buildout install maas-probe-dhcp Installing maas-probe-dhcp. Generated script '/tmp/tarmac/branch.h3svZh/bin/maas-probe-dhcp'. bin/buildout install txlongpoll Installing txlongpoll. Generated script '/tmp/tarmac/branch.h3svZh/bin/twistd.txlongpoll'. make -C acceptance clean make[1]: Entering directory `/tmp/tarmac/branch.h3svZh/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/tmp/tarmac/branch.h3svZh/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/maasserver/static/js/enums.js bin/buildout install maas Updating maas. bin/buildout install maas-test Updating maas-test. bin/buildout install maas Updating maas. echo bin/test.config bin/test.maas bin/test.maascli bin/test.maastesting bin/test.pserv | xargs -n1 env nosetests --exclude=provisioningserver --exclude=maastesting --exclude=maascli --verbosity=1 Creating test database for alias 'default'... Destroying test database for alias 'default'... .............................................. ---------------------------------------------------------------------- Ran 46 tests in 1.143s OK ..S........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E........................................................................................EEE.EE.E...................EEEEEEEEEE.....................................................................................F....................................................................................................................................................................................................................................................................................................................... ====================================================================== ERROR: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_preseed.py", line 597, in test_get_curtin_userdata user_data = get_curtin_userdata(node) File "/tmp/tarmac/branch.h3svZh/src/maasserver/preseed.py", line 91, in get_curtin_userdata return pack_install(configs=[config], args=[installer_url]) File "/usr/lib/python2.7/dist-packages/curtin/pack.py", line 192, in pack_install add_files=add_files + my_files, copy_files=copy_files) File "/usr/lib/python2.7/dist-packages/curtin/pack.py", line 150, in pack (out, _err) = util.subp(args, capture=True) File "/usr/lib/python2.7/dist-packages/curtin/util.py", line 63, in subp raise ProcessExecutionError(cmd=args, reason=e) ProcessExecutionError: Unexpected error while running command. Command: ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmpLOd2vI/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://178.232.55.66/MAAS/static/images/i386/generic/trusty/label-4ZCc7C/root-tgz'] Exit code: - Reason: [Errno 12] Cannot allocate memory Stdout: '' Stderr: '' -------------------- >> begin captured logging << -------------------- curtin: DEBUG: Running command ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmpLOd2vI/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://178.232.55.66/MAAS/static/images/i386/generic/trusty/label-4ZCc7C/root-tgz'] with allowed return codes [0] (shell=False, capture=True) --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_calls_write_full_dns_config ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 67, in test_start_up_calls_write_full_dns_config start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_creates_master_nodegroup ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 73, in test_start_up_creates_master_nodegroup start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_does_not_warn_if_already_warning ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 135, in test_start_up_does_not_warn_if_already_warning start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_refreshes_workers ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 80, in test_start_up_refreshes_workers start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_refreshes_workers_outside_lock ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 88, in test_start_up_refreshes_workers_outside_lock start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: maasserver.tests.test_start_up.TestStartUp.test_start_up_warns_about_missing_boot_images ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/maasserver/tests/test_start_up.py", line 107, in test_start_up_warns_about_missing_boot_images start_up.start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 55, in start_up inner_start_up() File "/tmp/tarmac/branch.h3svZh/src/maasserver/start_up.py", line 84, in inner_start_up NodeGroup.objects.ensure_master() File "/tmp/tarmac/branch.h3svZh/src/maasserver/models/nodegroup.py", line 107, in ensure_master dhcp_key=generate_omapi_key(), File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 97, in generate_omapi_key key = run_repeated_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 59, in run_repeated_keygen key_id = call_dnssec_keygen(tmpdir) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/omshell.py", line 48, in call_dnssec_keygen env=env) File "/tmp/tarmac/branch.h3svZh/src/provisioningserver/utils/__init__.py", line 133, in call_capture_and_check return subprocess.check_output(command, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestLLDPScripts.test_capture_calls_lldpdctl ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 133, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 151, in runTest test(result) File "/tmp/tarmac/branch.h3svZh/src/maasserver/testing/testcase.py", line 225, in __call__ run_isolated(up, self, result) File "/tmp/tarmac/branch.h3svZh/src/maastesting/utils.py", line 115, in run_isolated pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestLLDPScripts.test_install_script_installs_configures_and_restarts ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 133, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 151, in runTest test(result) File "/tmp/tarmac/branch.h3svZh/src/maasserver/testing/testcase.py", line 225, in __call__ run_isolated(up, self, result) File "/tmp/tarmac/branch.h3svZh/src/maastesting/utils.py", line 115, in run_isolated pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestLLDPScripts.test_wait_script_waits_for_lldpd ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 133, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.3.0-py2.7.egg/nose/case.py", line 151, in runTest test(result) File "/tmp/tarmac/branch.h3svZh/src/maasserver/testing/testcase.py", line 225, in __call__ run_isolated(up, self, result) File "/tmp/tarmac/branch.h3svZh/src/maastesting/utils.py", line 115, in run_isolated pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_basic ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 175, in test_basic self.assertEqual(b"Hello, World!", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_keyword_args_get_passed_through ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 187, in test_keyword_args_get_passed_through self.assertEqual(b"a=foo, b=12345", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_non_ascii_keyword_args_are_passed_without_corruption ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 205, in test_non_ascii_keyword_args_are_passed_without_corruption self.assertEqual(b"u'abc\\u1234'", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_non_ascii_positional_args_are_passed_without_corruption ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 199, in test_non_ascii_positional_args_are_passed_without_corruption self.assertEqual(b"u'abc\\u1234'", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_positional_and_keyword_args_get_passed_through ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 193, in test_positional_and_keyword_args_get_passed_through self.assertEqual(b"a=foo, b=12345", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_positional_args_get_passed_through ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 181, in test_positional_args_get_passed_through self.assertEqual(b"a=foo, b=12345", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== ERROR: metadataserver.models.tests.test_commissioningscript.TestMakeFunctionCallScript.test_structured_arguments_are_passed_though_too ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 216, in test_structured_arguments_are_passed_though_too self.assertEqual(b"Equal\n", self.run_script(script)) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/models/tests/test_commissioningscript.py", line 166, in run_script return check_output((script_filename,), stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory ====================================================================== FAIL: metadataserver.tests.test_api.TestCurtinMetadataUserData.test_curtin_user_data_view_returns_curtin_data ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.h3svZh/src/metadataserver/tests/test_api.py", line 404, in test_curtin_user_data_view_returns_curtin_data self.assertEqual(httplib.OK, response.status_code) File "/home/ubuntu/.buildout/eggs/testtools-0.9.34-py2.7.egg/testtools/testcase.py", line 324, in assertEqual self.assertThat(observed, matcher, message) File "/home/ubuntu/.buildout/eggs/testtools-0.9.34-py2.7.egg/testtools/testcase.py", line 414, in assertThat raise MismatchError(matchee, matcher, mismatch, verbose) MismatchError: 200 != 500 -------------------- >> begin captured logging << -------------------- maasserver: DEBUG: ################################# Request dump ################################ , POST:, COOKIES:{}, META:{'Authorization': u'OAuth realm="", oauth_nonce="35210094", oauth_timestamp="1398849662", oauth_consumer_key="2DRju9GJ2HZWNkn9wX", oauth_signature_method="PLAINTEXT", oauth_version="1.0", oauth_token="DKZbw5dWmZffFqYKeq", oauth_signature="%26HhdnKEEr7Ld9FVN9B9Rp3jdqVT7KykXU"', u'HTTP_AUTHORIZATION': u'OAuth realm="", oauth_nonce="35210094", oauth_timestamp="1398849662", oauth_consumer_key="2DRju9GJ2HZWNkn9wX", oauth_signature_method="PLAINTEXT", oauth_version="1.0", oauth_token="DKZbw5dWmZffFqYKeq", oauth_signature="%26HhdnKEEr7Ld9FVN9B9Rp3jdqVT7KykXU"', u'HTTP_COOKIE': u'', u'PATH_INFO': u'/metadata/curtin/latest/user-data', u'QUERY_STRING': '', u'REMOTE_ADDR': '127.0.0.1', u'REQUEST_METHOD': 'GET', u'SCRIPT_NAME': u'', u'SERVER_NAME': 'testserver', u'SERVER_PORT': '80', u'SERVER_PROTOCOL': 'HTTP/1.1', u'wsgi.errors': <_io.BytesIO object at 0x2b05d410c5f0>, u'wsgi.input': , u'wsgi.multiprocess': True, u'wsgi.multithread': False, u'wsgi.run_once': False, u'wsgi.url_scheme': 'http', u'wsgi.version': (1, 0)}> curtin: DEBUG: Running command ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmp0rKp5p/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://164.108.23.127/MAAS/static/images/i386/generic/trusty/label-Fc3o7w/root-tgz'] with allowed return codes [0] (shell=False, capture=True) maasserver: ERROR: ################################ Exception: Unexpected error while running command. Command: ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmp0rKp5p/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://164.108.23.127/MAAS/static/images/i386/generic/trusty/label-Fc3o7w/root-tgz'] Exit code: - Reason: [Errno 12] Cannot allocate memory Stdout: '' Stderr: '' ################################ maasserver: ERROR: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/decorators/vary.py", line 19, in inner_func response = func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 167, in __call__ result = self.error_handler(e, request, meth, em_format) File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 165, in __call__ result = meth(request, *args, **kwargs) File "/tmp/tarmac/branch.h3svZh/src/maasserver/api_support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.h3svZh/src/metadataserver/api.py", line 368, in read user_data = get_curtin_userdata(node) File "/tmp/tarmac/branch.h3svZh/src/maasserver/preseed.py", line 91, in get_curtin_userdata return pack_install(configs=[config], args=[installer_url]) File "/usr/lib/python2.7/dist-packages/curtin/pack.py", line 192, in pack_install add_files=add_files + my_files, copy_files=copy_files) File "/usr/lib/python2.7/dist-packages/curtin/pack.py", line 150, in pack (out, _err) = util.subp(args, capture=True) File "/usr/lib/python2.7/dist-packages/curtin/util.py", line 63, in subp raise ProcessExecutionError(cmd=args, reason=e) ProcessExecutionError: Unexpected error while running command. Command: ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmp0rKp5p/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://164.108.23.127/MAAS/static/images/i386/generic/trusty/label-Fc3o7w/root-tgz'] Exit code: - Reason: [Errno 12] Cannot allocate memory Stdout: '' Stderr: '' maasserver: DEBUG: ################################ Response dump ################################ Unexpected error while running command. Command: ['/usr/lib/curtin/helpers/shell-archive', '--bin-path=_pwd_/bin', '--python-path=_pwd_', '/tmp/tmp0rKp5p/curtin', 'curtin', '--', 'curtin', 'install', '--config=configs/config-000.cfg', u'http://164.108.23.127/MAAS/static/images/i386/generic/trusty/label-Fc3o7w/root-tgz'] Exit code: - Reason: [Errno 12] Cannot allocate memory Stdout: '' Stderr: '' --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 2408 tests in 542.058s FAILED (SKIP=2, errors=17, failures=1) ........................................................................................................... ---------------------------------------------------------------------- Ran 107 tests in 1.687s OK ........................................................S..S..................................................................... ---------------------------------------------------------------------- Ran 129 tests in 2.042s OK (SKIP=2) ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSS....................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 761 tests in 16.818s OK (SKIP=4) make: *** [test] Error 123