The attempt to merge lp:~allenap/maas/ntp-service-flip-flop into lp:maas failed. Below is the output from the failed tests. Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit:2 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:4 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 94.5 kB in 0s (192 kB/s) Reading package lists... sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ --no-install-recommends install apache2 archdetect-deb authbind avahi-utils bash bind9 bind9utils build-essential bzr bzr-builddeb chromium-browser chromium-chromedriver curl daemontools debhelper dh-apport dh-systemd distro-info dnsutils firefox freeipmi-tools git gjs ipython isc-dhcp-common isc-dhcp-server libjs-angularjs libjs-jquery libjs-jquery-hotkeys libjs-yui3-full libjs-yui3-min libpq-dev make nodejs-legacy npm postgresql pxelinux python3-all python3-apt python3-attr python3-bson python3-convoy python3-crochet python3-cssselect python3-curtin python3-dev python3-distro-info python3-django python3-django-nose python3-django-piston3 python3-dnspython python3-docutils python3-formencode python3-hivex python3-httplib2 python3-jinja2 python3-jsonschema python3-lxml python3-netaddr python3-netifaces python3-novaclient python3-oauth python3-oauthlib python3-openssl python3-paramiko python3-petname python3-pexpect python3-psycopg2 python3-pyinotify python3-pyparsing python3-pyvmomi python3-requests python3-seamicroclient python3-setuptools python3-simplestreams python3-sphinx python3-tempita python3-twisted python3-txtftp python3-tz python3-yaml python3-zope.interface python-bson python-crochet python-django python-django-piston python-djorm-ext-pgarray python-formencode python-lxml python-netaddr python-netifaces python-pocket-lint python-psycopg2 python-simplejson python-tempita python-twisted python-yaml socat syslinux-common tgt ubuntu-cloudimage-keyring wget xvfb Reading package lists... Building dependency tree... Reading state information... archdetect-deb is already the newest version (1.117ubuntu2). authbind is already the newest version (2.1.1+nmu1). avahi-utils is already the newest version (0.6.32~rc+dfsg-1ubuntu2). build-essential is already the newest version (12.1ubuntu2). debhelper is already the newest version (9.20160115ubuntu3). distro-info is already the newest version (0.14build1). freeipmi-tools is already the newest version (1.4.11-1ubuntu1). git is already the newest version (1:2.7.4-0ubuntu1). libjs-angularjs is already the newest version (1.2.28-1ubuntu2). libjs-jquery is already the newest version (1.11.3+dfsg-4). libjs-yui3-full is already the newest version (3.5.1-1ubuntu3). libjs-yui3-min is already the newest version (3.5.1-1ubuntu3). make is already the newest version (4.1-6). postgresql is already the newest version (9.5+173). pxelinux is already the newest version (3:6.03+dfsg-11ubuntu1). python-formencode is already the newest version (1.3.0-0ubuntu5). python-lxml is already the newest version (3.5.0-1build1). python-netaddr is already the newest version (0.7.18-1). python-netifaces is already the newest version (0.10.4-0.1build2). python-psycopg2 is already the newest version (2.6.1-1build2). python-simplejson is already the newest version (3.8.1-1ubuntu2). python-tempita is already the newest version (0.5.2-1build1). python-twisted is already the newest version (16.0.0-1). python-yaml is already the newest version (3.11-3build1). python3-all is already the newest version (3.5.1-3). python3-apt is already the newest version (1.1.0~beta1build1). python3-attr is already the newest version (15.2.0-1). python3-bson is already the newest version (3.2-1build1). python3-convoy is already the newest version (0.2.1+bzr39-1). python3-crochet is already the newest version (1.4.0-0ubuntu2). python3-dev is already the newest version (3.5.1-3). python3-distro-info is already the newest version (0.14build1). python3-django-piston3 is already the newest version (0.3~rc2-3ubuntu1). python3-dnspython is already the newest version (1.12.0-0ubuntu3). python3-docutils is already the newest version (0.12+dfsg-1). python3-formencode is already the newest version (1.3.0-0ubuntu5). python3-httplib2 is already the newest version (0.9.1+dfsg-1). python3-jinja2 is already the newest version (2.8-1). python3-jsonschema is already the newest version (2.5.1-4). python3-lxml is already the newest version (3.5.0-1build1). python3-netaddr is already the newest version (0.7.18-1). python3-netifaces is already the newest version (0.10.4-0.1build2). python3-oauth is already the newest version (1.0.1-5). python3-oauthlib is already the newest version (1.0.3-1). python3-openssl is already the newest version (0.15.1-2build1). python3-paramiko is already the newest version (1.16.0-1). python3-pexpect is already the newest version (4.0.1-1). python3-psycopg2 is already the newest version (2.6.1-1build2). python3-pyinotify is already the newest version (0.9.6-0fakesync1). python3-pyvmomi is already the newest version (5.5.0-2014.1.1-3). python3-requests is already the newest version (2.9.1-3). python3-seamicroclient is already the newest version (0.4.0-1ubuntu1). python3-setuptools is already the newest version (20.7.0-1). python3-sphinx is already the newest version (1.3.6-2ubuntu1). python3-tempita is already the newest version (0.5.2-1build1). python3-twisted is already the newest version (16.0.0-1). python3-txtftp is already the newest version (0.1~bzr42-0ubuntu2). python3-tz is already the newest version (2014.10~dfsg1-0ubuntu2). python3-yaml is already the newest version (3.11-3build1). python3-zope.interface is already the newest version (4.1.3-1build1). syslinux-common is already the newest version (3:6.03+dfsg-11ubuntu1). ubuntu-cloudimage-keyring is already the newest version (2013.11.11). bzr-builddeb is already the newest version (2.8.9). daemontools is already the newest version (1:0.76-6ubuntu1). gjs is already the newest version (1.44.0-1ubuntu1). ipython is already the newest version (2.4.1-1). libjs-jquery-hotkeys is already the newest version (0~20130707+git2d51e3a9+dfsg-2ubuntu1). npm is already the newest version (3.5.2-0ubuntu4). python-bson is already the newest version (3.2-1build1). python-crochet is already the newest version (1.4.0-0ubuntu2). python-django-piston is already the newest version (0.2.3-2ubuntu1). python-djorm-ext-pgarray is already the newest version (1.2-0ubuntu2). python-pocket-lint is already the newest version (0.5.31-0ubuntu1). python3-cssselect is already the newest version (0.9.1+git90c72b0-1). python3-django-nose is already the newest version (1.4.3-1). python3-hivex is already the newest version (1.3.13-1build3). python3-novaclient is already the newest version (2:3.3.1-2). socat is already the newest version (1.7.3.1-1). apache2 is already the newest version (2.4.18-2ubuntu3.1). bash is already the newest version (4.3-14ubuntu1.1). bind9 is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.1). bind9utils is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.1). bzr is already the newest version (2.7.0-2ubuntu2). curl is already the newest version (7.47.0-1ubuntu2.1). dnsutils is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.1). firefox is already the newest version (49.0+build4-0ubuntu0.16.04.1). isc-dhcp-common is already the newest version (4.3.3-5ubuntu12.3). isc-dhcp-server is already the newest version (4.3.3-5ubuntu12.3). libpq-dev is already the newest version (9.5.4-0ubuntu0.16.04). python-django is already the newest version (1.8.7-1ubuntu5.2). python3-curtin is already the newest version (0.1.0~bzr399-0ubuntu1~16.04.1). python3-django is already the newest version (1.8.7-1ubuntu5.2). python3-petname is already the newest version (2.0-0ubuntu1~16.04). python3-pyparsing is already the newest version (2.0.3+dfsg1-1ubuntu0.1). python3-simplestreams is already the newest version (0.1.0~bzr426-0ubuntu1.1). tgt is already the newest version (1:1.0.63-1ubuntu1.1). wget is already the newest version (1.17.1-1ubuntu1.1). chromium-browser is already the newest version (52.0.2743.116-0ubuntu0.16.04.1.1250). chromium-chromedriver is already the newest version (52.0.2743.116-0ubuntu0.16.04.1.1250). dh-apport is already the newest version (2.20.1-0ubuntu2.1). dh-systemd is already the newest version (1.29ubuntu2). nodejs-legacy is already the newest version (4.2.6~dfsg-1ubuntu4.1). xvfb is already the newest version (2:1.18.3-1ubuntu2.3). 0 upgraded, 0 newly installed, 0 to remove and 14 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 14 not upgraded. find run -depth ! -type d ! -path run/etc/maas/templates ! -path run/etc/maas/drivers.yaml ! -path run/etc/ntp/.keep ! -path run/etc/ntp.conf -print0 | xargs -r0 rm -f find run -depth -type d -print0 | xargs -r0 rmdir --ignore-fail-on-non-empty find run-e2e -depth ! -type d ! -path run-e2e/etc/maas/templates ! -path run-e2e/etc/maas/drivers.yaml ! -path run-e2e/etc/ntp/.keep ! -path run-e2e/etc/ntp.conf -print0 | xargs -r0 rm -f find run-e2e -depth -type d -print0 | xargs -r0 rmdir --ignore-fail-on-non-empty rm -f .noseids find . -type f -name '*.py[co]' -print0 | xargs -r0 rm -f find . -type d -name '__pycache__' -print0 | xargs -r0 rm -f -r 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 src/maasserver/static/js/enums.js.tmp rm -f src/maasserver/data/templates.py rm -f *.log rm -f docs/api.rst rm -f -r docs/_autosummary docs/_build rm -f -r man/.doctrees rm -f coverage.data coverage.xml rm -f -r coverage rm -f -r .hypothesis 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 services/*/supervise rm -f xunit.*.xml rm -f .failed python3.5 bootstrap-buildout.py --allow-site-packages Creating directory '/tmp/tarmac/branch.bxVdOG/bin'. Creating directory '/tmp/tarmac/branch.bxVdOG/parts'. Creating directory '/tmp/tarmac/branch.bxVdOG/develop-eggs'. Generated script '/tmp/tarmac/branch.bxVdOG/bin/buildout'. bin/buildout install database Installing database. Generated script '/tmp/tarmac/branch.bxVdOG/bin/database'. bin/buildout install cli Installing cli. Generated script '/tmp/tarmac/branch.bxVdOG/bin/maas'. bin/buildout install rack Installing rack. Generated script '/tmp/tarmac/branch.bxVdOG/bin/maas-rack'. Generated script '/tmp/tarmac/branch.bxVdOG/bin/twistd.rack'. bin/buildout install repl Installing repl. Generated script '/tmp/tarmac/branch.bxVdOG/bin/ipy'. Generated interpreter '/tmp/tarmac/branch.bxVdOG/bin/py'. bin/py -m maasserver.utils.jsenums src/maasserver/enum.py src/metadataserver/enum.py > src/maasserver/static/js/enums.js NODE_ENV=production NPM_CONFIG_PROGRESS="false" npm install --loglevel error --cache-min 600 --prefix include/nodejs node-sass@3.4.2 > node-sass@3.4.2 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > spawn-sync@1.0.15 postinstall /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/spawn-sync > node postinstall > node-sass@3.4.2 postinstall /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.bxVdOG/include/nodejs └─┬ node-sass@3.4.2 ├── async-foreach@0.1.3 ├─┬ chalk@1.1.3 │ ├── ansi-styles@2.2.1 │ ├── escape-string-regexp@1.0.5 │ ├─┬ has-ansi@2.0.0 │ │ └── ansi-regex@2.0.0 │ ├── strip-ansi@3.0.1 │ └── supports-color@2.0.0 ├─┬ cross-spawn@2.2.3 │ ├─┬ cross-spawn-async@2.2.4 │ │ └─┬ lru-cache@4.0.1 │ │ ├── pseudomap@1.0.2 │ │ └── yallist@2.0.0 │ └─┬ spawn-sync@1.0.15 │ ├─┬ concat-stream@1.5.2 │ │ └── typedarray@0.0.6 │ └── os-shim@0.1.3 ├─┬ gaze@0.5.2 │ └─┬ globule@0.1.0 │ ├─┬ glob@3.1.21 │ │ ├── graceful-fs@1.2.3 │ │ └── inherits@1.0.2 │ ├── lodash@1.0.2 │ └─┬ minimatch@0.2.14 │ ├── lru-cache@2.7.3 │ └── sigmund@1.0.1 ├── get-stdin@4.0.1 ├─┬ glob@5.0.15 │ ├─┬ inflight@1.0.5 │ │ └── wrappy@1.0.2 │ ├── inherits@2.0.3 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├── once@1.4.0 │ └── path-is-absolute@1.0.1 ├─┬ meow@3.7.0 │ ├─┬ camelcase-keys@2.1.0 │ │ └── camelcase@2.1.1 │ ├── decamelize@1.2.0 │ ├─┬ loud-rejection@1.6.0 │ │ ├─┬ currently-unhandled@0.4.1 │ │ │ └── array-find-index@1.0.2 │ │ └── signal-exit@3.0.1 │ ├── map-obj@1.0.1 │ ├── minimist@1.2.0 │ ├─┬ normalize-package-data@2.3.5 │ │ ├── hosted-git-info@2.1.5 │ │ ├─┬ is-builtin-module@1.0.0 │ │ │ └── builtin-modules@1.1.1 │ │ └─┬ validate-npm-package-license@3.0.1 │ │ ├─┬ spdx-correct@1.0.2 │ │ │ └── spdx-license-ids@1.2.2 │ │ └── spdx-expression-parse@1.0.3 │ ├── object-assign@4.1.0 │ ├─┬ read-pkg-up@1.0.1 │ │ ├─┬ find-up@1.1.2 │ │ │ └── path-exists@2.1.0 │ │ └─┬ read-pkg@1.1.0 │ │ ├─┬ load-json-file@1.1.0 │ │ │ ├── graceful-fs@4.1.9 │ │ │ ├─┬ parse-json@2.2.0 │ │ │ │ └─┬ error-ex@1.3.0 │ │ │ │ └── is-arrayish@0.2.1 │ │ │ ├── pify@2.3.0 │ │ │ └─┬ strip-bom@2.0.0 │ │ │ └── is-utf8@0.2.1 │ │ └─┬ path-type@1.1.0 │ │ └── graceful-fs@4.1.9 │ ├─┬ redent@1.0.0 │ │ ├─┬ indent-string@2.1.0 │ │ │ └─┬ repeating@2.0.1 │ │ │ └── is-finite@1.0.2 │ │ └── strip-indent@1.0.1 │ └── trim-newlines@1.0.0 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├── nan@2.4.0 ├─┬ node-gyp@3.4.0 │ ├─┬ fstream@1.0.10 │ │ └── graceful-fs@4.1.9 │ ├─┬ glob@7.1.0 │ │ └── fs.realpath@1.0.0 │ ├── graceful-fs@4.1.9 │ ├── minimatch@3.0.3 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.0.9 │ ├─┬ npmlog@3.1.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ └── delegates@1.0.0 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.6.0 │ │ │ ├── aproba@1.0.4 │ │ │ ├── has-color@0.1.7 │ │ │ ├── has-unicode@2.0.1 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ ├─┬ osenv@0.1.3 │ │ ├── os-homedir@1.0.2 │ │ └── os-tmpdir@1.0.2 │ ├─┬ path-array@1.0.1 │ │ └─┬ array-index@1.0.0 │ │ ├─┬ debug@2.2.0 │ │ │ └── ms@0.7.1 │ │ └─┬ es6-symbol@3.1.0 │ │ ├── d@0.1.1 │ │ └─┬ es5-ext@0.10.12 │ │ └── es6-iterator@2.0.0 │ ├─┬ rimraf@2.5.4 │ │ └─┬ glob@7.1.0 │ │ └── minimatch@3.0.3 │ ├── semver@5.3.0 │ ├─┬ tar@2.2.1 │ │ └── block-stream@0.0.9 │ └─┬ which@1.2.11 │ └── isexe@1.1.2 ├─┬ npmconf@2.1.2 │ ├─┬ config-chain@1.1.10 │ │ └── proto-list@1.2.4 │ ├── ini@1.3.4 │ ├── once@1.3.3 │ ├── semver@4.3.6 │ └── uid-number@0.0.5 ├─┬ request@2.75.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.4.1 │ ├─┬ bl@1.1.2 │ │ └─┬ readable-stream@2.0.6 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.0.0 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ ├─┬ is-my-json-valid@2.14.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@2.0.0 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.1 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.0 │ │ ├─┬ dashdash@1.14.0 │ │ │ └── assert-plus@1.0.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├─┬ getpass@0.1.6 │ │ │ └── assert-plus@1.0.0 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.0 │ │ └── tweetnacl@0.14.3 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.12 │ │ └── mime-db@1.24.0 │ ├── node-uuid@1.4.7 │ ├── oauth-sign@0.8.2 │ ├── qs@6.2.1 │ ├── stringstream@0.0.5 │ ├── tough-cookie@2.3.1 │ └── tunnel-agent@0.4.3 └─┬ sass-graph@2.1.2 ├─┬ glob@7.1.0 │ └── minimatch@3.0.3 ├── lodash@4.16.2 └─┬ yargs@4.8.1 ├─┬ cliui@3.2.0 │ └── wrap-ansi@2.0.0 ├── get-caller-file@1.0.2 ├── lodash.assign@4.2.0 ├─┬ os-locale@1.4.0 │ └─┬ lcid@1.0.0 │ └── invert-kv@1.0.0 ├── require-directory@2.1.1 ├── require-main-filename@1.0.1 ├─┬ string-width@1.0.2 │ ├─┬ code-point-at@1.0.1 │ │ └── number-is-nan@1.0.1 │ └── is-fullwidth-code-point@1.0.0 ├── which-module@1.0.0 ├── window-size@0.2.0 ├── y18n@3.2.1 └─┬ yargs-parser@2.4.1 └── camelcase@3.0.0 NODE_ENV=production NPM_CONFIG_PROGRESS="false" npm install --loglevel error --cache-min 600 --prefix include/nodejs cloud-vanilla-theme@0.0.22 > node-sass@3.4.2 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > node-sass@3.4.2 postinstall /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.bxVdOG/include/nodejs ├─┬ cloud-vanilla-theme@0.0.22 │ └── vanilla-framework@0.0.71 └── node-sass@3.4.2 bin/sass --include-path=src/maasserver/static/scss \ --output-style compressed src/maasserver/static/scss/build.scss -o src/maasserver/static/css/ bin/buildout install region Installing region. Generated script '/tmp/tarmac/branch.bxVdOG/bin/maas-region'. Generated script '/tmp/tarmac/branch.bxVdOG/bin/twistd.region'. bin/buildout install cli-test Installing cli-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.cli'. bin/buildout install rack-test Installing rack-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.rack'. bin/buildout install config-test Installing config-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.config'. bin/buildout install region-test Installing region-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.region'. bin/buildout install flake8 Installing flake8. Generated script '/tmp/tarmac/branch.bxVdOG/bin/flake8'. Generated script '/tmp/tarmac/branch.bxVdOG/bin/flake8'. bin/buildout install testing-test Installing testing-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.testing'. NODE_ENV=production NPM_CONFIG_PROGRESS="false" npm install --loglevel error --cache-min 600 --prefix include/nodejs jasmine-core@2.4.1 karma@0.13.19 karma-chrome-launcher@0.2.2 karma-firefox-launcher@0.1.7 karma-jasmine@0.3.6 karma-opera-launcher@0.3.0 karma-phantomjs-launcher@0.2.3 karma-failed-reporter@0.0.3 phantomjs@2.1.7 > node-sass@3.4.2 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > phantomjs@2.1.7 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs > node install.js PhantomJS not found on PATH Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 Verified checksum of previously downloaded file Extracting tar contents (via spawned process) Removing /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1475255962069/phantomjs-2.1.1-linux-x86_64 -> /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom/bin/phantomjs > node-sass@3.4.2 postinstall /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.bxVdOG/include/nodejs ├── cloud-vanilla-theme@0.0.22 ├── jasmine-core@2.4.1 ├─┬ karma@0.13.19 │ ├── batch@0.5.3 │ ├── bluebird@2.11.0 │ ├─┬ body-parser@1.15.2 │ │ ├── bytes@2.4.0 │ │ ├── content-type@1.0.2 │ │ ├── depd@1.1.0 │ │ ├─┬ http-errors@1.5.0 │ │ │ ├── inherits@2.0.1 │ │ │ ├── setprototypeof@1.0.1 │ │ │ └── statuses@1.3.0 │ │ ├── iconv-lite@0.4.13 │ │ ├─┬ on-finished@2.3.0 │ │ │ └── ee-first@1.1.1 │ │ ├── qs@6.2.0 │ │ ├─┬ raw-body@2.1.7 │ │ │ └── unpipe@1.0.0 │ │ └─┬ type-is@1.6.13 │ │ └── media-typer@0.3.0 │ ├─┬ chokidar@1.6.0 │ │ ├─┬ anymatch@1.3.0 │ │ │ ├── arrify@1.0.1 │ │ │ └─┬ micromatch@2.3.11 │ │ │ ├─┬ arr-diff@2.0.0 │ │ │ │ └── arr-flatten@1.0.1 │ │ │ ├─┬ braces@1.8.5 │ │ │ │ ├─┬ expand-range@1.8.2 │ │ │ │ │ └─┬ fill-range@2.2.3 │ │ │ │ │ ├── is-number@2.1.0 │ │ │ │ │ ├── isobject@2.1.0 │ │ │ │ │ ├── randomatic@1.1.5 │ │ │ │ │ └── repeat-string@1.5.4 │ │ │ │ ├── preserve@0.2.0 │ │ │ │ └── repeat-element@1.1.2 │ │ │ ├─┬ expand-brackets@0.1.5 │ │ │ │ └── is-posix-bracket@0.1.1 │ │ │ ├── extglob@0.3.2 │ │ │ ├── filename-regex@2.0.0 │ │ │ ├─┬ kind-of@3.0.4 │ │ │ │ └── is-buffer@1.1.4 │ │ │ ├── normalize-path@2.0.1 │ │ │ ├─┬ object.omit@2.0.0 │ │ │ │ ├─┬ for-own@0.1.4 │ │ │ │ │ └── for-in@0.1.6 │ │ │ │ └── is-extendable@0.1.1 │ │ │ ├─┬ parse-glob@3.0.4 │ │ │ │ ├── glob-base@0.3.0 │ │ │ │ └── is-dotfile@1.0.2 │ │ │ └─┬ regex-cache@0.4.3 │ │ │ ├── is-equal-shallow@0.1.3 │ │ │ └── is-primitive@2.0.0 │ │ ├── async-each@1.0.1 │ │ ├── glob-parent@2.0.0 │ │ ├─┬ is-binary-path@1.0.1 │ │ │ └── binary-extensions@1.6.0 │ │ ├─┬ is-glob@2.0.1 │ │ │ └── is-extglob@1.0.0 │ │ └─┬ readdirp@2.1.0 │ │ ├── graceful-fs@4.1.9 │ │ ├── minimatch@3.0.3 │ │ └── set-immediate-shim@1.0.1 │ ├── colors@1.1.2 │ ├─┬ connect@3.5.0 │ │ ├─┬ finalhandler@0.5.0 │ │ │ └── escape-html@1.0.3 │ │ ├── parseurl@1.3.1 │ │ └── utils-merge@1.0.0 │ ├── core-js@2.4.1 │ ├── di@0.0.1 │ ├─┬ dom-serialize@2.2.1 │ │ ├── custom-event@1.0.0 │ │ ├── ent@2.2.0 │ │ └── void-elements@2.0.1 │ ├─┬ expand-braces@0.1.2 │ │ ├── array-slice@0.2.3 │ │ ├── array-unique@0.2.1 │ │ └─┬ braces@0.1.5 │ │ └─┬ expand-range@0.1.1 │ │ ├── is-number@0.1.1 │ │ └── repeat-string@0.2.2 │ ├── glob@6.0.4 │ ├── graceful-fs@4.1.9 │ ├─┬ http-proxy@1.15.1 │ │ ├── eventemitter3@1.2.0 │ │ └── requires-port@1.0.0 │ ├── lodash@3.10.1 │ ├─┬ log4js@0.6.38 │ │ ├─┬ readable-stream@1.0.34 │ │ │ └── isarray@0.0.1 │ │ └── semver@4.3.6 │ ├── mime@1.3.4 │ ├── minimatch@3.0.3 │ ├─┬ optimist@0.6.1 │ │ ├── minimist@0.0.10 │ │ └── wordwrap@0.0.3 │ ├─┬ rimraf@2.5.4 │ │ └─┬ glob@7.1.0 │ │ └── minimatch@3.0.3 │ ├─┬ socket.io@1.4.8 │ │ ├─┬ engine.io@1.6.11 │ │ │ ├─┬ accepts@1.1.4 │ │ │ │ ├─┬ mime-types@2.0.14 │ │ │ │ │ └── mime-db@1.12.0 │ │ │ │ └── negotiator@0.4.9 │ │ │ ├── base64id@0.1.0 │ │ │ ├─┬ engine.io-parser@1.2.4 │ │ │ │ ├── after@0.8.1 │ │ │ │ ├── arraybuffer.slice@0.0.6 │ │ │ │ ├── base64-arraybuffer@0.1.2 │ │ │ │ ├── blob@0.0.4 │ │ │ │ ├─┬ has-binary@0.1.6 │ │ │ │ │ └── isarray@0.0.1 │ │ │ │ └── utf8@2.1.0 │ │ │ └─┬ ws@1.1.0 │ │ │ ├── options@0.0.6 │ │ │ └── ultron@1.0.2 │ │ ├─┬ has-binary@0.1.7 │ │ │ └── isarray@0.0.1 │ │ ├─┬ socket.io-adapter@0.4.0 │ │ │ └─┬ socket.io-parser@2.2.2 │ │ │ ├── debug@0.7.4 │ │ │ ├── isarray@0.0.1 │ │ │ └── json3@3.2.6 │ │ ├─┬ socket.io-client@1.4.8 │ │ │ ├── backo2@1.0.2 │ │ │ ├── component-bind@1.0.0 │ │ │ ├── component-emitter@1.2.0 │ │ │ ├─┬ engine.io-client@1.6.11 │ │ │ │ ├── component-inherit@0.0.3 │ │ │ │ ├── has-cors@1.1.0 │ │ │ │ ├── parsejson@0.0.1 │ │ │ │ ├── parseqs@0.0.2 │ │ │ │ ├── ws@1.0.1 │ │ │ │ ├── xmlhttprequest-ssl@1.5.1 │ │ │ │ └── yeast@0.1.2 │ │ │ ├── indexof@0.0.1 │ │ │ ├── object-component@0.0.3 │ │ │ ├─┬ parseuri@0.0.4 │ │ │ │ └─┬ better-assert@1.0.2 │ │ │ │ └── callsite@1.0.0 │ │ │ └── to-array@0.1.4 │ │ └─┬ socket.io-parser@2.2.6 │ │ ├── benchmark@1.0.0 │ │ ├── component-emitter@1.1.2 │ │ ├── isarray@0.0.1 │ │ └── json3@3.3.2 │ ├── source-map@0.5.6 │ └─┬ useragent@2.1.9 │ └── lru-cache@2.2.4 ├─┬ karma-chrome-launcher@0.2.2 │ └─┬ fs-access@1.0.1 │ └── null-check@1.0.0 ├─┬ karma-failed-reporter@0.0.3 │ └── colors@0.6.2 ├── karma-firefox-launcher@0.1.7 ├── karma-jasmine@0.3.6 ├── karma-opera-launcher@0.3.0 ├─┬ karma-phantomjs-launcher@0.2.3 │ └── lodash@3.10.1 ├─┬ node-sass@3.4.2 │ ├─┬ glob@5.0.15 │ │ └── minimatch@3.0.3 │ ├─┬ meow@3.7.0 │ │ └─┬ read-pkg-up@1.0.1 │ │ └─┬ read-pkg@1.1.0 │ │ ├─┬ load-json-file@1.1.0 │ │ │ └── graceful-fs@4.1.9 │ │ └─┬ path-type@1.1.0 │ │ └── graceful-fs@4.1.9 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ node-gyp@3.4.0 │ │ ├─┬ fstream@1.0.10 │ │ │ └── graceful-fs@4.1.9 │ │ ├── graceful-fs@4.1.9 │ │ └── minimatch@3.0.3 │ ├─┬ npmconf@2.1.2 │ │ └── semver@4.3.6 │ └─┬ sass-graph@2.1.2 │ ├─┬ glob@7.1.0 │ │ └── minimatch@3.0.3 │ └── lodash@4.16.2 └─┬ phantomjs@2.1.7 ├─┬ extract-zip@1.5.0 │ ├── concat-stream@1.5.0 │ ├── debug@0.7.4 │ ├─┬ mkdirp@0.5.0 │ │ └── minimist@0.0.8 │ └─┬ yauzl@2.4.1 │ └─┬ fd-slicer@1.0.1 │ └── pend@1.2.0 ├─┬ fs-extra@0.26.7 │ ├── graceful-fs@4.1.9 │ ├─┬ jsonfile@2.4.0 │ │ └── graceful-fs@4.1.9 │ └── klaw@1.3.0 ├─┬ hasha@2.2.0 │ └── is-stream@1.1.0 ├── kew@0.7.0 ├── progress@1.1.8 ├─┬ request@2.67.0 │ ├── bl@1.0.3 │ ├─┬ form-data@1.0.1 │ │ └─┬ async@2.0.1 │ │ └── lodash@4.16.2 │ ├── qs@5.2.1 │ └── tough-cookie@2.2.2 └─┬ request-progress@2.0.1 └── throttleit@1.0.0 bin/buildout install js-test Installing js-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.js'. NODE_ENV=production NPM_CONFIG_PROGRESS="false" npm install --loglevel error --cache-min 600 --prefix include/nodejs protractor@3.0.0 > bufferutil@1.2.1 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/bufferutil > node-gyp rebuild make[1]: Entering directory '/tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node make[1]: Leaving directory '/tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/bufferutil/build' > utf-8-validate@1.2.1 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/utf-8-validate > node-gyp rebuild make[1]: Entering directory '/tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make[1]: Leaving directory '/tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/utf-8-validate/build' > node-sass@3.4.2 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > phantomjs@2.1.7 install /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs > node install.js PhantomJS not found on PATH Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 Verified checksum of previously downloaded file Extracting tar contents (via spawned process) Removing /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1475255984410/phantomjs-2.1.1-linux-x86_64 -> /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/phantomjs/lib/phantom/bin/phantomjs > node-sass@3.4.2 postinstall /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.bxVdOG/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.bxVdOG/include/nodejs ├── cloud-vanilla-theme@0.0.22 ├── jasmine-core@2.4.1 ├─┬ karma@0.13.19 │ ├─┬ log4js@0.6.38 │ │ └─┬ readable-stream@1.0.34 │ │ └── isarray@0.0.1 │ └─┬ socket.io@1.4.8 │ ├─┬ engine.io@1.6.11 │ │ ├─┬ accepts@1.1.4 │ │ │ └─┬ mime-types@2.0.14 │ │ │ └── mime-db@1.12.0 │ │ └─┬ engine.io-parser@1.2.4 │ │ └─┬ has-binary@0.1.6 │ │ └── isarray@0.0.1 │ ├─┬ has-binary@0.1.7 │ │ └── isarray@0.0.1 │ ├─┬ socket.io-adapter@0.4.0 │ │ └─┬ socket.io-parser@2.2.2 │ │ └── isarray@0.0.1 │ └─┬ socket.io-parser@2.2.6 │ └── isarray@0.0.1 ├── karma-chrome-launcher@0.2.2 ├── karma-failed-reporter@0.0.3 ├── karma-firefox-launcher@0.1.7 ├── karma-jasmine@0.3.6 ├── karma-opera-launcher@0.3.0 ├── karma-phantomjs-launcher@0.2.3 ├─┬ node-sass@3.4.2 │ └─┬ gaze@0.5.2 │ └─┬ globule@0.1.0 │ └─┬ minimatch@0.2.14 │ └── lru-cache@2.7.3 ├── phantomjs@2.1.7 └─┬ protractor@3.0.0 ├── adm-zip@0.4.4 ├─┬ glob@3.2.11 │ └─┬ minimatch@0.3.0 │ └── lru-cache@2.7.3 ├─┬ jasmine@2.3.2 │ ├── exit@0.1.2 │ ├─┬ glob@3.2.11 │ │ └─┬ minimatch@0.3.0 │ │ └── lru-cache@2.7.3 │ └── jasmine-core@2.3.4 ├── jasminewd2@0.0.6 ├── lodash@2.4.2 ├── q@1.0.0 ├─┬ request@2.57.0 │ ├── aws-sign2@0.5.0 │ ├─┬ bl@0.9.5 │ │ └─┬ readable-stream@1.0.34 │ │ └── isarray@0.0.1 │ ├── caseless@0.10.0 │ ├─┬ form-data@0.2.0 │ │ ├── async@0.9.2 │ │ └─┬ combined-stream@0.0.7 │ │ └── delayed-stream@0.0.5 │ ├── har-validator@1.8.0 │ ├── hawk@2.3.1 │ ├─┬ http-signature@0.11.0 │ │ ├── asn1@0.1.11 │ │ ├── assert-plus@0.1.5 │ │ └── ctype@0.5.3 │ ├─┬ mime-types@2.0.14 │ │ └── mime-db@1.12.0 │ └── qs@3.1.0 ├─┬ saucelabs@1.0.1 │ └─┬ https-proxy-agent@1.0.0 │ └─┬ agent-base@2.0.1 │ └── semver@5.0.3 ├─┬ selenium-webdriver@2.48.2 │ ├── tmp@0.0.24 │ ├─┬ ws@0.8.1 │ │ ├─┬ bufferutil@1.2.1 │ │ │ └── bindings@1.2.1 │ │ └── utf-8-validate@1.2.1 │ └─┬ xml2js@0.4.4 │ ├── sax@0.6.1 │ └── xmlbuilder@8.2.2 └─┬ source-map-support@0.3.3 └─┬ source-map@0.1.32 └── amdefine@1.0.0 bin/buildout install e2e-test Installing e2e-test. Generated script '/tmp/tarmac/branch.bxVdOG/bin/test.e2e'. 15269 imported names were ALLOWED. 0 imported names were DENIED. rm -f .noseids bin/sass --include-path=src/maasserver/static/scss \ --output-style compressed src/maasserver/static/scss/build.scss -o src/maasserver/static/css/ bin/buildout install region Updating region. bin/buildout install region-test Updating region-test. bin/buildout install testing-test Updating testing-test. No changes detected bin/test.cli --with-xunit --xunit-file=xunit.test.cli.xml --failed || bin/test.cli --with-xunit --xunit-file=xunit.test.cli.xml --failed || touch .failed; bin/test.rack --with-xunit --xunit-file=xunit.test.rack.xml --failed || bin/test.rack --with-xunit --xunit-file=xunit.test.rack.xml --failed || touch .failed; bin/test.config --with-xunit --xunit-file=xunit.test.config.xml --failed || bin/test.config --with-xunit --xunit-file=xunit.test.config.xml --failed || touch .failed; bin/test.region --with-xunit --xunit-file=xunit.test.region.xml --failed || bin/test.region --with-xunit --xunit-file=xunit.test.region.xml --failed || touch .failed; bin/test.testing --with-xunit --xunit-file=xunit.test.testing.xml --failed || bin/test.testing --with-xunit --xunit-file=xunit.test.testing.xml --failed || touch .failed; bin/test.js --with-xunit --xunit-file=xunit.test.js.xml --failed || bin/test.js --with-xunit --xunit-file=xunit.test.js.xml --failed || touch .failed; nosetests --with-crochet --with-scenarios --with-select --select-dir=src/maas --select-dir=src/maasserver --select-dir=src/metadataserver --cover-package=maas,maasserver,metadataserver --cover-branches --logging-level=INFO --logging-clear-handlers --verbosity=2 --with-xunit --xunit-file=xunit.test.region.xml --failed 2016-09-30 17:21:32 [twisted] INFO: Log opened. Creating test database for alias 'default' ('test_maas')... Operations to perform: Synchronize unmigrated apps: maastesting, piston3, sites, contenttypes, staticfiles, sessions, messages, maasserver, auth, metadataserver, django_nose Apply all migrations: (none) Synchronizing apps without migrations: Creating tables... Creating table auth_permission Creating table auth_group Creating table auth_user Creating table django_content_type Creating table django_session Creating table django_site Creating table maasserver_blockdevice Creating table maasserver_versionedtextfile Creating table maasserver_config Creating table maasserver_domain Creating table maasserver_staticroute Creating table maasserver_subnet Creating table maasserver_staticipaddress Creating table maasserver_bmc Creating table maasserver_bmcroutablerackcontrollerrelationship Creating table maasserver_bootsource Creating table maasserver_bootsourcecache Creating table maasserver_bootresource Creating table maasserver_bootresourceset Creating table maasserver_largefile Creating table maasserver_bootresourcefile Creating table maasserver_bootsourceselection Creating table maasserver_cacheset Creating table maasserver_componenterror Creating table maasserver_interface Creating table maasserver_interfacerelationship Creating table maasserver_fabric Creating table maasserver_filesystemgroup Creating table maasserver_partition Creating table maasserver_filesystem Creating table maasserver_licensekey Creating table maasserver_ownerdata Creating table maasserver_partitiontable Creating table maasserver_physicalblockdevice Creating table maasserver_service Creating table maasserver_space Creating table maasserver_tag Creating table maasserver_vlan Creating table maasserver_zone Creating table maasserver_node Creating table maasserver_nodegrouptorackcontroller Creating table maasserver_dhcpsnippet Creating table maasserver_dnsresource Creating table maasserver_dnsdata Creating table maasserver_dnspublication Creating table maasserver_eventtype Creating table maasserver_event Creating table maasserver_fannetwork Creating table maasserver_filestorage Creating table maasserver_iprange Creating table maasserver_keysource Creating table maasserver_mdns Creating table maasserver_neighbour Creating table maasserver_packagerepository Creating table maasserver_regioncontrollerprocess Creating table maasserver_regioncontrollerprocessendpoint Creating table maasserver_regionrackrpcconnection Creating table maasserver_sshkey Creating table maasserver_sslkey Creating table maasserver_template Creating table maasserver_userprofile Creating table maasserver_virtualblockdevice Creating table metadataserver_noderesult Creating table metadataserver_commissioningscript Creating table metadataserver_nodekey Creating table metadataserver_nodeuserdata Creating table piston3_nonce Creating table piston3_consumer Creating table piston3_token Running deferred SQL... Installing custom SQL... Installed 1 object(s) from 1 fixture(s) Running migrations: No migrations to apply. Your models have changes that are not yet reflected in a migration, and so won't be applied. Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them. Destroying test database for alias 'default' ('test_maas')... nosetests --with-crochet --with-scenarios --with-select --select-dir=src/maas --select-dir=src/maasserver --select-dir=src/metadataserver --cover-package=maas,maasserver,metadataserver --cover-branches --logging-level=INFO --logging-clear-handlers --verbosity=2 --with-xunit --xunit-file=xunit.test.region.xml --failed 2016-09-30 17:21:42 [twisted] INFO: Log opened. Creating test database for alias 'default' ('test_maas')... Operations to perform: Synchronize unmigrated apps: django_nose, maasserver, auth, metadataserver, messages, piston3, sites, maastesting, contenttypes, sessions, staticfiles Apply all migrations: (none) Synchronizing apps without migrations: Creating tables... Creating table auth_permission Creating table auth_group Creating table auth_user Creating table django_content_type Creating table django_session Creating table django_site Creating table maasserver_blockdevice Creating table maasserver_versionedtextfile Creating table maasserver_config Creating table maasserver_domain Creating table maasserver_staticroute Creating table maasserver_subnet Creating table maasserver_staticipaddress Creating table maasserver_bmc Creating table maasserver_bmcroutablerackcontrollerrelationship Creating table maasserver_bootsource Creating table maasserver_bootsourcecache Creating table maasserver_bootresource Creating table maasserver_bootresourceset Creating table maasserver_largefile Creating table maasserver_bootresourcefile Creating table maasserver_bootsourceselection Creating table maasserver_cacheset Creating table maasserver_componenterror Creating table maasserver_interface Creating table maasserver_interfacerelationship Creating table maasserver_fabric Creating table maasserver_filesystemgroup Creating table maasserver_partition Creating table maasserver_filesystem Creating table maasserver_licensekey Creating table maasserver_ownerdata Creating table maasserver_partitiontable Creating table maasserver_physicalblockdevice Creating table maasserver_service Creating table maasserver_space Creating table maasserver_tag Creating table maasserver_vlan Creating table maasserver_zone Creating table maasserver_node Creating table maasserver_nodegrouptorackcontroller Creating table maasserver_dhcpsnippet Creating table maasserver_dnsresource Creating table maasserver_dnsdata Creating table maasserver_dnspublication Creating table maasserver_eventtype Creating table maasserver_event Creating table maasserver_fannetwork Creating table maasserver_filestorage Creating table maasserver_iprange Creating table maasserver_keysource Creating table maasserver_mdns Creating table maasserver_neighbour Creating table maasserver_packagerepository Creating table maasserver_regioncontrollerprocess Creating table maasserver_regioncontrollerprocessendpoint Creating table maasserver_regionrackrpcconnection Creating table maasserver_sshkey Creating table maasserver_sslkey Creating table maasserver_template Creating table maasserver_userprofile Creating table maasserver_virtualblockdevice Creating table metadataserver_noderesult Creating table metadataserver_commissioningscript Creating table metadataserver_nodekey Creating table metadataserver_nodeuserdata Creating table piston3_nonce Creating table piston3_consumer Creating table piston3_token Running deferred SQL... Installing custom SQL... Installed 1 object(s) from 1 fixture(s) Running migrations: No migrations to apply. Your models have changes that are not yet reflected in a migration, and so won't be applied. Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them. Destroying test database for alias 'default' ('test_maas')... 30 09 2016 17:21:53.600:INFO [karma]: Karma v0.13.19 server started at http://localhost:9876/ 30 09 2016 17:21:53.624:INFO [launcher]: Starting browser PhantomJS 30 09 2016 17:21:53.639:INFO [launcher]: Starting browser Chrome 30 09 2016 17:21:53.882:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#uXtHyQt4fwPpi2QfAAAA with id 90257779 30 09 2016 17:21:55.278:INFO [Chromium 52.0.2743 (Ubuntu 0.0.0)]: Connected on socket /#lAKnJHorKK1BMtxuAAAB with id 49479999 PhantomJS 2.1.1 (Linux 0.0.0) LOG: undefined Chromium 52.0.2743 (Ubuntu 0.0.0) LOG: undefined PhantomJS 2.1.1 (Linux 0.0.0) failed specs:  SubnetDetailsController > subnetPreSave > updates vlan when fabric changed Expected undefined to be 64. /tmp/tarmac/branch.bxVdOG/src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js:385:44 Chromium 52.0.2743 (Ubuntu 0.0.0) failed specs:  30 09 2016 17:22:19.716:INFO [karma]: Karma v0.13.19 server started at http://localhost:9876/ 30 09 2016 17:22:19.734:INFO [launcher]: Starting browser Chrome 30 09 2016 17:22:19.751:INFO [launcher]: Starting browser PhantomJS 30 09 2016 17:22:20.028:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#sAh6NE1i7KgpennRAAAA with id 37449288 30 09 2016 17:22:21.546:INFO [Chromium 52.0.2743 (Ubuntu 0.0.0)]: Connected on socket /#TL7QyLd8UlQH-BpMAAAB with id 66212653 PhantomJS 2.1.1 (Linux 0.0.0) LOG: undefined Chromium 52.0.2743 (Ubuntu 0.0.0) LOG: undefined Makefile:233: recipe for target 'test-failed' failed sudo: unable to resolve host juju-prod-cdo-maas-machine-3 sudo: unable to resolve host juju-prod-cdo-maas-machine-3 sudo: unable to resolve host juju-prod-cdo-maas-machine-3 Rendering Complete, saving .css file... Wrote CSS to /tmp/tarmac/branch.bxVdOG/src/maasserver/static/css/build.css Rendering Complete, saving .css file... Wrote CSS to /tmp/tarmac/branch.bxVdOG/src/maasserver/static/css/build.css #1 apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_converts_string_to_tuple ... ok #2 apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_detects_malformed_string ... ok #3 apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_detects_spurious_colons ... ok #4 apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_inverts_convert_tuple_to_string ... ok #5 apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_converts_tuple_to_string ... ok #6 apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_rejects_oversized_tuple ... ok #7 apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_rejects_undersized_tuple ... ok #8 apiclient.tests.test_encode_json.TestEncodeJSONData.test_encode_dict ... ok #9 apiclient.tests.test_encode_json.TestEncodeJSONData.test_encode_empty_dict ... ok #10 apiclient.tests.test_maas_client.TestMAASClient.test_delete_dispatches_to_resource ... ok #11 apiclient.tests.test_maas_client.TestMAASClient.test_delete_passes_body ... ok #12 apiclient.tests.test_maas_client.TestMAASClient.test_flatten_flattens_out_list ... ok #13 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_as_json ... ok #14 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_makes_url ... ok #15 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_passes_parameters_in_body ... ok #16 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_signs_request ... ok #17 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_adds_list_parameters_to_url ... ok #18 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_adds_parameters_to_url ... ok #19 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_makes_url ... ok #20 apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_signs_request ... ok #21 apiclient.tests.test_maas_client.TestMAASClient.test_get_dispatches_to_resource ... ok #22 apiclient.tests.test_maas_client.TestMAASClient.test_get_passes_parameters ... ok #23 apiclient.tests.test_maas_client.TestMAASClient.test_get_with_op_queries_resource ... ok #24 apiclient.tests.test_maas_client.TestMAASClient.test_get_without_op_gets_simple_resource ... ok #25 apiclient.tests.test_maas_client.TestMAASClient.test_make_url_converts_sequence_to_path ... ok #26 apiclient.tests.test_maas_client.TestMAASClient.test_make_url_joins_root_and_path ... ok #27 apiclient.tests.test_maas_client.TestMAASClient.test_make_url_represents_path_components_as_text ... ok #28 apiclient.tests.test_maas_client.TestMAASClient.test_post_as_json ... ok #29 apiclient.tests.test_maas_client.TestMAASClient.test_post_dispatches_to_resource ... ok #30 apiclient.tests.test_maas_client.TestMAASClient.test_post_passes_parameters ... ok #31 apiclient.tests.test_maas_client.TestMAASClient.test_post_without_op ... ok #32 apiclient.tests.test_maas_client.TestMAASClient.test_put_dispatches_to_resource ... ok #33 apiclient.tests.test_maas_client.TestMAASDispatcher.test_dispatch_query_encodes_string_data ... ok #34 apiclient.tests.test_maas_client.TestMAASDispatcher.test_dispatch_query_makes_direct_call ... ok #35 apiclient.tests.test_maas_client.TestMAASDispatcher.test_doesnt_override_accept_encoding_headers ... ok #36 apiclient.tests.test_maas_client.TestMAASDispatcher.test_request_from_http ... ok #37 apiclient.tests.test_maas_client.TestMAASDispatcher.test_supports_any_method ... ok #38 apiclient.tests.test_maas_client.TestMAASDispatcher.test_supports_content_encoding_gzip ... ok #39 apiclient.tests.test_maas_client.TestMAASOAuth.test_sign_request_adds_header ... ok #40 apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data ... ok #41 apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_closes_with_closing_boundary_line ... ok #42 apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_list_params ... ok #43 apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_multiple_params ... ok #44 apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_produces_str ... ok #45 apiclient.tests.test_multipart.TestMultiPart.test_get_content_type_guesses_type ... ok #46 apiclient.tests.test_utils.TestHelpers.test_ascii_url_asciifies_unicode ... ok #47 apiclient.tests.test_utils.TestHelpers.test_ascii_url_leaves_ascii_bytes_unchanged ... ok #48 apiclient.tests.test_utils.TestHelpers.test_urlencode_encodes_utf8_and_quotes ... ok #49 apiclient.tests.test_utils.TestHelpers.test_urlencode_roundtrip_through_django ... ok #50 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_accepts_bytes ... ok #51 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_more_than_one_file ... ok #52 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_no_files ... ok #53 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_no_sets ... ok #54 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_file_from_newest_set ... ok #55 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_initial_request_raises_CommandError_on_error ... ok #56 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_initial_request_returns_content ... ok #57 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_prepare_initial_payload_adds_size_and_sha256 ... ok #58 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_prepare_initial_payload_raises_CommandError_missing_content ... ok #59 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_put_upload_raise_CommandError_if_status_not_200 ... ok #60 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_put_upload_sends_content_type_and_length_headers ... ok #61 maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_upload_content_calls_put_upload_with_sizeof_CHUNK_SIZE ... ok #62 maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple ... ok #63 maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple_for_no_input ... ok #64 maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple_for_no_protocol ... ok #65 maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_nothing_if_hashes_match ... ok #66 maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_nothing_if_remote_has_no_hash ... ok #67 maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_warning_if_hashes_dont_match ... ok #68 maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_warning_if_local_has_no_hash ... ok #69 maascli.tests.test_api.TestAction.test_name_value_pair_demands_two_parts ... ok #70 maascli.tests.test_api.TestAction.test_name_value_pair_does_not_strip_whitespace ... ok #71 maascli.tests.test_api.TestAction.test_name_value_pair_returns_2_tuple ... ok #72 maascli.tests.test_api.TestActionHelp.test_call_exits ... ok #73 maascli.tests.test_api.TestActionHelp.test_call_shows_full_enchilada ... ok #74 maascli.tests.test_api.TestActionHelp.test_compose_epilog_explains_documented_keyword_args ... ok #75 maascli.tests.test_api.TestActionHelp.test_compose_epilog_preserves_indentation ... ok #76 maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_epilog_is_empty ... ok #77 maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_epilog_is_whitespace ... ok #78 maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_no_epilog ... ok #79 maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_epilog ... ok #80 maascli.tests.test_api.TestActionHelp.test_compose_optional_args_describes_optional_args ... ok #81 maascli.tests.test_api.TestActionHelp.test_compose_optional_args_returns_empty_if_none_defined ... ok #82 maascli.tests.test_api.TestActionHelp.test_compose_positional_args_describes_positional_args ... ok #83 maascli.tests.test_api.TestActionHelp.test_compose_positional_args_does_not_end_with_newline ... ok #84 maascli.tests.test_api.TestActionHelp.test_compose_positional_args_returns_empty_if_no_args ... ok #85 maascli.tests.test_api.TestActionHelp.test_compose_shows_at_least_usage_and_description ... ok #86 maascli.tests.test_api.TestActionHelp.test_get_optional_args_returns_empty_if_no_args ... ok #87 maascli.tests.test_api.TestActionHelp.test_get_optional_args_returns_optional_args ... ok #88 maascli.tests.test_api.TestActionHelp.test_get_positional_args_ignores_optional_args ... ok #89 maascli.tests.test_api.TestActionHelp.test_get_positional_args_includes_other_arg ... ok #90 maascli.tests.test_api.TestActionHelp.test_get_positional_args_lists_arguments ... ok #91 maascli.tests.test_api.TestActionHelp.test_get_positional_args_omits_final_data_arg ... ok #92 maascli.tests.test_api.TestActionHelp.test_get_positional_args_returns_empty_if_data_is_only_arg ... ok #93 maascli.tests.test_api.TestActionHelp.test_get_positional_args_returns_empty_list_if_no_args ... ok #94 maascli.tests.test_api.TestFunctions.test_fetch_api_description ... ok #95 maascli.tests.test_api.TestFunctions.test_fetch_api_description_not_okay ... ok #96 maascli.tests.test_api.TestFunctions.test_fetch_api_description_wrong_content_type ... ok #97 maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_Action ... ok #98 maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_BootResourcesCreateAction ... ok #99 maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_SSHKeysImportAction ... ok #100 maascli.tests.test_api.TestFunctions.test_get_action_class_returns_BootResourcesCreateAction_class ... ok #101 maascli.tests.test_api.TestFunctions.test_get_action_class_returns_None_for_unknown_handler ... ok #102 maascli.tests.test_api.TestFunctions.test_get_action_class_returns_SSHKeysImportAction_class ... ok #103 maascli.tests.test_api.TestFunctions.test_http_request_raises_error_if_cert_verify_fails ... ok #104 maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (create-without-op) ... ok #104 maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (read-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (update-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (delete-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (create-with-data-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (read-with-data-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (update-with-data-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (delete-with-data-without-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (create-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (read-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (update-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (delete-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (create-with-data-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (read-with-data-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (update-with-data-with-op) ... ok maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload (delete-with-data-with-op) ... ok #105 maascli.tests.test_api.TestPayloadPreparationWithFiles.test_files_are_included ... ok #106 maascli.tests.test_api.TestRegisterAPICommands.test_handlers_registered_using_correct_names ... ok #107 maascli.tests.test_api.TestRegisterAPICommands.test_registers_subparsers ... ok #108 maascli.tests.test_auth.TestAuth.test_check_valid_apikey_catches_invalid_key ... ok #109 maascli.tests.test_auth.TestAuth.test_check_valid_apikey_passes_valid_key ... ok #110 maascli.tests.test_auth.TestAuth.test_check_valid_apikey_raises_if_unexpected_response ... ok #111 maascli.tests.test_auth.TestAuth.test_obtain_credentials_empty ... ok #112 maascli.tests.test_auth.TestAuth.test_obtain_credentials_from_stdin ... ok #113 maascli.tests.test_auth.TestAuth.test_obtain_credentials_via_getpass ... ok #114 maascli.tests.test_auth.TestAuth.test_try_getpass ... ok #115 maascli.tests.test_auth.TestAuth.test_try_getpass_eof ... ok #116 maascli.tests.test_cli.TestLogin.test_cmd_login_ensures_valid_apikey ... ok #117 maascli.tests.test_cli.TestLogin.test_cmd_login_raises_unexpected_error_when_validating_apikey ... ok #118 maascli.tests.test_cli.TestLogin.test_print_whats_next ... ok #119 maascli.tests.test_cli.TestRegisterCommands.test_calls_load_regiond_commands_when_management_and_maasserver ... ok #120 maascli.tests.test_cli.TestRegisterCommands.test_doesnt_call_load_regiond_commands_if_no_maasserver ... ok #121 maascli.tests.test_cli.TestRegisterCommands.test_doesnt_call_load_regiond_commands_if_no_management ... ok #122 maascli.tests.test_cli.TestRegisterCommands.test_loads_all_regiond_commands ... ok #123 maascli.tests.test_cli.TestRegisterCommands.test_registers_subparsers ... ok #124 maascli.tests.test_cli.TestRegisterCommands.test_subparsers_have_appropriate_execute_defaults ... ok #125 maascli.tests.test_config.TestProfileConfig.test_adding_profile ... ok #126 maascli.tests.test_config.TestProfileConfig.test_getting_non_existent_profile ... ok #127 maascli.tests.test_config.TestProfileConfig.test_getting_profile ... ok #128 maascli.tests.test_config.TestProfileConfig.test_init ... ok #129 maascli.tests.test_config.TestProfileConfig.test_open_and_close ... ok #130 maascli.tests.test_config.TestProfileConfig.test_open_permissions_as_user_invoking_sudo ... ok #131 maascli.tests.test_config.TestProfileConfig.test_open_permissions_as_user_invoking_sudo_retries_if_failed ... ok #132 maascli.tests.test_config.TestProfileConfig.test_open_permissions_existing_database ... ok #133 maascli.tests.test_config.TestProfileConfig.test_open_permissions_new_database ... ok #134 maascli.tests.test_config.TestProfileConfig.test_profiles_pristine ... ok #135 maascli.tests.test_config.TestProfileConfig.test_removing_profile ... ok #136 maascli.tests.test_config.TestProfileConfig.test_replacing_profile ... ok #137 maascli.tests.test_integration.TestMAASCli.test_help_option_succeeds ... ok #138 maascli.tests.test_integration.TestMAASCli.test_list_command_succeeds ... ok #139 maascli.tests.test_integration.TestMAASCli.test_run_without_args_fails ... ok #140 maascli.tests.test_integration.TestMAASCli.test_run_without_args_shows_help_reminder ... ok #141 maascli.tests.test_integration.TestMain.test_complains_about_too_few_arguments ... ok #142 maascli.tests.test_parser.TestArgumentParser.test_add_subparsers_disabled ... ok #143 maascli.tests.test_parser.TestArgumentParser.test_bad_arguments_calls_sys_exit_2 ... ok #144 maascli.tests.test_parser.TestArgumentParser.test_bad_arguments_prints_help_to_stderr ... ok #145 maascli.tests.test_parser.TestArgumentParser.test_subparsers_property ... ok #146 maascli.tests.test_profile.TestProfile.test_get_profile_finds_profile ... ok #147 maascli.tests.test_profile.TestProfile.test_get_profile_raises_if_not_found ... ok #148 maascli.tests.test_profile.TestProfile.test_name_default_profile_picks_single_profile ... ok #149 maascli.tests.test_profile.TestProfile.test_name_default_profile_returns_None_if_multiple_profiles ... ok #150 maascli.tests.test_profile.TestProfile.test_name_default_profile_returns_None_if_no_profile_found ... ok #151 maascli.tests.test_profile.TestProfile.test_select_profile_returns_named_profile ... ok #152 maascli.tests.test_profile.TestProfile.test_select_profile_selects_default_if_no_profile_named ... ok #153 maascli.tests.test_utils.TestDocstringParsing.test_basic ... ok #154 maascli.tests.test_utils.TestDocstringParsing.test_gets_docstring_from_function ... ok #155 maascli.tests.test_utils.TestDocstringParsing.test_no_body ... ok #156 maascli.tests.test_utils.TestDocstringParsing.test_normalises_whitespace ... ok #157 maascli.tests.test_utils.TestDocstringParsing.test_unwrapping ... ok #158 maascli.tests.test_utils.TestFunctions.test_api_url ... ok #159 maascli.tests.test_utils.TestFunctions.test_ensure_trailing_slash ... ok #160 maascli.tests.test_utils.TestFunctions.test_ensure_trailing_slash_string_type ... ok #161 maascli.tests.test_utils.TestFunctions.test_handler_command_name ... ok #162 maascli.tests.test_utils.TestFunctions.test_handler_command_name_non_ASCII ... ok #163 maascli.tests.test_utils.TestFunctions.test_safe_name ... ok #164 maascli.tests.test_utils.TestFunctions.test_safe_name_non_ASCII ... ok #165 maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_omits_parameters ... ok #166 maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_return_None_when_type_not_found ... ok #167 maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_returns_content_type_header ... ok #168 maascli.tests.test_utils.TestIsResponseTextual.test_type (application/json) ... ok #168 maascli.tests.test_utils.TestIsResponseTextual.test_type (image/png) ... ok maascli.tests.test_utils.TestIsResponseTextual.test_type (text/foobar) ... ok maascli.tests.test_utils.TestIsResponseTextual.test_type (text/plain) ... ok maascli.tests.test_utils.TestIsResponseTextual.test_type (text/yaml) ... ok maascli.tests.test_utils.TestIsResponseTextual.test_type (video/webm) ... ok #169 maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_when_redirected ... ok #170 maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_with_newline ... ok #171 maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_with_success_msg ... ok #172 maascli.tests.test_utils.TestPrintResponseContent.test__writes_binary_response ... ok #173 maascli.tests.test_utils.TestPrintResponseHeaders.test__prints_http_headers_in_order ... ok #174 maascli.tests.test_utils.TestSudoGID.test_does_nothing_when_environ_not_set ... ok #175 maascli.tests.test_utils.TestSudoGID.test_sets_and_resets_egid ... ok #176 maascli.tests.test_utils.TestSudoGID.test_sets_and_resets_egid_on_crash ... ok #177 maascli.tests.test_utils.TestSudoUID.test_does_nothing_when_environ_not_set ... ok #178 maascli.tests.test_utils.TestSudoUID.test_sets_and_resets_euid ... ok #179 maascli.tests.test_utils.TestSudoUID.test_sets_and_resets_euid_on_crash ... ok ---------------------------------------------------------------------- XML: xunit.test.cli.xml ---------------------------------------------------------------------- Ran 199 tests in 7.556s OK #180 provisioningserver.boot.tests.test_boot.TestBootMethod.test_gen_template_filenames ... ok #181 provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_pxe_template ... ok #182 provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_remote_mac ... ok #183 provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_template_gets_default_if_available ... ok #184 provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_template_not_found ... ok #185 provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_templates_only_suppresses_ENOENT ... ok #186 provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_copies_previous_downloaded_files ... ok #187 provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_links_bootloaders_found_elsewhere_on_fs ... ok #188 provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_links_simplestream_bootloader_files ... ok #189 provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_logs_missing_previous_downloaded_files ... ok #190 provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_logs_missing_simplestream_file ... ok #191 provisioningserver.boot.tests.test_boot.TestGetArchiveUrl.test_get_main_archive_url ... ok #192 provisioningserver.boot.tests.test_boot.TestGetArchiveUrl.test_get_ports_archive_url ... ok #193 provisioningserver.boot.tests.test_install_grub.TestInstallGrub.test_integration ... ok #194 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_arch_octet ... ok #195 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_bootloader_path ... ok #196 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_bootloader_path_does_not_include_tftp_root ... ok #197 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_compose_config_path_does_not_include_tftp_root ... ok #198 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_compose_config_path_follows_maas_pxe_directory_layout ... ok #199 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_name ... ok #200 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_path_prefix ... ok #201 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_template_subdir ... ok #202 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_config_with_mac ... ok #203 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_config_without_mac ... ok #204 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_prefix_request ... ok #205 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodPathPrefix.test_path_prefix_only_first_occurrence_removed ... ok #206 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodPathPrefix.test_path_prefix_removed ... ok #207 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_file_in_root ... ok #208 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_file_not_in_pxelinux_cfg ... ok #209 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_non_config_file ... ok #210 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_is_compatible_with_config_path_generator ... ok #211 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_matches_classic_pxelinux_cfg ... ok #212 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_matches_pxelinux_cfg_with_leading_slash ... ok #213 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_with_default ... ok #214 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_with_leading_slash ... ok #215 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_without_leading_slash ... ok #216 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_format_bootif_makes_mac_address_lower ... ok #217 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_format_bootif_replaces_colon ... ok #218 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_appends_bootif ... ok #219 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_install ... ok #220 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_with_extra_arguments_does_not_affect_output ... ok #221 provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_with_local_purpose ... ok #222 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_arch_octet ... ok #223 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_bootloader_path ... ok #224 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_bootloader_path_does_not_include_tftp_root ... ok #225 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_compose_config_path_does_not_include_tftp_root ... ok #226 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_compose_config_path_follows_maas_pxe_directory_layout ... ok #227 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_copies_previously_downloaded_files ... ok #228 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_links_files_found_on_fs ... ok #229 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_logs_missing_files ... ok #230 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_simplestream_bootloaders_creates_syslinux_link ... ok #231 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_name ... ok #232 provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_template_subdir ... ok #233 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_file_in_root ... ok #234 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_file_not_in_pxelinux_cfg ... ok #235 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_non_config_file ... ok #236 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_is_compatible_with_config_path_generator ... ok #237 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_matches_classic_pxelinux_cfg ... ok #238 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_matches_pxelinux_cfg_with_leading_slash ... ok #239 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default ... ok #240 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default_arch ... ok #241 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default_arch_and_subarch ... ok #242 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_leading_slash ... ok #243 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_without_leading_slash ... ok #244 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_install ... ok #245 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_install_mustang_dtb ... ok #246 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_extra_arguments_does_not_affect_output ... ok #247 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose ... ok #248 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose_amd64_arch ... ok #249 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose_i386_arch ... ok #250 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_xinstall_mustang_dtb ... ok #251 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenarios.test_get_reader_scenarios (commissioning) ... ok #251 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenarios.test_get_reader_scenarios (xinstall) ... ok #252 provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenariosEnlist.test_get_reader_scenarios ... ok #253 provisioningserver.boot.tests.test_pxe.TestParsePXEConfig.test_parse_with_no_header ... ok #254 provisioningserver.boot.tests.test_pxe.TestParsePXEConfig.test_parse_with_no_labels ... ok #255 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_compose_image_path_does_not_include_tftp_root ... ok #256 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_compose_image_path_follows_storage_directory_layout ... ok #257 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_drops_paths_that_do_not_go_deep_enough ... ok #258 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_follows_directory_tree ... ok #259 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_ignores_subdir_not_in_path ... ok #260 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_builds_on_given_paths ... ok #261 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_finds_path_extensions ... ok #262 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_stops_if_no_subdirs_found ... ok #263 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_bootloader ... ok #264 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_metadata ... ok #265 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_no_metadata ... ok #266 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_metadata ... ok #267 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_metadata_handles_missing_subarch ... ok #268 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_ignores_hidden_directories ... ok #269 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_ignores_regular_files ... ok #270 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_recognizes_subdirectory ... ok #271 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_empty_directory ... ok #272 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_missing_directory ... ok #273 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_unexpected_files ... ok #274 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_empty_on_missing_osystems ... ok #275 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_enumerates_boot_images ... ok #276 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_finds_boot_image ... ok #277 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_merges_maas_meta_data ... ok #278 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_passes_on_other_exceptions ... ok #279 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_subdirs_lists_empty_directory ... ok #280 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_subdirs_lists_subdirs ... ok #281 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_reraises_non_ENOENT ... ok #282 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_returns_None_if_no_file ... ok #283 provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_returns_modification_time ... ok #284 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_copies_from_system ... ok #285 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_copies_previous_downloaded_files ... ok #286 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_creates_grub_cfg ... ok #287 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_logs_missing_bootloader_files ... ok #288 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_does_not_match_default_grub_config_file ... ok #289 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_is_compatible_with_cfg_path_generator ... ok #290 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_matches_classic_grub_cfg ... ok #291 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_matches_grub_cfg_with_leading_slash ... ok #292 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default ... ok #293 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default_arch ... ok #294 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default_arch_and_subarch ... ok #295 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_leading_slash ... ok #296 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_without_leading_slash ... ok #297 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader ... ok #298 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_commissioning_purpose ... ok #299 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_enlist_purpose ... ok #300 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_extra_arguments_does_not_affect_output ... ok #301 provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_local_purpose ... ok #302 provisioningserver.boot.tests.test_windows.TestBcd.test_get_load_options_key ... ok #303 provisioningserver.boot.tests.test_windows.TestBcd.test_get_loader ... ok #304 provisioningserver.boot.tests.test_windows.TestBcd.test_get_loader_elems ... ok #305 provisioningserver.boot.tests.test_windows.TestBcd.test_set_load_options ... ok #306 provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_None_when_MAC_is_None ... ok #307 provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_None_when_node_not_found ... ok #308 provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_output_from_RequestNodeInfoByMACAddress ... ok #309 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_clean_path ... ok #310 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_clean_path_strip_boot ... ok #311 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_bcd ... ok #312 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_bcd_missing_template ... ok #313 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_preseed_url ... ok #314 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_node_info ... ok #315 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_reader_bcd ... ok #316 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_reader_static_file ... ok #317 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_resouce_path ... ok #318 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux ... ok #319 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_get_node_info_None ... ok #320 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_missing_hivex ... ok #321 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_only_on_install ... ok #322 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_only_on_windows ... ok #323 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_static_file ... ok #324 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_static_file_clean_path ... ok #325 provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_output_static ... ok #326 provisioningserver.dhcp.tests.test_config.TestComposeConditionalBootloader.test__composes_bootloader_section_v4 ... ok #327 provisioningserver.dhcp.tests.test_config.TestComposeConditionalBootloader.test__composes_bootloader_section_v6 ... ok #328 provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__ignores_resolution_failures ... ok #329 provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__ip_addresses_are_passed_through ... ok #330 provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__logs_resolution_failures ... ok #331 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__complains_if_too_few_parameters (v4) ... SKIP: HOSTALIASES is not fully supported #331 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__complains_if_too_few_parameters (v6) ... SKIP: HOSTALIASES is not fully supported #332 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__includes_compose_conditional_bootloader (v4) ... SKIP: HOSTALIASES is not fully supported #332 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__includes_compose_conditional_bootloader (v6) ... SKIP: HOSTALIASES is not fully supported #333 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_dns_servers_as_comma_separated_list (v4) ... SKIP: HOSTALIASES is not fully supported #333 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_dns_servers_as_comma_separated_list (v6) ... SKIP: HOSTALIASES is not fully supported #334 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_global_dhcp_snippets (v4) ... SKIP: HOSTALIASES is not fully supported #334 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_global_dhcp_snippets (v6) ... SKIP: HOSTALIASES is not fully supported #335 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_node_dhcp_snippets (v4) ... SKIP: HOSTALIASES is not fully supported #335 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_node_dhcp_snippets (v6) ... SKIP: HOSTALIASES is not fully supported #336 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_ntp_servers_as_comma_separated_list (v4) ... SKIP: HOSTALIASES is not fully supported #336 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_ntp_servers_as_comma_separated_list (v6) ... SKIP: HOSTALIASES is not fully supported #337 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_router_ip_if_present (v4) ... SKIP: HOSTALIASES is not fully supported #337 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_router_ip_if_present (v6) ... SKIP: HOSTALIASES is not fully supported #338 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_cidr (v4) ... SKIP: HOSTALIASES is not fully supported #338 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_cidr (v6) ... SKIP: HOSTALIASES is not fully supported #339 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_dhcp_snippets (v4) ... SKIP: HOSTALIASES is not fully supported #339 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_dhcp_snippets (v6) ... SKIP: HOSTALIASES is not fully supported #340 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_empty_string_router_ip (v4) ... SKIP: HOSTALIASES is not fully supported #340 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_empty_string_router_ip (v6) ... SKIP: HOSTALIASES is not fully supported #341 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_hosts (v4) ... SKIP: HOSTALIASES is not fully supported #341 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_hosts (v6) ... SKIP: HOSTALIASES is not fully supported #342 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_dns_servers_set (v4) ... SKIP: HOSTALIASES is not fully supported #342 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_dns_servers_set (v6) ... SKIP: HOSTALIASES is not fully supported #343 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_ntp_servers_set (v4) ... SKIP: HOSTALIASES is not fully supported #343 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_ntp_servers_set (v6) ... SKIP: HOSTALIASES is not fully supported #344 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__silently_discards_unresolvable_ntp_servers (v4) ... ok #344 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__silently_discards_unresolvable_ntp_servers (v6) ... ok #345 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__substitutes_parameters (v4) ... SKIP: HOSTALIASES is not fully supported #345 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__substitutes_parameters (v6) ... SKIP: HOSTALIASES is not fully supported #346 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__uses_branch_template_by_default (v4) ... SKIP: HOSTALIASES is not fully supported #346 provisioningserver.dhcp.tests.test_config.TestGetConfig.test__uses_branch_template_by_default (v6) ... SKIP: HOSTALIASES is not fully supported #347 provisioningserver.dhcp.tests.test_detect.MakeTransactionID.test_produces_well_formed_ID ... ok #348 provisioningserver.dhcp.tests.test_detect.MakeTransactionID.test_randomises ... ok #349 provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test__build ... ok #350 provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_init_sets_packed_mac ... ok #351 provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_init_sets_packet ... ok #352 provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_init_sets_transaction_ID ... ok #353 provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_string_mac_to_packed ... ok #354 provisioningserver.dhcp.tests.test_detect.TestDHCPOfferPacket.test_decodes_dhcp_server ... ok #355 provisioningserver.dhcp.tests.test_detect.TestGetInterfaceIP.test_loopback_has_localhost_address ... ok #356 provisioningserver.dhcp.tests.test_detect.TestGetInterfaceMAC.test_loopback_has_zero_MAC ... ok #357 provisioningserver.dhcp.tests.test_detect.TestPeriodicTask.test_probe_interface_returns_empty_set_when_IP_missing ... ok #358 provisioningserver.dhcp.tests.test_detect.TestPeriodicTask.test_probe_interface_returns_empty_set_when_device_missing ... ok #359 provisioningserver.dhcp.tests.test_detect.TestPeriodicTask.test_probe_interface_returns_empty_set_when_nothing_detected ... ok #360 provisioningserver.dhcp.tests.test_detect.TestPeriodicTask.test_probe_interface_returns_populated_set ... ok #361 provisioningserver.dhcp.tests.test_detect.TestReceiveOffers.test_ignores_other_transactions ... ok #362 provisioningserver.dhcp.tests.test_detect.TestReceiveOffers.test_processes_offer ... ok #363 provisioningserver.dhcp.tests.test_detect.TestReceiveOffers.test_propagates_errors_other_than_timeout ... ok #364 provisioningserver.dhcp.tests.test_detect.TestReceiveOffers.test_receives_from_socket ... ok #365 provisioningserver.dhcp.tests.test_detect.TestReceiveOffers.test_returns_empty_if_nothing_received ... ok #366 provisioningserver.dhcp.tests.test_detect.TestRequestDHCP.test_returns_transaction_id ... ok #367 provisioningserver.dhcp.tests.test_detect.TestRequestDHCP.test_sends_discover_packet ... ok #368 provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_closes_socket_on_exit ... ok #369 provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_sets_reuseaddr ... ok #370 provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_yields_open_socket ... ok #371 provisioningserver.dhcp.tests.test_helper_clean.TestDHCPClean.test_removes_hosts_from_leases_file ... ok #372 provisioningserver.dhcp.tests.test_helper_notify.TestDHCPNotify.test_sends_notification_over_socket_for_processing ... ok #373 provisioningserver.dhcp.tests.test_omshell.TestCallDnsSecKeygen.test_runs_external_script ... ok #374 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_calls_omshell_correctly (IPv4) ... ok #374 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_calls_omshell_correctly (IPv6) ... ok #375 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_raises_when_omshell_fails (IPv4) ... ok #375 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_raises_when_omshell_fails (IPv6) ... ok #376 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_succeeds_when_host_map_already_exists (IPv4) ... ok #376 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_succeeds_when_host_map_already_exists (IPv6) ... ok #377 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_initialisation (IPv4) ... ok #377 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_initialisation (IPv6) ... ok #378 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_calls_omshell_correctly (IPv4) ... ok #378 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_calls_omshell_correctly (IPv6) ... ok #379 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_raises_when_omshell_fails (IPv4) ... ok #379 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_raises_when_omshell_fails (IPv6) ... ok #380 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_calls_omshell_correctly (IPv4) ... ok #380 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_calls_omshell_correctly (IPv6) ... ok #381 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_raises_when_omshell_fails (IPv4) ... ok #381 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_raises_when_omshell_fails (IPv6) ... ok #382 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_blank_last_lines (IPv4) ... ok #382 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_blank_last_lines (IPv6) ... ok #383 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_gt_char_present (IPv4) ... ok #383 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_gt_char_present (IPv6) ... ok #384 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_object_already_removed (IPv4) ... ok #384 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_object_already_removed (IPv6) ... ok #385 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_calls_omshell_correctly (IPv4) ... ok #385 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_calls_omshell_correctly (IPv6) ... ok #386 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_False (IPv4) ... ok #386 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_False (IPv6) ... ok #387 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_True (IPv4) ... ok #387 provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_True (IPv6) ... ok #388 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__calls_omshell_correctly (IPv4) ... ok #388 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__calls_omshell_correctly (IPv6) ... ok #389 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_failed_update (IPv4) ... ok #389 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_failed_update (IPv6) ... ok #390 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_invalid_error (IPv4) ... ok #390 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_invalid_error (IPv6) ... ok #391 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__considers_nonexistent_lease_a_success (IPv4) ... ok #391 provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__considers_nonexistent_lease_a_success (IPv6) ... ok #392 provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_leaves_no_temp_files ... ok #393 provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_raises_assertionerror_on_bad_output ... ok #394 provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_raises_assertionerror_on_no_output ... ok #395 provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_returns_a_key ... ok #396 provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_run_repeated_keygen ... ok #397 provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_configuration_writes_file ... ok #398 provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_configuration_writes_file_with_acl ... ok #399 provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_options_sets_up_config ... ok #400 provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_zones_writes_file ... ok #401 provisioningserver.dns.tests.test_actions.TestReconfigure.test__executes_rndc_command ... ok #402 provisioningserver.dns.tests.test_actions.TestReconfigure.test__logs_subprocess_error ... ok #403 provisioningserver.dns.tests.test_actions.TestReconfigure.test__upgrades_subprocess_error ... ok #404 provisioningserver.dns.tests.test_actions.TestReload.test__executes_rndc_command ... ok #405 provisioningserver.dns.tests.test_actions.TestReload.test__false_on_subprocess_error ... ok #406 provisioningserver.dns.tests.test_actions.TestReload.test__logs_subprocess_error ... ok #407 provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__calls_bind_reload_count_times ... ok #408 provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__returns_on_success ... ok #409 provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__sleeps_interval_seconds_between_attempts ... ok #410 provisioningserver.dns.tests.test_actions.TestReloadZone.test__executes_rndc_command ... ok #411 provisioningserver.dns.tests.test_actions.TestReloadZone.test__false_on_subprocess_error ... ok #412 provisioningserver.dns.tests.test_actions.TestReloadZone.test__logs_subprocess_error ... ok #413 provisioningserver.dns.tests.test_config.TestComposeConfigPath.test_returns_filename_in_dns_config_dir ... ok #414 provisioningserver.dns.tests.test_config.TestDNSConfig.test_get_include_snippet_returns_snippet ... ok #415 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_DNSConfigDirectoryMissing_if_dir_missing ... ok #416 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_errors_if_unexpected_exception ... ok #417 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_makes_config_world_readable ... ok #418 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_skips_writing_if_overwrite_false ... ok #419 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_writes_config ... ok #420 provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_writes_config_if_no_existing_file ... ok #421 provisioningserver.dns.tests.test_config.TestHelpers.test_get_bind_config_dir_checks_environ_first ... ok #422 provisioningserver.dns.tests.test_config.TestHelpers.test_get_bind_config_dir_defaults_to_etc_bind_maas ... ok #423 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_config_dir_checks_environ_first ... ok #424 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_config_dir_defaults_to_etc_bind_maas ... ok #425 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_default_controls_checks_environ_first ... ok #426 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_default_controls_defaults_to_affirmative ... ok #427 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_root_port_checks_environ_first ... ok #428 provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_root_port_defaults_to_954 ... ok #429 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_execute_rndc_command_executes_command ... ok #430 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_extract_suggested_named_conf_extracts_section ... ok #431 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_extract_suggested_named_conf_notices_missing_boundary ... ok #432 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_generate_rndc_returns_configurations ... ok #433 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_rndc_config_includes_default_controls ... ok #434 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_handles_no_upstream_dns ... ok #435 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_raises_on_bad_template ... ok #436 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_overrides ... ok #437 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_single_override ... ok #438 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_zero_overrides ... ok #439 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_assumes_no_overrides ... ok #440 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_writes_configuration ... ok #441 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_rndc_writes_configurations ... ok #442 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_template_path_is_correct ... ok #443 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_uncomment_named_conf_uncomments ... ok #444 provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_uncomment_named_conf_uncomments_multiple_lines ... ok #445 provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_combines_parameter_dicts ... ok #446 provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_interpolates_parameters ... ok #447 provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_renders_template ... ok #448 provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_reports_missing_parameters ... ok #449 provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_takes_latest_value_of_redefined_parameter ... ok #450 provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_passes_on_dissimilar_errors ... ok #451 provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_passes_on_other_similar_errors ... ok #452 provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_specially_reports_missing_config_dir ... ok #453 provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_succeeds_if_no_exceptions ... ok #454 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_computes_dns_config_file_paths ... ok #455 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_config_file_is_world_readable ... ok #456 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_fields ... ok #457 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_get_a_mapping_returns_ipv4_mapping ... ok #458 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_get_aaaa_mapping_returns_ipv6_mapping ... ok #459 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_handles_slash_32_dynamic_range ... ok #460 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_ignores_generate_directives_for_v6_dynamic_ranges ... ok #461 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_writes_dns_zone_config ... ok #462 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_writes_dns_zone_config_with_NS_record ... ok #463 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_dtrt_for_larger_networks ... ok #464 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_excplicitly ... ok #465 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_ignores_network_larger_than_slash_16 ... ok #466 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_ignores_networks_that_span_slash_16s ... ok #467 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_slash_24_network ... ok #468 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_tiny_network ... ok #469 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_two_entries_for_slash_23_network ... ok #470 provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_sorts_output ... ok #471 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_computes_dns_config_file_paths ... ok #472 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_computes_dns_config_file_paths_for_small_network ... ok #473 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_fields ... ok #474 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_get_ptr_mapping ... ok #475 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_get_ptr_mapping_drops_IPs_not_in_network ... ok #476 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_ignores_generate_directives_for_v6_dynamic_ranges ... ok #477 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_reverse_config_file_is_world_readable ... ok #478 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_reverse_zone_file ... ok #479 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_dns_zone_config_with_NS_record ... ok #480 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_reverse_dns_zone_config ... ok #481 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_reverse_dns_zone_config_for_small_network ... ok #482 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_excplicitly ... ok #483 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_ignores_network_larger_than_slash_16 ... ok #484 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_ignores_networks_that_span_slash_16s ... ok #485 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_256_entries_for_slash_16_network ... ok #486 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_slash_24_network ... ok #487 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_tiny_network ... ok #488 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_weird_small_range ... ok #489 provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_sorts_output_by_hostname ... ok #490 provisioningserver.drivers.diskless.tests.test_base.TestDisklessDriver.test_get_schema ... ok #491 provisioningserver.drivers.diskless.tests.test_base.TestDisklessDriver.test_get_schema_returns_valid_schema ... ok #492 provisioningserver.drivers.diskless.tests.test_base.TestDisklessDriverRegistry.test_get_schema ... ok #493 provisioningserver.drivers.diskless.tests.test_base.TestDisklessDriverRegistry.test_registry ... ok #494 provisioningserver.drivers.diskless.tests.test_base.TestFakeDisklessDriver.test_attributes ... ok #495 provisioningserver.drivers.diskless.tests.test_base.TestFakeDisklessDriver.test_create_disk_raises_not_implemented ... ok #496 provisioningserver.drivers.diskless.tests.test_base.TestFakeDisklessDriver.test_delete_disk_raises_not_implemented ... ok #497 provisioningserver.drivers.diskless.tests.test_base.TestFakeDisklessDriver.test_make_diskless_driver ... ok #498 provisioningserver.drivers.diskless.tests.test_base.TestFakeDisklessDriver.test_make_diskless_driver_makes_name_and_description ... ok #499 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_impi ... ok #500 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_restapi ... ok #501 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_restapi2 ... ok #502 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09 ... ok #503 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09_exception_failure ... ok #504 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09_retry_failure ... ok #505 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v2 ... ok #506 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v2_raises_error_when_api_None ... ok #507 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_power_off ... ok #508 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_power_on ... ok #509 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_raises_error_when_api_None ... ok #510 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_probe_seamicro15k_and_enlist_v09 ... ok #511 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_probe_seamicro15k_and_enlist_v2 ... ok #512 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_ipmi ... ok #513 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_restapi ... ok #514 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_restapi2 ... ok #515 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_build_url ... ok #516 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_get_server_index ... ok #517 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_invalid_json_response ... ok #518 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_invalid_reponse_code ... ok #519 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_json_error_response ... ok #520 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_json_valid_response ... ok #521 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_login_and_logout ... ok #522 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_off ... ok #523 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_off_force ... ok #524 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_on_not_using_pxe ... ok #525 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_on_using_pxe ... ok #526 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_reset_not_using_pxe ... ok #527 provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_reset_using_pxe ... ok #528 provisioningserver.drivers.hardware.tests.test_ucsm.TestCall.test_call ... ok #529 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigConfMo.test_parameters ... ok #530 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_no_class_id ... ok #531 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_parameters ... ok #532 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_return_response ... ok #533 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_no_filters ... ok #534 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_return_response ... ok #535 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_with_filters ... ok #536 provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveDn.test_parameters ... ok #537 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetChildren.test_parameters ... ok #538 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetChildren.test_returns_result ... ok #539 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (0) ... ok #539 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (1) ... ok provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (2) ... ok provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (3) ... ok provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (4) ... ok provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter (5) ... ok #540 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetMacs.test_gets_adaptors ... ok #541 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServerPowerControl.test_get_server_power_control ... ok #542 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_class_id ... ok #543 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_returns_result ... ok #544 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_uses_uuid ... ok #545 provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServiceProfile.test_get_service_profile ... ok #546 provisioningserver.drivers.hardware.tests.test_ucsm.TestInvalidGetPowerCommand.test_get_power_command_raises_assertion_error_on_bad_power_mode ... ok #547 provisioningserver.drivers.hardware.tests.test_ucsm.TestLoggedIn.test_logged_in ... ok #548 provisioningserver.drivers.hardware.tests.test_ucsm.TestLogin.test_login_assigns_cookie ... ok #549 provisioningserver.drivers.hardware.tests.test_ucsm.TestLogin.test_login_call_parameters ... ok #550 provisioningserver.drivers.hardware.tests.test_ucsm.TestLogout.test_logout_clears_cookie ... ok #551 provisioningserver.drivers.hardware.tests.test_ucsm.TestLogout.test_logout_uses_cookie ... ok #552 provisioningserver.drivers.hardware.tests.test_ucsm.TestMakePolicyChange.test_change_lan_to_top_priority ... ok #553 provisioningserver.drivers.hardware.tests.test_ucsm.TestMakePolicyChange.test_lan_already_top_priority ... ok #554 provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_no_children ... ok #555 provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_no_fields ... ok #556 provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_with_children ... ok #557 provisioningserver.drivers.hardware.tests.test_ucsm.TestParseResonse.test_error ... ok #558 provisioningserver.drivers.hardware.tests.test_ucsm.TestParseResonse.test_no_error ... ok #559 provisioningserver.drivers.hardware.tests.test_ucsm.TestPowerControlUCSM.test_power_control_ucsm ... ok #560 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeAndEnlistUCSM.test_probe_and_enlist ... ok #561 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeLanBootOptions.test_returns_result ... ok #562 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_no_results_with_no_boot_options ... ok #563 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_no_results_with_no_server_macs ... ok #564 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_returns_results ... ok #565 provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_uses_api ... ok #566 provisioningserver.drivers.hardware.tests.test_ucsm.TestSendRequest.test_send_request ... ok #567 provisioningserver.drivers.hardware.tests.test_ucsm.TestSetLanBootDefault.test_no_change ... ok #568 provisioningserver.drivers.hardware.tests.test_ucsm.TestSetLanBootDefault.test_with_change ... ok #569 provisioningserver.drivers.hardware.tests.test_ucsm.TestSetServerPowerControl.test_set_server_power_control ... ok #570 provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_error_on_unknown_state ... ok #571 provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_get_off ... ok #572 provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_get_on ... ok #573 provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMXMLAPIError.test_includes_code_and_msg ... ok #574 provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command (Power On) ... ok #574 provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command (Power On) ... ok provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command (Power Off) ... ok #575 provisioningserver.drivers.hardware.tests.test_ucsm.TestsForStripRoKeys.test_strip_ro_keys ... ok #576 provisioningserver.drivers.hardware.tests.test_virsh.TestVirsh.test_probe_and_enlist ... ok #577 provisioningserver.drivers.hardware.tests.test_virsh.TestVirsh.test_probe_and_enlist_login_failure ... ok #578 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_bad_domain ... ok #579 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_login_failure ... ok #580 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_off ... ok #581 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_on ... ok #582 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_power_failure ... ok #583 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_control_bad_domain ... ok #584 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_error_on_unknown_state ... ok #585 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_get_off ... ok #586 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_get_on ... ok #587 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_login_failure ... ok #588 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_arch_returns_valid ... ok #589 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_arch_returns_valid_fixed ... ok #590 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_state ... ok #591 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_state_error ... ok #592 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_invalid_prompt ... ok #593 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_list ... ok #594 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_list_dom_prefix ... ok #595 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_invalid ... ok #596 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_missing_password ... ok #597 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_prompt ... ok #598 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_with_password ... ok #599 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_with_sshkey ... ok #600 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_logout ... ok #601 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_mac_addresses_returns_list ... ok #602 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_prompt ... ok #603 provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_run ... ok #604 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_api_connection ... ok #605 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_api_failed_connection ... ok #606 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_missing_server_raises_VMwareVMNotFound ... ok #607 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_instance_uuid ... ok #608 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_name ... ok #609 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_uuid ... ok #610 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_vmware_servers ... ok #611 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_vmware_servers_empty ... ok #612 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_control ... ok #613 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_control_missing_server_raises_VMwareVMNotFound ... ok #614 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_query_missing_server_raises_VMwareVMNotFound ... ok #615 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist ... ok #616 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist_reconfigures_boot_order_if_create_node_ok ... ok #617 provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist_skips_pxe_config_if_create_node_failed ... ok #618 provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_format_release_choices ... ok #619 provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_format_release_choices_sorts ... ok #620 provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_gen_supported_releases ... ok #621 provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystemRegistry.test_operating_system_registry ... ok #622 provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_boot_image_purposes ... ok #623 provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_default_release ... ok #624 provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_release_title ... ok #625 provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_is_release_supported ... ok #626 provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_boot_image_purposes ... ok #627 provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_default_release ... ok #628 provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_release_title ... ok #629 provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_is_release_supported ... ok #630 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_boot_image_purposes ... ok #631 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_default_release ... ok #632 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_release_title ... ok #633 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_xinstall_parameters_returns_root_dd_dd_tgz ... ok #634 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_xinstall_parameters_returns_root_tgz_tgz ... ok #635 provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_is_release_supported ... ok #636 provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_boot_image_purposes ... ok #637 provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_default_release ... ok #638 provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_release_title ... ok #639 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_default_commissioning_release ... ok #640 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_boot_image_purposes ... ok #641 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_default_release ... ok #642 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_release_title ... ok #643 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases ... ok #644 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_non_lts ... ok #645 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_precise ... ok #646 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_unsupported_lts ... ok #647 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_xinstall_parameters_returns_squashfs ... ok #648 provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_xinstall_parameters_returns_tgz ... ok #649 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_has_required_keys ... ok #650 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_includes_metadata_url ... ok #651 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_includes_oauth ... ok #652 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_truncates_hostname ... ok #653 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_uses_only_hostname ... ok #654 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_pressed_not_implemented_for_curtin ... ok #655 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_both ... ok #656 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_install_only ... ok #657 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_neither ... ok #658 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_xinstall_only ... ok #659 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_default_release ... ok #660 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_release_title ... ok #661 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_xinstall_parameters ... ok #662 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_requires_license_key_False ... ok #663 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_requires_license_key_True ... ok #664 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_validate_license_key ... ok #665 provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_validate_license_key_invalid ... ok #666 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ammtool_boot_mode_pxe_booting ... ok #667 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_crashes_when_amttool_has_no_output ... ok #668 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_crashes_when_no_version_found ... ok #669 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_raises_power_error ... ok #670 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_returns_amttool ... ok #671 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_returns_wsman ... ok #672 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_environment_sets_amt_password ... ok #673 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amttool_boot_mode_local_boot ... ok #674 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_raises_no_host_provided ... ok #675 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_returns_ip_address ... ok #676 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_returns_power_address ... ok #677 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_amttool_command_calls__run ... ok #678 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_wsman_command_calls__run_for_power ... ok #679 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_wsman_command_calls__run_for_query ... ok #680 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__render_wsman_state_xml_renders_xml ... ok #681 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__run_raises_power_action_error ... ok #682 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__run_runs_command ... ok #683 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__set_pxe_boot_sets_pxe ... ok #684 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_off_powers_off ... ok #685 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_off_raises_power_action_error ... ok #686 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_on_powers_on ... ok #687 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_on_raises_power_action_error ... ok #688 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_off ... ok #689 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_on ... ok #690 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_unknown ... ok #691 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_runs_query_loop ... ok #692 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_restart_power_cycles ... ok #693 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_get_power_state_gets_state ... ok #694 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_missing_packages ... ok #695 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_no_missing_packages ... ok #696 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_off_powers_off_with_amttool ... ok #697 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_off_powers_off_with_wsman ... ok #698 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_amttool_when_already_off ... ok #699 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_amttool_when_already_on ... ok #700 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_wsman_when_already_off ... ok #701 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_wsman_when_already_on ... ok #702 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_query_queries_with_amttool ... ok #703 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_query_queries_with_wsman ... ok #704 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_off_raises_power_action_error ... ok #705 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_off ... ok #706 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_on ... ok #707 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_restart ... ok #708 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_raises_power_action_error ... ok #709 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_off ... ok #710 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_on ... ok #711 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_unknown ... ok #712 provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_runs_query_loop ... ok #713 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_missing_packages ... ok #714 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_no_missing_packages ... ok #715 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_off_calls_run_process ... ok #716 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_on_calls_run_process ... ok #717 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_crashes_for_uknown_power_state ... ok #718 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_returns_power_state_off ... ok #719 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_returns_power_state_on ... ok #720 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_calls_command_and_returns_output ... ok #721 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_crashes_on_external_process_error ... ok #722 provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_crashes_on_no_power_state_match_found ... ok #723 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_attributes ... ok #724 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_cycle_raises_not_implemented ... ok #725 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_make_power_driver_base ... ok #726 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_make_power_driver_base_makes_name_and_description ... ok #727 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_off_raises_not_implemented ... ok #728 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_on_raises_not_implemented ... ok #729 provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_query_raises_not_implemented ... ok #730 provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (auth) ... ok #730 provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (conn) ... ok provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (setting) ... ok provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (tool) ... ok provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (action) ... ok provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg (unknown) ... ok #731 provisioningserver.drivers.power.tests.test_base.TestPowerDriverBase.test_get_schema ... ok #732 provisioningserver.drivers.power.tests.test_base.TestPowerDriverBase.test_get_schema_returns_valid_schema ... ok #733 provisioningserver.drivers.power.tests.test_base.TestPowerDriverCycle.test_cycles_power_when_node_is_powered_off ... ok #734 provisioningserver.drivers.power.tests.test_base.TestPowerDriverCycle.test_cycles_power_when_node_is_powered_on ... ok #735 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fails_to_complete_power_action_in_time (on) ... ok #735 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fails_to_complete_power_action_in_time (off) ... ok #736 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fatal_error_on_first_call (on) ... ok #736 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fatal_error_on_first_call (off) ... ok #737 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error (on) ... ok #737 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error (off) ... ok #738 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_and_holds_error (on) ... ok #738 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_and_holds_error (off) ... ok #739 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_on_first_call (on) ... ok #739 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_on_first_call (off) ... ok #740 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success (on) ... ok #740 provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success (off) ... ok #741 provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_pauses_between_retries ... ok #742 provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_raises_last_exception_after_all_retries_fail ... ok #743 provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_retries_on_failure_then_returns_state ... ok #744 provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_returns_state ... ok #745 provisioningserver.drivers.power.tests.test_base.TestPowerDriverRegistry.test_get_schema ... ok #746 provisioningserver.drivers.power.tests.test_base.TestPowerDriverRegistry.test_registry ... ok #747 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_crashes_when_state_not_found ... ok #748 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_crashes_when_wget_exits_nonzero ... ok #749 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_queries_off ... ok #750 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_queries_on ... ok #751 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__set_outlet_state_calls_wget ... ok #752 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__set_outlet_state_crashes_when_wget_exits_nonzero ... ok #753 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_missing_packages ... ok #754 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_no_missing_packages ... ok #755 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_off ... ok #756 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_on ... ok #757 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_on_raises_power_error ... ok #758 provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_query ... ok #759 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command ... ok #760 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command_errors_on_exception ... ok #761 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command_handles_power_query_off ... ok #762 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_missing_packages ... ok #763 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_no_missing_packages ... ok #764 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_off ... ok #765 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_on ... ok #766 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_on_crashes_when_power_cannot_be_cycled ... ok #767 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_query ... ok #768 provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_query_errors_on_unknown_power_state ... ok #769 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_missing_packages ... ok #770 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_off_calls_run_hmc_command ... ok #771 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_off_crashes_for_connection_error ... ok #772 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_on_calls_run_hmc_command ... ok #773 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_on_crashes_for_connection_error ... ok #774 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_crashes_for_connection_error ... ok #775 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_crashes_when_unable_to_find_match ... ok #776 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_returns_power_state ... ok #777 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_run_hmc_command_crashes_for_ssh_connection_error ... ok #778 provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_run_hmc_command_returns_command_output ... ok #779 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__chassis_config_written_to_temporary_file ... ok #780 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__finds_power_address_from_mac_address ... ok #781 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_chassis_config_command_logs_maaslog_warning ... ok #782 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_chassis_config_command_raises_power_error ... ok #783 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_off ... ok #784 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_off_soft_mode ... ok #785 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_on ... ok #786 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_query ... ok #787 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_does_not_mistake_host_for_status ... ok #788 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_raises_error ... ok #789 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_raises_unknown_error ... ok #790 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_missing_packages ... ok #791 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_no_missing_packages ... ok #792 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_off_calls__issue_ipmi_command ... ok #793 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_on_calls__issue_ipmi_command ... ok #794 provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_query_calls__issue_ipmi_command ... ok #795 provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_no_missing_packages ... ok #796 provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_off ... ok #797 provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_on ... ok #798 provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_query ... ok #799 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_command_returns_stdout_if_no_match ... ok #800 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_command_sets_pxe_boot ... ok #801 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_raises_power_action_error ... ok #802 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_missing_packages ... ok #803 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_no_missing_packages ... ok #804 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_off_calls__issue_ipmitool_command ... ok #805 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_on_calls__issue_ipmitool_command ... ok #806 provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_query_calls__issue_ipmitool_command ... ok #807 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_missing_packages ... ok #808 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_off_calls_run_mscm_command ... ok #809 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_off_crashes_for_connection_error ... ok #810 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_on_calls_run_mscm_command ... ok #811 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_on_crashes_for_connection_error ... ok #812 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_crashes_for_connection_error ... ok #813 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_crashes_when_unable_to_find_match ... ok #814 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_returns_power_state ... ok #815 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_returns_power_state_on ... ok #816 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_run_mscm_command_crashes_for_ssh_connection_error ... ok #817 provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_run_mscm_command_returns_command_output ... ok #818 provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m700 Server Cartridge) ... ok #818 provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m720 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant Moonshot Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m500 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (Default) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m800 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m400 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m710 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m350 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (ProLiant m300 Server Cartridge) ... ok provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist (default) ... ok #819 provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlistCrashesNoMatch.test_probe_and_enlist_mscm_crashes_for_no_match ... ok #820 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_extract_from_response_finds_element_content ... ok #821 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_blades_gets_blades ... ok #822 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_crashes_on_http_error ... ok #823 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_crashes_on_url_error ... ok #824 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_gets_response ... ok #825 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_missing_packages ... ok #826 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_off_crashes_for_connection_error ... ok #827 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_off_powers_off_blade ... ok #828 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_on_crashes_for_connection_error ... ok #829 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_on_powers_on_blade ... ok #830 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_crashes_for_connection_error ... ok #831 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_crashes_when_unable_to_find_match ... ok #832 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_returns_power_state ... ok #833 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_set_next_boot_device_sets_device ... ok #834 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_get_blades_failure_http_error ... ok #835 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_get_blades_failure_server_error ... ok #836 provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_probes_and_enlists ... ok #837 provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_missing_packages ... ok #838 provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_no_missing_packages ... ok #839 provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_off_calls_power_control_nova ... ok #840 provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_on_calls_power_control_nova ... ok #841 provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_query_calls_power_state_nova ... ok #842 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls__power_control_seamicro15k_ipmi ... ok #843 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls_power_control_seamicro15k_v09 ... ok #844 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls_power_control_seamicro15k_v2 ... ok #845 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_control_seamicro15k_ipmi_calls_call_and_check ... ok #846 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_control_seamicro15k_ipmi_raises_PowerFatalError ... ok #847 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_extract_seamicro_parameters_extracts_parameters ... ok #848 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_missing_packages ... ok #849 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_no_missing_packages ... ok #850 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_off_calls_power ... ok #851 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_on_calls_power ... ok #852 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_query_calls_power_query_seamicro15k_v2 ... ok #853 provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_query_returns_unknown_if_not_restapi2 ... ok #854 provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_extract_ucsm_parameters_extracts_parameters ... ok #855 provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_missing_packages ... ok #856 provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_off_calls_power_control_ucsm ... ok #857 provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_on_calls_power_control_ucsm ... ok #858 provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_query_calls_power_state_ucsm ... ok #859 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_extract_virsh_parameters_extracts_parameters ... ok #860 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_missing_packages ... ok #861 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_no_missing_packages ... ok #862 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_off_calls_power_control_virsh ... ok #863 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_on_calls_power_control_virsh ... ok #864 provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_query_calls_power_state_virsh ... ok #865 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_extract_vmware_parameters_extracts_parameters ... ok #866 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_extract_vmware_parameters_treats_optional_params_as_none ... ok #867 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_missing_packages ... ok #868 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_no_missing_packages ... ok #869 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_off_calls_power_control_vmware ... ok #870 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_on_calls_power_control_vmware ... ok #871 provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_query_calls_power_query_vmware ... ok #872 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_choices_to_empty_list ... ok #873 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_default_to_empty_string ... ok #874 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_field_type_to_string ... ok #875 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_dict_with_correct_values ... ok #876 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_dict_with_required_fields ... ok #877 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_valid_schema ... ok #878 provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_validates_choices ... ok #879 provisioningserver.drivers.tests.test_base.TestRegistries.test_architecture_registry ... ok #880 provisioningserver.drivers.tests.test_base.TestRegistries.test_bootresource_registry ... ok #881 provisioningserver.drivers.tests.test_base.TestRegistries.test_gen_power_types ... ok #882 provisioningserver.drivers.tests.test_base.TestRegistries.test_get_by_pxealias_returns_None_if_none_matching ... ok #883 provisioningserver.drivers.tests.test_base.TestRegistries.test_get_by_pxealias_returns_valid_arch ... ok #884 provisioningserver.drivers.tests.test_base.TestValidateSettings.test_calls_validate ... ok #885 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_combines_similar_entries ... ok #886 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_is_consistent ... ok #887 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_represents_empty_dict_as_empty_object ... ok #888 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_represents_entry ... ok #889 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_get_image_arches_gets_arches_from_imagespecs ... ok #890 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_initially_empty ... ok #891 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_is_empty_returns_False_if_not_empty ... ok #892 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_is_empty_returns_True_if_empty ... ok #893 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_items_returns_items ... ok #894 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_result_matches_dump_of_own_data ... ok #895 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_result_of_old_data_uses_ubuntu_as_os ... ok #896 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_returns_empty_mapping_for_invalid_json ... ok #897 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_set_overwrites_item ... ok #898 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_setdefault_leaves_set_item_unchanged ... ok #899 provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_setdefault_sets_unset_item ... ok #900 provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__creates_root_image_entry ... ok #901 provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__creates_squashfs_entry ... ok #902 provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__returns_empty_for_unknown_image ... ok #903 provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test_writes_source_keyrings ... ok #904 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_error_when_no_sources_passed ... ok #905 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_ioerror_when_no_sources_file_found ... ok #906 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_non_ENOENT_IOErrors ... ok #907 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_successful_run ... ok #908 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_update_targets_conf_ensures_tgt_service ... ok #909 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_warns_if_no_boot_resources_found ... ok #910 provisioningserver.import_images.tests.test_boot_resources.TestMain.test_warns_if_no_sources_selected ... ok #911 provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_matching_content_is_compared_True ... ok #912 provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_meta_contains_updates_file_timestamp ... ok #913 provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_mismatching_content_is_compared_False ... ok #914 provisioningserver.import_images.tests.test_boot_resources.TestParseSources.test_parses_sources ... ok #915 provisioningserver.import_images.tests.test_boot_resources.TestTgtEntry.test_generates_one_target ... ok #916 provisioningserver.import_images.tests.test_boot_resources.TestTgtEntry.test_produces_suitable_output_for_tgt_admin ... ok #917 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.make_test_dirs ... ok #918 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_cleans_up_when_renaming_fails ... ok #919 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink ... ok #920 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink_when_link_exists ... ok #921 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink_when_temp_link_exists ... ok #922 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_fails_when_creating_temp_link_exists_a_lot ... ok #923 provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_fails_when_creating_temp_link_fails ... ok #924 provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_cache_removes_all_files_nlink_equal_one ... ok #925 provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_snapshots_and_cache_calls ... ok #926 provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_snapshots_removes_all_old_snapshots ... ok #927 provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_old_snapshots_returns_all_but_current_directory ... ok #928 provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_unused_cache_files_returns_all_files_nlink_equal_one ... ok #929 provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_does_not_overwrite_existing_entry ... ok #930 provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_integrates ... ok #931 provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_obeys_filters ... ok #932 provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_doesnt_pass_user_agent_when_not_set ... ok #933 provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_doesnt_pass_user_agenton_fallback ... ok #934 provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_passes_user_agent ... ok #935 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_any_image_passes_empty_filter ... ok #936 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_any_image_passes_none_filter ... ok #937 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_arches ... ok #938 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_labels ... ok #939 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_release ... ok #940 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_subarches ... ok #941 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_does_not_pass_nonmatching_filter ... ok #942 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_passes_if_one_filter_matches ... ok #943 provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_passes_matching_filter ... ok #944 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_adds_item_per_subarch ... ok #945 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_compat_item_specific_to_subarch ... ok #946 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_generic_to_release_item_for_hwe_letter ... ok #947 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_generic_to_release_item_for_hwe_version ... ok #948 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_release_to_bootloader_type ... ok #949 provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_sync_does_not_propagate_ioerror ... ok #950 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_any_value_matches_asterisk ... ok #951 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_matching_value_passes ... ok #952 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_unmatched_value_does_not_pass ... ok #953 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_any_value_passes_asterisk ... ok #954 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_matched_value_passes ... ok #955 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_nothing_passes_empty_list ... ok #956 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_unmatched_value_does_not_pass ... ok #957 provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_value_passes_if_matched_anywhere_in_filter ... ok #958 provisioningserver.import_images.tests.test_download_resources.TestComposeSnapshotPath.test_returns_path_under_storage_path ... ok #959 provisioningserver.import_images.tests.test_download_resources.TestDownloadAllBootResources.test_calls_download_boot_resources ... ok #960 provisioningserver.import_images.tests.test_download_resources.TestDownloadAllBootResources.test_returns_snapshot_path ... ok #961 provisioningserver.import_images.tests.test_download_resources.TestDownloadBootResources.test_syncs_repo ... ok #962 provisioningserver.import_images.tests.test_download_resources.TestExtractArchiveTar.test_extracts_files ... ok #963 provisioningserver.import_images.tests.test_download_resources.TestExtractArchiveTar.test_returns_files_from_cache ... ok #964 provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_bootloader_only_allows_one_subarch ... ok #965 provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_links_bootloader ... ok #966 provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_links_resources ... ok #967 provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_archive ... ok #968 provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_file ... ok #969 provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_root_image ... ok #970 provisioningserver.import_images.tests.test_helpers.TestGetOSFromProduct.test_returns_os_from_product ... ok #971 provisioningserver.import_images.tests.test_helpers.TestGetOSFromProduct.test_returns_ubuntu_if_missing ... ok #972 provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_injects_default_keyring_if_passed ... ok #973 provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_checking_policy_for_json_gpg_index ... ok #974 provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_checking_policy_for_sjson_index ... ok #975 provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_nonchecking_policy_for_json_index ... ok #976 provisioningserver.import_images.tests.test_keyrings.TestCalculateKeyringName.test_creates_name_from_url ... ok #977 provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_ignores_existing_keyrings ... ok #978 provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_returns_sources ... ok #979 provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_writes_keyring_data ... ok #980 provisioningserver.import_images.tests.test_keyrings.TestWriteKeyring.test_writes_keyring_to_file ... ok #981 provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_concatenates_similar_resources ... ok #982 provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_maps_boot_resource_by_content_id_product_name_and_version ... ok #983 provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_maps_empty_dict_to_empty_dict ... ok #984 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_add_appends_to_existing_list ... ok #985 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_add_creates_subarches_list_if_needed ... ok #986 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_ignores_extraneous_keys ... ok #987 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_ignores_similar_items ... ok #988 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_returns_false_for_unstored_item ... ok #989 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_returns_true_for_stored_item ... ok #990 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_fails_for_unstored_item ... ok #991 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_ignores_extraneous_keys ... ok #992 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_returns_stored_item ... ok #993 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_initially_empty ... ok #994 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_extracts_identifying_items ... ok #995 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_fails_if_key_missing ... ok #996 provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_ignores_other_items ... ok #997 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImage.test__extracts_image_if_tar_doesnt_supports_xattr ... ok #998 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImage.test__extracts_image_if_tar_supports_xattr ... ok #999 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__extracts_image ... ok #1000 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__fails_if_multiple_images_found ... ok #1001 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__fails_if_no_image_found ... ok #1002 provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__ignores_other_files ... ok #1003 provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__extracts_tarball_into_temp_dir ... ok #1004 provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__rejects_other_files ... ok #1005 provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__returns_actual_image_file_unchanged ... ok #1006 provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__calls_file_with_C_language_setting ... ok #1007 provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__returns_False_for_tarball ... ok #1008 provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__returns_True_if_file_looks_like_filesystem ... ok #1009 provisioningserver.import_images.tests.test_uec2roottar.TestLoopMount.test__cleans_up_after_failure ... ok #1010 provisioningserver.import_images.tests.test_uec2roottar.TestLoopMount.test__mounts_and_unmounts_image ... ok #1011 provisioningserver.import_images.tests.test_uec2roottar.TestMakeArgParser.test__defines_expected_options ... ok #1012 provisioningserver.import_images.tests.test_uec2roottar.TestMakeArgParser.test__user_defaults_to_None ... ok #1013 provisioningserver.import_images.tests.test_uec2roottar.TestSetOwnership.test__calls_chown_if_user_specified ... ok #1014 provisioningserver.import_images.tests.test_uec2roottar.TestSetOwnership.test__does_nothing_if_no_user_specified ... ok #1015 provisioningserver.import_images.tests.test_uec2roottar.TestTarSupportsXattrOpts.test__returns_False_if_help_doesnt_contain_ref_to_xattr ... ok #1016 provisioningserver.import_images.tests.test_uec2roottar.TestTarSupportsXattrOpts.test__returns_True_if_help_contains_ref_to_xattr ... ok #1017 provisioningserver.import_images.tests.test_uec2roottar.TestUEC2RootTar.test__integrates ... ok #1018 provisioningserver.import_images.tests.test_uec2roottar.TestUnmount.test__calls_umount ... ok #1019 provisioningserver.import_images.tests.test_uec2roottar.TestUnmount.test__propagates_failure ... ok #1020 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_does_not_log_twice ... ok #1021 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_doesnt_affect_general_logger_class ... ok #1022 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_exception_calls_disallowed ... ok #1023 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_general_logger_class_accepts_exceptions ... ok #1024 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_returns_MAASLogger_instances ... ok #1025 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_returns_same_logger_if_called_twice ... ok #1026 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_root_logger_defaults_to_info ... ok #1027 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_root_logger_logs_to_syslog ... ok #1028 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_sets_custom_formatting ... ok #1029 provisioningserver.logger.tests.test_logger.TestGetMAASLogger.test_sets_logger_name ... ok #1030 provisioningserver.ntp.tests.test_config.TestConfigure.test_configure ... ok #1031 provisioningserver.ntp.tests.test_config.TestRenderNTPConf.test_includes_maas_configuration ... ok #1032 provisioningserver.ntp.tests.test_config.TestRenderNTPConf.test_removes_pools_and_servers_from_source_configuration ... ok #1033 provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_cleans_up_whitespace ... ok #1034 provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_includes_maas_configuration ... ok #1035 provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_removes_pools_and_servers_from_source_configuration ... ok #1036 provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_replaces_maas_configuration ... ok #1037 provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_ipv6_mapped_ipv4_addresses_as_plain_ipv4 ... ok #1038 provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_the_given_peers ... ok #1039 provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_the_given_servers ... ok #1040 provisioningserver.power.tests.test_change.TestChangePowerState.test___handles_power_driver_power_types ... ok #1041 provisioningserver.power.tests.test_change.TestChangePowerState.test__calls_power_driver_cycle_for_power_driver ... ok #1042 provisioningserver.power.tests.test_change.TestChangePowerState.test__calls_power_driver_off_for_power_driver ... ok #1043 provisioningserver.power.tests.test_change.TestChangePowerState.test__calls_power_driver_on_for_power_driver ... ok #1044 provisioningserver.power.tests.test_change.TestChangePowerState.test__marks_the_node_broken_if_exception_for_power_driver ... ok #1045 provisioningserver.power.tests.test_change.TestChangePowerState.test_change_power_state_calls_power_change_starting_early_on ... ok #1046 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test__calls_change_power_state_with_timeout ... ok #1047 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_adds_action_to_registry ... ok #1048 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_always_returns_deferred ... ok #1049 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_calls_change_power_state_later ... ok #1050 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_checks_missing_packages ... ok #1051 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_fails ... ok #1052 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_is_cancelled ... ok #1053 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_success ... ok #1054 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_does_nothing_when_change_matches_in_progress_change ... ok #1055 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_errors_when_change_conflicts_with_in_progress_change ... ok #1056 provisioningserver.power.tests.test_change.TestMaybeChangePowerState.test_errors_when_missing_packages ... ok #1057 provisioningserver.power.tests.test_change.TestPowerHelpers.test_power_change_failure_emits_event ... ok #1058 provisioningserver.power.tests.test_change.TestPowerHelpers.test_power_change_starting_emits_event ... ok #1059 provisioningserver.power.tests.test_change.TestPowerHelpers.test_power_change_success_emits_event ... ok #1060 provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (no-name) ... ok #1060 provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (name-with-brackets) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4-with-brackets) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4-with-leading-bracket) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4-with-trailing-bracket) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv6-no-brackets) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (name) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv6-formatted-ipv4) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv6) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4-no-slash) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (name-no-slash) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv6-no-slash) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv4-no-port) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (name-no-port) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (ipv6-no-port) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (user-pass-ipv4) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (user-pass-ipv6) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (user-pass-ipv4-no-port) ... ok provisioningserver.power.tests.test_power.TestIpExtractor.test_make_ip_extractor (user-pass-ipv6-no-port) ... ok #1061 provisioningserver.power.tests.test_power.TestPowerHelpers.test_power_state_update_calls_UpdateNodePowerState ... ok #1062 provisioningserver.power.tests.test_query.TestPowerHelpers.test_power_query_failure_emits_event ... ok #1063 provisioningserver.power.tests.test_query.TestPowerHelpers.test_power_query_success_emits_event ... ok #1064 provisioningserver.power.tests.test_query.TestPowerQuery.test_get_power_state_fails_for_missing_packages ... ok #1065 provisioningserver.power.tests.test_query.TestPowerQuery.test_get_power_state_queries_node ... ok #1066 provisioningserver.power.tests.test_query.TestPowerQuery.test_report_power_state_changes_power_state_if_failure ... ok #1067 provisioningserver.power.tests.test_query.TestPowerQuery.test_report_power_state_changes_power_state_if_success ... ok #1068 provisioningserver.power.tests.test_query.TestPowerQuery.test_report_power_state_changes_power_state_if_unknown ... ok #1069 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_gets_and_reports_power_state ... ok #1070 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_logs_skip_if_node_in_action_registry ... ok #1071 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_only_queries_queryable_power_types ... ok #1072 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_returns_deferredlist_of_number_of_nodes ... ok #1073 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_skips_nodes_in_action_registry ... ok #1074 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_swallows_Exception ... ok #1075 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_swallows_NoSuchNode ... ok #1076 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_swallows_PowerActionFail ... ok #1077 provisioningserver.power.tests.test_query.TestPowerQueryAsync.test_query_all_nodes_swallows_PowerError ... ok #1078 provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (amt) ... ok #1078 provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (hmc) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (ipmi) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (moonshot) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (mscm) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (msftocs) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (sm15k) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (ucsm) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (virsh) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (vmware) ... ok provisioningserver.power.tests.test_query.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions (nova) ... ok #1079 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_exits_gracefully_if_cant_report_foreign_dhcp_server ... ok #1080 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_is_called_every_interval ... ok #1081 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_logs_errors ... ok #1082 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_probe_is_initiated_in_new_thread ... ok #1083 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_reports_foreign_dhcp_servers_to_region ... ok #1084 provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_reports_lack_of_foreign_dhcp_servers_to_region ... ok #1085 provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_calls_get_boot_sources_v1_on_v2_missing ... ok #1086 provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_calls_get_boot_sources_v2_before_v1 ... ok #1087 provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_v1_sets_os_to_wildcard ... ok #1088 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_download_is_initiated_in_new_thread ... ok #1089 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_init ... ok #1090 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_initiates_download_if_15_minutes_has_passed ... ok #1091 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_initiates_download_if_no_meta_file ... ok #1092 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_is_called_every_interval ... ok #1093 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_logs_other_errors ... ok #1094 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_no_download_if_15_minutes_has_not_passed ... ok #1095 provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_no_download_if_no_rpc_connections ... ok #1096 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_init ... ok #1097 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_notification_gets_added_to_notifications ... ok #1098 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_gets_called_multiple_times ... ok #1099 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_gets_called_with_notification ... ok #1100 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_send_to_region ... ok #1101 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_startService_creates_socket ... ok #1102 provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_stopService_deletes_socket ... ok #1103 provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_asks_region_for_monitoring_state ... ok #1104 provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_reports_interfaces_to_region ... ok #1105 provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_reports_neighbours_to_region ... ok #1106 provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_runs_refresh_first_time ... ok #1107 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_init_sets_up_timer_correctly ... ok #1108 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_calls_query_all_nodes ... ok #1109 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_calls_the_region ... ok #1110 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_copes_with_NoSuchCluster ... ok #1111 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_copes_with_losing_connection_to_region ... ok #1112 provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_try_query_nodes_logs_other_errors ... ok #1113 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__getConfiguration_returns_configuration_object ... ok #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL #1115 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_and_does_nothing_when_rack_is_not_recognised ... ok #1116 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_and_does_nothing_when_region_is_not_available ... ok #1117 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_does_nothing_but_saves_config_when_is_region ... ok #1118 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_service_iterates_every_30_seconds ... ok #1119 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_service_uses__tryUpdate_as_periodic_function ... ok #1120 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method (_getConfiguration) ... ok #1120 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method (_maybeApplyConfiguration) ... ok provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method (_applyConfiguration) ... ok provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method (_configurationApplied) ... ok #1121 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test__buildServices_adds_services_to_always_running_services ... ok #1122 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test__buildServices_includes_always_running_services ... ok #1123 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_init_sets_up_timer_correctly ... ok #1124 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_calls_ensureServices ... ok #1125 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_does_not_do_anything_in_dev_environment ... ok #1126 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_handles_failure ... ok #1127 provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_reports_services_to_region ... ok #1128 provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_finish ... ok #1129 provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_interfaces ... ok #1130 provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_read ... ok #1131 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_None_if_missing_image ... ok #1132 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_commissioning_image_for_commissioning ... ok #1133 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_commissioning_image_for_enlist ... ok #1134 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_image_by_its_supported_subarches ... ok #1135 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_install_image_for_install ... ok #1136 provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_xinstall_image_for_xinstall ... ok #1137 provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__defers_log_call_later ... ok #1138 provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__logs_when_sending_event_errors ... ok #1139 provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__sends_event_later ... ok #1140 provisioningserver.rackdservices.tests.test_tftp.TestPort.test_getHost_works_with_IPv4_address ... ok #1141 provisioningserver.rackdservices.tests.test_tftp.TestPort.test_getHost_works_with_IPv6_address ... ok #1142 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_reader_returns_rendered_params ... ok #1143 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_reader_returns_rendered_params_for_local ... ok #1144 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_render_substitutes_armhf_in_params ... ok #1145 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_kernel_params_filters_out_unnecessary_arguments ... ok #1146 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_converts_BootConfigNoResponse_to_FileNotFound ... ok #1147 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_converts_other_exceptions_to_tftp_error ... ok #1148 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_does_not_log_when_mac_cannot_be_found ... ok #1149 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_handles_backslashes_in_path ... ok #1150 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_logs_node_event_with_mac_address ... ok #1151 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_regular_file ... ok #1152 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_render_file_with_ipv4_hosts ... ok #1153 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_render_file_with_ipv6_hosts ... ok #1154 provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_init ... ok #1155 provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service ... ok #1156 provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service_does_not_bind_to_link_local_addresses ... ok #1157 provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service_rebinds_on_HUP ... ok #1158 provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__getPort_calls__listenUDP_with_args_from_constructor ... ok #1159 provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__listenUDP_with_IPv4_address ... ok #1160 provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__listenUDP_with_IPv6_address ... ok #1161 test_maas_api_helper.TestEncode.test_encode_blank ... ok #1162 test_maas_api_helper.TestEncode.test_encode_data ... ok #1163 test_maas_api_helper.TestEncode.test_encode_file ... ok #1164 test_maas_api_helper.TestGetUrl.test_geturl_increments_skew ... ok #1165 test_maas_api_helper.TestGetUrl.test_geturl_raises_exception_on_failure ... ok #1166 test_maas_api_helper.TestGetUrl.test_geturl_sends_request ... ok #1167 test_maas_api_helper.TestHeaders.test_authenticate_headers_appends_oauth ... ok #1168 test_maas_api_helper.TestHeaders.test_authenticate_headers_only_appends_with_consumer_key ... ok #1169 test_maas_api_helper.TestHeaders.test_oauth_headers ... ok #1170 test_node_info_scripts.TestDHCPExplore.test_calls_dhclient_on_unconfigured_interfaces ... ok #1171 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk ... ok #1172 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk_then_udevadm ... ok #1173 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk_udevadm_then_blockdev ... ok #1174 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__keeps_block_device_blank_serial_same_model ... ok #1175 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__keeps_block_device_same_serial_different_model ... ok #1176 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__removes_duplicate_block_device_same_serial_and_model ... ok #1177 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__removes_duplicate_block_device_same_serial_blank_model ... ok #1178 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device ... ok #1179 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_not_sata ... ok #1180 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_readonly ... ok #1181 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_removable ... ok #1182 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_ssd ... ok #1183 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_without_id_path ... ok #1184 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_empty_list_when_cdrom_only ... ok #1185 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_empty_list_when_no_disks ... ok #1186 test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_multiple_block_devices_in_order ... ok #1187 test_node_info_scripts.TestLLDPScripts.test_capture_calls_lldpdctl ... ok #1188 test_node_info_scripts.TestLLDPScripts.test_install_script_installs_configures_and_restarts_systemd ... ok #1189 test_node_info_scripts.TestLLDPScripts.test_install_script_installs_configures_and_restarts_upstart ... ok #1190 test_node_info_scripts.TestLLDPScripts.test_wait_script_waits_for_lldpd ... ok #1191 test_node_info_scripts.TestMakeFunctionCallScript.test_basic ... ok #1192 test_node_info_scripts.TestMakeFunctionCallScript.test_keyword_args_get_passed_through ... ok #1193 test_node_info_scripts.TestMakeFunctionCallScript.test_non_ascii_keyword_args_are_passed_without_corruption ... ok #1194 test_node_info_scripts.TestMakeFunctionCallScript.test_non_ascii_positional_args_are_passed_without_corruption ... ok #1195 test_node_info_scripts.TestMakeFunctionCallScript.test_positional_and_keyword_args_get_passed_through ... ok #1196 test_node_info_scripts.TestMakeFunctionCallScript.test_positional_args_get_passed_through ... ok #1197 test_node_info_scripts.TestMakeFunctionCallScript.test_structured_arguments_are_passed_though_too ... ok #1198 test_node_info_scripts.TestVirtualityScript.test_runs_locally ... ok #1199 test_node_info_scripts.TestVirtualityScript.test_runs_successfully_when_systemd_detect_virt_not_found ... ok #1200 test_node_info_scripts.TestVirtualityScript.test_runs_successfully_when_systemd_detect_virt_returns_nonzero ... ok #1201 test_refresh.TestHelpers.test_get_architecture_returns_arch_with_generic ... ok #1202 test_refresh.TestHelpers.test_get_architecture_returns_arch_with_subarch ... ok #1203 test_refresh.TestHelpers.test_get_os_release_etc_os_release_exists ... ok #1204 test_refresh.TestHelpers.test_get_sys_info ... ok #1205 test_refresh.TestHelpers.test_get_sys_info_alt ... ok #1206 test_refresh.TestHelpers.test_get_sys_info_empty ... ok #1207 test_refresh.TestHelpers.test_get_sys_info_on_host ... ok #1208 test_refresh.TestRefresh.test_refresh_accepts_defined_url ... ok #1209 test_refresh.TestRefresh.test_refresh_clears_up_temporary_directory ... ok #1210 test_refresh.TestRefresh.test_refresh_signals_failure ... ok #1211 test_refresh.TestRefresh.test_refresh_signals_finished ... ok #1212 test_refresh.TestRefresh.test_refresh_signals_results ... ok #1213 test_refresh.TestRefresh.test_refresh_signals_starting ... ok #1214 test_refresh.TestSignal.test_exception_is_logged ... ok #1215 test_refresh.TestSignal.test_not_ok_result_is_logged ... ok #1216 test_refresh.TestSignal.test_signal_formats_params ... ok #1217 test_refresh.TestSignal.test_signal_formats_params_with_ints ... ok #1218 test_refresh.TestSignal.test_signal_formats_params_with_script_result ... ok #1219 provisioningserver.rpc.tests.test_arguments.TestAmpList.test_round_trip ... ok #1220 provisioningserver.rpc.tests.test_arguments.TestBytes.test_error_when_input_is_not_a_byte_string ... ok #1221 provisioningserver.rpc.tests.test_arguments.TestBytes.test_round_trip ... ok #1222 provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_choices_is_not_mapping ... ok #1223 provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_choices_values_are_not_byte_strings ... ok #1224 provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_input_is_not_in_choices ... ok #1225 provisioningserver.rpc.tests.test_arguments.TestChoice.test_round_trip ... ok #1226 provisioningserver.rpc.tests.test_arguments.TestCompressedAmpList.test_compression_is_worth_it ... ok #1227 provisioningserver.rpc.tests.test_arguments.TestCompressedAmpList.test_round_trip ... ok #1228 provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv4_address ... ok #1229 provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv6_address ... ok #1230 provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv6_mapped_ipv4_address ... ok #1231 provisioningserver.rpc.tests.test_arguments.TestIPNetwork.test_round_trips_ipv4_address ... ok #1232 provisioningserver.rpc.tests.test_arguments.TestIPNetwork.test_round_trips_ipv6_address ... ok #1233 provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_error_when_input_is_not_a_url_object ... ok #1234 provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_netloc_containing_non_ascii_characters_is_encoded_to_idna ... ok #1235 provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_round_trip ... ok #1236 provisioningserver.rpc.tests.test_arguments.TestStructureAsJSON.test_round_trip ... ok #1237 provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__doesnt_remove_non_matching_path_from_maas_url ... ok #1238 provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__doesnt_remove_non_matching_path_from_maas_url_with_slashes ... ok #1239 provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_from_maas_url ... ok #1240 provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_from_maas_url_with_extra_slashes ... ok #1241 provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_with_extra_slashes_from_maas_url ... ok #1242 provisioningserver.rpc.tests.test_boot_images.TestGetHostsFromSources.test__returns_set_of_hosts_from_sources ... ok #1243 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__calls__run_import_using_deferToThread ... ok #1244 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__does_not_run_if_lock_taken ... ok #1245 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__takes_lock_when_running ... ok #1246 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync ... ok #1247 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_end_to_end ... ok #1248 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_end_to_end_import_not_performed ... ok #1249 provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_not_performed ... ok #1250 provisioningserver.rpc.tests.test_boot_images.TestIsImportBootImagesRunning.test__returns_False_when_lock_is_not_held ... ok #1251 provisioningserver.rpc.tests.test_boot_images.TestIsImportBootImagesRunning.test__returns_True_when_lock_is_held ... ok #1252 provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__calls_list_boot_images_when_cache_is_None ... ok #1253 provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__calls_list_boot_images_with_boot_resource_storage ... ok #1254 provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__doesnt_call_list_boot_images_when_cache_is_not_None ... ok #1255 provisioningserver.rpc.tests.test_boot_images.TestReloadBootImages.test__sets_CACHED_BOOT_IMAGES ... ok #1256 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_accepts_sources_parameter ... ok #1257 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_calls_reload_boot_images ... ok #1258 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_integrates_with_boot_resources_function ... ok #1259 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_GPGHOME ... ok #1260 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_for_loopback ... ok #1261 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_for_source_host ... ok #1262 provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_if_given ... ok #1263 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_accepts_matching_digests ... ok #1264 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_end_to_end ... ok #1265 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_propagates_errors ... ok #1266 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_rejects_non_matching_digests ... ok #1267 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_connecting ... ok #1268 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_authentication_errors ... ok #1269 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_authentication_fails ... ok #1270 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_registration_errors ... ok #1271 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_registration_fails ... ok #1272 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_service_is_not_running ... ok #1273 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_there_is_an_existing_connection ... ok #1274 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_handshakeFailed_does_not_log_when_connection_is_closed ... ok #1275 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_ident ... ok #1276 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_interfaces ... ok #1277 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_calls_set_maas_id ... ok #1278 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_doesnt_read_maas_id_from_cache ... ok #1279 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_end_to_end ... ok #1280 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_propagates_errors ... ok #1281 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_returns_False_when_rejected ... ok #1282 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_returns_True_when_accepted ... ok #1283 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_sets_localIdent ... ok #1284 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_secureConnection_calls_StartTLS_and_Identify ... ok #1285 provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_secureConnection_disconnects_if_ident_does_not_match ... ok #1286 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__drop_connection ... ok #1287 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__get_rpc_info_accepts_IPv6_url ... ok #1288 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__get_rpc_info_url ... ok #1289 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__make_connection ... ok #1290 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__remove_connection_removes_from_connections ... ok #1291 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__remove_connection_stops_both_dhcpd_and_dhcpd6 ... ok #1292 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_connect_error_is_logged_tersely ... ok #1293 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_initially ... ok #1294 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_unknown_error_is_logged_with_stack ... ok #1295 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_when_there_are_existing_connections ... ok #1296 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_only_updates_interval_when_eventloops_are_unknown ... ok #1297 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_failed_update_is_logged ... ok #1298 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getAllClients ... ok #1299 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getAllClients_when_there_are_no_connections ... ok #1300 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClient ... ok #1301 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClient_when_there_are_no_connections ... ok #1302 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_init_sets_appropriate_instance_attributes ... ok #1303 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_update_calls__update_connections ... ok #1304 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_update_connect_503_error_is_logged_tersely ... ok #1305 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_update_connect_error_is_logged_tersely ... ok #1306 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (initial) ... ok #1306 provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (shortly-after-start) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (no-event-loops) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (no-connections) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (fewer-connections-than-event-loops) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval (default) ... ok #1307 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test__is_registered ... ok #1308 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_mscm_calls_probe_mscm_and_enlist ... ok #1309 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_mscm_logs_error_to_maaslog ... ok #1310 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_msftocs_calls_probe_msftocs_and_enlist ... ok #1311 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_msftocs_logs_error_to_maaslog ... ok #1312 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_powerkvm_calls_probe_virsh_and_enlist ... ok #1313 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_seamicro15k_calls_probe_seamicro15k_and_enlist ... ok #1314 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_seamicro15k_logs_error_to_maaslog ... ok #1315 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_ucsm_calls_probe_ucsm_and_enlist ... ok #1316 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_ucsm_logs_error_to_maaslog ... ok #1317 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_unknown_logs_error_to_maaslog ... ok #1318 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_virsh_calls_probe_virsh_and_enlist ... ok #1319 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_virsh_logs_error_to_maaslog ... ok #1320 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_vmware_calls_probe_vmware_and_enlist ... ok #1321 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_vmware_logs_error_to_maaslog ... ok #1322 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_returns_nothing ... ok #1323 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Authenticate.test_authenticate_calculates_digest_with_salt ... ok #1324 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Authenticate.test_authenticate_is_registered ... ok #1325 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp (DHCPv4) ... ok #1325 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp (DHCPv6,V2) ... ok #1326 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered (DHCPv4) ... ok #1326 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered (DHCPv6,V2) ... ok #1327 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency (DHCPv4) ... ok #1327 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency (DHCPv6,V2) ... ok #1328 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP (DHCPv4) ... ok #1328 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP (DHCPv6,V2) ... ok #1329 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DescribePowerTypes.test_describe_power_types_is_registered ... ok #1330 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DescribePowerTypes.test_describe_power_types_returns_jsonized_power_parameters ... ok #1331 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test__is_registered ... ok #1332 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test_issues_restart ... ok #1333 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test_raises_error_on_failure ... ok #1334 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test__calls_through_to_evaluate_tag_helper ... ok #1335 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test__is_registered ... ok #1336 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test_happy_path ... ok #1337 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_calls_get_os_release_title ... ok #1338 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_exception_when_os_does_not_exist ... ok #1339 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_is_registered ... ok #1340 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_calls_get_preseed_data ... ok #1341 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_exception_when_os_does_not_exist ... ok #1342 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_exception_when_preseed_not_implemented ... ok #1343 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_is_registered ... ok #1344 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Identify.test_identify_is_registered ... ok #1345 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Identify.test_identify_reports_system_id ... ok #1346 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_calls_import_boot_images_with_proxies ... ok #1347 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_calls_import_boot_images_with_sources ... ok #1348 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_can_be_called ... ok #1349 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_is_registered ... ok #1350 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_is_registered ... ok #1351 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_returns_False ... ok #1352 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_returns_True ... ok #1353 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_can_be_called (ListBootImages) ... ok #1353 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_can_be_called (ListBootImagesV2) ... ok #1354 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_is_registered (ListBootImages) ... ok #1354 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_is_registered (ListBootImagesV2) ... ok #1355 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_with_things_to_report (ListBootImages) ... ok #1355 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_with_things_to_report (ListBootImagesV2) ... ok #1356 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListOperatingSystems.test_is_registered ... ok #1357 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListOperatingSystems.test_returns_oses ... ok #1358 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListSupportedArchitectures.test_is_registered ... ok #1359 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListSupportedArchitectures.test_returns_architectures ... ok #1360 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state (power-on) ... ok #1360 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state (power-cycle) ... ok #1361 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered (power-on) ... ok #1361 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered (power-cycle) ... ok #1362 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError (power-on) ... ok #1362 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError (power-cycle) ... ok #1363 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress (power-on) ... ok #1363 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress (power-cycle) ... ok #1364 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail (power-on) ... ok #1364 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail (power-cycle) ... ok #1365 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType (power-on) ... ok #1365 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType (power-off) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType (power-cycle) ... ok #1366 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_is_registered ... ok #1367 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_returns_power_error ... ok #1368 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_returns_power_state ... ok #1369 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__acquires_lock_when_refreshing_releases_when_done ... ok #1370 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__defers_refresh_to_thread ... ok #1371 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__is_registered ... ok #1372 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__raises_refresh_already_in_progress_when_locked ... ok #1373 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__releases_on_error ... ok #1374 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test_returns_extra_info ... ok #1375 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__acquires_lock_when_scanning_releases_when_done ... ok #1376 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__is_registered ... ok #1377 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__raises_refresh_already_in_progress_when_locked ... ok #1378 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__releases_on_error ... ok #1379 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__wraps_subprocess_scan_in_maybeDeferred ... ok #1380 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_executeScanNetworksSubprocess ... ok #1381 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_asserts_for_invalid_config ... ok #1382 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_expected_binary_args ... ok #1383 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_supplied_cidrs ... ok #1384 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_supplied_interface ... ok #1385 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_with_all_optional_arguments ... ok #1386 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_spawnProcessAndNullifyStdout_captures_stderr ... ok #1387 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_spawnProcessAndNullifyStdout_nullifies_stdout ... ok #1388 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_StartTLS_is_registered ... ok #1389 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_StartTLS_returns_nothing ... ok #1390 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_get_tls_parameters_returns_parameters ... ok #1391 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered (DHCPv4) ... ok #1391 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered (DHCPv6,V2) ... ok #1392 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config (DHCPv4) ... ok #1392 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config (DHCPv6,V2) ... ok #1393 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config (DHCPv4) ... ok #1393 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config (DHCPv4,V2) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config (DHCPv6) ... ok provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config (DHCPv6,V2) ... ok #1394 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_calls_validate_license_key ... ok #1395 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_exception_when_os_does_not_exist ... ok #1396 provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_is_registered ... ok #1397 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv4_address ... ok #1398 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv4_address_and_port ... ok #1399 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv6_address ... ok #1400 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv6_address_and_port ... ok #1401 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_hostname ... ok #1402 provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_hostname_and_port ... ok #1403 provisioningserver.rpc.tests.test_common.TestClient.test___eq__ ... ok #1404 provisioningserver.rpc.tests.test_common.TestClient.test___hash__ ... ok #1405 provisioningserver.rpc.tests.test_common.TestClient.test_address ... ok #1406 provisioningserver.rpc.tests.test_common.TestClient.test_address_for_IConnection ... ok #1407 provisioningserver.rpc.tests.test_common.TestClient.test_call ... ok #1408 provisioningserver.rpc.tests.test_common.TestClient.test_call_with_keyword_arguments_raises_useful_error ... ok #1409 provisioningserver.rpc.tests.test_common.TestClient.test_getHostCertificate ... ok #1410 provisioningserver.rpc.tests.test_common.TestClient.test_getPeerCertificate ... ok #1411 provisioningserver.rpc.tests.test_common.TestClient.test_ident ... ok #1412 provisioningserver.rpc.tests.test_common.TestClient.test_init ... ok #1413 provisioningserver.rpc.tests.test_common.TestClient.test_isSecure ... ok #1414 provisioningserver.rpc.tests.test_common.TestClient.test_isSecure_not ... ok #1415 provisioningserver.rpc.tests.test_common.TestClient.test_localIdent ... ok #1416 provisioningserver.rpc.tests.test_common.TestClient.test_localIdent_for_IConnection ... ok #1417 provisioningserver.rpc.tests.test_common.TestMakeCommandRef.test__command_ref_includes_host_pid_command_and_ask_sequence ... ok #1418 provisioningserver.rpc.tests.test_common.TestMakeCommandRef.test__replaces_missing_ask_with_none ... ok #1419 provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_init ... ok #1420 provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_onConnectionLost_fires_when_connection_is_lost ... ok #1421 provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_onConnectionMade_fires_when_connection_is_made ... ok #1422 provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingCommands.test_unhandled_errors_do_not_cause_disconnection ... ok #1423 provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingResponses.test_unhandled_errors_logged_and_do_not_cause_disconnection (_answerReceived) ... ok #1423 provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingResponses.test_unhandled_errors_logged_and_do_not_cause_disconnection (_errorReceived) ... ok #1424 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_dhcp_restart_failure_to_CannotConfigureDHCP (DHCPv4) ... ok #1424 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_dhcp_restart_failure_to_CannotConfigureDHCP (DHCPv6) ... ok #1425 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_failure_writing_file_to_CannotConfigureDHCP (DHCPv4) ... ok #1425 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_failure_writing_file_to_CannotConfigureDHCP (DHCPv6) ... ok #1426 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_stop_dhcp_server_failure_to_CannotConfigureDHCP (DHCPv4) ... ok #1426 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_stop_dhcp_server_failure_to_CannotConfigureDHCP (DHCPv6) ... ok #1427 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__deletes_dhcp_config_if_no_subnets_defined (DHCPv4) ... ok #1427 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__deletes_dhcp_config_if_no_subnets_defined (DHCPv6) ... ok #1428 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions (DHCPv4) ... ok #1428 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions (DHCPv6) ... ok #1429 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions_when_restarting (DHCPv4) ... ok #1429 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions_when_restarting (DHCPv6) ... ok #1430 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError (DHCPv4) ... ok #1430 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError (DHCPv6) ... ok #1431 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError_when_restarting (DHCPv4) ... ok #1431 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError_when_restarting (DHCPv6) ... ok #1432 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_clears_state (DHCPv4) ... ok #1432 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_clears_state (DHCPv6) ... ok #1433 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_if_no_subnets_defined (DHCPv4) ... ok #1433 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_if_no_subnets_defined (DHCPv6) ... ok #1434 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_ensure_when_nothing_changed (DHCPv4) ... ok #1434 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_ensure_when_nothing_changed (DHCPv6) ... ok #1435 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_no_current_state (DHCPv4) ... ok #1435 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_no_current_state (DHCPv6) ... ok #1436 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_non_host_state_diff (DHCPv4) ... ok #1436 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_non_host_state_diff (DHCPv6) ... ok #1437 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_doesnt_use_omapi_when_was_off (DHCPv4) ... ok #1437 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_doesnt_use_omapi_when_was_off (DHCPv6) ... ok #1438 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_restarts_when_omapi_fails (DHCPv4) ... ok #1438 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_restarts_when_omapi_fails (DHCPv6) ... ok #1439 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_uses_omapi_to_update_hosts (DHCPv4) ... ok #1439 provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_uses_omapi_to_update_hosts (DHCPv6) ... ok #1440 provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_calls_omshell_create ... ok #1441 provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_raises_error_when_omshell_crashes ... ok #1442 provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_raises_error_when_omshell_not_connected ... ok #1443 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_get_config_returns_config_and_calls_with_params ... ok #1444 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_host_diff_returns_removal_added_and_modify ... ok #1445 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_new_sorts_properties ... ok #1446 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_global_dhcp_snippets_diff ... ok #1447 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_hosts_dhcp_snippets_diff ... ok #1448 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_subnet_dhcp_snippets_diff ... ok #1449 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_False_when_all_the_same ... ok #1450 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_False_when_hosts_different ... ok #1451 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_failover_different ... ok #1452 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_interfaces_different ... ok #1453 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_network_different ... ok #1454 provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_omapi_key_different ... ok #1455 provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_calls_omshell_remove ... ok #1456 provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_raises_error_when_omshell_crashes ... ok #1457 provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_raises_error_when_omshell_not_connected ... ok #1458 provisioningserver.rpc.tests.test_dhcp.TestUpdateHost.test__creates_omshell_with_correct_arguments ... ok #1459 provisioningserver.rpc.tests.test_dhcp.TestUpdateHost.test__performs_operations ... ok #1460 provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__bad_config (DHCPv4) ... ok #1460 provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__bad_config (DHCPv6) ... ok #1461 provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__good_config (DHCPv4) ... ok #1461 provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__good_config (DHCPv6) ... ok #1462 provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (AddChassis) ... ok #1462 provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Authenticate) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Authenticate) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Authenticate) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (CommissionNode) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ConfigureDHCPv4) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ConfigureDHCPv4_V2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ConfigureDHCPv6) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ConfigureDHCPv6_V2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (CreateNode) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (DescribePowerTypes) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (DisableAndShutoffRackd) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (EvaluateTag) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetArchiveMirrors) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetBootConfig) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetBootSources) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetBootSourcesV2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetControllerType) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetDiscoveryState) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetOSReleaseTitle) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetPreseedData) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (GetProxies) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Identify) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Identify) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (Identify) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ImportBootImages) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (IsImportBootImagesRunning) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ListBootImages) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ListBootImagesV2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ListNodePowerParameters) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ListOperatingSystems) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ListSupportedArchitectures) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (MarkNodeFailed) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (PowerCycle) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (PowerDriverCheck) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (PowerOff) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (PowerOn) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (PowerQuery) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (RefreshRackControllerInfo) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (RegisterEventType) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (RegisterRackController) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ReportBootImages) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ReportForeignDHCPServer) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ReportMDNSEntries) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ReportNeighbours) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (RequestNodeInfoByMACAddress) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (RequestRackRefresh) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ScanNetworks) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (SendEvent) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (SendEventMACAddress) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (UpdateInterfaces) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (UpdateLastImageSync) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (UpdateLease) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (UpdateNodePowerState) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (UpdateServices) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ValidateDHCPv4Config) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ValidateDHCPv4Config_V2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ValidateDHCPv6Config) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ValidateDHCPv6Config_V2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (ValidateLicenseKey) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (_ConfigureDHCP) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (_ConfigureDHCP_V2) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (_Power) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (_ValidateDHCPConfig) ... ok provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause (_ValidateDHCPConfig_V2) ... ok #1463 provisioningserver.rpc.tests.test_module.TestUtilities.test_error_when_cluster_services_are_down ... ok #1464 provisioningserver.rpc.tests.test_module.TestUtilities.test_get_rpc_client_returns_client ... ok #1465 provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_returns_empty_release_title_when_None_returned ... ok #1466 provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_returns_release_title ... ok #1467 provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_throws_exception_when_os_does_not_exist ... ok #1468 provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (suse) ... ok #1468 provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (windows) ... ok provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (ubuntu) ... ok provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (custom) ... ok provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (centos) ... ok provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed (bootloader) ... ok #1469 provisioningserver.rpc.tests.test_osystems.TestGetPreseedDataErrors.test_throws_exception_when_os_does_not_exist ... ok #1470 provisioningserver.rpc.tests.test_osystems.TestListOperatingSystemHelpers.test_gen_operating_system_releases_returns_dicts_for_releases ... ok #1471 provisioningserver.rpc.tests.test_osystems.TestListOperatingSystemHelpers.test_gen_operating_systems_returns_dicts_for_registered_oses ... ok #1472 provisioningserver.rpc.tests.test_osystems.TestValidateLicenseKey.test_validates_key ... ok #1473 provisioningserver.rpc.tests.test_osystems.TestValidateLicenseKeyErrors.test_throws_exception_when_os_does_not_exist ... ok #1474 provisioningserver.rpc.tests.test_tags.TestEvaluateTag.test__calls_process_node_tags ... ok #1475 provisioningserver.rpc.tests.test_tags.TestEvaluateTag.test__constructs_client_with_credentials ... ok #1476 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_makes_hostname_lowercase ... ok #1477 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_removes_illegal_dashes ... ok #1478 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_replaces_international_characters ... ok #1479 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_replaces_whitespace_and_special_characters ... ok #1480 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_returns_none_if_result_empty ... ok #1481 provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_returns_none_if_result_too_large ... ok #1482 provisioningserver.rpc.tests.test_utils.TestCommissionNode.test_calls_commission_node_rpc ... ok #1483 provisioningserver.rpc.tests.test_utils.TestCommissionNode.test_logs_error_when_not_able_to_commission ... ok #1484 provisioningserver.rpc.tests.test_utils.TestCreateNode.test_calls_create_node_rpc ... ok #1485 provisioningserver.rpc.tests.test_utils.TestCreateNode.test_logs_error_on_duplicate_macs ... ok #1486 provisioningserver.rpc.tests.test_utils.TestCreateNode.test_passes_on_no_duplicate_macs ... ok #1487 provisioningserver.rpc.tests.test_utils.TestCreateNode.test_returns_system_id_of_new_node ... ok #1488 snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_preserves_settings_order ... ok #1489 snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_use_username ... ok #1490 snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_verify_user_settings ... ok #1491 snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config (bmc_get) ... ok #1491 snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config (bmc_set) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config (bmc_user_get) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config (bmc_user_set) ... ok #1492 snippets.tests.test_maas_ipmi_autodetect.TestBMCListSections.test_bmc_list_sections ... ok #1493 snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection (Supports LAN 2.0) ... ok #1493 snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection (Supports LAN 1.5) ... ok #1494 snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection_ppc64el (Supports LAN 2.0) ... ok #1494 snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection_ppc64el (Supports LAN 1.5) ... ok #1495 snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (No Leading Space) ... ok #1495 snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Normal line.) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Leading space, not tab) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Multiple leading tabs) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Separating space, not tab) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Gunk) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (More than two words) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Blank line) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Single word) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Comment line) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Word followed by comment) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Word followed by two spaces) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (Two words followed by space) ... ok snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching (One character value) ... ok #1496 snippets.tests.test_maas_ipmi_autodetect.TestCommitIPMISettings.test_commit_ipmi_settings ... ok #1497 snippets.tests.test_maas_ipmi_autodetect.TestConfigureIPMIUser.test_preserves_setting_order ... ok #1498 snippets.tests.test_maas_ipmi_autodetect.TestFormatUserKey.test_format_user_key ... ok #1499 snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (none) ... ok #1499 snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (bogus) ... ok snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (ipv4) ... ok snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (ipv6) ... ok snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (link-local) ... ok #1500 snippets.tests.test_maas_ipmi_autodetect.TestListUserNumbers.test_empty ... ok #1501 snippets.tests.test_maas_ipmi_autodetect.TestListUserNumbers.test_matching ... ok #1502 snippets.tests.test_maas_ipmi_autodetect.TestMakeIPMIUserSettings.test_settings_ordered_correctly ... ok #1503 snippets.tests.test_maas_ipmi_autodetect.TestMakeIPMIUserSettings.test_uses_username_and_password ... ok #1504 snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumber.test_fail_raise_exception ... ok #1505 snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumber.test_pick_user_number ... ok #1506 snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (Empty user list) ... ok #1506 snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (Existing MAAS user) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (One blank user) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (Multiple blank users) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (One not blank user) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (Username is (Empty User)) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (One enabled blank user) ... ok snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice (Skip User1) ... ok #1507 snippets.tests.test_maas_ipmi_autodetect.TestRunCommand.test_exception_on_failure ... ok #1508 snippets.tests.test_maas_ipmi_autodetect.TestRunCommand.test_output_returned ... ok #1509 snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_accept_some_missing_keys ... ok #1510 snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_fail_incorrect_keys ... ok #1511 snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_fail_missing_key ... ok #1512 snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (none) ... ok #1512 snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (bogus) ... ok snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (ipv4) ... ok snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (ipv6) ... ok snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address (link-local) ... ok #1513 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_info ... ok #1514 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_all_true ... ok #1515 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_missing ... ok #1516 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_not_supported ... ok #1517 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_supported_enabled ... ok #1518 snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_supported_not_enabled ... ok #1519 snippets.tests.test_maas_wipe.TestMAASWipe.test_list_disks_calls_lsblk ... ok #1520 snippets.tests.test_maas_wipe.TestMAASWipe.test_list_disks_returns_only_readwrite_disks ... ok #1521 snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_try_secure_erase_for_all_disks ... ok #1522 snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_wipe_quickly ... ok #1523 snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_wipe_quickly_if_no_secure_erase ... ok #1524 snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_zero_disk ... ok #1525 snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_zero_disk_if_no_secure_erase ... ok #1526 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_if_not_enabled ... ok #1527 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_success ... ok #1528 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_when_buffer_not_different ... ok #1529 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_when_still_enabled ... ok #1530 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_sets_security_password ... ok #1531 snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_writes_known_data ... ok #1532 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_enabled ... ok #1533 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_failed_erase ... ok #1534 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_frozen ... ok #1535 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_locked ... ok #1536 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_not_supported ... ok #1537 snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_successful_erase ... ok #1538 snippets.tests.test_maas_wipe.TestMAASWipe.test_wipe_quickly ... ok #1539 snippets.tests.test_maas_wipe.TestMAASWipe.test_zero_disk ... ok #1540 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__returns_sender_and_target_for_reply ... ok #1541 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__returns_sender_for_request ... ok #1542 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_eui_for_request ... ok #1543 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_eui_in_reply ... ok #1544 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_ip_for_request ... ok #1545 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_ip_in_reply ... ok #1546 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_target_eui_in_reply ... ok #1547 provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_target_ip_in_reply ... ok #1548 provisioningserver.utils.tests.test_arp.TestARP.test__is_valid__fails_for_invalid_packets ... ok #1549 provisioningserver.utils.tests.test_arp.TestARP.test__is_valid__succeeds_for_normal_packet ... ok #1550 provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__bytes ... ok #1551 provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__radd ... ok #1552 provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__str ... ok #1553 provisioningserver.utils.tests.test_arp.TestARP.test__properties ... ok #1554 provisioningserver.utils.tests.test_arp.TestARP.test__write ... ok #1555 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__allows_file_input ... ok #1556 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__allows_pipe_input ... ok #1557 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__calls_subprocess_for_interface ... ok #1558 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__checks_for_pipe ... ok #1559 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__raises_systemexit_observe_arp_return_code ... ok #1560 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__raises_systemexit_poll_result ... ok #1561 provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__requires_input_file ... ok #1562 provisioningserver.utils.tests.test_arp.TestUpdateAndPrintBindings.test__prints_bindings_in_json_format ... ok #1563 provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__moved_binding ... ok #1564 provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__new_binding ... ok #1565 provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__new_bindings_with_vid ... ok #1566 provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__refreshed_binding ... ok #1567 provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__refreshed_binding_within_threshold_does_not_emit_event ... ok #1568 provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__non_verbose_removes_redundant_events_and_outputs_summary ... ok #1569 provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__non_verbose_removes_waits_before_emitting_duplicate_entry ... ok #1570 provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__prints_event_json_in_verbose_mode ... ok #1571 provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__skips_unimportant_events_without_verbose_enabled ... ok #1572 provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__allows_file_input ... ok #1573 provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__allows_pipe_input ... ok #1574 provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__calls_subprocess_by_default ... ok #1575 provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__raises_systemexit ... ok #1576 provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_browser_new_event ... ok #1577 provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_browser_removed_event ... ok #1578 provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_resolver_found_event ... ok #1579 provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__returns_none_for_malformed_input ... ok #1580 provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_all_types_of_escape_sequences ... ok #1581 provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_backslash ... ok #1582 provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_decimal_characters ... ok #1583 provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_dot ... ok #1584 provisioningserver.utils.tests.test_backoff.TestFunctions.test_exponential_growth ... ok #1585 provisioningserver.utils.tests.test_backoff.TestFunctions.test_full_jitter ... ok #1586 provisioningserver.utils.tests.test_config.TestByteString.test_converting_from_python_accepts_byte_string ... ok #1587 provisioningserver.utils.tests.test_config.TestByteString.test_converting_from_python_rejects_non_byte_string ... ok #1588 provisioningserver.utils.tests.test_config.TestByteString.test_converting_to_python_accepts_byte_string ... ok #1589 provisioningserver.utils.tests.test_config.TestByteString.test_converting_to_python_rejects_non_byte_string ... ok #1590 provisioningserver.utils.tests.test_config.TestByteString.test_empty_value ... ok #1591 provisioningserver.utils.tests.test_config.TestDirectory.test__validation_fails_when_directory_does_not_exist ... ok #1592 provisioningserver.utils.tests.test_config.TestDirectory.test__validation_succeeds_when_directory_exists ... ok #1593 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_domain_names_up_to_63_chars_long ... ok #1594 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_hostnames_as_short_as_a_single_char ... ok #1595 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_hostnames_up_to_63_chars_long ... ok #1596 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_ipv4_addresses ... ok #1597 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_ipv4_addresses_in_ipv6_format ... ok #1598 provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_trailing_and_starting_double_colon ... ok #1599 provisioningserver.utils.tests.test_config.TestExtendedURL.test_requires_brackets_on_ipv6_address ... ok #1600 provisioningserver.utils.tests.test_config.TestExtendedURL.test_takes_hyphen_but_not_start_or_end ... ok #1601 provisioningserver.utils.tests.test_config.TestExtendedURL.test_takes_numbers_anywhere ... ok #1602 provisioningserver.utils.tests.test_config.TestSchema.test_inherits_from_formencode ... ok #1603 provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators (set) ... ok #1603 provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators (tuple) ... ok provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators (list) ... ok #1604 provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators (bytes) ... ok #1604 provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators (str) ... ok provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators (None) ... ok #1605 provisioningserver.utils.tests.test_config.TestUUIDString.test__validation_fails_when_uuid_is_bad ... ok #1606 provisioningserver.utils.tests.test_config.TestUUIDString.test__validation_succeeds_when_uuid_is_good ... ok #1607 provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_from_python_accepts_Unicode_string ... ok #1608 provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_from_python_rejects_non_Uncode_string ... ok #1609 provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_to_python_accepts_Unicode_string ... ok #1610 provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_to_python_rejects_non_Unicode_string ... ok #1611 provisioningserver.utils.tests.test_config.TestUnicodeString.test_empty_value ... ok #1612 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__duplicate_label_raises ... ok #1613 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__empty_string_returns_empty_map ... ok #1614 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__invalid_label_raises ... ok #1615 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__label_with_no_constraints_raises ... ok #1616 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__missing_key_value_pair_raises ... ok #1617 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_label_map ... ok #1618 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map ... ok #1619 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map_multiple_label_map ... ok #1620 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map_with_duplicate_keys_appends_to_list ... ok #1621 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__non_string_returns_None ... ok #1622 provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__single_value_map ... ok #1623 provisioningserver.utils.tests.test_constraints.TestValidateLabelName.test__accepts_good_names ... ok #1624 provisioningserver.utils.tests.test_constraints.TestValidateLabelName.test__rejects_bad_names ... ok #1625 provisioningserver.utils.tests.test_dhclient.TestGetDhclientInfo.test__returns_interface_name_with_address ... ok #1626 provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__empty ... ok #1627 provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__ipv4 ... ok #1628 provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__ipv6 ... ok #1629 provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__missing ... ok #1630 provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__random ... ok #1631 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_includes_all_enum_values ... ok #1632 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_maps_values ... ok #1633 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_omits_private_or_special_methods ... ok #1634 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_ignores_keys_for_clashing_values ... ok #1635 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_ignores_unwanted_keys ... ok #1636 provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_maps_values ... ok #1637 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__leaves_other_variables_intact ... ok #1638 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__overrides_prior_values ... ok #1639 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_even_after_exception ... ok #1640 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_previously_unset_variables_to_being_unset ... ok #1641 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_variables_to_previous_values ... ok #1642 provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__sets_variables ... ok #1643 provisioningserver.utils.tests.test_env.TestMAASID.test_get_caches_result ... ok #1644 provisioningserver.utils.tests.test_env.TestMAASID.test_get_rejects_non_ASCII_content ... ok #1645 provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_does_not_exist ... ok #1646 provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_is_empty ... ok #1647 provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_is_whitespace ... ok #1648 provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_contents_if_maas_id_file_contains_something ... ok #1649 provisioningserver.utils.tests.test_env.TestMAASID.test_get_strips_contents_if_maas_id_file_contains_something ... ok #1650 provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_clears_cache ... ok #1651 provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_clears_cache_if_maas_id_file_does_not_exist ... ok #1652 provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_does_nothing_if_maas_id_file_does_not_exist ... ok #1653 provisioningserver.utils.tests.test_env.TestMAASID.test_set_caches ... ok #1654 provisioningserver.utils.tests.test_env.TestMAASID.test_set_caches_to_normalized_value ... ok #1655 provisioningserver.utils.tests.test_env.TestMAASID.test_set_deletes_maas_id_file_if_argument_is_None ... ok #1656 provisioningserver.utils.tests.test_env.TestMAASID.test_set_deletes_maas_id_file_if_argument_is_whitespace ... ok #1657 provisioningserver.utils.tests.test_env.TestMAASID.test_set_does_not_cache_when_write_fails ... ok #1658 provisioningserver.utils.tests.test_env.TestMAASID.test_set_none_clears_cache ... ok #1659 provisioningserver.utils.tests.test_env.TestMAASID.test_set_none_works_with_missing_file ... ok #1660 provisioningserver.utils.tests.test_env.TestMAASID.test_set_rejects_non_ASCII_content ... ok #1661 provisioningserver.utils.tests.test_env.TestMAASID.test_set_writes_argument_to_maas_id_file ... ok #1662 provisioningserver.utils.tests.test_ethernet.TestEthernet.test__is_valid_returns_false_for_truncated_non_vlan ... ok #1663 provisioningserver.utils.tests.test_ethernet.TestEthernet.test__is_valid_returns_false_for_truncated_vlan ... ok #1664 provisioningserver.utils.tests.test_ethernet.TestEthernet.test__parses_non_vlan ... ok #1665 provisioningserver.utils.tests.test_ethernet.TestEthernet.test__parses_vlan ... ok #1666 provisioningserver.utils.tests.test_events.TestEvent.test_fire_calls_all_handlers ... ok #1667 provisioningserver.utils.tests.test_events.TestEvent.test_registerHandler ... ok #1668 provisioningserver.utils.tests.test_events.TestEvent.test_unregisterHandler ... ok #1669 provisioningserver.utils.tests.test_events.TestEventGroup.test_makes_events_as_properties ... ok #1670 provisioningserver.utils.tests.test_fs.TestAtomicCopy.test___installs_new_bootloader ... ok #1671 provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__replaces_file_if_changed ... ok #1672 provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__skips_if_unchanged ... ok #1673 provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__sweeps_aside_dot_new_if_any ... ok #1674 provisioningserver.utils.tests.test_fs.TestAtomicCopy.test_integration ... ok #1675 provisioningserver.utils.tests.test_fs.TestAtomicDelete.test_atomic_delete_deletes_file ... ok #1676 provisioningserver.utils.tests.test_fs.TestAtomicDelete.test_renames_file_before_deleting ... ok #1677 provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_creates_symlink ... ok #1678 provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_does_not_leak_temp_file_if_failure ... ok #1679 provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_overwrites_dest_file ... ok #1680 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_leak_temp_file_on_failure ... ok #1681 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_leak_temp_file_when_not_overwriting ... ok #1682 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_overwrite_file_if_overwrite_false ... ok #1683 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_set_OSError_filename_if_defined ... ok #1684 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_overwrites_dest_file ... ok #1685 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_preserves_ownership_before_moving_into_place ... ok #1686 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_rejects_non_bytes_contents ... ok #1687 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_OSError_filename_if_undefined ... ok #1688 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_permissions ... ok #1689 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_permissions_before_moving_into_place ... ok #1690 provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_writes_file_if_no_file_present ... ok #1691 provisioningserver.utils.tests.test_fs.TestFileLock.test__path ... ok #1692 provisioningserver.utils.tests.test_fs.TestGetMAASProvisionCommand.test__returns_full_path_for_development ... ok #1693 provisioningserver.utils.tests.test_fs.TestGetMAASProvisionCommand.test__returns_just_command_for_production ... ok #1694 provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_does_not_set_future_time ... ok #1695 provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_sets_permissions ... ok #1696 provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_updates_modification_time ... ok #1697 provisioningserver.utils.tests.test_fs.TestNamedLock.test__byte_name_is_rejected ... ok #1698 provisioningserver.utils.tests.test_fs.TestNamedLock.test__name_rejects_unacceptable_characters ... ok #1699 provisioningserver.utils.tests.test_fs.TestNamedLock.test__string_name ... ok #1700 provisioningserver.utils.tests.test_fs.TestReadTextFile.test_defaults_to_utf8 ... ok #1701 provisioningserver.utils.tests.test_fs.TestReadTextFile.test_reads_file ... ok #1702 provisioningserver.utils.tests.test_fs.TestReadTextFile.test_uses_given_encoding ... ok #1703 provisioningserver.utils.tests.test_fs.TestRunLock.test__byte_path ... ok #1704 provisioningserver.utils.tests.test_fs.TestRunLock.test__string_path ... ok #1705 provisioningserver.utils.tests.test_fs.TestSudoDeleteFile.test_calls_atomic_delete ... ok #1706 provisioningserver.utils.tests.test_fs.TestSudoDeleteFile.test_catches_failures ... ok #1707 provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_calls_atomic_write ... ok #1708 provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_catches_failures ... ok #1709 provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_rejects_non_bytes_contents ... ok #1710 provisioningserver.utils.tests.test_fs.TestSystemLock.test__path ... ok #1711 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice (FileLock) ... ok #1711 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice (NamedLock) ... ok #1712 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release (FileLock) ... ok #1712 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release (NamedLock) ... ok #1713 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock (FileLock) ... ok #1713 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock (NamedLock) ... ok #1714 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock (FileLock) ... ok #1714 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock (NamedLock) ... ok #1715 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately (FileLock) ... ok #1715 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately (NamedLock) ... ok #1716 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock (FileLock) ... ok #1716 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock (NamedLock) ... ok #1717 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only (FileLock) ... ok #1717 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only (NamedLock) ... ok #1718 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock (FileLock) ... ok #1718 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock (NamedLock) ... ok #1719 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out (FileLock) ... ok #1719 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out (NamedLock) ... ok #1720 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired (FileLock) ... ok #1720 provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired (RunLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired (SystemLock) ... ok provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired (NamedLock) ... ok #1721 provisioningserver.utils.tests.test_fs.TestTempDir.test_accepts_unicode_from_mkdtemp ... ok #1722 provisioningserver.utils.tests.test_fs.TestTempDir.test_cleans_up_on_exception_exit ... ok #1723 provisioningserver.utils.tests.test_fs.TestTempDir.test_cleans_up_on_successful_exit ... ok #1724 provisioningserver.utils.tests.test_fs.TestTempDir.test_creates_real_fresh_directory ... ok #1725 provisioningserver.utils.tests.test_fs.TestTempDir.test_creates_unique_directory ... ok #1726 provisioningserver.utils.tests.test_fs.TestTempDir.test_restricts_access ... ok #1727 provisioningserver.utils.tests.test_fs.TestTempDir.test_tolerates_disappearing_dir ... ok #1728 provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_location ... ok #1729 provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_prefix ... ok #1730 provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_suffix ... ok #1731 provisioningserver.utils.tests.test_fs.TestTempDir.test_yields_unicode ... ok #1732 provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_creates_file ... ok #1733 provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_defaults_to_utf8 ... ok #1734 provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_overwrites_file ... ok #1735 provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_uses_given_encoding ... ok #1736 provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__finds_bond_members_original_mac_addresses ... ok #1737 provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__ignores_missing_proc_net_bonding ... ok #1738 provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__populates_interface_type_for_each_interface ... ok #1739 provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_ip_addr_calls_methods ... ok #1740 provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_ip_addr_json_returns_json ... ok #1741 provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_mac_addresses_ignores_duplicates ... ok #1742 provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_mac_addresses_returns_all_mac_addresses ... ok #1743 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bond_interface ... ok #1744 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bonded_interfaces ... ok #1745 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bridge_interface ... ok #1746 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_ipip_interface ... ok #1747 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_loopback_interface ... ok #1748 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_missing_interface ... ok #1749 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_other_ethernet_interface ... ok #1750 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_physical_ethernet_interface ... ok #1751 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_vlan_interface ... ok #1752 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_wireless_ethernet_interface ... ok #1753 provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__unknown_interfaces_type_includes_id ... ok #1754 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_add_additional_interface_properties_adds_mac_address ... ok #1755 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_add_additional_interface_properties_ignores_loopback_mac ... ok #1756 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_flags ... ok #1757 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_ifindex ... ok #1758 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_ifname ... ok #1759 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_settings ... ok #1760 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_malformed_line_raises_valueerror ... ok #1761 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_regex_failure_raises_valueerror ... ok #1762 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_tolerates_empty_flags ... ok #1763 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_creates_correct_dictionary ... ok #1764 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_handles_odd_number_of_tokens ... ok #1765 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_ignores_empty_settings_string ... ok #1766 provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_ignores_whitespace ... ok #1767 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_handles_wlan_flags ... ok #1768 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_ignores_whitespace_lines ... ok #1769 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_flags ... ok #1770 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_ifindex ... ok #1771 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_inet ... ok #1772 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_inet6 ... ok #1773 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_mac ... ok #1774 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_multiple_inet ... ok #1775 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_multiple_interfaces ... ok #1776 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_name ... ok #1777 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_settings ... ok #1778 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_xenial_interfaces ... ok #1779 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_skips_ipv4_link_local ... ok #1780 provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_skips_ipv6_link_local ... ok #1781 provisioningserver.utils.tests.test_iproute.TestGetIPRoute.test__calls_methods ... ok #1782 provisioningserver.utils.tests.test_iproute.TestHelperFunctions.test_parse_route_with_proto_and_metric ... ok #1783 provisioningserver.utils.tests.test_iproute.TestHelperFunctions.test_parse_route_without_proto_or_metric ... ok #1784 provisioningserver.utils.tests.test_iproute.TestParseIPRoute.test__returns_routes_definition ... ok #1785 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_forgotten_semicolons_throw_iscparseexception ... ok #1786 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_malformed_list_throws_iscparseexception ... ok #1787 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_then_make_then_parse_generates_identical_config ... ok #1788 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_unmatched_brackets_throws_iscparseexception ... ok #1789 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parser_preserves_order ... ok #1790 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_bind_acl ... ok #1791 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_bug_1413388_config ... ok #1792 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_multiple_forwarders ... ok #1793 provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_simple_bind_options ... ok #1794 provisioningserver.utils.tests.test_isc.TestParseISCString.test_read_isc_file ... ok #1795 provisioningserver.utils.tests.test_network.TestAnnotateWithDefaultMonitoredInterfaces.test__adds_monitored_bool_to_interfaces_dictionary ... ok #1796 provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__leaves_IPv4_intact ... ok #1797 provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__leaves_clean_IPv6_intact ... ok #1798 provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__removes_zone_index_suffix ... ok #1799 provisioningserver.utils.tests.test_network.TestConversionFunctions.test__bytes_to_hex ... ok #1800 provisioningserver.utils.tests.test_network.TestConversionFunctions.test__bytes_to_int ... ok #1801 provisioningserver.utils.tests.test_network.TestConversionFunctions.test__format_eui ... ok #1802 provisioningserver.utils.tests.test_network.TestConversionFunctions.test__hex_str_to_bytes ... ok #1803 provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__ignores_case ... ok #1804 provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__resolves_MAC_address_to_IP ... ok #1805 provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__returns_consistent_output ... ok #1806 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__calls_ip_neigh ... ok #1807 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__fails_on_nonsensical_output ... ok #1808 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__ignores_failed_neighbours ... ok #1809 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__is_not_fooled_by_different_notations ... ok #1810 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__is_not_fooled_by_prefixing ... ok #1811 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__resolves_IPv4_address_to_MAC ... ok #1812 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__resolves_IPv6_address_to_MAC ... ok #1813 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__returns_None_if_not_found ... ok #1814 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__returns_consistent_output ... ok #1815 provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__works_with_real_call ... ok #1816 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_interface_without_address (ipv4) ... ok #1816 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_interface_without_address (ipv6) ... ok #1817 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_link_address (ipv4) ... ok #1817 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_link_address (ipv6) ... ok #1818 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_non_address_information (ipv4) ... ok #1818 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_non_address_information (ipv6) ... ok #1819 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__returns_address_for_inet_class (ipv4) ... ok #1819 provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__returns_address_for_inet_class (ipv6) ... ok #1820 provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddresses.test__includes_loopback ... ok #1821 provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddresses.test_returns_all_addresses_for_all_interfaces ... ok #1822 provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddressesWithMultipleClasses.test_returns_all_addresses_for_interface ... ok #1823 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__complex ... ok #1824 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__doesnt_ignore_ethernet_in_container ... ok #1825 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__fixing_links ... ok #1826 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_ethernet ... ok #1827 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_ipip ... ok #1828 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_loopback ... ok #1829 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple ... ok #1830 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple_with_default_gateway ... ok #1831 provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple_with_dhcp ... ok #1832 provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__monitors_physical_interfaces_but_not_child_vlans ... ok #1833 provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__monitors_virtual_bridges_but_not_physical_bridges ... ok #1834 provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__returns_enabled_bond_interfaces_instead_of_physical ... ok #1835 provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__returns_enabled_physical_interfaces ... ok #1836 provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_bond_and_vlan_parents ... ok #1837 provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_bond_parents ... ok #1838 provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_vlan_parents ... ok #1839 provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_eui_organization ... ok #1840 provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_eui_organization_returns_none_for_invalid_mac ... ok #1841 provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_mac_organization ... ok #1842 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate ... ok #1843 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_and_ranges_are_returned_if_desired ... ok #1844 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_127 ... ok #1845 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_128 ... ok #1846 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_31 ... ok #1847 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_32 ... ok #1848 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_full_slash_128 ... ok #1849 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_full_slash_32 ... ok #1850 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggested_range_excludes_suggested_gateway ... ok #1851 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggested_range_excludes_suggested_gateway_when_gw_first ... ok #1852 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_first_available_ip_as_default_gateway_if_needed ... ok #1853 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_first_ip_as_default_gateway_if_available ... ok #1854 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_half_available_for_ipv6 ... ok #1855 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_half_available_if_available_less_than_one_fourth ... ok #1856 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_last_ip_as_default_gateway_if_needed ... ok #1857 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_no_dynamic_range_if_dynamic_range_exists ... ok #1858 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_no_gateway_if_range_full ... ok #1859 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_subnet_anycast_address_for_ipv6 ... ok #1860 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_upper_one_fourth_range_for_dynamic_by_default ... ok #1861 provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_upper_one_fourth_range_for_ipv6 ... ok #1862 provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_false_when_ip_range_is_partially_within_network ... ok #1863 provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_false_when_ip_range_is_within_network ... ok #1864 provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_true_when_ip_range_is_within_network ... ok #1865 provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_works_with_two_ip_networks ... ok #1866 provisioningserver.utils.tests.test_network.TestInetNtop.test__ipv4 ... ok #1867 provisioningserver.utils.tests.test_network.TestInetNtop.test__ipv6 ... ok #1868 provisioningserver.utils.tests.test_network.TestInterfaceChildren.test__returns_namedtuple ... ok #1869 provisioningserver.utils.tests.test_network.TestInterfaceChildren.test__yields_each_child ... ok #1870 provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_finds_intersection_between_two_ranges ... ok #1871 provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_finds_partial_intersection ... ok #1872 provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_ignores_non_intersecting_ranges ... ok #1873 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_does_not_resolve_hostnames ... ok #1874 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv4_loopback ... ok #1875 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_format_ipv4_loopback ... ok #1876 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_format_ipv4_nonloopback ... ok #1877 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_loopback ... ok #1878 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_localhost ... ok #1879 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_random_ipv4_address ... ok #1880 provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_random_ipv6_address ... ok #1881 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_full_range ... ok #1882 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_ipv6_unused_range ... ok #1883 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_ipv6_unused_range_for_huge_range ... ok #1884 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_simple_unused_range ... ok #1885 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_simple_unused_range_with_iprange_input ... ok #1886 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_unused_range_with_multiple_overlap ... ok #1887 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_unused_range_with_overlap ... ok #1888 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__contains_method ... ok #1889 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__deals_with_small_gaps ... ok #1890 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_ipv6_range ... ok #1891 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_range ... ok #1892 provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_range_with_iprange ... ok #1893 provisioningserver.utils.tests.test_network.TestMakeNetwork.test_constructs_IPNetwork ... ok #1894 provisioningserver.utils.tests.test_network.TestMakeNetwork.test_passes_args_to_IPNetwork ... ok #1895 provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_binary_integer ... ok #1896 provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_decimal_integer ... ok #1897 provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_hexadecimal_integer ... ok #1898 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__integrates_with_getaddrinfo ... ok #1899 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__propagates_other_gaierrors ... ok #1900 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__propagates_unexpected_errors ... ok #1901 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__rejects_weird_IP_version ... ok #1902 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__resolves_IPv4_address ... ok #1903 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__resolves_IPv6_address ... ok #1904 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__returns_empty_if_address_does_not_resolve ... ok #1905 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__returns_empty_if_address_resolves_to_no_data ... ok #1906 provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test_resolve_host_to_addrinfo_returns_full_information ... ok #1907 provisioningserver.utils.tests.test_network.TestResolvesToLoopbackAddress.test_resolves_hostnames ... ok #1908 provisioningserver.utils.tests.test_network.TestResolvesToLoopbackAddress.test_resolves_hostnames_non_loopback ... ok #1909 provisioningserver.utils.tests.test_pcap.TestPCAP.test__iterator ... ok #1910 provisioningserver.utils.tests.test_pcap.TestPCAP.test__parses_valid_stream ... ok #1911 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_EOFError_for_empty_PCAP_stream ... ok #1912 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_EOFError_for_end_of_stream ... ok #1913 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_PCAP_header ... ok #1914 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_PCAP_stream ... ok #1915 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_packet ... ok #1916 provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_packet_header ... ok #1917 provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_ignores_process_that_have_been_removed ... ok #1918 provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_returns_processes_running_on_host_not_container ... ok #1919 provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_returns_processes_when_running_in_container ... ok #1920 provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result (not_in_container) ... ok #1920 provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result (in_docker_container) ... ok provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result (in_lxc_container) ... ok #1921 provisioningserver.utils.tests.test_ps.TestRunningInContainer.test__returns_False_when_ExternalProcessError ... ok #1922 provisioningserver.utils.tests.test_ps.TestRunningInContainer.test__returns_True_when_not_ExternalProcessError ... ok #1923 provisioningserver.utils.tests.test_registry.TestRegistry.test___getitem__ ... ok #1924 provisioningserver.utils.tests.test_registry.TestRegistry.test___getitem__raises_KeyError_when_name_is_not_registered ... ok #1925 provisioningserver.utils.tests.test_registry.TestRegistry.test__contains__ ... ok #1926 provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item ... ok #1927 provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item_returns_None_default ... ok #1928 provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item_returns_default_if_value_not_present ... ok #1929 provisioningserver.utils.tests.test_registry.TestRegistry.test_is_singleton_over_multiple_imports ... ok #1930 provisioningserver.utils.tests.test_registry.TestRegistry.test_register_and_get_item ... ok #1931 provisioningserver.utils.tests.test_registry.TestRegistry.test_register_and_unregister_item ... ok #1932 provisioningserver.utils.tests.test_registry.TestRegistry.test_registered_items_are_stored_separately_by_registry ... ok #1933 provisioningserver.utils.tests.test_scan_network.TestRunNmap.test__runs_popen_with_expected_parameters ... ok #1934 provisioningserver.utils.tests.test_scan_network.TestRunNmap.test__runs_popen_with_expected_parameters__slow ... ok #1935 provisioningserver.utils.tests.test_scan_network.TestRunPing.test__runs_popen_with_expected_parameters ... ok #1936 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__default_arguments ... ok #1937 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__finds_correct_interface_if_passed_in_cidr_matches ... ok #1938 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__interprets_long_arguments ... ok #1939 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__rejects_ipv6_cidr ... ok #1940 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__rejects_non_interface_or_cidr ... ok #1941 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_all_cidrs_on_single_interface_when_ifname_passed ... ok #1942 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_all_interface_cidrs_when_zero_parameters_passed ... ok #1943 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_cidr_subset ... ok #1944 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_specific_interface_cidr ... ok #1945 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__prints_error_for_missing_cidr ... ok #1946 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_e2e ... ok #1947 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_e2e_prints_summary ... ok #1948 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_single_threaded ... ok #1949 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e ... ok #1950 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e_prints_summary ... ok #1951 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e_prints_warning_for_unknown_cidr ... ok #1952 provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_single_threaded ... ok #1953 provisioningserver.utils.tests.test_scan_network.TestYieldNmapParameters.test__nmap__yields_ipv4_cidrs ... ok #1954 provisioningserver.utils.tests.test_scan_network.TestYieldPingParameters.test__ping__yields_ipv4_ips ... ok #1955 provisioningserver.utils.tests.test_script.TestActionScript.test_call ... ok #1956 provisioningserver.utils.tests.test_script.TestActionScript.test_call_invalid_choice ... ok #1957 provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_actionscripterror ... ok #1958 provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_exception ... ok #1959 provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_keyboard_interrupt ... ok #1960 provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_process_exception ... ok #1961 provisioningserver.utils.tests.test_script.TestActionScript.test_init ... ok #1962 provisioningserver.utils.tests.test_script.TestActionScript.test_register ... ok #1963 provisioningserver.utils.tests.test_script.TestActionScript.test_register_without_add_arguments ... ok #1964 provisioningserver.utils.tests.test_script.TestActionScript.test_register_without_run ... ok #1965 provisioningserver.utils.tests.test_script.TestAtomicDeleteScript.test_arg_setup ... ok #1966 provisioningserver.utils.tests.test_script.TestAtomicDeleteScript.test_calls_atomic_delete_with_filename ... ok #1967 provisioningserver.utils.tests.test_script.TestAtomicDeleteScript.test_filename_arg_required ... ok #1968 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_arg_setup ... ok #1969 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_default_mode ... ok #1970 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_filename_arg_required ... ok #1971 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_no_overwrite_defaults_to_false ... ok #1972 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_passes_mode_flag ... ok #1973 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_passes_overwrite_flag ... ok #1974 provisioningserver.utils.tests.test_script.TestAtomicWriteScript.test_script_executable ... ok #1975 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_allows_dead_for_off_service ... ok #1976 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_debug_in_expected_states ... ok #1977 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_mismatch_for_dead_process_state ... ok #1978 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_warning_in_mismatch_process_state ... ok #1979 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_performs_start_for_off_service ... ok #1980 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execServiceAction_calls_systemctl_with_action_and_name ... ok #1981 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execServiceAction_decodes_stdout_and_stderr ... ok #1982 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___getServiceLock_returns_lock_for_service ... ok #1983 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_calls___execServiceAction ... ok #1984 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_ignores_sudo_output ... ok #1985 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_raise_error_for_invalid_active ... ok #1986 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_raise_error_for_invalid_output ... ok #1987 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_raises_ServiceUnknownError ... ok #1988 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_returns_dead_for_failed ... ok #1989 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_returns_off_and_dead ... ok #1990 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_status_returns_on_and_running ... ok #1991 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_holds_lock_calls__execServiceAction ... ok #1992 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_logs_error_if_action_fails ... ok #1993 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_raises_ServiceActionError_if_fails ... ok #1994 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_does_nothing_when_any_state_expected ... ok #1995 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_performs_raises_ServiceActionError ... ok #1996 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_performs_stop_for_on_service ... ok #1997 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_calls__ensureService ... ok #1998 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_handles_errors ... ok #1999 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_returns_dict_for_states ... ok #2000 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceByName_raises_ServiceUnknownError ... ok #2001 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceByName_returns_service ... ok #2002 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceState_with_now_False ... ok #2003 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceState_with_now_True ... ok #2004 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_always_calls_ensureService_then_reloads ... ok #2005 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_always_raises_error_if_fails_to_start ... ok #2006 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_calls_ensureService_then_reloads ... ok #2007 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_raises_ServiceNotOnError ... ok #2008 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_raises_error_if_fails_to_start ... ok #2009 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_returns_when_if_on_equals_false ... ok #2010 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_performs_restart ... ok #2011 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_raises_ServiceActionError_if_not_on ... ok #2012 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_raises_ServiceNotOnError ... ok #2013 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__updateServiceState_does_not_hold_service_lock ... ok #2014 provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__updateServiceState_updates_stored_service_state ... ok #2015 provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=ON,expected=ON) ... ok #2015 provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=ON,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=ON,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=ON,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=OFF,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=OFF,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=OFF,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=OFF,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=DEAD,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=DEAD,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=DEAD,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=DEAD,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=UNKNOWN,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=UNKNOWN,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=UNKNOWN,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message (observed=UNKNOWN,expected=ANY) ... ok #2016 provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=ON,expected=ON) ... ok #2016 provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=ON,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=ON,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=ON,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=OFF,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=OFF,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=OFF,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=OFF,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=DEAD,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=DEAD,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=DEAD,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=DEAD,expected=ANY) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=UNKNOWN,expected=ON) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=UNKNOWN,expected=OFF) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=UNKNOWN,expected=DEAD) ... ok provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string (observed=UNKNOWN,expected=ANY) ... ok #2017 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__ignores_interspersed_zero_length_writes ... ok #2018 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_non_json_output ... ok #2019 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_only_full_lines_from_stderr ... ok #2020 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_stderr ... ok #2021 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_stderr_at_process_end ... ok #2022 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__parses_only_full_lines ... ok #2023 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__propagates_errors_from_command ... ok #2024 provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__propagates_exit_errors ... ok #2025 provisioningserver.utils.tests.test_services.TestMDNSResolverService.test__protocol_selectively_logs_stderr ... ok #2026 provisioningserver.utils.tests.test_services.TestMDNSResolverService.test__returns_expected_arguments ... ok #2027 provisioningserver.utils.tests.test_services.TestNeighbourDiscoveryService.test__restarts_process_after_finishing ... ok #2028 provisioningserver.utils.tests.test_services.TestNeighbourDiscoveryService.test__returns_expected_arguments ... ok #2029 provisioningserver.utils.tests.test_services.TestNeighbourObservationProtocol.test_adds_interface ... ok #2030 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_assumes_sole_responsibility_before_updating ... ok #2031 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_attempts_to_assume_sole_responsibility_on_each_iteration ... ok #2032 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_does_not_update_if_cannot_assume_sole_responsibility ... ok #2033 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_getInterfaces_called_to_get_configuration ... ok #2034 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_get_all_interfaces_definition_is_called_in_thread ... ok #2035 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_init ... ok #2036 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_logs_errors ... ok #2037 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_after_failure ... ok #2038 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_when_interfaces_changed ... ok #2039 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_when_nothing_previously_recorded ... ok #2040 provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_not_called_when_interfaces_not_changed ... ok #2041 provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__base_class_cannot_be_used ... ok #2042 provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__calls_protocol_callback ... ok #2043 provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__handles_abnormal_process_exit ... ok #2044 provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__handles_normal_process_exit ... ok #2045 provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__starts_and_stops_process ... ok #2046 provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__raises_ExternalProcessError_on_failure ... ok #2047 provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__reports_stderr_on_failure ... ok #2048 provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__returns_standard_output ... ok #2049 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test__str__contains_output ... ok #2050 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test__str__returns_unicode ... ok #2051 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_output_as_ascii ... ok #2052 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_output_as_unicode ... ok #2053 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_defers_to_bytes ... ok #2054 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_encodes_to_bytes ... ok #2055 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_removes_non_printable_chars ... ok #2056 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_unicode_decodes_to_unicode ... ok #2057 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_unicode_defers_to_unicode_constructor ... ok #2058 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_does_not_change_CalledProcessError_subclasses ... ok #2059 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_does_not_change_other_errors ... ok #2060 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_returns_None ... ok #2061 provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_upgrades_CalledProcessError ... ok #2062 provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__calls_which ... ok #2063 provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__returns_False_when_ExternalProcessError_raised ... ok #2064 provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__returns_True_when_ExternalProcessError_not_raised ... ok #2065 provisioningserver.utils.tests.test_shell.TestObjectFork.test__can_send_and_receive_objects ... ok #2066 provisioningserver.utils.tests.test_shell.TestPipeFork.test__SystemExit_in_child_is_not_raised_in_parent ... ok #2067 provisioningserver.utils.tests.test_shell.TestPipeFork.test__forks ... ok #2068 provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_childs_exception_when_child_crashes ... ok #2069 provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_exception_when_child_exits_with_non_zero_code ... ok #2070 provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_exception_when_child_killed_by_signal ... ok #2071 provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_parents_exception_when_parent_crashes ... ok #2072 provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__defaults_to_process_environment ... ok #2073 provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__overwrites_LANG ... ok #2074 provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__passes_other_variables_through ... ok #2075 provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__removes_other_LC_variables ... ok #2076 provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__sets_LANG_and_LC_ALL ... ok #2077 provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__defaults_to_process_environment ... ok #2078 provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__overwrites_LANG ... ok #2079 provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__passes_other_variables_through ... ok #2080 provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__removes_other_LC_variables ... ok #2081 provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__sets_LANG_and_LC_ALL ... ok #2082 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyBasics.test_rejects_keys_with_fewer_than_2_parts ... ok #2083 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (dsa) ... ok #2083 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace (rsa) ... ok #2084 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (dsa) ... ok #2084 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments (rsa) ... ok #2085 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (dsa) ... ok #2085 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys (rsa) ... ok #2086 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (dsa) ... ok #2086 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type (rsa) ... ok #2087 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (dsa) ... ok #2087 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip (rsa) ... ok #2088 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (dsa) ... ok #2088 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace (rsa) ... ok #2089 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (dsa) ... ok #2089 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys (rsa) ... ok #2090 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (dsa) ... ok #2090 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type (rsa) ... ok #2091 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (dsa) ... ok #2091 provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (ecdsa256) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (ecdsa384) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (ecdsa521) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (ed25519) ... ok provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip (rsa) ... ok #2092 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_cleans_all_fields ... ok #2093 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_full_name ... ok #2094 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_home_telephone_number ... ok #2095 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_other_information ... ok #2096 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_room_number ... ok #2097 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_work_telephone_number ... ok #2098 provisioningserver.utils.tests.test_text.TestMakeGecosField.test_returns_basic_gecos_field_without_input ... ok #2099 provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__eliminates_empty_words ... ok #2100 provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__normalises_nothing_but_delimiter_to_empty ... ok #2101 provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__normalises_space_or_comma_list_to_comma_list ... ok #2102 provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__eliminates_leading_space ... ok #2103 provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__eliminates_trailing_space ... ok #2104 provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__preserves_text_without_whitespace ... ok #2105 provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__replaces_any_whitespace_sequence_with_single_space ... ok #2106 provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__treats_punctuation_as_non_space ... ok #2107 provisioningserver.utils.tests.test_text.TestSplitStringList.test__eliminates_empty_words ... ok #2108 provisioningserver.utils.tests.test_text.TestSplitStringList.test__normalises_nothing_but_delimiter_to_empty_list ... ok #2109 provisioningserver.utils.tests.test_text.TestSplitStringList.test__splits_at_delimiters ... ok #2110 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_no_elements (get_local_address) ... ok #2110 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_no_elements (get_remote_address) ... ok #2111 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_one_element (get_local_address) ... ok #2111 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_one_element (get_remote_address) ... ok #2112 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_None_None_tuple_when_not_set (get_local_address) ... ok #2112 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_None_None_tuple_when_not_set (get_remote_address) ... ok #2113 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_even_when_set_longer (get_local_address) ... ok #2113 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_even_when_set_longer (get_remote_address) ... ok #2114 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_when_set (get_local_address) ... ok #2114 provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_when_set (get_remote_address) ... ok #2115 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_in_current_thread_when_current_thread_is_reactor ... ok #2116 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_in_current_thread_when_io_thread_is_not_set ... ok #2117 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_into_reactor_when_current_thread_is_not_reactor ... ok #2118 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__provides_marker_interface ... ok #2119 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_float ... ok #2120 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_forever ... ok #2121 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_int ... ok #2122 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_long ... ok #2123 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_cannot_be_None ... ok #2124 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_cannot_be_negative ... ok #2125 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test__passes_timeout_to_wait (finite) ... ok #2125 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test__passes_timeout_to_wait (forever) ... ok #2126 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_other_thread (finite) ... ok #2126 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_other_thread (forever) ... ok #2127 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_reactor_thread (finite) ... ok #2127 provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_reactor_thread (forever) ... ok #2128 provisioningserver.utils.tests.test_twisted.TestCall.test__does_not_suppress_errors ... ok #2129 provisioningserver.utils.tests.test_twisted.TestCall.test__with_arguments ... ok #2130 provisioningserver.utils.tests.test_twisted.TestCall.test__without_arguments ... ok #2131 provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__with_arguments_in_reactor ... ok #2132 provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__with_arguments_in_thread ... ok #2133 provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__without_arguments_from_reactor ... ok #2134 provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__without_arguments_from_thread ... ok #2135 provisioningserver.utils.tests.test_twisted.TestCallInReactorErrors.test__propagates_exceptions_in_reactor ... ok #2136 provisioningserver.utils.tests.test_twisted.TestCallInReactorErrors.test__propagates_exceptions_in_thread ... ok #2137 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__with_arguments_in_reactor ... ok #2138 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__with_arguments_in_thread ... ok #2139 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__without_arguments_from_reactor ... ok #2140 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__without_arguments_from_thread ... ok #2141 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeoutErrors.test__propagates_exceptions_in_reactor ... ok #2142 provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeoutErrors.test__propagates_exceptions_in_thread ... ok #2143 provisioningserver.utils.tests.test_twisted.TestCallOut.test__does_not_suppress_errors ... ok #2144 provisioningserver.utils.tests.test_twisted.TestCallOut.test__with_arguments ... ok #2145 provisioningserver.utils.tests.test_twisted.TestCallOut.test__without_arguments ... ok #2146 provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__defers_to_thread ... ok #2147 provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__does_not_suppress_errors ... ok #2148 provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__with_arguments ... ok #2149 provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__without_arguments ... ok #2150 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__gives_new_thread_generic_name_if_func_has_no_name ... ok #2151 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__gives_new_thread_informative_name ... ok #2152 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_callback_from_thread ... ok #2153 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_errback_from_thread ... ok #2154 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_thread ... ok #2155 provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__runs_given_func_in_new_thread ... ok #2156 provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__calls_given_function ... ok #2157 provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__calls_given_function_and_always_returns_Deferred ... ok #2158 provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_will_be_cancelled_after_timeout ... ok #2159 provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_wont_be_cancelled_if_called ... ok #2160 provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_wont_be_cancelled_if_errored ... ok #2161 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_can_be_called_multiple_times ... ok #2162 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_clears_and_cancels_capturing ... ok #2163 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_clears_observing ... ok #2164 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_does_nothing_if_value_already_set ... ok #2165 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_stops_everything ... ok #2166 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_can_only_be_called_once ... ok #2167 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_cannot_be_called_once_value_is_set ... ok #2168 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_captures_callback ... ok #2169 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_captures_errback ... ok #2170 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_records_source_as_capturing_attribute ... ok #2171 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__create ... ok #2172 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_None_results_in_an_errback_with_current_exception ... ok #2173 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_can_only_be_called_once ... ok #2174 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_results_in_an_errback ... ok #2175 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_after_set_returns_the_value ... ok #2176 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_can_be_cancelled ... ok #2177 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_returns_a_Deferred ... ok #2178 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_returns_a_Deferred_with_a_timeout ... ok #2179 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_False_when_there_is_no_value ... ok #2180 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_True_when_there_is_a_failure ... ok #2181 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_True_when_there_is_a_value ... ok #2182 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_can_only_be_called_once ... ok #2183 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_cannot_be_called_once_value_is_set ... ok #2184 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_observes_callback ... ok #2185 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_observes_errback ... ok #2186 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_records_source_as_observing_attribute ... ok #2187 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_can_only_be_called_once ... ok #2188 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_clears_and_cancels_capturing ... ok #2189 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_clears_observing ... ok #2190 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_exception_results_in_a_callback ... ok #2191 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_failure_results_in_an_errback ... ok #2192 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_notifies_all_waiters ... ok #2193 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_notifies_all_waiters_that_have_not_timed_out ... ok #2194 provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__value_is_not_available_until_set ... ok #2195 provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_callback_when_process_called_with_processdone ... ok #2196 provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_callback_when_processended_called_with_none ... ok #2197 provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_errback_when_processended_called_with_failure ... ok #2198 provisioningserver.utils.tests.test_twisted.TestPause.test_pause_can_be_cancelled ... ok #2199 provisioningserver.utils.tests.test_twisted.TestPause.test_pause_returns_a_deferred_that_fires_after_a_delay ... ok #2200 provisioningserver.utils.tests.test_twisted.TestProcessGroupLeaderMixin.test__calls_setpgid_on_child_process ... ok #2201 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__clients_are_treated_differently ... ok #2202 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__concurrent_gets_become_related ... ok #2203 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__deferred_fires_when_client_completes ... ok #2204 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__errors_are_treated_just_the_same ... ok #2205 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__non_concurrent_gets_do_not_become_related ... ok #2206 provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test_call_returns_deferred ... ok #2207 provisioningserver.utils.tests.test_twisted.TestRetries.test_calculates_times_with_reference_to_current_time ... ok #2208 provisioningserver.utils.tests.test_twisted.TestRetries.test_captures_start_time_when_called ... ok #2209 provisioningserver.utils.tests.test_twisted.TestRetries.test_intervals_can_be_an_iterable ... ok #2210 provisioningserver.utils.tests.test_twisted.TestRetries.test_yields_elapsed_remaining_and_wait ... ok #2211 provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test__provides_marker_interface ... ok #2212 provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_allows_call_in_any_thread_when_reactor_not_running ... ok #2213 provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_in_other_thread ... ok #2214 provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_in_reactor_thread ... ok #2215 provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_process_with_TERM_QUIT_then_KILL ... ok #2216 provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_with_kill_and_killpg ... ok #2217 provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_with_kill_if_not_in_separate_process_group ... ok #2218 provisioningserver.utils.tests.test_twisted.TestThreadPool.test__context_entry_failures_are_propagated_to_tasks ... ok #2219 provisioningserver.utils.tests.test_twisted.TestThreadPool.test__context_exit_failures_are_logged ... ok #2220 provisioningserver.utils.tests.test_twisted.TestThreadPool.test__init ... ok #2221 provisioningserver.utils.tests.test_twisted.TestThreadPool.test__init_with_parameters ... ok #2222 provisioningserver.utils.tests.test_twisted.TestThreadPoolCommonBehaviour.test__context_is_active_in_new_thread (callInThread) ... ok #2222 provisioningserver.utils.tests.test_twisted.TestThreadPoolCommonBehaviour.test__context_is_active_in_new_thread (callInThreadWithCallback) ... ok #2223 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__callInThread_calls_callInThreadWithCallback ... ok #2224 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__init ... ok #2225 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__when_deferring_acquires_and_releases_lock ... ok #2226 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__when_deferring_acquires_and_releases_lock_on_error ... ok #2227 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__with_callback_acquires_and_releases_lock ... ok #2228 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__with_callback_releases_lock_when_underlying_pool_breaks ... ok #2229 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__without_callback_acquires_and_releases_lock ... ok #2230 provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__without_callback_releases_lock_when_underlying_pool_breaks ... ok #2231 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_logs_failure_reporting_result ... ok #2232 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_makes_callback ... ok #2233 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_makes_callback_on_error ... ok #2234 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__init ... ok #2235 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__start_sets_started ... ok #2236 provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__stop_unsets_started ... ok #2237 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__context_is_active_in_new_thread (callInThread) ... ok #2237 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__context_is_active_in_new_thread (callInThreadWithCallback) ... ok #2238 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__defers_to_new_thread (callInThread) ... ok #2238 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__defers_to_new_thread (callInThreadWithCallback) ... ok #2239 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__logs_failure_deferring_to_thread (callInThread) ... ok #2239 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__logs_failure_deferring_to_thread (callInThreadWithCallback) ... ok #2240 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__passes_args_through (callInThread) ... ok #2240 provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__passes_args_through (callInThreadWithCallback) ... ok #2241 provisioningserver.utils.tests.test_url.TestComposeURL.test__does_not_escape_bracketed_IPv6_zone_index ... ok #2242 provisioningserver.utils.tests.test_url.TestComposeURL.test__escapes_IPv6_zone_index ... ok #2243 provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_IPv4 ... ok #2244 provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_IPv6_with_brackets ... ok #2245 provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_bracketed_IPv6_unchanged ... ok #2246 provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_hostname ... ok #2247 provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_IPv4 ... ok #2248 provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_IPv6 ... ok #2249 provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_hostname ... ok #2250 provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_query ... ok #2251 provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_additional_eparator ... ok #2252 provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_copes_with_empty_lines ... ok #2253 provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_file_parse_alternate_separator ... ok #2254 provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_file_parses_config_file ... ok #2255 provisioningserver.utils.tests.test_utils.TestClassify.test_no_subjects ... ok #2256 provisioningserver.utils.tests.test_utils.TestClassify.test_subjects ... ok #2257 provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_arbitrarily_nested_lists ... ok #2258 provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_list ... ok #2259 provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_nested_lists ... ok #2260 provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_other_iterables ... ok #2261 provisioningserver.utils.tests.test_utils.TestFlatten.test__returns_empty_when_nothing_provided ... ok #2262 provisioningserver.utils.tests.test_utils.TestFlatten.test__returns_iterator ... ok #2263 provisioningserver.utils.tests.test_utils.TestFlatten.test__takes_star_args ... ok #2264 provisioningserver.utils.tests.test_utils.TestFlatten.test__treats_string_like_objects_as_leaves ... ok #2265 provisioningserver.utils.tests.test_utils.TestInDebugMode.test_in_develop_mode_returns_False ... ok #2266 provisioningserver.utils.tests.test_utils.TestInDebugMode.test_in_develop_mode_returns_True ... ok #2267 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accept_subclass (instances) ... ok #2267 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accept_subclass (types) ... ok #2268 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_correct_type (instances) ... ok #2268 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_correct_type (types) ... ok #2269 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_non_flat_list (instances) ... ok #2269 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_non_flat_list (types) ... ok #2270 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_tuple_or_list (instances) ... ok #2270 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_tuple_or_list (types) ... ok #2271 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_variable_args (instances) ... ok #2271 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_variable_args (types) ... ok #2272 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__rejects_incorrect_type (instances) ... ok #2272 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__rejects_incorrect_type (types) ... ok #2273 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__returns_false_if_object_is_not_relevant (instances) ... ok #2273 provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__returns_false_if_object_is_not_relevant (types) ... ok #2274 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_defaults_to_global_etc_maas_if_variable_is_empty ... ok #2275 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_defaults_to_global_etc_maas_if_variable_is_unset ... ok #2276 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_locates_config_file ... ok #2277 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_locates_full_path ... ok #2278 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_normalizes_path ... ok #2279 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_returns_absolute_path ... ok #2280 provisioningserver.utils.tests.test_utils.TestLocateConfig.test_returns_branch_etc_maas ... ok #2281 provisioningserver.utils.tests.test_utils.TestLocateTemplate.test_returns_test_path ... ok #2282 provisioningserver.utils.tests.test_utils.TestSafe.test_repr ... ok #2283 provisioningserver.utils.tests.test_utils.TestSafe.test_value ... ok #2284 provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_does_not_escape_safe ... ok #2285 provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_does_not_escape_safe_objects ... ok #2286 provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_escapes ... ok #2287 provisioningserver.utils.tests.test_utils.TestSortTop.test_can_sort_non_numeric_things_too ... ok #2288 provisioningserver.utils.tests.test_utils.TestSortTop.test_circular_dependency_results_in_an_exception ... ok #2289 provisioningserver.utils.tests.test_utils.TestSortTop.test_empty_yields_no_batches ... ok #2290 provisioningserver.utils.tests.test_utils.TestSortTop.test_ghost_dependencies_appear_in_first_batch ... ok #2291 provisioningserver.utils.tests.test_utils.TestSortTop.test_input_not_modified ... ok #2292 provisioningserver.utils.tests.test_utils.TestSortTop.test_multiple_things_with_deps_yields_multiple_batches ... ok #2293 provisioningserver.utils.tests.test_utils.TestSortTop.test_multiple_things_without_dep_yields_single_batch ... ok #2294 provisioningserver.utils.tests.test_utils.TestSortTop.test_single_thing_referring_to_self_yields_single_batch ... ok #2295 provisioningserver.utils.tests.test_utils.TestSortTop.test_single_thing_without_dep_yields_single_batch ... ok #2296 provisioningserver.utils.tests.test_utils.TestSudo.test_returns_same_command_when_in_develop_mode ... ok #2297 provisioningserver.utils.tests.test_utils.TestSudo.test_returns_same_command_when_in_develop_mode_or_is_dev_env ... ok #2298 provisioningserver.utils.tests.test_utils.TestSudo.test_returns_same_command_when_is_dev_environment ... ok #2299 provisioningserver.utils.tests.test_utils.TestSudo.test_returns_sudo_cmd_when_not_in_dev_mode_and_is_not_dev_env ... ok #2300 provisioningserver.utils.tests.test_xpath.TestTryMatchXPath.test_logs_to_specified_logger ... ok #2301 provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok #2301 provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression matches,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression matches,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression does not match,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (expression does not match,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression matches,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression matches,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression does not match,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (text expression does not match,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression matches,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression matches,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression does not match,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (string expression does not match,xpath-compiler=None,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (unrecognised namespace,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (unrecognised namespace,xpath-compiler=XPath,doc-compiler=None) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (unrecognised namespace,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) ... ok provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test (unrecognised namespace,xpath-compiler=None,doc-compiler=None) ... ok #2302 provisioningserver.utils.tests.test_znums.TestZNumbers.test_from_int_basics ... ok #2303 provisioningserver.utils.tests.test_znums.TestZNumbers.test_roundtrip ... ok #2304 provisioningserver.utils.tests.test_znums.TestZNumbers.test_sorting_6_digit_znums ... ok #2305 provisioningserver.utils.tests.test_znums.TestZNumbers.test_to_int_basics ... ok #2306 provisioningserver.testing.tests.test_bindfixture.TestBINDFixture.test_config ... ok #2307 provisioningserver.testing.tests.test_bindfixture.TestBINDFixture.test_start_check_shutdown ... ok #2308 provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_defaults ... ok #2309 provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_defaults_reallocated_after_teardown ... ok #2310 provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_copies_executable ... ok #2311 provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_creates_config_files ... ok #2312 provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_honours_include_in_options ... ok #2313 provisioningserver.tests.test_cluster_config_command.TestAddArguments.test_accepts_all_args ... ok #2314 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_init_creates_initial_cluster_id ... ok #2315 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_init_when_already_configured_does_nothing ... ok #2316 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_cluster_uuid_sets_cluster_uuid ... ok #2317 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_cluster_uuid_without_setting_does_nothing ... ok #2318 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_maas_url_sets_url ... ok #2319 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_maas_url_without_setting_does_nothing ... ok #2320 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_sets_tftp_port ... ok #2321 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_sets_tftp_root ... ok #2322 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_without_setting_does_nothing ... ok #2323 provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_root_without_setting_does_nothing ... ok #2324 provisioningserver.tests.test_config.TestClusterConfiguration.test_default_cluster_uuid ... ok #2325 provisioningserver.tests.test_config.TestClusterConfiguration.test_default_maas_url ... ok #2326 provisioningserver.tests.test_config.TestClusterConfiguration.test_default_tftp_port ... ok #2327 provisioningserver.tests.test_config.TestClusterConfiguration.test_default_tftp_root ... ok #2328 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_cluster_uuid ... ok #2329 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_maas_url ... ok #2330 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_tftp_port ... ok #2331 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_tftp_root ... ok #2332 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_hostnames ... ok #2333 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_ipv6_addresses_with_brackets ... ok #2334 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_very_short_hostnames ... ok #2335 provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_rejects_bare_ipv6_addresses ... ok #2336 provisioningserver.tests.test_config.TestClusterConfigurationGRUBRoot.test__is_relative_to_tftp_root_with_trailing_slash ... ok #2337 provisioningserver.tests.test_config.TestClusterConfigurationGRUBRoot.test__is_relative_to_tftp_root_without_trailing_slash ... ok #2338 provisioningserver.tests.test_config.TestConfig.test_is_dev_environment_returns_false ... ok #2339 provisioningserver.tests.test_config.TestConfig.test_is_dev_environment_returns_true ... ok #2340 provisioningserver.tests.test_config.TestConfiguration.test_cannot_set_attributes ... ok #2341 provisioningserver.tests.test_config.TestConfiguration.test_create ... ok #2342 provisioningserver.tests.test_config.TestConfiguration.test_open_for_update_uses_backend_as_context_manager ... ok #2343 provisioningserver.tests.test_config.TestConfiguration.test_open_uses_backend_as_context_manager ... ok #2344 provisioningserver.tests.test_config.TestConfigurationDatabase.test_adding_configuration_option ... ok #2345 provisioningserver.tests.test_config.TestConfigurationDatabase.test_as_string ... ok #2346 provisioningserver.tests.test_config.TestConfigurationDatabase.test_configuration_pristine ... ok #2347 provisioningserver.tests.test_config.TestConfigurationDatabase.test_getting_configuration_option ... ok #2348 provisioningserver.tests.test_config.TestConfigurationDatabase.test_getting_non_existent_configuration_option ... ok #2349 provisioningserver.tests.test_config.TestConfigurationDatabase.test_init ... ok #2350 provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_and_close ... ok #2351 provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_permissions_existing_database ... ok #2352 provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_permissions_new_database ... ok #2353 provisioningserver.tests.test_config.TestConfigurationDatabase.test_opened_database_commits_on_exit ... ok #2354 provisioningserver.tests.test_config.TestConfigurationDatabase.test_opened_database_rolls_back_on_unclean_exit ... ok #2355 provisioningserver.tests.test_config.TestConfigurationDatabase.test_removing_configuration_option ... ok #2356 provisioningserver.tests.test_config.TestConfigurationDatabase.test_replacing_configuration_option ... ok #2357 provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_immutable ... ok #2358 provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_mutable ... ok #2359 provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_open_for_update_yields_mutable_backend ... ok #2360 provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_open_yields_immutable_backend ... ok #2361 provisioningserver.tests.test_config.TestConfigurationFile.test_adding_configuration_option ... ok #2362 provisioningserver.tests.test_config.TestConfigurationFile.test_as_string ... ok #2363 provisioningserver.tests.test_config.TestConfigurationFile.test_configuration_pristine ... ok #2364 provisioningserver.tests.test_config.TestConfigurationFile.test_getting_configuration_option ... ok #2365 provisioningserver.tests.test_config.TestConfigurationFile.test_getting_non_existent_configuration_option ... ok #2366 provisioningserver.tests.test_config.TestConfigurationFile.test_load_empty_file_results_in_empty_config ... ok #2367 provisioningserver.tests.test_config.TestConfigurationFile.test_load_file_with_non_mapping_crashes ... ok #2368 provisioningserver.tests.test_config.TestConfigurationFile.test_load_non_existent_file_crashes ... ok #2369 provisioningserver.tests.test_config.TestConfigurationFile.test_modified_database_retains_permissions ... ok #2370 provisioningserver.tests.test_config.TestConfigurationFile.test_modified_database_uses_safe_permissions_if_file_missing ... ok #2371 provisioningserver.tests.test_config.TestConfigurationFile.test_open_and_close ... ok #2372 provisioningserver.tests.test_config.TestConfigurationFile.test_open_permissions_new_database ... ok #2373 provisioningserver.tests.test_config.TestConfigurationFile.test_open_takes_exclusive_lock ... ok #2374 provisioningserver.tests.test_config.TestConfigurationFile.test_opened_configuration_file_does_not_save_on_unclean_exit ... ok #2375 provisioningserver.tests.test_config.TestConfigurationFile.test_opened_configuration_file_saves_on_exit ... ok #2376 provisioningserver.tests.test_config.TestConfigurationFile.test_removing_configuration_option ... ok #2377 provisioningserver.tests.test_config.TestConfigurationFile.test_replacing_configuration_option ... ok #2378 provisioningserver.tests.test_config.TestConfigurationFile.test_unmodified_database_retains_permissions ... ok #2379 provisioningserver.tests.test_config.TestConfigurationFileMutability.test_immutable ... ok #2380 provisioningserver.tests.test_config.TestConfigurationFileMutability.test_mutable ... ok #2381 provisioningserver.tests.test_config.TestConfigurationFileMutability.test_open_for_update_yields_mutable_backend ... ok #2382 provisioningserver.tests.test_config.TestConfigurationFileMutability.test_open_yields_immutable_backend ... ok #2383 provisioningserver.tests.test_config.TestConfigurationMeta.test_delete (db) ... ok #2383 provisioningserver.tests.test_config.TestConfigurationMeta.test_delete (file) ... ok #2384 provisioningserver.tests.test_config.TestConfigurationMeta.test_falls_back_to_default (db) ... ok #2384 provisioningserver.tests.test_config.TestConfigurationMeta.test_falls_back_to_default (file) ... ok #2385 provisioningserver.tests.test_config.TestConfigurationMeta.test_gets_filename_from_environment (db) ... ok #2385 provisioningserver.tests.test_config.TestConfigurationMeta.test_gets_filename_from_environment (file) ... ok #2386 provisioningserver.tests.test_config.TestConfigurationMeta.test_set (db) ... ok #2386 provisioningserver.tests.test_config.TestConfigurationMeta.test_set (file) ... ok #2387 provisioningserver.tests.test_config.TestConfigurationOption.test_deleting_something (db) ... ok #2387 provisioningserver.tests.test_config.TestConfigurationOption.test_deleting_something (file) ... ok #2388 provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something (db) ... ok #2388 provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something (file) ... ok #2389 provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something_is_not_validated (db) ... ok #2389 provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something_is_not_validated (file) ... ok #2390 provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something (db) ... ok #2390 provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something (file) ... ok #2391 provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something_is_validated (db) ... ok #2391 provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something_is_validated (file) ... ok #2392 provisioningserver.tests.test_diskless.TestComposeSourcePath.test__raises_error_on_missing_os_from_registry ... ok #2393 provisioningserver.tests.test_diskless.TestComposeSourcePath.test__raises_error_when_os_doesnt_support_diskless ... ok #2394 provisioningserver.tests.test_diskless.TestComposeSourcePath.test__returns_valid_path ... ok #2395 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__calls_create_disk_on_driver ... ok #2396 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__calls_update_diskless_tgt ... ok #2397 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__creates_diskless_link ... ok #2398 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__errors_when_driver_create_disk_returns_None ... ok #2399 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__errors_when_driver_create_disk_returns_invalid_path ... ok #2400 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__raises_error_on_doesnt_exist_source_path ... ok #2401 provisioningserver.tests.test_diskless.TestCreateDisklessDisk.test__raises_error_on_link_already_exists ... ok #2402 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__calls_delete_disk_on_driver_when_link_points_to_valid_path ... ok #2403 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__calls_update_diskless_tgt ... ok #2404 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__checks_for_link_using_lexists ... ok #2405 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__deletes_diskless_link ... ok #2406 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__doenst_call_delete_disk_on_driver_when_link_is_invalid ... ok #2407 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__exits_early_on_missing_link ... ok #2408 provisioningserver.tests.test_diskless.TestDeleteDisklessDisk.test__raises_error_if_read_diskless_link_returns_None ... ok #2409 provisioningserver.tests.test_diskless.TestHelpers.test_compose_diskless_link_path ... ok #2410 provisioningserver.tests.test_diskless.TestHelpers.test_create_diskless_link_creates_link ... ok #2411 provisioningserver.tests.test_diskless.TestHelpers.test_create_diskless_link_error_on_already_exists ... ok #2412 provisioningserver.tests.test_diskless.TestHelpers.test_create_diskless_link_uses_lexists ... ok #2413 provisioningserver.tests.test_diskless.TestHelpers.test_delete_diskless_link_deletes_link ... ok #2414 provisioningserver.tests.test_diskless.TestHelpers.test_delete_diskless_link_uses_lexists ... ok #2415 provisioningserver.tests.test_diskless.TestHelpers.test_get_diskless_driver_errors_on_missing_driver ... ok #2416 provisioningserver.tests.test_diskless.TestHelpers.test_get_diskless_driver_returns_driver ... ok #2417 provisioningserver.tests.test_diskless.TestHelpers.test_get_diskless_store ... ok #2418 provisioningserver.tests.test_diskless.TestHelpers.test_read_diskless_link_returns_link_path ... ok #2419 provisioningserver.tests.test_diskless.TestHelpers.test_read_diskless_link_uses_lexists ... ok #2420 provisioningserver.tests.test_diskless.TestTgtHelpers.test_compose_diskless_tgt_config ... ok #2421 provisioningserver.tests.test_diskless.TestTgtHelpers.test_get_diskless_target ... ok #2422 provisioningserver.tests.test_diskless.TestTgtHelpers.test_get_diskless_tgt_path ... ok #2423 provisioningserver.tests.test_diskless.TestTgtHelpers.test_reload_diskless_tgt ... ok #2424 provisioningserver.tests.test_diskless.TestTgtHelpers.test_tgt_entry ... ok #2425 provisioningserver.tests.test_diskless.TestTgtHelpers.test_update_diskless_tgt_calls_atomic_write ... ok #2426 provisioningserver.tests.test_events.TestEvents.test_every_event_has_details ... ok #2427 provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__event_is_sent_to_region ... ok #2428 provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__event_type_is_registered_on_first_call_only ... ok #2429 provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__updates_cache_if_event_type_not_found ... ok #2430 provisioningserver.tests.test_events.TestSendEventMACAddress.test__event_is_sent_to_region ... ok #2431 provisioningserver.tests.test_events.TestSendEventMACAddress.test__event_type_is_registered_on_first_call_only ... ok #2432 provisioningserver.tests.test_events.TestSendEventMACAddress.test__failure_is_suppressed_if_node_not_found ... ok #2433 provisioningserver.tests.test_events.TestSendEventMACAddress.test__updates_cache_if_event_type_not_found ... ok #2434 provisioningserver.tests.test_events.TestSendEventNode.test__calls_singleton_hub_logByID_directly ... ok #2435 provisioningserver.tests.test_events.TestSendEventNodeMACAddress.test__calls_singleton_hub_logByMAC_directly ... ok #2436 provisioningserver.tests.test_kernel_opts.TestGetCurtinKernelCmdlineSepTest.test_get_curtin_kernel_cmdline_sep_returns_curtin_value ... ok #2437 provisioningserver.tests.test_kernel_opts.TestGetCurtinKernelCmdlineSepTest.test_get_curtin_kernel_cmdline_sep_returns_default ... ok #2438 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_extra_opts ... ok #2439 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_purpose_opts ... ok #2440 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_handles_extra_opts_None ... ok #2441 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_arch_opts_copes_with_unknown_subarch ... ok #2442 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_arm_specific_option ... ok #2443 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_common_opts ... ok #2444 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_purpose_opts_comm_node ... ok #2445 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_purpose_opts_xinstall_node ... ok #2446 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_includes_preseed_url ... ok #2447 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_not_inc_arm_specific_option ... ok #2448 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_preseed_kernel_opt_returns_kernel_option ... ok #2449 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_enlist_compose_kernel_command_line_inc_purpose_opts ... ok #2450 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_inc_purpose_opts ... ok #2451 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_di_settings ... ok #2452 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_locale ... ok #2453 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_log_settings ... ok #2454 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_name_domain ... ok #2455 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_omits_domain_if_omitted ... ok #2456 provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_xinstall_compose_kernel_command_line_inc_purpose_opts ... ok #2457 provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_get_last_directory ... ok #2458 provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_kernel_parameters_callable ... ok #2459 provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_prefix_target_name_adds_prefix ... ok #2460 provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_prefix_target_name_produces_exactly_one_separating_colon ... ok #2461 provisioningserver.tests.test_monkey.TestAddTermErrorCodeToTFT.test_adds_error_code_8 ... ok #2462 provisioningserver.tests.test_monkey.TestAddTermErrorCodeToTFT.test_skips_adding_error_code_if_already_present ... ok #2463 provisioningserver.tests.test_path.TestGetPathFunctions.test__appends_path_elements (get_path) ... ok #2463 provisioningserver.tests.test_path.TestGetPathFunctions.test__appends_path_elements (get_tentative_path) ... ok #2464 provisioningserver.tests.test_path.TestGetPathFunctions.test__assumes_MAAS_ROOT_is_unset_if_empty (get_path) ... ok #2464 provisioningserver.tests.test_path.TestGetPathFunctions.test__assumes_MAAS_ROOT_is_unset_if_empty (get_tentative_path) ... ok #2465 provisioningserver.tests.test_path.TestGetPathFunctions.test__concatenates_despite_leading_slash (get_path) ... ok #2465 provisioningserver.tests.test_path.TestGetPathFunctions.test__concatenates_despite_leading_slash (get_tentative_path) ... ok #2466 provisioningserver.tests.test_path.TestGetPathFunctions.test__defaults_to_root (get_path) ... ok #2466 provisioningserver.tests.test_path.TestGetPathFunctions.test__defaults_to_root (get_tentative_path) ... ok #2467 provisioningserver.tests.test_path.TestGetPathFunctions.test__maybe_creates_dirpath_if_not_exists (get_path) ... ok #2467 provisioningserver.tests.test_path.TestGetPathFunctions.test__maybe_creates_dirpath_if_not_exists (get_tentative_path) ... ok #2468 provisioningserver.tests.test_path.TestGetPathFunctions.test__normalises (get_path) ... ok #2468 provisioningserver.tests.test_path.TestGetPathFunctions.test__normalises (get_tentative_path) ... ok #2469 provisioningserver.tests.test_path.TestGetPathFunctions.test__obeys_MAAS_ROOT_variable (get_path) ... ok #2469 provisioningserver.tests.test_path.TestGetPathFunctions.test__obeys_MAAS_ROOT_variable (get_tentative_path) ... ok #2470 provisioningserver.tests.test_path.TestGetPathFunctions.test__returns_absolute_path (get_path) ... ok #2470 provisioningserver.tests.test_path.TestGetPathFunctions.test__returns_absolute_path (get_tentative_path) ... ok #2471 provisioningserver.tests.test_plugin.TestOptions.test_defaults ... ok #2472 provisioningserver.tests.test_plugin.TestOptions.test_parse_minimal_options ... ok #2473 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_dhcp_probe_service ... ok #2474 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_image_download_service ... ok #2475 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_image_service ... ok #2476 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_init ... ok #2477 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_lease_socket_service ... ok #2478 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_makeService ... ok #2479 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_makeService_patches_tftp_service ... ok #2480 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_networks_monitor_service ... ok #2481 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_node_monitor_service ... ok #2482 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_service_monitor_service ... ok #2483 provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_tftp_service ... ok #2484 provisioningserver.tests.test_register_command.TestAddArguments.test_accepts_all_args ... ok #2485 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test____sets_url ... ok #2486 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test___prompts_user_for_url ... ok #2487 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test___sets_secret ... ok #2488 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__crashes_on_eoferror ... ok #2489 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__crashes_on_keyboardinterrupt ... ok #2490 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__deletes_maas_id_file ... ok #2491 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__errors_out_when_piped_stdin_and_url_not_supplied ... ok #2492 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__prompts_user_for_secret ... ok #2493 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__restarts_maas_rackd_service ... ok #2494 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_enable_error ... ok #2495 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_start_error ... ok #2496 provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_stop_error ... ok #2497 provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__exits_non_zero_if_secret_does_not_exist ... ok #2498 provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__exits_zero_if_secret_exists ... ok #2499 provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__has_add_arguments ... ok #2500 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__deals_fine_with_whitespace_in_filesystem_value ... ok #2501 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__errors_reading_file_are_raised ... ok #2502 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__errors_when_filesystem_value_cannot_be_decoded ... ok #2503 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__reads_with_lock ... ok #2504 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__returns_None_when_no_secret_exists ... ok #2505 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__returns_secret_when_one_exists ... ok #2506 provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__same_secret_is_returned_on_subsequent_calls ... ok #2507 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__deals_gracefully_with_eof_from_tty ... ok #2508 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__deals_gracefully_with_interrupt_from_tty ... ok #2509 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__has_add_arguments ... ok #2510 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__ignores_surrounding_whitespace_from_stdin ... ok #2511 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__ignores_surrounding_whitespace_from_tty ... ok #2512 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__prints_error_message_when_secret_cannot_be_decoded ... ok #2513 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__prints_message_when_secret_is_installed ... ok #2514 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__reads_secret_from_stdin ... ok #2515 provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__reads_secret_from_tty ... ok #2516 provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_secret ... ok #2517 provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_with_lock ... ok #2518 provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_with_secure_permissions ... ok #2519 provisioningserver.tests.test_service_monitor.TestDHCPService.test_expected_state_starts_off ... ok #2520 provisioningserver.tests.test_service_monitor.TestDHCPService.test_getExpectedState_returns_from_expected_state ... ok #2521 provisioningserver.tests.test_service_monitor.TestDHCPService.test_is_on_returns_False_when_expected_state_off ... ok #2522 provisioningserver.tests.test_service_monitor.TestDHCPService.test_is_on_returns_True_when_expected_state_on ... ok #2523 provisioningserver.tests.test_service_monitor.TestDHCPService.test_off_sets_expected_state_to_off ... ok #2524 provisioningserver.tests.test_service_monitor.TestDHCPService.test_on_sets_expected_state_to_on ... ok #2525 provisioningserver.tests.test_service_monitor.TestDHCPv4Service.test_name ... ok #2526 provisioningserver.tests.test_service_monitor.TestDHCPv4Service.test_service_name ... ok #2527 provisioningserver.tests.test_service_monitor.TestDHCPv6Service.test_name ... ok #2528 provisioningserver.tests.test_service_monitor.TestDHCPv6Service.test_service_name ... ok #2529 provisioningserver.tests.test_service_monitor.TestGlobalServiceMonitor.test__includes_all_services ... ok #2530 provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack.test_name_and_service_name ... ok #2531 provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState (rack) ... ok #2531 provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState (region) ... ok provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState (region+rack) ... ok provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState (machine) ... ok #2532 provisioningserver.tests.test_service_monitor.TestTGTService.test_getExpectedState ... ok #2533 provisioningserver.tests.test_service_monitor.TestTGTService.test_service_name ... ok #2534 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_all_args_dumps_all_functions (without_exception_mock) ... ok #2534 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_all_args_dumps_all_functions (with_exception_mock) ... ok #2535 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_config_arg_dumps_expected_functions (without_exception_mock) ... ok #2535 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_config_arg_dumps_expected_functions (with_exception_mock) ... ok #2536 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_config_args_dumps_expected_functions (without_exception_mock) ... ok #2536 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_config_args_dumps_expected_functions (with_exception_mock) ... ok #2537 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_networking_args_dumps_expected_functions (without_exception_mock) ... ok #2537 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_networking_args_dumps_expected_functions (with_exception_mock) ... ok #2538 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_arg_dumps_expected_functions (without_exception_mock) ... ok #2538 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_arg_dumps_expected_functions (with_exception_mock) ... ok #2539 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_preserves_args (without_exception_mock) ... ok #2539 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_preserves_args (with_exception_mock) ... ok #2540 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_config_args_dumps_expected_functions (without_exception_mock) ... ok #2540 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_config_args_dumps_expected_functions (with_exception_mock) ... ok #2541 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_images_args_dumps_expected_functions (without_exception_mock) ... ok #2541 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_images_args_dumps_expected_functions (with_exception_mock) ... ok #2542 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_arg_dumps_expected (without_exception_mock) ... ok #2542 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_arg_dumps_expected (with_exception_mock) ... ok #2543 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_no_args_dumps_everything (without_exception_mock) ... ok #2543 provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_no_args_dumps_everything (with_exception_mock) ... ok #2544 provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_more_things ... ok #2545 provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_no_things ... ok #2546 provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_one_thing ... ok #2547 provisioningserver.tests.test_tags.TestGenBatchSlices.test_batches_by_brute_force ... ok #2548 provisioningserver.tests.test_tags.TestGenBatchSlices.test_more_things ... ok #2549 provisioningserver.tests.test_tags.TestGenBatchSlices.test_no_things ... ok #2550 provisioningserver.tests.test_tags.TestGenBatchSlices.test_one_thing ... ok #2551 provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_more_things ... ok #2552 provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_no_things ... ok #2553 provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_one_thing ... ok #2554 provisioningserver.tests.test_tags.TestGenBatches.test_brute ... ok #2555 provisioningserver.tests.test_tags.TestGenBatches.test_more_things ... ok #2556 provisioningserver.tests.test_tags.TestGenBatches.test_no_things ... ok #2557 provisioningserver.tests.test_tags.TestGenBatches.test_one_thing ... ok #2558 provisioningserver.tests.test_tags.TestGenNodeDetails.test__generates_node_details ... ok #2559 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_all_invalid_details ... ok #2560 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_lshw_details ... ok #2561 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_lshw_details_and_others_valid ... ok #2562 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_other_details ... ok #2563 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_multiple_details ... ok #2564 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_no_details ... ok #2565 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_only_lldp_details ... ok #2566 provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_only_lshw_details ... ok #2567 provisioningserver.tests.test_tags.TestMergeDetails.test_merges_into_new_tree ... ok #2568 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_all_invalid_details ... ok #2569 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_lshw_details ... ok #2570 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_lshw_details_and_others_valid ... ok #2571 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_other_details ... ok #2572 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_multiple_details ... ok #2573 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_no_details ... ok #2574 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_only_lldp_details ... ok #2575 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_only_lshw_details ... ok #2576 provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merges_into_new_tree ... ok #2577 provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_BSON_content ... ok #2578 provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_JSON_content ... ok #2579 provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_other_content ... ok #2580 provisioningserver.tests.test_tags.TestProcessResponse.test_process_not_OK_response ... ok #2581 provisioningserver.tests.test_tags.TestTagUpdating.test_classify_evaluates_xpath ... ok #2582 provisioningserver.tests.test_tags.TestTagUpdating.test_get_details_calls_correct_api_and_parses_result ... ok #2583 provisioningserver.tests.test_tags.TestTagUpdating.test_post_updated_nodes_calls_correct_api_and_parses_result ... ok #2584 provisioningserver.tests.test_tags.TestTagUpdating.test_post_updated_nodes_handles_conflict ... ok #2585 provisioningserver.tests.test_tags.TestTagUpdating.test_process_node_tags_integration ... ok #2586 provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__creates_directory ... ok #2587 provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__does_not_set_ownership_if_not_running_as_root ... ok #2588 provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__sets_ownership_to_maas_if_running_as_root ... ok #2589 provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__succeeds_if_directory_exists ... ok #2590 provisioningserver.tests.test_upgrade_cluster.TestMakeMAASOwnBootResources.test__calls_chown_if_boot_resources_dir_exists ... ok #2591 provisioningserver.tests.test_upgrade_cluster.TestMakeMAASOwnBootResources.test__skips_chown_if_boot_resources_dir_does_not_exist ... ok #2592 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__calls_update_targets_conf_with_current_dir ... ok #2593 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__calls_write_targets_conf_with_current_dir ... ok #2594 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_create_ubuntu_dir_when_no_valid_directories ... ok #2595 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_move_paths_with_fewer_levels_into_ubuntu_dir ... ok #2596 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_move_paths_with_more_levels_into_ubuntu_dir ... ok #2597 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_boot_resources_dir_does_not_exist ... ok #2598 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_current_dir_does_not_exist ... ok #2599 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_ubuntu_dir_exist ... ok #2600 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__list_subdirs_under_current_directory ... ok #2601 provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__moves_paths_with_correct_levels_into_ubuntu_dir ... ok #2602 provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__does_nothing_if_file_not_present ... ok #2603 provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__is_idempotent ... ok #2604 provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__prefixes_header_to_file_if_present ... ok #2605 provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__survives_encoding_problems ... ok #2606 provisioningserver.tests.test_upgrade_cluster.TestUpgradeCluster.test_calls_hooks ... ok #2607 provisioningserver.tests.test_upgrade_cluster.TestUpgradeCluster.test_calls_hooks_in_order ... ok ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:20:56+0000 [-] RegionFactory starting on '/tmp/tmpd9m49bp7/1' 2016-09-30 17:20:56+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpd9m49bp7/1')) 2016-09-30 17:20:56+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#31 connection established (HOST:UNIXAddress('/tmp/tmpd9m49bp7/1') PEER:UNIXAddress(None)) 2016-09-30 17:20:56+0000 [ClusterClient,client] Event-loop 'eventloop-7VM8JS' authenticated. 2016-09-30 17:20:56+0000 [ClusterClient,client] Rack controller 'maas-id-KmKbFo' registered (via eventloop-7VM8JS). 2016-09-30 17:20:56+0000 [-] (UNIX Port /tmp/tmpd9m49bp7/1 Closed) 2016-09-30 17:20:56+0000 [AMPTestProtocol#31,0,b''] AMPTestProtocol#31 connection lost (HOST:UNIXAddress('/tmp/tmpd9m49bp7/1') PEER:UNIXAddress(None)) 2016-09-30 17:20:56+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpd9m49bp7/1')) 2016-09-30 17:20:56+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.rack.xml ---------------------------------------------------------------------- Ran 2877 tests in 50.597s FAILED (SKIP=30, failures=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:21:27+0000 [-] RegionFactory starting on '/tmp/tmpndga22is/1' 2016-09-30 17:21:27+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpndga22is/1')) 2016-09-30 17:21:27+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#1 connection established (HOST:UNIXAddress('/tmp/tmpndga22is/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:27+0000 [ClusterClient,client] Event-loop 'eventloop-90xaXY' authenticated. 2016-09-30 17:21:27+0000 [ClusterClient,client] Rack controller 'maas-id-VVtCsr' registered (via eventloop-90xaXY). 2016-09-30 17:21:27+0000 [-] (UNIX Port /tmp/tmpndga22is/1 Closed) 2016-09-30 17:21:27+0000 [AMPTestProtocol#1,0,b''] AMPTestProtocol#1 connection lost (HOST:UNIXAddress('/tmp/tmpndga22is/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:27+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpndga22is/1')) 2016-09-30 17:21:27+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.rack.xml ---------------------------------------------------------------------- Ran 1 test in 0.147s FAILED (failures=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:21:29+0000 [-] RegionFactory starting on '/tmp/tmpplt58eb9/1' 2016-09-30 17:21:29+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpplt58eb9/1')) 2016-09-30 17:21:29+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#1 connection established (HOST:UNIXAddress('/tmp/tmpplt58eb9/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:29+0000 [ClusterClient,client] Event-loop 'eventloop-i3MmxM' authenticated. 2016-09-30 17:21:29+0000 [ClusterClient,client] Rack controller 'maas-id-ZCzHF6' registered (via eventloop-i3MmxM). 2016-09-30 17:21:29+0000 [-] (UNIX Port /tmp/tmpplt58eb9/1 Closed) 2016-09-30 17:21:29+0000 [AMPTestProtocol#1,0,b''] AMPTestProtocol#1 connection lost (HOST:UNIXAddress('/tmp/tmpplt58eb9/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:29+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpplt58eb9/1')) 2016-09-30 17:21:29+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.config.xml ---------------------------------------------------------------------- Ran 1 test in 0.147s FAILED (failures=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:21:30+0000 [-] RegionFactory starting on '/tmp/tmphz387jt9/1' 2016-09-30 17:21:30+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmphz387jt9/1')) 2016-09-30 17:21:30+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#1 connection established (HOST:UNIXAddress('/tmp/tmphz387jt9/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:30+0000 [ClusterClient,client] Event-loop 'eventloop-7pAsAJ' authenticated. 2016-09-30 17:21:30+0000 [ClusterClient,client] Rack controller 'maas-id-p1X0mm' registered (via eventloop-7pAsAJ). 2016-09-30 17:21:30+0000 [-] (UNIX Port /tmp/tmphz387jt9/1 Closed) 2016-09-30 17:21:30+0000 [AMPTestProtocol#1,0,b''] AMPTestProtocol#1 connection lost (HOST:UNIXAddress('/tmp/tmphz387jt9/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:30+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmphz387jt9/1')) 2016-09-30 17:21:30+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.config.xml ---------------------------------------------------------------------- Ran 1 test in 0.131s FAILED (failures=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... ERROR ====================================================================== ERROR: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.3.1-py3.5.egg/nose/case.py", line 134, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.3.1-py3.5.egg/nose/case.py", line 152, in runTest test(result) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 246, in __call__ super(MAASTestCase, self).__call__(result) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 53, in active_test yield File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 246, in __call__ super(MAASTestCase, self).__call__(result) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/scenarios.py", line 34, in __call__ super(WithScenarios, self).__call__(result) File "/home/ubuntu/.buildout/eggs/unittest2-1.1.0-py3.5.egg/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 242, in run super(MAASTestCase, self).run(result) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 53, in active_test yield File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 242, in run super(MAASTestCase, self).run(result) File "/home/ubuntu/.buildout/eggs/testscenarios-0.4-py3.5.egg/testscenarios/testcase.py", line 65, in run return super(WithScenarios, self).run(result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 666, in run return run_test.run(result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 80, in run return self._run_one(actual_result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 94, in _run_one return self._run_prepared_result(ExtendedToOriginalDecorator(result)) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 108, in _run_prepared_result self._run_core() File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_runtest.py", line 433, in _run_core spinner) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_runtest.py", line 394, in _blocking_run_deferred spinner.run, self._timeout, self._run_deferred) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 77, in trap_unhandled_errors result = function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 49, in decorated return function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 295, in run self._reactor.run() File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1193, in run self.startRunning(installSignalHandlers=installSignalHandlers) File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1173, in startRunning ReactorBase.startRunning(self) File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 682, in startRunning raise error.ReactorAlreadyRunning() twisted.internet.error.ReactorAlreadyRunning ---------------------------------------------------------------------- XML: xunit.test.region.xml ---------------------------------------------------------------------- Ran 1 test in 0.230s FAILED (errors=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... ERROR ====================================================================== ERROR: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.3.1-py3.5.egg/nose/case.py", line 134, in run self.runTest(result) File "/home/ubuntu/.buildout/eggs/nose-1.3.1-py3.5.egg/nose/case.py", line 152, in runTest test(result) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 246, in __call__ super(MAASTestCase, self).__call__(result) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 53, in active_test yield File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 246, in __call__ super(MAASTestCase, self).__call__(result) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/scenarios.py", line 34, in __call__ super(WithScenarios, self).__call__(result) File "/home/ubuntu/.buildout/eggs/unittest2-1.1.0-py3.5.egg/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 242, in run super(MAASTestCase, self).run(result) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 53, in active_test yield File "/tmp/tarmac/branch.bxVdOG/src/maastesting/testcase.py", line 242, in run super(MAASTestCase, self).run(result) File "/home/ubuntu/.buildout/eggs/testscenarios-0.4-py3.5.egg/testscenarios/testcase.py", line 65, in run return super(WithScenarios, self).run(result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 666, in run return run_test.run(result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 80, in run return self._run_one(actual_result) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 94, in _run_one return self._run_prepared_result(ExtendedToOriginalDecorator(result)) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/runtest.py", line 108, in _run_prepared_result self._run_core() File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_runtest.py", line 433, in _run_core spinner) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_runtest.py", line 394, in _blocking_run_deferred spinner.run, self._timeout, self._run_deferred) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 77, in trap_unhandled_errors result = function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 49, in decorated return function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/twistedsupport/_spinner.py", line 295, in run self._reactor.run() File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1193, in run self.startRunning(installSignalHandlers=installSignalHandlers) File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1173, in startRunning ReactorBase.startRunning(self) File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 682, in startRunning raise error.ReactorAlreadyRunning() twisted.internet.error.ReactorAlreadyRunning ---------------------------------------------------------------------- XML: xunit.test.region.xml ---------------------------------------------------------------------- Ran 1 test in 0.201s FAILED (errors=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:21:50+0000 [-] RegionFactory starting on '/tmp/tmpgxo3n_l8/1' 2016-09-30 17:21:50+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpgxo3n_l8/1')) 2016-09-30 17:21:50+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#1 connection established (HOST:UNIXAddress('/tmp/tmpgxo3n_l8/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:50+0000 [ClusterClient,client] Event-loop 'eventloop-9mwru7' authenticated. 2016-09-30 17:21:50+0000 [ClusterClient,client] Rack controller 'maas-id-XiNeyd' registered (via eventloop-9mwru7). 2016-09-30 17:21:50+0000 [-] (UNIX Port /tmp/tmpgxo3n_l8/1 Closed) 2016-09-30 17:21:50+0000 [AMPTestProtocol#1,0,b''] AMPTestProtocol#1 connection lost (HOST:UNIXAddress('/tmp/tmpgxo3n_l8/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:50+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpgxo3n_l8/1')) 2016-09-30 17:21:50+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.testing.xml ---------------------------------------------------------------------- Ran 1 test in 0.162s FAILED (failures=1) #1114 provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ... FAIL ====================================================================== FAIL: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server ---------------------------------------------------------------------- testtools.testresult.real._StringException: twisted-log: {{{ 2016-09-30 17:21:51+0000 [-] RegionFactory starting on '/tmp/tmpwu2i56jp/1' 2016-09-30 17:21:51+0000 [-] ClusterClient connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpwu2i56jp/1')) 2016-09-30 17:21:51+0000 [provisioningserver.rpc.testing.RegionFactory] AMPTestProtocol#1 connection established (HOST:UNIXAddress('/tmp/tmpwu2i56jp/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:51+0000 [ClusterClient,client] Event-loop 'eventloop-2baJuf' authenticated. 2016-09-30 17:21:51+0000 [ClusterClient,client] Rack controller 'maas-id-AHX9AW' registered (via eventloop-2baJuf). 2016-09-30 17:21:51+0000 [-] (UNIX Port /tmp/tmpwu2i56jp/1 Closed) 2016-09-30 17:21:51+0000 [AMPTestProtocol#1,0,b''] AMPTestProtocol#1 connection lost (HOST:UNIXAddress('/tmp/tmpwu2i56jp/1') PEER:UNIXAddress(None)) 2016-09-30 17:21:51+0000 [ClusterClient,client] ClusterClient connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress('/tmp/tmpwu2i56jp/1')) 2016-09-30 17:21:51+0000 [-] Main loop terminated. }}} Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/tmp/tarmac/branch.bxVdOG/src/provisioningserver/rackdservices/tests/test_ntp.py", line 124, in test__tryUpdate_updates_ntp_server self.assertThat(restartService, MockCalledOnceWith("ntp")) File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected call: mock('ntp') Actual call: mock('ntp_rack') ---------------------------------------------------------------------- XML: xunit.test.testing.xml ---------------------------------------------------------------------- Ran 1 test in 0.122s FAILED (failures=1) make: *** [test-failed] Error 1