The attempt to merge lp:~julian-edwards/maas/commission-monitor-bug-1303925 into lp:maas failed. Below is the output from the failed tests. Ign http://security.ubuntu.com trusty-security InRelease Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B] Ign http://nova.clouds.archive.ubuntu.com trusty InRelease Get:2 http://security.ubuntu.com trusty-security Release [62.0 kB] Ign http://nova.clouds.archive.ubuntu.com trusty-updates InRelease Hit http://nova.clouds.archive.ubuntu.com trusty Release.gpg Get:3 http://nova.clouds.archive.ubuntu.com trusty-updates Release.gpg [933 B] Hit http://nova.clouds.archive.ubuntu.com trusty Release Get:4 http://nova.clouds.archive.ubuntu.com trusty-updates Release [62.0 kB] Get:5 http://security.ubuntu.com trusty-security/main Sources [49.5 kB] Hit http://nova.clouds.archive.ubuntu.com trusty/main Sources Get:6 http://security.ubuntu.com trusty-security/universe Sources [11.2 kB] Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [153 kB] Get:8 http://security.ubuntu.com trusty-security/universe amd64 Packages [51.2 kB] 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 Hit http://nova.clouds.archive.ubuntu.com trusty/main Translation-en Get:9 http://security.ubuntu.com trusty-security/main Translation-en [75.0 kB] Hit http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en Get:10 http://nova.clouds.archive.ubuntu.com trusty-updates/main Sources [136 kB] Get:11 http://security.ubuntu.com trusty-security/universe Translation-en [30.5 kB] Get:12 http://nova.clouds.archive.ubuntu.com trusty-updates/universe Sources [89.3 kB] Get:13 http://nova.clouds.archive.ubuntu.com trusty-updates/main amd64 Packages [356 kB] Get:14 http://nova.clouds.archive.ubuntu.com trusty-updates/universe amd64 Packages [217 kB] Get:15 http://nova.clouds.archive.ubuntu.com trusty-updates/main Translation-en [161 kB] Get:16 http://nova.clouds.archive.ubuntu.com trusty-updates/universe Translation-en [109 kB] Ign http://nova.clouds.archive.ubuntu.com trusty/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en_US Fetched 1,564 kB in 2s (522 kB/s) Reading package lists... sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ --no-install-recommends install apache2 authbind bind9 bind9utils build-essential bzr-builddeb curl daemontools debhelper dh-apport distro-info dnsutils firefox freeipmi-tools gjs ipython isc-dhcp-common libjs-raphael libjs-yui3-full libjs-yui3-min libpq-dev make pep8 postgresql pyflakes 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-extras python-fixtures python-flake8 python-formencode python-hivex python-httplib2 python-jinja2 python-jsonschema python-lockfile python-lxml python-mimeparse python-mock python-netaddr python-netifaces python-nose python-oauth python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted python-oops-wsgi python-openssl python-paramiko python-pexpect python-pip python-pocket-lint python-psycopg2 python-pyinotify python-seamicroclient python-simplejson python-simplestreams python-sphinx python-subunit python-tempita python-testresources python-testscenarios python-testtools python-twisted python-txamqp python-txtftp python-tz python-virtualenv python-yaml python-zope.interface syslinux-common tgt ubuntu-cloudimage-keyring wget xvfb Reading package lists... Building dependency tree... Reading state information... authbind is already the newest version. bind9 is already the newest version. bind9utils is already the newest version. build-essential is already the newest version. debhelper is already the newest version. distro-info is already the newest version. dnsutils 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. make is already the newest version. pep8 is already the newest version. postgresql is already the newest version. pyflakes is already the newest version. python-amqplib 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-extras is already the newest version. python-fixtures 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-mimeparse is already the newest version. python-mock is already the newest version. python-netaddr is already the newest version. python-netifaces is already the newest version. python-nose 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-openssl is already the newest version. python-paramiko is already the newest version. python-psycopg2 is already the newest version. python-pyinotify is already the newest version. python-simplejson is already the newest version. python-subunit is already the newest version. python-tempita is already the newest version. python-testresources is already the newest version. python-testscenarios is already the newest version. python-testtools is already the newest version. python-twisted is already the newest version. python-txamqp is already the newest version. python-txtftp is already the newest version. python-tz is already the newest version. python-yaml is already the newest version. python-zope.interface 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. 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-flake8 is already the newest version. python-hivex 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. apache2 is already the newest version. curl is already the newest version. dh-apport is already the newest version. firefox is already the newest version. freeipmi-tools is already the newest version. libpq-dev is already the newest version. python-bzrlib is already the newest version. python-django is already the newest version. python-lxml is already the newest version. python-pexpect 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. wget is already the newest version. xvfb is already the newest version. gjs is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded. sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ purge Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded. make -C acceptance clean make[1]: Entering directory `/tmp/tarmac/branch.DNVeIb/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/tmp/tarmac/branch.DNVeIb/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.DNVeIb New python executable in /tmp/tarmac/branch.DNVeIb/bin/python2.7 Also creating executable in /tmp/tarmac/branch.DNVeIb/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.DNVeIb/parts'. Creating directory '/tmp/tarmac/branch.DNVeIb/develop-eggs'. Installing database. Generated script '/tmp/tarmac/branch.DNVeIb/bin/database'. bin/buildout install repl Installing repl. Generated script '/tmp/tarmac/branch.DNVeIb/bin/ipy'. Generated interpreter '/tmp/tarmac/branch.DNVeIb/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.DNVeIb/bin/maas-region-admin'. bin/buildout install maas-test Installing maas-test. Generated script '/tmp/tarmac/branch.DNVeIb/bin/test.maas'. bin/buildout install maascli Installing maascli. Generated script '/tmp/tarmac/branch.DNVeIb/bin/maas'. bin/buildout install maascli-test Installing maascli-test. Generated script '/tmp/tarmac/branch.DNVeIb/bin/test.maascli'. bin/buildout install maastesting-test Installing maastesting-test. Generated script '/tmp/tarmac/branch.DNVeIb/bin/test.maastesting'. bin/buildout install pserv Installing pserv. Generated script '/tmp/tarmac/branch.DNVeIb/bin/maas-provision'. Generated script '/tmp/tarmac/branch.DNVeIb/bin/twistd.pserv'. bin/buildout install pserv-test Installing pserv-test. Generated script '/tmp/tarmac/branch.DNVeIb/bin/test.pserv'. bin/buildout install config-test Installing config-test. Generated script '/tmp/tarmac/branch.DNVeIb/bin/test.config'. bin/buildout install maas-probe-dhcp Installing maas-probe-dhcp. Generated script '/tmp/tarmac/branch.DNVeIb/bin/maas-probe-dhcp'. make -C acceptance clean make[1]: Entering directory `/tmp/tarmac/branch.DNVeIb/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/tmp/tarmac/branch.DNVeIb/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. 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 --logging-level=INFO --verbosity=1 Creating test database for alias 'default'... Destroying test database for alias 'default'... .............................................. ---------------------------------------------------------------------- Ran 46 tests in 0.338s OK ..S................................................................................................................................................................................................FFFEEE....................F..F.....F........E........E..F..F..F..F....................................................................................................................................................................................................................................................................................................................................S.................F.E.F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S............................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E...FFFFF.....FFFFF...............EEE..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SS........................................................................................................................................................................................ ====================================================================== ERROR: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_new_sets_power_parameters_skip_check ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 719, in test_POST_new_sets_power_parameters_skip_check system_id=json.loads(response.content)['system_id']) 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: fair-rod.local: Enlisted new node maas.node: INFO: fair-rod.local: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_new_sets_power_type_if_admin ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 654, in test_POST_new_sets_power_type_if_admin system_id=json.loads(response.content)['system_id']) 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: sorrowful-shoe.local: Enlisted new node maas.node: INFO: sorrowful-shoe.local: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_returns_limited_fields ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 757, in test_POST_returns_limited_fields parsed_result = json.loads(response.content) 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: NUoP62fWvL: Enlisted new node maas.node: INFO: NUoP62fWvL: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 90, in test_POST_new_generates_hostname_if_ip_based_hostname parsed_result = json.loads(response.content) 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: likely-belief.local: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: prestigious-act.local: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: perfect-attempt.local: Enlisted new node maas.node: INFO: perfect-attempt.local: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_with_no_hostname_auto_populates_hostname ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 232, in test_POST_with_no_hostname_auto_populates_hostname system_id=json.loads(response.content)['system_id']) 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: buoyant-popcorn.local: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: plush-tiger.local: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: negligible-mother.local: Enlisted new node maas.node: INFO: negligible-mother.local: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_accept_gets_node_out_of_declared_state ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_nodes.py", line 1009, in test_POST_accept_gets_node_out_of_declared_state for accepted_node in json.loads(response.content)] 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 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.node: INFO: iGgffzUZ6WLcbcjKL926: Starting commissioning root: ERROR: Unable to connect to cluster d10b582a-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 742, in accept None, [node.accept_enlistment(request.user) for node in nodes]) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster d10b582a-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_node_action.TestAbortCommissioningNodeAction.test_AbortCommissioning_aborts_commissioning ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 254, in test_AbortCommissioning_aborts_commissioning AbortCommissioning(node, admin).execute() File "/tmp/tarmac/branch.DNVeIb/src/maasserver/node_action.py", line 224, in execute raise NodeActionError(exception) NodeActionError: Unable to connect to cluster 'cluster-kt8rV3' (211c8fe6-6493-11e4-8f38-fa163e47b3b7); no connections available. -------------------- >> begin captured logging << -------------------- maas.node: INFO: bQIvmpI6NSCQO6DuDMqq: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_node_action.TestCommissionNodeAction.test_Commission_starts_commissioning ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 239, in test_Commission_starts_commissioning action.execute() File "/tmp/tarmac/branch.DNVeIb/src/maasserver/node_action.py", line 205, in execute raise NodeActionError(exception) NodeActionError: Unable to connect to cluster 'cluster-SHAGvK' (220e621c-6493-11e4-8f38-fa163e47b3b7); no connections available. -------------------- >> begin captured logging << -------------------- maas.node: INFO: 4wGr9xHdGf1nnA2sBWLe: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_node_action.TestCommissionNodeAction.test_Commission_starts_commissioning ---------------------------------------------------------------------- _StringException: traceback-1: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 239, in test_Commission_starts_commissioning action.execute() File "/tmp/tarmac/branch.DNVeIb/src/maasserver/node_action.py", line 205, in execute raise NodeActionError(exception) NodeActionError: Unable to connect to cluster 'cluster-om2I4q' (22175eda-6493-11e4-8f38-fa163e47b3b7); no connections available. }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: 4wGr9xHdGf1nnA2sBWLe: Starting commissioning maas.node: INFO: hsDNVKZhizhbmCN0ZY1W: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_node_action.TestCommissionNodeAction.test_Commission_starts_commissioning ---------------------------------------------------------------------- _StringException: traceback-2: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 239, in test_Commission_starts_commissioning action.execute() File "/tmp/tarmac/branch.DNVeIb/src/maasserver/node_action.py", line 205, in execute raise NodeActionError(exception) NodeActionError: Unable to connect to cluster 'cluster-agHnOt' (22202272-6493-11e4-8f38-fa163e47b3b7); no connections available. }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: 4wGr9xHdGf1nnA2sBWLe: Starting commissioning maas.node: INFO: hsDNVKZhizhbmCN0ZY1W: Starting commissioning maas.node: INFO: CvQqjWF7FXHZoTJ6X3Kn: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_accept_all ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 792, in test_POST_accept_all self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.node: INFO: G7xxy4uq6tsIDgDxvUZ9: Starting commissioning root: ERROR: Unable to connect to cluster bf86a938-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 760, in accept_all nodes = [node.accept_enlistment(request.user) for node in nodes] File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster bf86a938-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_admin_creates_node_in_commissioning_state ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 739, in test_POST_admin_creates_node_in_commissioning_state self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: APVNxFKz77: Enlisted new node maas.node: INFO: APVNxFKz77: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_new_sets_power_parameters_field ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 673, in test_POST_new_sets_power_parameters_field self.assertEqual(httplib.OK, response.status_code, response.content) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503: Unable to connect to cluster 'Cluster master' (master); no connections available. -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: turbulent-smell.local: Enlisted new node maas.node: INFO: turbulent-smell.local: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_creates_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 69, in test_POST_new_creates_node self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.node: INFO: diane: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_creates_node_with_arch_only ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 138, in test_POST_new_creates_node_with_arch_only self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.node: INFO: diane: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_creates_node_with_subarchitecture ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 161, in test_POST_new_creates_node_with_subarchitecture self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: diane: Enlisted new node maas.node: INFO: diane: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.NodeHostnameEnlistmentTest.test_created_node_gets_domain_from_cluster_appended ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 406, in test_created_node_gets_domain_from_cluster_appended self.assertEqual(httplib.OK, response.status_code, response.content) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503: Unable to connect to cluster 'cluster-i8QPBU' (c2b8dbda-6492-11e4-8f38-fa163e47b3b7); no connections available. -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-gCeEAR: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-TuvcAd: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-M6x6KU: Enlisted new node maas.node: INFO: hostname-M6x6KU: Starting commissioning root: ERROR: Unable to connect to cluster c2b8dbda-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster c2b8dbda-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.NodeHostnameEnlistmentTest.test_created_node_has_domain_from_cluster ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 383, in test_created_node_has_domain_from_cluster self.assertEqual(httplib.OK, response.status_code, response.content) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503: Unable to connect to cluster 'cluster-OUizJc' (c2e11f0a-6492-11e4-8f38-fa163e47b3b7); no connections available. -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-s9BnxC.EEZo76TUxx: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-yi3azf.suuSXprZn1: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-eZK6zl.mLsrEAWBHW: Enlisted new node maas.node: INFO: hostname-eZK6zl.mLsrEAWBHW: Starting commissioning root: ERROR: Unable to connect to cluster c2e11f0a-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster c2e11f0a-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.NodeHostnameEnlistmentTest.test_created_node_nodegroup_is_inferred_from_origin_network ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 430, in test_created_node_nodegroup_is_inferred_from_origin_network self.assertEqual(httplib.OK, response.status_code, response.content) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503: Unable to connect to cluster 'cluster-1ILDHF' (c316c9f2-6492-11e4-8f38-fa163e47b3b7); no connections available. -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-ERjjUh: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-SU6akt: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-zI2ALF: Enlisted new node maas.node: INFO: hostname-zI2ALF: Starting commissioning root: ERROR: Unable to connect to cluster c316c9f2-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster c316c9f2-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_enlistment.NodeHostnameEnlistmentTest.test_created_node_uses_default_nodegroup_if_origin_not_found ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_enlistment.py", line 448, in test_created_node_uses_default_nodegroup_if_origin_not_found self.assertEqual(httplib.OK, response.status_code, response.content) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503: Unable to connect to cluster 'Cluster master' (master); no connections available. -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-WWqoml: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-ISrQXT: Enlisted new node maas.tftp: WARNING: No boot images have been imported from the region. maas.api: INFO: hostname-ArANdH: Enlisted new node maas.node: INFO: hostname-ArANdH: Starting commissioning root: ERROR: Unable to connect to cluster master; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 691, in new node.accept_enlistment(request.user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster master; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_accept_accepts_multiple_nodes ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_nodes.py", line 1080, in test_POST_accept_accepts_multiple_nodes self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.node: INFO: cKFEkFrdXBKPqbPcqnj1: Starting commissioning root: ERROR: Unable to connect to cluster d0f46840-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 742, in accept None, [node.accept_enlistment(request.user) for node in nodes]) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster d0f46840-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_accept_returns_actually_accepted_nodes ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/tests/test_nodes.py", line 1097, in test_POST_accept_returns_actually_accepted_nodes self.assertEqual(httplib.OK, response.status_code) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: 200 != 503 -------------------- >> begin captured logging << -------------------- maas.tftp: WARNING: No boot images have been imported from the region. maas.node: INFO: Ai1hyLhzArTbSDVV0vTA: Starting commissioning root: ERROR: Unable to connect to cluster d1573d6c-6492-11e4-8f38-fa163e47b3b7; no connections available. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, 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.DNVeIb/src/maasserver/api/support.py", line 189, in dispatch return function(self, request, *args, **kwargs) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/api/nodes.py", line 742, in accept None, [node.accept_enlistment(request.user) for node in nodes]) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 831, in accept_enlistment self.start_commissioning(user) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 851, in start_commissioning self.start_transition_monitor(self.get_commissioning_time()) File "/tmp/tarmac/branch.DNVeIb/src/maasserver/models/node.py", line 594, in start_transition_monitor client = getClientFor(self.nodegroup.uuid) File "/tmp/tarmac/branch.DNVeIb/src/provisioningserver/utils/twisted.py", line 111, in wrapper return func_in_reactor(*args, **kwargs).wait() File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait result.raiseException() File "", line 2, in raiseException NoConnectionsAvailable: Unable to connect to cluster d1573d6c-6492-11e4-8f38-fa163e47b3b7; no connections available. --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_AbortCommissioning_handles_rpc_errors ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 615, in test_AbortCommissioning_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'Multiple failures encountered. See /var/log/maas/maas-django.log on the region server for more information.' actual = u"Unable to connect to cluster 'cluster-buCSIo' (2139a1ee-6493-11e4-8f38-fa163e47b3b7); no connections available." -------------------- >> begin captured logging << -------------------- maas.node: INFO: hxh5qcrUNs7fnkNAUUi2: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_AbortCommissioning_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-1: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 615, in test_AbortCommissioning_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-1IqcP4' actual = u"Unable to connect to cluster 'cluster-11vnu0' (214045f8-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: hxh5qcrUNs7fnkNAUUi2: Aborting commissioning maas.node: INFO: zb2VoRxA8qKUAeRruwe5: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_AbortCommissioning_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-2: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 615, in test_AbortCommissioning_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-RXHQj0' actual = u"Unable to connect to cluster 'cluster-ztpZ3l' (2146f9ac-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: hxh5qcrUNs7fnkNAUUi2: Aborting commissioning maas.node: INFO: zb2VoRxA8qKUAeRruwe5: Aborting commissioning maas.node: INFO: XzymoP70FvzH2D7m2R2Z: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_AbortCommissioning_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-3: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 615, in test_AbortCommissioning_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-jwf8H5' actual = u"Unable to connect to cluster 'cluster-eMZqbB' (214d9bfe-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: hxh5qcrUNs7fnkNAUUi2: Aborting commissioning maas.node: INFO: zb2VoRxA8qKUAeRruwe5: Aborting commissioning maas.node: INFO: XzymoP70FvzH2D7m2R2Z: Aborting commissioning maas.node: INFO: hQEAK9Gg9XbGz9w77fne: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_AbortCommissioning_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-4: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 615, in test_AbortCommissioning_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'''\ Command `cmd` returned non-zero exit status 1: exception-Wlqdzh''' actual = u"Unable to connect to cluster 'cluster-bYKN3n' (21549832-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: hxh5qcrUNs7fnkNAUUi2: Aborting commissioning maas.node: INFO: zb2VoRxA8qKUAeRruwe5: Aborting commissioning maas.node: INFO: XzymoP70FvzH2D7m2R2Z: Aborting commissioning maas.node: INFO: hQEAK9Gg9XbGz9w77fne: Aborting commissioning maas.node: INFO: d48JkcTWDd6C8iCp2fS2: Aborting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 605, in test_Commission_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'Multiple failures encountered. See /var/log/maas/maas-django.log on the region server for more information.' actual = u"Unable to connect to cluster 'cluster-mPijiY' (217be748-6493-11e4-8f38-fa163e47b3b7); no connections available." -------------------- >> begin captured logging << -------------------- maas.node: INFO: ilJqajus4qNSgqdHksAE: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-1: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 605, in test_Commission_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-tfDOMY' actual = u"Unable to connect to cluster 'cluster-gAV8NC' (2184e0e6-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: ilJqajus4qNSgqdHksAE: Starting commissioning maas.node: INFO: 4Q76t0fI5GH6SdS05nRB: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-2: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 605, in test_Commission_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-45rsTj' actual = u"Unable to connect to cluster 'cluster-9EN5Ek' (218dccf6-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: ilJqajus4qNSgqdHksAE: Starting commissioning maas.node: INFO: 4Q76t0fI5GH6SdS05nRB: Starting commissioning maas.node: INFO: qX8z2N7hMBGRa9apjzyz: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-3: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 605, in test_Commission_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'exception-dHnO4E' actual = u"Unable to connect to cluster 'cluster-4SVpwH' (2196e1d8-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: ilJqajus4qNSgqdHksAE: Starting commissioning maas.node: INFO: 4Q76t0fI5GH6SdS05nRB: Starting commissioning maas.node: INFO: qX8z2N7hMBGRa9apjzyz: Starting commissioning maas.node: INFO: TufALevFDuhkvxeLbkUK: Starting commissioning --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors ---------------------------------------------------------------------- _StringException: traceback-4: {{{ Traceback (most recent call last): File "/tmp/tarmac/branch.DNVeIb/src/maasserver/tests/test_node_action.py", line 605, in test_Commission_handles_rpc_errors unicode(exception)) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat raise mismatch_error MismatchError: !=: reference = u'''\ Command `cmd` returned non-zero exit status 1: exception-PBUs4Q''' actual = u"Unable to connect to cluster 'cluster-xHos5l' (219fd57c-6493-11e4-8f38-fa163e47b3b7); no connections available." }}} -------------------- >> begin captured logging << -------------------- maas.node: INFO: ilJqajus4qNSgqdHksAE: Starting commissioning maas.node: INFO: 4Q76t0fI5GH6SdS05nRB: Starting commissioning maas.node: INFO: qX8z2N7hMBGRa9apjzyz: Starting commissioning maas.node: INFO: TufALevFDuhkvxeLbkUK: Starting commissioning maas.node: INFO: VdMrnY46MykgK4fwLy3B: Starting commissioning --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 3865 tests in 295.463s FAILED (SKIP=6, errors=10, failures=22) ............................................................................................................................... ---------------------------------------------------------------------- Ran 127 tests in 1.841s OK .............................................................S........................................................................................ ---------------------------------------------------------------------- Ran 150 tests in 28.342s OK (SKIP=1) ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ ---------------------------------------------------------------------- Ran 1704 tests in 17.039s OK make: *** [test] Error 123