The attempt to merge lp:~mpontillo/maas/iprange-notifications--bug-1393936 into lp:maas failed. Below is the output from the failed tests. Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Hit:2 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial InRelease Get:3 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:4 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Get:5 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-updates/main Sources [241 kB] Get:6 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [512 kB] Get:7 http://prodstack-zone-2.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [457 kB] Fetched 1,517 kB in 0s (2,579 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 libnss-wrapper libpq-dev make nodejs-legacy npm postgresql psmisc 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... 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). 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). psmisc is already the newest version (22.21-2.1build1). 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). libnss-wrapper is already the newest version (1.1.2-1). 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). socat is already the newest version (1.7.3.1-1). apache2 is already the newest version (2.4.18-2ubuntu3.1). archdetect-deb is already the newest version (1.117ubuntu2.1). bash is already the newest version (4.3-14ubuntu1.1). bind9 is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.6). bind9utils is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.6). bzr is already the newest version (2.7.0-2ubuntu3). curl is already the newest version (7.47.0-1ubuntu2.2). dnsutils is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.6). firefox is already the newest version (52.0.2+build1-0ubuntu0.16.04.1). freeipmi-tools is already the newest version (1.4.11-1.1ubuntu3~0.16.04). isc-dhcp-common is already the newest version (4.3.3-5ubuntu12.6). isc-dhcp-server is already the newest version (4.3.3-5ubuntu12.6). libpq-dev is already the newest version (9.5.6-0ubuntu0.16.04). python-django is already the newest version (1.8.7-1ubuntu5.5). python3-curtin is already the newest version (0.1.0~bzr470-0ubuntu1~16.04.1). python3-django is already the newest version (1.8.7-1ubuntu5.5). 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.2). tgt is already the newest version (1:1.0.63-1ubuntu1.1). wget is already the newest version (1.17.1-1ubuntu1.2). chromium-browser is already the newest version (57.0.2987.98-0ubuntu0.16.04.1276). chromium-chromedriver is already the newest version (57.0.2987.98-0ubuntu0.16.04.1276). dh-apport is already the newest version (2.20.1-0ubuntu2.5). dh-systemd is already the newest version (1.29ubuntu4). nodejs-legacy is already the newest version (4.2.6~dfsg-1ubuntu4.1). python3-novaclient is already the newest version (2:3.3.1-2ubuntu1). xvfb is already the newest version (2:1.18.4-0ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-70 linux-headers-4.4.0-70-generic linux-image-4.4.0-70-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ purge python3-testresources python3-testscenarios python3-testtools Reading package lists... Building dependency tree... Reading state information... Package 'python3-testtools' is not installed, so not removed Package 'python3-testresources' is not installed, so not removed Package 'python3-testscenarios' is not installed, so not removed The following packages were automatically installed and are no longer required: linux-headers-4.4.0-70 linux-headers-4.4.0-70-generic linux-image-4.4.0-70-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. 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 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 .coverage.* 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 -r .run .run-e2e rm -f xunit.*.xml rm -f .failed 'run-skel' -> '.run' 'run-skel/etc' -> '.run/etc' 'run-skel/etc/maas' -> '.run/etc/maas' 'run-skel/etc/maas/drivers.yaml' -> '.run/etc/maas/drivers.yaml' 'run-skel/etc/maas/templates' -> '.run/etc/maas/templates' 'run-skel/etc/ntp' -> '.run/etc/ntp' 'run-skel/etc/ntp/.keep' -> '.run/etc/ntp/.keep' 'run-skel/etc/ntp.conf' -> '.run/etc/ntp.conf' 'run-skel' -> '.run-e2e' 'run-skel/etc' -> '.run-e2e/etc' 'run-skel/etc/maas' -> '.run-e2e/etc/maas' 'run-skel/etc/maas/drivers.yaml' -> '.run-e2e/etc/maas/drivers.yaml' 'run-skel/etc/maas/templates' -> '.run-e2e/etc/maas/templates' 'run-skel/etc/ntp' -> '.run-e2e/etc/ntp' 'run-skel/etc/ntp/.keep' -> '.run-e2e/etc/ntp/.keep' 'run-skel/etc/ntp.conf' -> '.run-e2e/etc/ntp.conf' python3.5 bootstrap-buildout.py --allow-site-packages Creating directory '/tmp/tarmac/branch.sjD8b6/bin'. Creating directory '/tmp/tarmac/branch.sjD8b6/parts'. Creating directory '/tmp/tarmac/branch.sjD8b6/develop-eggs'. Generated script '/tmp/tarmac/branch.sjD8b6/bin/buildout'. bin/buildout install database Installing database. Generated script '/tmp/tarmac/branch.sjD8b6/bin/database'. bin/buildout install cli Installing cli. Generated script '/tmp/tarmac/branch.sjD8b6/bin/maas'. bin/buildout install rack Installing rack. Generated script '/tmp/tarmac/branch.sjD8b6/bin/maas-rack'. Generated script '/tmp/tarmac/branch.sjD8b6/bin/twistd.rack'. bin/buildout install repl Installing repl. Generated script '/tmp/tarmac/branch.sjD8b6/bin/ipy'. Generated interpreter '/tmp/tarmac/branch.sjD8b6/bin/py'. bin/py -m maasserver.utils.jsenums src/maasserver/enum.py src/metadataserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install region Installing region. Generated script '/tmp/tarmac/branch.sjD8b6/bin/maas-region'. Generated script '/tmp/tarmac/branch.sjD8b6/bin/twistd.region'. bin/buildout install cli-test Installing cli-test. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.cli'. bin/buildout install rack-test Installing rack-test. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.rack'. bin/buildout install region-test Installing region-test. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.region'. bin/buildout install region-test-legacy Installing region-test-legacy. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.region.legacy'. bin/buildout install flake8 Installing flake8. Generated script '/tmp/tarmac/branch.sjD8b6/bin/flake8'. 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.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > spawn-sync@1.0.15 postinstall /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/spawn-sync > node postinstall > node-sass@3.4.2 postinstall /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.sjD8b6/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.1.1 │ ├── strip-ansi@3.0.1 │ └── supports-color@2.0.0 ├─┬ cross-spawn@2.2.3 │ ├─┬ cross-spawn-async@2.2.5 │ │ └─┬ lru-cache@4.0.2 │ │ ├── pseudomap@1.0.2 │ │ └── yallist@2.1.2 │ └─┬ spawn-sync@1.0.15 │ ├─┬ concat-stream@1.6.0 │ │ ├─┬ readable-stream@2.2.9 │ │ │ ├── buffer-shims@1.0.0 │ │ │ ├── core-util-is@1.0.2 │ │ │ ├── isarray@1.0.0 │ │ │ ├── process-nextick-args@1.0.7 │ │ │ ├── string_decoder@1.0.0 │ │ │ └── util-deprecate@1.0.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.6 │ │ └── wrappy@1.0.2 │ ├── inherits@2.0.3 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.7 │ │ ├── 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.2 │ ├── map-obj@1.0.1 │ ├── minimist@1.2.0 │ ├─┬ normalize-package-data@2.3.6 │ │ ├── hosted-git-info@2.4.2 │ │ ├─┬ 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.4 │ ├── object-assign@4.1.1 │ ├─┬ read-pkg-up@1.0.1 │ │ ├─┬ find-up@1.1.2 │ │ │ ├── path-exists@2.1.0 │ │ │ └─┬ pinkie-promise@2.0.1 │ │ │ └── pinkie@2.0.4 │ │ └─┬ read-pkg@1.1.0 │ │ ├─┬ load-json-file@1.1.0 │ │ │ ├── graceful-fs@4.1.11 │ │ │ ├─┬ parse-json@2.2.0 │ │ │ │ └─┬ error-ex@1.3.1 │ │ │ │ └── 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.11 │ ├─┬ 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.6.2 ├─┬ node-gyp@3.6.0 │ ├─┬ fstream@1.0.11 │ │ └── graceful-fs@4.1.11 │ ├─┬ glob@7.1.1 │ │ └── fs.realpath@1.0.0 │ ├── graceful-fs@4.1.11 │ ├── minimatch@3.0.3 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.1.0 │ ├─┬ npmlog@4.0.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ └── delegates@1.0.0 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.7.3 │ │ │ ├── aproba@1.1.1 │ │ │ ├── has-unicode@2.0.1 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ ├─┬ osenv@0.1.4 │ │ ├── os-homedir@1.0.2 │ │ └── os-tmpdir@1.0.2 │ ├─┬ rimraf@2.6.1 │ │ └─┬ glob@7.1.1 │ │ └── minimatch@3.0.3 │ ├── semver@5.3.0 │ ├─┬ tar@2.2.1 │ │ └── block-stream@0.0.9 │ └─┬ which@1.2.14 │ └── isexe@2.0.0 ├─┬ npmconf@2.1.2 │ ├─┬ config-chain@1.1.11 │ │ └── proto-list@1.2.4 │ ├── ini@1.3.4 │ ├── once@1.3.3 │ ├── semver@4.3.6 │ └── uid-number@0.0.5 ├─┬ request@2.81.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.6.0 │ ├── caseless@0.12.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.4 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@4.2.1 │ │ ├─┬ ajv@4.11.7 │ │ │ ├── co@4.6.0 │ │ │ └─┬ json-stable-stringify@1.0.1 │ │ │ └── jsonify@0.0.0 │ │ └── har-schema@1.0.5 │ ├─┬ 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.4.0 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.13.0 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.1 │ │ ├─┬ dashdash@1.14.1 │ │ │ └── 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.1 │ │ └── tweetnacl@0.14.5 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.15 │ │ └── mime-db@1.27.0 │ ├── oauth-sign@0.8.2 │ ├── performance-now@0.2.0 │ ├── qs@6.4.0 │ ├── safe-buffer@5.0.1 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.6.0 │ └── uuid@3.0.1 └─┬ sass-graph@2.1.2 ├─┬ glob@7.1.1 │ └── minimatch@3.0.3 ├── lodash@4.17.4 └─┬ yargs@4.8.1 ├─┬ cliui@3.2.0 │ └── wrap-ansi@2.1.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.1.0 │ └─┬ is-fullwidth-code-point@1.0.0 │ └── number-is-nan@1.0.1 ├── 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 maas-gui-vanilla-theme@1.2.7 > node-sass@3.4.2 install /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > node-sass@3.4.2 postinstall /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.sjD8b6/include/nodejs ├─┬ maas-gui-vanilla-theme@1.2.7 │ └─┬ cloud-vanilla-theme@0.0.22 │ └── vanilla-framework@0.0.71 └── node-sass@3.4.2 bin/buildout install testing-test Installing testing-test. Generated script '/tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > phantomjs@2.1.7 install /tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1492452401338/phantomjs-2.1.1-linux-x86_64 -> /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom/bin/phantomjs > node-sass@3.4.2 postinstall /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.sjD8b6/include/nodejs ├── jasmine-core@2.4.1 ├─┬ karma@0.13.19 │ ├── batch@0.5.3 │ ├── bluebird@2.11.0 │ ├─┬ body-parser@1.17.1 │ │ ├── bytes@2.4.0 │ │ ├── content-type@1.0.2 │ │ ├─┬ debug@2.6.1 │ │ │ └── ms@0.7.2 │ │ ├── depd@1.1.0 │ │ ├─┬ http-errors@1.6.1 │ │ │ ├── setprototypeof@1.0.3 │ │ │ └── statuses@1.3.1 │ │ ├── iconv-lite@0.4.15 │ │ ├─┬ on-finished@2.3.0 │ │ │ └── ee-first@1.1.1 │ │ ├─┬ raw-body@2.2.0 │ │ │ └── unpipe@1.0.0 │ │ └─┬ type-is@1.6.15 │ │ └── media-typer@0.3.0 │ ├─┬ chokidar@1.6.1 │ │ ├─┬ anymatch@1.3.0 │ │ │ ├── arrify@1.0.1 │ │ │ └─┬ micromatch@2.3.11 │ │ │ ├─┬ arr-diff@2.0.0 │ │ │ │ └── arr-flatten@1.0.3 │ │ │ ├─┬ 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.6 │ │ │ │ │ └── repeat-string@1.6.1 │ │ │ │ ├── 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.1.0 │ │ │ │ └── is-buffer@1.1.5 │ │ │ ├─┬ normalize-path@2.1.1 │ │ │ │ └── remove-trailing-separator@1.0.1 │ │ │ ├─┬ object.omit@2.0.1 │ │ │ │ ├─┬ for-own@0.1.5 │ │ │ │ │ └── for-in@1.0.2 │ │ │ │ └── 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.8.0 │ │ ├─┬ is-glob@2.0.1 │ │ │ └── is-extglob@1.0.0 │ │ └─┬ readdirp@2.1.0 │ │ ├── graceful-fs@4.1.11 │ │ ├── minimatch@3.0.3 │ │ └── set-immediate-shim@1.0.1 │ ├── colors@1.1.2 │ ├─┬ connect@3.6.0 │ │ ├─┬ finalhandler@1.0.0 │ │ │ ├── encodeurl@1.0.1 │ │ │ └── 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.1 │ │ ├── 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.11 │ ├─┬ http-proxy@1.16.2 │ │ ├── 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 │ │ │ └── string_decoder@0.10.31 │ │ └── 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.6.1 │ │ └─┬ glob@7.1.1 │ │ └── minimatch@3.0.3 │ ├─┬ socket.io@1.7.3 │ │ ├── debug@2.3.3 │ │ ├─┬ engine.io@1.8.3 │ │ │ ├─┬ accepts@1.3.3 │ │ │ │ └── negotiator@0.6.1 │ │ │ ├── base64id@1.0.0 │ │ │ ├── cookie@0.3.1 │ │ │ ├── debug@2.3.3 │ │ │ ├─┬ engine.io-parser@1.3.2 │ │ │ │ ├── after@0.8.2 │ │ │ │ ├── arraybuffer.slice@0.0.6 │ │ │ │ ├── base64-arraybuffer@0.1.5 │ │ │ │ ├── blob@0.0.4 │ │ │ │ └── wtf-8@1.0.0 │ │ │ └─┬ ws@1.1.2 │ │ │ ├── options@0.0.6 │ │ │ └── ultron@1.0.2 │ │ ├─┬ has-binary@0.1.7 │ │ │ └── isarray@0.0.1 │ │ ├── object-assign@4.1.0 │ │ ├─┬ socket.io-adapter@0.5.0 │ │ │ └── debug@2.3.3 │ │ ├─┬ socket.io-client@1.7.3 │ │ │ ├── backo2@1.0.2 │ │ │ ├── component-bind@1.0.0 │ │ │ ├── component-emitter@1.2.1 │ │ │ ├── debug@2.3.3 │ │ │ ├─┬ engine.io-client@1.8.3 │ │ │ │ ├── component-emitter@1.2.1 │ │ │ │ ├── component-inherit@0.0.3 │ │ │ │ ├── debug@2.3.3 │ │ │ │ ├── has-cors@1.1.0 │ │ │ │ ├── parsejson@0.0.3 │ │ │ │ ├── parseqs@0.0.5 │ │ │ │ ├── xmlhttprequest-ssl@1.5.3 │ │ │ │ └── yeast@0.1.2 │ │ │ ├── indexof@0.0.1 │ │ │ ├── object-component@0.0.3 │ │ │ ├─┬ parseuri@0.0.5 │ │ │ │ └─┬ better-assert@1.0.2 │ │ │ │ └── callsite@1.0.0 │ │ │ └── to-array@0.1.4 │ │ └─┬ socket.io-parser@2.3.1 │ │ ├── component-emitter@1.1.2 │ │ ├─┬ debug@2.2.0 │ │ │ └── ms@0.7.1 │ │ ├── isarray@0.0.1 │ │ └── json3@3.3.2 │ ├── source-map@0.5.6 │ └─┬ useragent@2.1.13 │ ├── lru-cache@2.2.4 │ └── tmp@0.0.31 ├─┬ 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 ├── maas-gui-vanilla-theme@1.2.7 ├─┬ 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.11 │ │ └─┬ path-type@1.1.0 │ │ └── graceful-fs@4.1.11 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ node-gyp@3.6.0 │ │ ├─┬ fstream@1.0.11 │ │ │ └── graceful-fs@4.1.11 │ │ ├── graceful-fs@4.1.11 │ │ └── minimatch@3.0.3 │ ├─┬ npmconf@2.1.2 │ │ └── semver@4.3.6 │ └─┬ sass-graph@2.1.2 │ ├─┬ glob@7.1.1 │ │ └── minimatch@3.0.3 │ └── lodash@4.17.4 └─┬ phantomjs@2.1.7 ├─┬ extract-zip@1.5.0 │ ├─┬ concat-stream@1.5.0 │ │ └─┬ readable-stream@2.0.6 │ │ └── string_decoder@0.10.31 │ ├── 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.11 │ ├─┬ jsonfile@2.4.0 │ │ └── graceful-fs@4.1.11 │ └─┬ klaw@1.3.1 │ └── graceful-fs@4.1.11 ├─┬ 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 │ │ └─┬ readable-stream@2.0.6 │ │ └── string_decoder@0.10.31 │ ├── caseless@0.11.0 │ ├─┬ form-data@1.0.1 │ │ └─┬ async@2.3.0 │ │ └── lodash@4.17.4 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ └─┬ is-my-json-valid@2.16.0 │ │ ├── generate-function@2.0.0 │ │ ├─┬ generate-object-property@1.2.0 │ │ │ └── is-property@1.0.2 │ │ ├── jsonpointer@4.0.1 │ │ └── xtend@4.0.1 │ ├── node-uuid@1.4.8 │ ├── qs@5.2.1 │ ├── tough-cookie@2.2.2 │ └── tunnel-agent@0.4.3 └─┬ request-progress@2.0.1 └── throttleit@1.0.0 bin/buildout install js-test Installing js-test. Generated script '/tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/bufferutil > node-gyp rebuild make[1]: Entering directory '/tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/bufferutil/build' > utf-8-validate@1.2.2 install /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/utf-8-validate > node-gyp rebuild make[1]: Entering directory '/tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/utf-8-validate/build' > node-sass@3.4.2 install /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/install.js Binary downloaded and installed at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node > phantomjs@2.1.7 install /tmp/tarmac/branch.sjD8b6/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.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1492452424351/phantomjs-2.1.1-linux-x86_64 -> /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/phantomjs/lib/phantom/bin/phantomjs > node-sass@3.4.2 postinstall /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass > node scripts/build.js ` /tmp/tarmac/branch.sjD8b6/include/nodejs/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. testing binary. Binary is fine; exiting. /tmp/tarmac/branch.sjD8b6/include/nodejs ├── jasmine-core@2.4.1 ├─┬ karma@0.13.19 │ ├─┬ log4js@0.6.38 │ │ └─┬ readable-stream@1.0.34 │ │ ├── isarray@0.0.1 │ │ └── string_decoder@0.10.31 │ └─┬ socket.io@1.7.3 │ ├─┬ has-binary@0.1.7 │ │ └── isarray@0.0.1 │ └─┬ socket.io-parser@2.3.1 │ └── 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 ├── maas-gui-vanilla-theme@1.2.7 ├─┬ 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 │ ├─┬ extract-zip@1.5.0 │ │ └─┬ concat-stream@1.5.0 │ │ └─┬ readable-stream@2.0.6 │ │ └── string_decoder@0.10.31 │ └─┬ request@2.67.0 │ ├─┬ bl@1.0.3 │ │ └─┬ readable-stream@2.0.6 │ │ └── string_decoder@0.10.31 │ ├── node-uuid@1.4.8 │ └── tunnel-agent@0.4.3 └─┬ 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 │ │ └── string_decoder@0.10.31 │ ├── 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 │ ├── node-uuid@1.4.8 │ ├── qs@3.1.0 │ └── tunnel-agent@0.4.3 ├─┬ 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.2 │ │ └── nan@2.4.0 │ └─┬ 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.1 bin/buildout install e2e-test Installing e2e-test. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.e2e'. bin/buildout install parallel-test Installing parallel-test. Generated script '/tmp/tarmac/branch.sjD8b6/bin/test.parallel'. 17186 imported names were ALLOWED. 0 imported names were DENIED. bin/buildout install coverage Installing coverage. Generated script '/tmp/tarmac/branch.sjD8b6/bin/coverage'. Tests running... SUCCESS: apiclient.tests.test_encode_json.TestEncodeJSONData.test_encode_dict (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_signs_request (0.01s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_list_params (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_prepare_initial_payload_raises_CommandError_missing_content (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_put_upload_sends_content_type_and_length_headers (0.01s) SUCCESS: maascli.tests.test_api.TestAction.test_name_value_pair_does_not_strip_whitespace (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_fetch_api_description (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(read-without-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(create-with-data-without-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(read-with-data-with-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_try_getpass (0.01s) SUCCESS: maascli.tests.test_cli.TestLogin.test_cmd_login_raises_unexpected_error_when_validating_apikey (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_getting_profile (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_open_permissions_as_user_invoking_sudo (0.02s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_open_permissions_new_database (0.03s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_rejects_undersized_tuple (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_get_passes_parameters (0.01s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data (0.01s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_multiple_params (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_no_sets (0.01s) SUCCESS: maascli.tests.test_api.TestAction.test_name_value_pair_demands_two_parts (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_epilog (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_shows_at_least_usage_and_description (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_optional_args_returns_optional_args (0.00s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_lists_arguments (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_Action (0.00s) SUCCESS: maascli.tests.test_api.TestFunctions.test_http_request_raises_error_if_cert_verify_fails (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(create-with-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_obtain_credentials_via_getpass (0.01s) SUCCESS: maascli.tests.test_parser.TestArgumentParser.test_subparsers_property (0.01s) SUCCESS: maascli.tests.test_profile.TestProfile.test_get_profile_raises_if_not_found (0.01s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_converts_string_to_tuple (0.01s) SUCCESS: maascli.tests.test_profile.TestProfile.test_name_default_profile_picks_single_profile (0.00s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_converts_tuple_to_string (0.00s) SUCCESS: maascli.tests.test_profile.TestProfile.test_name_default_profile_returns_None_if_no_profile_found (0.01s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_tuple_to_string_rejects_oversized_tuple (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_safe_name_non_ASCII (0.00s) SUCCESS: apiclient.tests.test_encode_json.TestEncodeJSONData.test_encode_empty_dict (0.01s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(text/foobar) (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_adds_list_parameters_to_url (0.01s) SUCCESS: maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_with_newline (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_get_without_op_gets_simple_resource (0.00s) SUCCESS: maascli.tests.test_utils.TestPrintResponseContent.test__writes_binary_response (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_make_url_joins_root_and_path (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_put_dispatches_to_resource (0.01s) SUCCESS: apiclient.tests.test_utils.TestHelpers.test_ascii_url_leaves_ascii_bytes_unchanged (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_more_than_one_file (0.01s) SUCCESS: maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_nothing_if_remote_has_no_hash (0.01s) SUCCESS: maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_warning_if_local_has_no_hash (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_no_epilog (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_ignores_optional_args (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(read-with-data-without-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_check_valid_apikey_catches_invalid_key (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_init (0.00s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_adds_parameters_to_url (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_dispatch_query_makes_direct_call (0.01s) SUCCESS: apiclient.tests.test_utils.TestHelpers.test_urlencode_encodes_utf8_and_quotes (0.00s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_initial_request_raises_CommandError_on_error (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_fetch_api_description_wrong_content_type (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_returns_BootResourcesCreateAction_class (0.00s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_returns_None_for_unknown_handler (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_doesnt_override_accept_encoding_headers (0.03s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_returns_SSHKeysImportAction_class (0.01s) SUCCESS: apiclient.tests.test_utils.TestHelpers.test_urlencode_roundtrip_through_django (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(delete-without-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(update-with-data-without-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(delete-with-data-with-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_obtain_credentials_from_stdin (0.01s) SUCCESS: maascli.tests.test_cli.TestLogin.test_cmd_login_ensures_valid_apikey (0.01s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_doesnt_call_load_regiond_commands_if_no_maasserver (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_getting_non_existent_profile (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_open_permissions_existing_database (0.02s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_replacing_profile (0.01s) SUCCESS: maascli.tests.test_profile.TestProfile.test_select_profile_selects_default_if_no_profile_named (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_delete_dispatches_to_resource (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_signs_request (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_get_with_op_queries_resource (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_make_url_converts_sequence_to_path (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_post_passes_parameters (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_post_without_op (0.01s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_detects_malformed_string (0.01s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_inverts_convert_tuple_to_string (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_delete_passes_body (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_makes_url (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_post_dispatches_to_resource (0.01s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_closes_with_closing_boundary_line (0.01s) SUCCESS: maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple_for_no_protocol (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_omits_final_data_arg (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_returns_empty_if_data_is_only_arg (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_fetch_api_description_not_okay (0.01s) SUCCESS: maascli.tests.test_api.TestRegisterAPICommands.test_registers_subparsers (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_passes_parameters_in_body (0.02s) SUCCESS: maascli.tests.test_auth.TestAuth.test_check_valid_apikey_passes_valid_key (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_make_url_represents_path_components_as_text (0.01s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_calls_load_regiond_commands_when_management_and_maasserver (0.01s) SUCCESS: maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple_for_no_input (0.01s) SUCCESS: maascli.tests.test_api.TestAction.test_name_value_pair_returns_2_tuple (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_optional_args_describes_optional_args (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_positional_args_describes_positional_args (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_includes_other_arg (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(update-without-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(delete-with-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(update-with-data-with-op) (0.01s) SUCCESS: maascli.tests.test_api.TestRegisterAPICommands.test_handlers_registered_using_correct_names (0.02s) SUCCESS: maascli.tests.test_cli.TestLogin.test_print_whats_next (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_adding_profile (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_open_permissions_as_user_invoking_sudo_retries_if_failed (0.03s) SUCCESS: maascli.tests.test_utils.TestDocstringParsing.test_no_body (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_api_url (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_ensure_trailing_slash_string_type (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_handler_command_name_non_ASCII (0.00s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(text/plain) (0.01s) SUCCESS: maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_with_success_msg (0.01s) SUCCESS: maascli.tests.test_utils.TestSudoUID.test_sets_and_resets_euid (0.03s) SUCCESS: maascli.tests.test_utils.TestSudoUID.test_sets_and_resets_euid_on_crash (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_upload_content_calls_put_upload_with_sizeof_CHUNK_SIZE (0.80s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_request_from_http (0.55s) SUCCESS: maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_warning_if_hashes_dont_match (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_preserves_indentation (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_epilog_is_empty (0.01s) SUCCESS: maascli.tests.test_parser.TestArgumentParser.test_bad_arguments_calls_sys_exit_2 (1.33s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_returns_empty_if_epilog_is_whitespace (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_safe_name (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_positional_args_does_not_end_with_newline (0.01s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(application/json) (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_positional_args_returns_empty_if_no_args (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_BootResourcesCreateAction (0.01s) SUCCESS: maascli.tests.test_api.TestFunctions.test_get_action_class_bases_returns_SSHKeysImportAction (0.00s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(update-with-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_obtain_credentials_empty (0.01s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_doesnt_call_load_regiond_commands_if_no_management (0.01s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_removing_profile (0.01s) SUCCESS: maascli.tests.test_utils.TestSudoUID.test_does_nothing_when_environ_not_set (0.15s) SUCCESS: maascli.tests.test_integration.TestMAASCli.test_run_without_args_fails (0.21s) SUCCESS: maascli.tests.test_parser.TestArgumentParser.test_add_subparsers_disabled (0.01s) SUCCESS: maascli.tests.test_profile.TestProfile.test_name_default_profile_returns_None_if_multiple_profiles (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_supports_any_method (0.54s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_registers_subparsers (1.24s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_open_and_close (0.03s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_supports_content_encoding_gzip (0.51s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_encode_multipart_data_produces_str (0.01s) SUCCESS: apiclient.tests.test_multipart.TestMultiPart.test_get_content_type_guesses_type (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_None_when_no_files (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_returns_file_from_newest_set (0.02s) SUCCESS: maascli.tests.test_api.TestAction.test_compare_api_hashes_prints_nothing_if_hashes_match (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_call_exits (0.03s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(create-without-op) (0.02s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(read-with-op) (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(create-with-data-with-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_check_valid_apikey_raises_if_unexpected_response (0.01s) SUCCESS: maascli.tests.test_integration.TestMAASCli.test_help_option_succeeds (2.63s) SUCCESS: apiclient.tests.test_utils.TestHelpers.test_ascii_url_asciifies_unicode (0.02s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_get_resource_file_accepts_bytes (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_initial_request_returns_content (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_prepare_initial_payload_adds_size_and_sha256 (0.01s) SUCCESS: maascli.actions.tests.test_boot_resources_create.TestBootResourcesCreateAction.test_put_upload_raise_CommandError_if_status_not_200 (0.01s) SUCCESS: maascli.actions.tests.test_sshkeys_import.TestSSHKeysImportAction.test_name_value_pair_returns_sshkey_creds_tuple (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_optional_args_returns_empty_if_none_defined (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_positional_args_returns_empty_list_if_no_args (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparationWithFiles.test_files_are_included (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_ensure_trailing_slash (0.01s) SUCCESS: maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_returns_content_type_header (0.01s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(video/webm) (0.01s) SUCCESS: apiclient.tests.test_creds.TestCreds.test_convert_string_to_tuple_detects_spurious_colons (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_flatten_flattens_out_list (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_change_as_json (0.10s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_formulate_get_makes_url (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_get_dispatches_to_resource (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASClient.test_post_as_json (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASDispatcher.test_dispatch_query_encodes_string_data (0.01s) SUCCESS: apiclient.tests.test_maas_client.TestMAASOAuth.test_sign_request_adds_header (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_call_shows_full_enchilada (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_compose_epilog_explains_documented_keyword_args (0.01s) SUCCESS: maascli.tests.test_api.TestActionHelp.test_get_optional_args_returns_empty_if_no_args (0.01s) SUCCESS: maascli.tests.test_api.TestPayloadPreparation.test_prepare_payload(delete-with-data-without-op) (0.01s) SUCCESS: maascli.tests.test_auth.TestAuth.test_try_getpass_eof (0.01s) SUCCESS: maascli.tests.test_parser.TestArgumentParser.test_bad_arguments_prints_help_to_stderr (1.19s) SUCCESS: maascli.tests.test_utils.TestDocstringParsing.test_gets_docstring_from_function (0.01s) SUCCESS: maascli.tests.test_utils.TestDocstringParsing.test_normalises_whitespace (0.01s) SUCCESS: maascli.tests.test_utils.TestDocstringParsing.test_unwrapping (0.01s) SUCCESS: maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_return_None_when_type_not_found (0.01s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(text/yaml) (0.00s) SUCCESS: maascli.tests.test_utils.TestPrintResponseHeaders.test__prints_http_headers_in_order (0.01s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_subparsers_have_appropriate_execute_defaults (1.64s) SUCCESS: maascli.tests.test_profile.TestProfile.test_get_profile_finds_profile (0.01s) SUCCESS: maascli.tests.test_utils.TestIsResponseTextual.test_type(image/png) (0.01s) SUCCESS: maascli.tests.test_utils.TestSudoGID.test_does_nothing_when_environ_not_set (0.13s) SUCCESS: maascli.tests.test_integration.TestMAASCli.test_list_command_succeeds (3.00s) SUCCESS: maascli.tests.test_cli.TestRegisterCommands.test_loads_all_regiond_commands (1.38s) SUCCESS: maascli.tests.test_config.TestProfileConfig.test_profiles_pristine (0.01s) SUCCESS: maascli.tests.test_utils.TestDocstringParsing.test_basic (0.01s) SUCCESS: maascli.tests.test_utils.TestFunctions.test_handler_command_name (0.01s) SUCCESS: maascli.tests.test_utils.TestPrintResponseContent.test__prints_textual_response_when_redirected (0.01s) SUCCESS: maascli.tests.test_integration.TestMAASCli.test_run_without_args_shows_help_reminder (0.23s) SUCCESS: maascli.tests.test_integration.TestMain.test_complains_about_too_few_arguments (0.03s) SUCCESS: maascli.tests.test_profile.TestProfile.test_select_profile_returns_named_profile (0.01s) SUCCESS: maascli.tests.test_utils.TestGetResponseContentType.test_get_response_content_type_omits_parameters (0.01s) SUCCESS: maascli.tests.test_utils.TestSudoGID.test_sets_and_resets_egid (0.10s) SUCCESS: maascli.tests.test_utils.TestSudoGID.test_sets_and_resets_egid_on_crash (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_compose_template_namespace (0.02s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_templates_only_suppresses_ENOENT (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_logs_missing_simplestream_file (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_bootloader_path (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_config_with_mac (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_copies_previously_downloaded_files (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_install_mustang_dtb (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_xinstall_mustang_dtb (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenarios.test_get_reader_scenarios(xinstall) (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_stops_if_no_subdirs_found (0.05s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_ignores_regular_files (0.03s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_finds_boot_image (0.03s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_returns_modification_time (0.04s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_leading_slash (0.03s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_bcd_missing_template (0.06s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_only_on_install (0.04s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_compose_template_namespace_returns_filetype_when_missing (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_only_on_windows (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_output_static (0.02s) SUCCESS: provisioningserver.boot.tests.test_boot.TestGetArchiveUrl.test_get_ports_archive_url (0.08s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_file_in_root (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_with_leading_slash (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__includes_compose_conditional_bootloader(v4) (0.12s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_compose_config_path_does_not_include_tftp_root (0.03s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_template_subdir (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_non_config_file (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_is_compatible_with_config_path_generator (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_matches_classic_pxelinux_cfg (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_without_leading_slash (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_install (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose_i386_arch (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_ntp_servers_as_comma_separated_list(v6) (0.09s) SUCCESS: provisioningserver.dhcp.tests.test_config.Test_process_shared_network_v6.test__adjusts_parameters_for_primary(singleton) (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_builds_on_given_paths (0.04s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__cancelAll (0.04s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_metadata_handles_missing_subarch (0.03s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__deferDHCPRequests (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_subdirs_lists_empty_directory (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__deferredDHCPRequestErrback_ignores_cancelled (0.02s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_logs_missing_bootloader_files (0.03s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_extra_arguments_does_not_affect_output (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__run_logs_result_and_makes_properties_available (0.06s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_preseed_url (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestComposeConditionalBootloader.test__composes_bootloader_section_v4 (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__send_requests_and_await_replies (0.04s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceMAC.test__no_mac_raises_macaddressnotavailable (0.03s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_closes_socket_on_exit (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_global_dhcp_snippets(v4) (0.10s) SUCCESS: provisioningserver.dhcp.tests.test_helper_clean.TestDHCPClean.test_removes_hosts_from_leases_file (0.11s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_succeeds_when_host_map_already_exists(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_initialisation(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_calls_omshell_correctly(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_empty_string_router_ip(v4) (0.12s) SUCCESS: provisioningserver.dhcp.tests.test_config.Test_process_shared_network_v6.test__adjusts_parameters_for_primary(secondary) (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadZone.test__false_on_subprocess_error (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_default_controls_checks_environ_first (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_root_port_checks_environ_first (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__run_skips_logging_if_no_servers_found (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_execute_rndc_command_executes_command (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_writes_configuration (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_template_path_is_correct (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_uncomment_named_conf_uncomments_multiple_lines (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_combines_parameter_dicts (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_fields (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_handles_slash_32_dynamic_range (0.03s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_sorts_output (0.05s) SUCCESS: provisioningserver.dhcp.tests.test_helper_notify.TestDHCPNotify.test_sends_notification_over_socket_for_processing (0.18s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_raises_when_omshell_fails(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_raises_when_omshell_fails(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_object_already_removed(IPv6) (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_reverse_zone_file (0.07s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_ignores_network_larger_than_slash_16 (0.00s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_raises_assertionerror_on_bad_output (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_root_port_defaults_to_954 (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_invalid_reponse_code (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(1) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServerPowerControl.test_get_server_power_control (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_with_children (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_assumes_no_overrides (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command(Power Off) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_arch_returns_valid_fixed (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_takes_latest_value_of_redefined_parameter (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_excplicitly (0.05s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_vmware_servers_empty (0.07s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_query_missing_server_raises_VMwareVMNotFound (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_arch_octet (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist_skips_pxe_config_if_create_node_failed (0.04s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_file_not_in_pxelinux_cfg (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_format_release_choices (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_format_bootif_makes_mac_address_lower (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_is_release_supported (0.02s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_install (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_with_local_purpose (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_boot_image_purposes (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_release_title (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_boot_image_purposes (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_compose_image_path_does_not_include_tftp_root (0.06s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_xinstall_parameters_returns_tgz (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_is_release_supported (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_metadata (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_truncates_hostname (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_xinstall_parameters (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_does_not_match_default_grub_config_file (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_reverse_config_file_is_world_readable (0.21s) SUCCESS: provisioningserver.boot.tests.test_windows.TestBcd.test_get_loader_elems (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_composed_node_state (0.03s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_dns_zone_config_with_NS_record (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_static_file (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_memory_resources (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestComposeConditionalBootloader.test__composes_bootloader_section_v6 (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_reverse_dns_zone_config (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_resources (0.04s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_slash_24_network (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__make_auth_headers (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_sorts_output_by_hostname (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_get_url_with_ip (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_global_dhcp_snippets(v6) (0.09s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_power_query_queries_on (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_probe_seamicro15k_and_enlist_v2 (0.05s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_off_force (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(0) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_login_failure (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_dhcp_snippets(v4) (0.06s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_power_failure (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirsh.test_probe_and_enlist (0.06s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_control_on (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_cleanup_disks_catches_all_exceptions (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_create_domain_handles_no_space (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_empty_string_router_ip(v6) (0.06s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_column_values (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_key_value (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_local_storage (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_memory (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_state (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_dns_servers_set(v4) (0.06s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_crashes_when_no_version_found (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceMAC.test__invalid_interface_raises_interfacenotfound (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_query_queries_with_amttool (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_False(IPv4) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_on (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_options_sets_up_config (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_unknown (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_rndc_writes_configurations (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error(on) (0.03s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_get_a_mapping_returns_ipv4_mapping (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_computes_dns_config_file_paths (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_get_ptr_mapping_drops_IPs_not_in_network (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_weird_small_range (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_prompt (0.22s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_on_first_call(on) (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_power_off (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_restapi (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_restapi2 (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success(off) (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_get_server_index (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_json_valid_response (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_with_filters (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_on_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(2) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_on (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_uses_uuid (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServiceProfile.test_get_service_profile (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestLogin.test_login_assigns_cookie (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestParseResonse.test_error (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_off_calls__issue_ipmitool_command (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestSetLanBootDefault.test_no_change (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_off_powers_off_blade (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestsForStripRoKeys.test_strip_ro_keys (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_control_bad_domain (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_off_calls_power (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_get_on (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_query_calls_power_query_seamicro15k_v2 (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_logout (0.13s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_login_failure (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_query_calls_power_state_ucsm (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_list_dom_prefix (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_extract_virsh_parameters_extracts_parameters (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(user-pass-ipv6) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_default_to_empty_string (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_validates_choices (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_is_empty_returns_False_if_not_empty (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_result_matches_dump_of_own_data_legacy (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_api_connection (0.07s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__creates_squashfs_entry (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_old_snapshots_returns_all_but_current_directory (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_unused_cache_files_returns_empty (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_integrates (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_labels (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_release (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_adds_item_per_subarch (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_bootloader_only_allows_one_subarch (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_generic_link_for_generic_kflavor (0.02s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetOSFromProduct.test_returns_ubuntu_if_missing (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_api_failed_connection (0.20s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_concatenates_similar_resources (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_default_release (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImage.test__extracts_image_if_tar_supports_xattr (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__returns_False_for_tarball (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_default_release (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestLoopMount.test__mounts_and_unmounts_image (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_level(info) (0.03s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_format_basics(debug) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_time(debug) (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_unsupported_lts (0.04s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_requires_license_key_False (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(command) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUDP.test__ignores_port_closed_events (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_block_device_iscsi (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_registry.TestPodDriverRegistry.test_get_schema (0.03s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_gen_template_filenames (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__decompose (0.04s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_template_not_found (0.03s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_compose_raises_error_for_no_allocation (0.03s) SUCCESS: provisioningserver.boot.tests.test_install_grub.TestInstallGrub.test_integration (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_get_pod_resources_skips_invalid_systems (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_compose_config_path_does_not_include_tftp_root (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_power_issues_power_reset (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_template_subdir (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_does_not_match_non_config_file (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_off_calls_power_control_virsh (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_attach_interface (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_state_error (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_is_compatible_with_config_path_generator (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_cpu_count (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_list_machines (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_matches_classic_pxelinux_cfg (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_machine_mac_addresses_returns_list (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_without_leading_slash (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_wsman_command_calls__run_for_power (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_off (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_amttool_when_already_off (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_bootloader_path_does_not_include_tftp_root (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_runs_query_loop (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_compose_config_path_follows_maas_pxe_directory_layout (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenariosEnlist.test_get_reader_scenarios (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_returns_power_state_on (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestParsePXEConfig.test_parse_with_no_header (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestParsePXEConfig.test_parse_with_no_labels (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(action) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_control (0.51s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_missing_packages (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_query (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_xinstall_parameters_returns_root_dd_dd_tgz (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_drops_paths_that_do_not_go_deep_enough (0.05s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_tgz_tgz (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_metadata (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_pod_hints (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestGetErrorMessage.test_return_msg(auth) (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_recognizes_subdirectory (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestGetErrorMessage.test_return_msg(unknown) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestRequestClasses.test_machine (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_returns_None_if_no_file (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestRequestClasses.test_machine_without_cpu_speed (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_copies_from_system (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__calculate_remote_storage (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_matches_classic_grub_cfg (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__convert_request_to_json_payload (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default_arch_and_subarch (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__scrape_logical_drives_and_targets (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__set_pxe_boot (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_get_url_with_http (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_redfish_request_continues_partial_download_error (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_cidr(v4) (0.07s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirsh.test_probe_and_enlist_login_failure (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_compose (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_control_bad_domain (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_dhcp_snippets(v6) (0.06s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_state_get_on (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_state_login_failure (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_block_name_from_idx (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_domain_capabilities_for_kvm (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_cpu_count (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_poweroff_error (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_resets_locale (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_hosts(v4) (0.08s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_dns_servers_set(v6) (0.06s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__uses_branch_template_by_default(v4) (0.04s) SUCCESS: provisioningserver.dhcp.tests.test_config.Test_process_shared_network_v6.test__adjusts_parameters_for_primary(primary) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.MakeDHCPTransactionID.test_randomises (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test__packet_property_after_init_with_mac_and_no_transaction_id (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__deferredDHCPRequestErrback_cancels_all_on_FirstError (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceIP.test_loopback_has_localhost_address (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_run (0.14s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_raises_when_omshell_fails(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_gt_char_present(IPv4) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__run_raises_power_action_error (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_False(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__considers_nonexistent_lease_a_success(IPv4) (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__returns_on_success (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_on_raises_power_action_error (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_default_controls_defaults_to_affirmative (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_get_power_state_gets_state (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_wsman_when_already_off (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_raises_on_bad_template (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_off (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_attributes (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_interpolates_parameters (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(conn) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverBase.test_get_schema (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_config_file_is_world_readable (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fails_to_complete_power_action_in_time(off) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__set_outlet_state_crashes_when_wget_exits_nonzero (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_off_calls_run_hmc_command (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_returns_power_state (0.20s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_writes_dns_zone_config (0.23s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_dtrt_for_larger_networks (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_chassis_config_command_raises_power_auth_error (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_ignores_network_larger_than_slash_16 (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_query_calls__issue_ipmitool_command (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_ignores_networks_that_span_slash_16s (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_run_mscm_command_returns_command_output (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_extract_from_response_finds_element_content (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_restapi (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_gets_response (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_restapi2 (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_raises_error_when_api_None (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_off_calls_power_control_vmware (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveDn.test_parameters (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_off_calls_run_wedge_command (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(4) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4-with-trailing-bracket) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetMacs.test_gets_adaptors (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_dict_with_required_fields (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_class_id (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestLogout.test_logout_clears_cookie (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_warns_if_no_sources_selected (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_returns_results (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestComposeSnapshotPath.test_returns_path_under_storage_path (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_get_on (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMXMLAPIError.test_includes_code_and_msg (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestDownloadAllBootResources.test_calls_download_boot_resources (0.01s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_checking_policy_for_sjson_index (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_maps_empty_dict_to_empty_dict (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_returns_true_for_stored_item (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__extracts_image (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_level(debug) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_noise(critical) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirsh.test_probe_and_enlist (0.06s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_format_basics(warn) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_state (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_format(info) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_time(warn) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_missing(info) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(some-command) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestLegacyLogger.test__logs_messages (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetTCP.test__propagates_other_events (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUNIX.test__ignores_port_closed_events (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_on (1.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_links_bootloaders_found_elsewhere_on_fs (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__finds_power_address_from_mac_address (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_power_control_missing_server_raises_VMwareVMNotFound (0.08s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_chassis_config_command_logs_maaslog_warning (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_default_release (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_default_release (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_pressed_not_implemented_for_curtin (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_default_release (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_off_soft_mode (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_validate_license_key_invalid (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_block_device_size (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_does_not_mistake_host_for_status (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_no_missing_packages (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_on_calls__issue_ipmi_command (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestGetArchiveUrl.test_get_main_archive_url (0.10s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_pod_asdict (0.05s) SUCCESS: provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_no_missing_packages (0.02s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_matches_pxelinux_cfg_with_leading_slash (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRegex.test_re_config_file_with_default (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_attributes (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_make_pod_driver_base (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_off_calls_run_mscm_command (0.03s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_logs_missing_files (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestPodDriverBase.test_get_schema (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_name (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__discover (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_hints (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_machines (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__power_on (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_unexpected_files (0.08s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__scrape_remote_drives (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_assemble_node_assembles_if_not_assembled (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_assemble_node_does_not_assemble_if_already_assembled (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_maas_meta_last_modified_reraises_non_ENOENT (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_decompose_raises_when_not_404_error (0.02s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_matches_grub_cfg_with_leading_slash (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_with_default_arch (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_missing_packages (0.03s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_best_network_returns_maas (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestBcd.test_get_loader (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_volume_path (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_reader_bcd (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amttool_boot_mode_local_boot (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_amttool_command_calls__run (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_lowest_verbosity(increasing_verbosity) (1.68s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__render_wsman_state_xml_renders_xml (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__complains_if_too_few_parameters(v4) (0.05s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_raises_power_action_error (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__includes_compose_conditional_bootloader(v6) (0.05s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_initialisation(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_calls_omshell_correctly(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_returns_a_key (0.03s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReconfigure.test__executes_rndc_command (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReconfigure.test__logs_subprocess_error (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_DNSConfigDirectoryMissing_if_dir_missing (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_bind_config_dir_checks_environ_first (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_extract_suggested_named_conf_notices_missing_boundary (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_returns_power_state_off (0.14s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_crashes_on_external_process_error (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_crashes_on_no_power_state_match_found (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_handles_no_upstream_dns (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_query_raises_not_implemented (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_overrides (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverCycle.test_cycles_power_when_node_is_powered_on (0.03s) SUCCESS: provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_specially_reports_missing_config_dir (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_succeeds_if_no_exceptions (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_writes_dns_zone_config_with_NS_record (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_slash_24_network (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_ignores_generate_directives_for_v6_dynamic_ranges (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_returns_power_state (0.52s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v2 (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_select_seamicro15k_api_version_ipmi (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_login_and_logout (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_reset_using_pxe (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(3) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetServers.test_returns_result (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_pxe_template (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_uses_api (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_config_without_mac (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestSendRequest.test_send_request (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_extra_arguments_does_not_affect_output (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_state_error (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_mac_addresses_returns_list (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_follows_directory_tree (0.06s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extend_path_finds_path_extensions (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_metadata_parses_kflavor (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_empty_directory (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_missing_server_raises_VMwareVMNotFound (0.08s) SUCCESS: provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystemRegistry.test_operating_system_registry (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_enumerates_boot_images (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_default_commissioning_release (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_passes_on_other_exceptions (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_without_leading_slash (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_tar_bz2_ddtbz (0.02s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_local_purpose (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestBcd.test_set_load_options (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_tar_gz_ddtgz (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_reader_static_file (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_has_required_keys (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__logs_resolution_failures (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_includes_oauth (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_both (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_interface_mac_vid_tags (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__complains_if_too_few_parameters(v6) (0.03s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_discover_raises_not_implemented (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestRequestClasses.test_machine_fromdict (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_storage_resources (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_redfish_request_renders_response (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_decompose (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_router_ip_if_present(v4) (0.08s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_discover_erros_on_failed_login (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_create_local_volume_returns_None (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_available_local_storage (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_ntp_servers_set(v4) (0.07s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__deferredDHCPRequestErrback_logs_unknown_exceptions (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_calls_omshell_correctly(IPv4) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_returns_power_state (0.44s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_calls_omshell_correctly(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_calls_omshell_correctly(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__calls_omshell_correctly(IPv4) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_get_blades_failure_server_error (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_leaves_no_temp_files (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_on_calls_power_control_ucsm (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_default_verbosity(increasing_verbosity) (1.18s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestNormaliseAddress.test_returns_ipv6_addresses_as_IPAddress (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_cleans_up_whitespace (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_query_calls_power_query_vmware (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_download_is_initiated_in_new_thread (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_invalid_prompt (0.33s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_list_machines_with_dom_prefix (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_query_returns_power_state (0.23s) SUCCESS: provisioningserver.drivers.tests.test_base.TestRegistries.test_get_by_pxealias_returns_None_if_none_matching (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server (0.23s) SUCCESS: provisioningserver.drivers.tests.test_base.TestRegistries.test_get_by_pxealias_returns_valid_arch (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_initially_empty (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_items_returns_items (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_returns_empty_mapping_for_invalid_json (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__returns_empty_for_unknown_image (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test__returns_false_when_no_images (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test__runs_import_and_returns_true (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_does_nothing_but_saves_config_when_is_region (0.08s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_interfaces (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__logs_to_server_log (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_reader_returns_rendered_params (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_successful_run (0.06s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_reader_returns_rendered_params_for_local (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink_when_link_exists (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_high_verbosity(initial_only) (1.21s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_doesnt_pass_user_agent_when_not_set (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_init (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_passes_user_agent (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success_async(on) (1.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_release_to_bootloader_type (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_returns_state (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_login_missing_password (0.24s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_queries_on (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_sync_does_propagate_ioerror (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_poweroff (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command_errors_on_exception (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_any_value_passes_asterisk (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_off (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_query_queries_with_wsman (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_run_hmc_command_returns_command_output (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_rolling_links (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_missing_packages (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_off_calls__issue_ipmi_command (0.01s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_checking_policy_for_json_gpg_index (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_restart (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_query (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_query_crashes_for_uknown_power_state (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_ignores_similar_items (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m400 Server Cartridge) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__ignores_other_files (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_off_raises_not_implemented (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_on_calls_power_control_nova (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_crashes_when_state_not_found (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_extract_seamicro_parameters_extracts_parameters (0.00s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__extracts_tarball_into_temp_dir (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_power_off_calls_power_control_ucsm (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_off (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestMakeArgParser.test__user_defaults_to_None (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_on_calls_power_control_virsh (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_query_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestUnmount.test__calls_umount (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 8) (0.18s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_run_wedge_command_returns_command_output (0.01s) SUCCESS: provisioningserver.logger.tests.test__tftp.TestObserveTwistedInternetTCP_Informational.test__downgrades_informational_messages (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_raises_power_action_error (0.02s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(name-with-brackets) (0.01s) SUCCESS: provisioningserver.logger.tests.test__tftp.TestObserveTwistedInternetTCP_Other.test__propagates_other_events(error) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4-with-brackets) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_combines_similar_entries (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_basics(error) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_off_crashes_for_connection_error (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_format_basics(info) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_is_consistent (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_get_image_arches_gets_arches_from_imagespecs (0.00s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_time(error) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_is_empty_returns_True_if_empty (0.00s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_format(warn) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_run_repeated_keygen (0.65s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_time(info) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(regiond) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test__cleans_up_on_failure (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(_ => None) (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_configuration_writes_file_with_acl (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(_oo.bar.baz => None) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_update_targets_conf_logs_error (0.02s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReconfigure.test__upgrades_subprocess_error (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_matching_content_is_compared_True (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_unused_cache_files_returns_all_files_nlink_equal_one (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__calls_bind_reload_count_times (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestDownloadImageDescriptionsUserAgent.test_doesnt_pass_user_agenton_fallback (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_arches (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadWithRetries.test__sleeps_interval_seconds_between_attempts (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_filter_checks_subarches (0.00s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_config_dir_checks_environ_first (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_passes_if_one_filter_matches (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_any_value_matches_asterisk (0.00s) SUCCESS: provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_writes_keyring_data (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_single_override (0.02s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_add_appends_to_existing_list (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_computes_dns_config_file_paths (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_returns_false_for_unstored_item (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_get_aaaa_mapping_returns_ipv6_mapping (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_ignores_extraneous_keys (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_returns_stored_item (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_find_seamicro15k_servers_impi (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 19) (0.16s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__fails_if_multiple_images_found (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImageFromTarball.test__fails_if_no_image_found (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__rejects_other_files (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 1) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__calls_file_with_C_language_setting (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_probe_seamicro15k_and_enlist_v09 (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_build_url (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestUEC2RootTar.test__integrates (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_reset_not_using_pxe (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_returns_same_logger_if_called_twice (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_sets_logger_name (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_parameters (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 12) (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_return_response (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_basics(info) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetFirstBooter.test_first_booter(5) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_format(warn) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_time(info) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestSetLanBootDefault.test_with_change (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_format(error) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestSetServerPowerControl.test_set_server_power_control (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_missing(warn) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 11) (0.03s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_null(debug) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(daemon) (0.00s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(py-command-with-suffix) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirsh.test_probe_and_enlist_login_failure (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUDP.test__propagates_other_events (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 20) (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_on (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_error_on_unknown_state (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 6) (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_resets_locale (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 17) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 6) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 17) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 6) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 17) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 6) (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_run (0.12s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 17) (0.04s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestGetUrl.test_geturl_sends_request (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestHeaders.test_oauth_headers (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_instance_uuid (0.07s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_power_params (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_name (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_gen_supported_releases (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_boot_image_purposes (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_failure_on_timeout (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_boot_image_purposes (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_accepts_sources_parameter (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_bz2_ddbz2 (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_rejects_non_matching_digests (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_gz_ddgz (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_ident (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_raw_ddraw (0.02s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_compose_template_namespace_returns_dtb_file_when_arm (0.02s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_name (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_includes_metadata_url (0.02s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_with_extra_arguments_does_not_affect_output (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_bootloader_path (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_neither (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_requires_license_key_True (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_bootloader_links_files_found_on_fs (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_block_device_model_serial_size_block_size_tags (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_make_pod_driver_base_makes_name_and_description (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_power_query_queries_off (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_compose_image_path_follows_storage_directory_layout (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_redfish_request_raises_failures (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_drill_down_ignores_subdir_not_in_path (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestWebClientContextFactory.test_creatorForNetloc_returns_tls_options (0.02s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_is_visible_subdir_ignores_hidden_directories (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_control_off (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_doesnt_read_maas_id_from_cache (0.16s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_merges_maas_meta_data (0.02s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_copies_previous_downloaded_files (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethod.test_link_bootloader_creates_grub_cfg (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_enlist_purpose (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_state_error_on_unknown_state (0.03s) SUCCESS: provisioningserver.boot.tests.test_windows.TestBcd.test_get_load_options_key (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test__get_discovered_machine (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__ignores_resolution_failures (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_delete_local_volume (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetAddresses.test__ip_addresses_are_passed_through (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_arch_returns_valid (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodPathPrefix.test_path_prefix_removed (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_file_in_root (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_leading_slash (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRender.test_get_reader_with_local_purpose_amd64_arch (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_low_verbosity(decreasing_verbosity) (1.06s) SUCCESS: provisioningserver.ntp.tests.test_config.TestConfigure.test_configure_rack_is_alias (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_node_dhcp_snippets(v4) (0.07s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_configures_orphan_mode (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_ipv6_mapped_ipv4_addresses_as_plain_ipv4 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_end_to_end (0.15s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_the_given_servers (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_bootloader (0.04s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_clean_path_strip_boot (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__doUpdate_connect_503_error_is_logged_tersely (0.03s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_router_ip_if_present(v6) (0.06s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__tryUpdate_prevents_concurrent_calls_to__doUpdate (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_resouce_path (0.03s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClientNow_raises_exception_when_no_clients (0.03s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_get_node_info_None (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_exits_gracefully_if_cant_report_foreign_dhcp_server (0.09s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_pxelinux_missing_hivex (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(shortly-after-start) (0.03s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_match_path_static_file_clean_path (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_skips_ipv6_interfaces (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_returns_nothing (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_without_ntp_servers_set(v6) (0.09s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DescribePowerTypes.test_describe_power_types_is_registered (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_skips_unconfigured_interfaces (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_is_registered (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_login_with_password (0.23s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_is_called_every_interval (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_calls_get_preseed_data (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_logs_other_errors (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_is_registered (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_no_download_if_no_rpc_connections (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_dns_servers_as_comma_separated_list(v4) (0.08s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_subnet_cidr(v6) (0.06s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_and_does_nothing_when_rack_is_not_recognised (0.06s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_handles_failure (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_with_things_to_report(ListBootImagesV2) (0.09s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__sends_event_later (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListOperatingSystems.test_is_registered (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_run_mscm_command_crashes_for_ssh_connection_error (1.16s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_render_file_with_ipv6_hosts (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListSupportedArchitectures.test_returns_architectures (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service_does_not_bind_to_link_local_addresses (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_with_hosts(v6) (0.05s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress(power-cycle) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m300 Server Cartridge) (0.03s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__listenUDP_with_IPv6_address (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_is_registered (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__uses_branch_template_by_default(v6) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(Default) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_StartTLS_returns_nothing (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlistCrashesNoMatch.test_probe_and_enlist_mscm_crashes_for_no_match (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_off_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfigIPv4.test__includes_next_server_in_config (0.06s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config(DHCPv6) (0.05s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_on_powers_on_blade (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_init_sets_transaction_id (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceIP.test__invalid_interface_raises_interfacenotfound (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_set_next_boot_device_sets_device (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_sets_reuseaddr (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls_power_control_seamicro15k_v09 (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 7) (0.12s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_raises_when_omshell_fails(IPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config(DHCPv6,V2) (0.05s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_control_seamicro15k_ipmi_calls_call_and_check (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_gt_char_present(IPv6) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_extract_vmware_parameters_treats_optional_params_as_none (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_default_verbosity(initial_only) (1.30s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_failed_update(IPv4) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config(DHCPv6) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_off_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestNormaliseAddress.test_returns_ipv4_addresses_as_IPAddress (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__considers_nonexistent_lease_a_success(IPv6) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv6-no-brackets) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_generate_omapi_key.test_generate_omapi_key_raises_assertionerror_on_no_output (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(name) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config(DHCPv6,V2) (0.03s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_is_called_every_interval (0.03s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test___eq__ (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4-no-slash) (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_zones_writes_file (0.02s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingCommands.test_unhandled_errors_do_not_cause_disconnection (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(name-no-slash) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(user-pass-ipv4-no-port) (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_makes_config_world_readable (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_extract_suggested_named_conf_extracts_section (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_stop_dhcp_server_failure_to_CannotConfigureDHCP(DHCPv4) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test_writes_source_keyrings (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_generate_rndc_returns_configurations (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 18) (0.13s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions_when_restarting(DHCPv4) (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_login_with_sshkey (0.43s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 11) (0.03s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_rndc_config_includes_default_controls (0.04s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_reports_lack_of_foreign_dhcp_servers_to_region (0.09s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_init (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 20) (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_set_up_options_conf_write_config_allows_zero_overrides (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError_when_restarting(DHCPv4) (0.05s) SUCCESS: provisioningserver.dns.tests.test_config.TestRNDCUtilities.test_uncomment_named_conf_uncomments (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_stopService_deletes_socket (0.02s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_default_verbosity(decreasing_verbosity) (1.28s) SUCCESS: provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_passes_on_dissimilar_errors (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 9) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_uses_omapi_to_update_hosts(DHCPv4) (0.03s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig.test_ignores_generate_directives_for_v6_dynamic_ranges (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_calls_get_boot_sources_v1_on_v2_missing (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestTgtEntry.test_produces_suitable_output_for_tgt_admin (0.12s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_subnet_dhcp_snippets_diff (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_two_entries_for_slash_23_network (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.make_test_dirs (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 10) (0.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestUpdateHost.test__performs_operations (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink_when_temp_link_exists (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ComposeMachine) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 5) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ConfigureDHCPv6) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_fails_when_creating_temp_link_exists_a_lot (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_reports_interfaces_to_region (0.08s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(DescribePowerTypes) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 16) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetOSReleaseTitle) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_reports_mdns_to_region (0.07s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 5) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ListOperatingSystems) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(PowerQuery) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_service_iterates_every_30_seconds (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(RegisterEventType) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 16) (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_read (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(RequestRackRefresh) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_None_if_missing_image (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(UpdateInterfaces) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(UpdateNodePowerState) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 5) (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_commissioning_image_for_enlist (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_calls_the_region (0.06s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_handles_driver_returning_None (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 16) (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_render_substitutes_armhf_in_params (0.02s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_unknown_pod_raises_UnknownPodType (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 5) (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_converts_BootConfigNoResponse_to_FileNotFound (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_prompt (0.22s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ammtool_boot_mode_pxe_booting (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_calls_change_power_state_later (0.03s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_logs_node_event_with_mac_address (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 16) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_crashes_when_amttool_has_no_output (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_fails (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestGetUrl.test_geturl_raises_exception_on_failure (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_raises_power_error (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_basic_params (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_returns_ip_address (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_on_typeerror (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_copes_with_NoSuchCluster (0.08s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_on_unknown_exception (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_returns_power_address (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_on_powers_off (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_copes_with_losing_connection_to_region (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_empty_list_when_cdrom_only (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_report_power_state_changes_power_state_if_success (0.05s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_on_calls_run_process (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test__buildServices_adds_services_to_always_running_services (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_skips_nodes_in_action_registry (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_empty_list_when_no_disks (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_run_process_calls_command_and_returns_output (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(wedge) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestLLDPScripts.test_install_script_installs_configures_and_restarts_systemd (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_init_sets_up_timer_correctly (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestLLDPScripts.test_install_script_installs_configures_and_restarts_upstart (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fatal_error_on_first_call(on) (0.03s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_install_image_for_install (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_xinstall_image_for_xinstall (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 11) (0.14s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error(off) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCommissionNode.test_logs_error_when_not_able_to_commission (0.06s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestPort.test_getHost_works_with_IPv6_address (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_eui_in_reply (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_target_eui_in_reply (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_non_ascii_keyword_args_are_passed_without_corruption (0.06s) SUCCESS: provisioningserver.utils.tests.test_config.TestByteString.test_converting_from_python_rejects_non_byte_string (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_and_holds_error(on) (0.03s) SUCCESS: provisioningserver.utils.tests.test_config.TestDirectory.test__validation_fails_when_directory_does_not_exist (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators(None) (0.00s) SUCCESS: provisioningserver.utils.tests.test_config.TestUUIDString.test__validation_fails_when_uuid_is_bad (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_on_first_call(off) (0.02s) SUCCESS: provisioningserver.utils.tests.test_config.TestUUIDString.test__validation_succeeds_when_uuid_is_good (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestValidateLabelName.test__accepts_good_names (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__random (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__is_valid_returns_false_for_truncated_option_length (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__is_valid_returns_false_for_truncated_packet (0.00s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_omits_private_or_special_methods (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_positional_and_keyword_args_get_passed_through (0.06s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_variables_to_previous_values (0.00s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_list_old_snapshots_returns_all (0.35s) SUCCESS: provisioningserver.utils.tests.test_events.TestEvent.test_unregisterHandler_during_fire (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicCopy.test___installs_new_bootloader (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_does_not_overwrite_existing_entry (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicDelete.test_atomic_delete_deletes_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_uses_relative_path (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_matched_value_passes (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_rejects_non_bytes_contents (0.00s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_OSError_filename_if_undefined (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_nothing_passes_empty_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestRunLock.test__byte_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFileScript.test__is_okay_when_the_file_does_not_exist (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestDownloadBootResources.test_syncs_repo (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_positional_args_get_passed_through (0.06s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 20) (0.17s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 6) (0.16s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestVirtualityScript.test_runs_locally (0.03s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_calls_atomic_write (0.04s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestExtractArchiveTar.test_extracts_files (0.04s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_sys_info (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 3) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_root_image (0.02s) SUCCESS: provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_ignores_existing_keyrings (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 14) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_accepts_defined_url (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestCompressedAmpList.test_round_trip (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_add_creates_subarches_list_if_needed (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestDiscoveredPod.test_round_trip (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_get_fails_for_unstored_item (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 2) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestIPNetwork.test_round_trips_ipv4_address (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_initially_empty (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 13) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_error_when_input_is_not_a_url_object (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestSetOwnership.test__calls_chown_if_user_specified (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 8) (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_returns_MAASLogger_instances (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 19) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_level(warn) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 8) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 17) (0.13s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_noise(error) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 19) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_format(debug) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_end_to_end_import_not_performed (0.08s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_format(critical) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 9) (0.03s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_missing(debug) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_GPGHOME (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_null(info) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 10) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(rackd) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test('' => None) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_authentication_fails (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 8) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo.bar._az => foo.bar) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__remove_connection_stops_both_dhcpd_and_dhcpd6 (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestLegacyLogger.test__logs_multiple_messages (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 19) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_initially (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClientNow_returns_current_connection (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_update_connect_error_is_logged_tersely (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 15) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(initial) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 8) (0.12s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test__is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_mscm_logs_error_to_maaslog (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 15) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_seamicro15k_calls_probe_seamicro15k_and_enlist (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_ucsm_calls_probe_ucsm_and_enlist (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 15) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Authenticate.test_authenticate_calculates_digest_with_salt (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP(DHCPv6) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 4) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_query (0.47s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_off_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP(DHCPv6,V2) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 15) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_error (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 19) (0.12s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test_issues_restart (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_on_urlerror (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_is_registered (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 8) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_can_be_called (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk_then_udevadm (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 19) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListOperatingSystems.test_returns_oses (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_moonshot_power_params (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__quietly_exits_in_container (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state(power-off) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType(power-off) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_readonly (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_supplied_interface (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__keeps_block_device_same_serial_different_model (0.04s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_localIdent (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_localIdent_for_IConnection (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_onConnectionMade_fires_when_connection_is_made (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_without_id_path (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_multiple_block_devices_in_order (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_ensure_when_nothing_changed(DHCPv4) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestVirtualityScript.test_runs_successfully_when_systemd_detect_virt_not_found (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_get_config_returns_config_and_calls_with_params (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ConfigureDHCPv4_V2) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_logs_error (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetBootSourcesV2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetPreseedData) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestIsImportBootImagesRunning.test__returns_True_when_lock_is_held (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Identify) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_for_loopback (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Identify) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Identify) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(PowerOff) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_keyword_args_get_passed_through (0.07s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_interfaces (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ReportBootImages) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ReportForeignDHCPServer) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(SendEvent) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ValidateDHCPv6Config_V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(windows) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestValidateLicenseKeyErrors.test_throws_exception_when_os_does_not_exist (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_not_resolving_to_tuple_of_discovered (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_calls_set_maas_id (0.06s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_resolving_to_None (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_structured_arguments_are_passed_though_too (0.07s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_finished (0.03s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_netloc_containing_non_ascii_characters_is_encoded_to_idna (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_returns_True_when_accepted (0.06s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__doesnt_remove_non_matching_path_from_maas_url (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__drop_connection (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test__calls_power_driver_off_for_power_driver (0.08s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__takes_lock_when_running (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_when_there_are_existing_connections (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test_change_power_state_calls_power_change_starting_early_on (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DiscoverPod.test__is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_calls_import_boot_images_with_proxies (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_if_given (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_checks_missing_packages (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_returns_False (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_256_entries_for_slash_16_network (1.25s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_is_registered(ListBootImagesV2) (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_tiny_network (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_connecting (0.04s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered(power-on) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetChildren.test_returns_result (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestLogin.test_login_call_parameters (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail(power-cycle) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerHelpers.test_power_change_success_emits_event (0.05s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestPowerControlUCSM.test_power_control_ucsm (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_no_results_with_no_server_macs (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(sm15k) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__defers_refresh_to_thread (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_bad_domain (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_registration_fails (0.04s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerState.test_power_state_get_off (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__remove_connection_removes_from_connections (0.01s) SUCCESS: provisioningserver.rpc.tests.test_tags.TestEvaluateTag.test__constructs_client_with_credentials (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test_returns_extra_info (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__acquires_lock_when_scanning_releases_when_done (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_only_updates_interval_when_eventloops_are_unknown (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getAllClients (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__releases_on_error (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_can_write_file_in_development (0.89s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Authenticate.test_authenticate_is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__wraps_subprocess_scan_in_maybeDeferred (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFileScript.test__rejects_file_mode_with_high_bits_set (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock(FileLock) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_calls_import_boot_images_with_sources (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only(RunLock) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCreateNode.test_passes_on_no_duplicate_macs (0.07s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_is_registered(ListBootImages) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_browser_new_event (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_resolver_found_event (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state(power-cycle) (0.02s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__returns_none_for_malformed_input (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired(FileLock) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config(DHCPv4) (0.05s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_suffix (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_ipv4_addresses (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered(power-off) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_mac_addresses_returns_all_mac_addresses (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators(tuple) (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators(list) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_ignores_whitespace_lines (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType(power-cycle) (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__is_valid_returns_false_for_truncated_option_value (0.01s) SUCCESS: provisioningserver.utils.tests.test_iproute.TestParseIPRoute.test__returns_routes_definition (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__returns_server_identifier_if_included (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_forgotten_semicolons_throw_iscparseexception (0.01s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_ignores_keys_for_clashing_values (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_bad_dhcp_config(DHCPv4,V2) (0.04s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parser_preserves_order (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__sets_variables (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBridgeParameters.test_converts_parameter_names (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_spawnProcessAndNullifyStdout_captures_stderr (0.03s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddresses.test__includes_loopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_clears_cache_if_maas_id_file_does_not_exist (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_upper_one_fourth_range_for_ipv6 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_calls_validate_license_key (0.02s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_loopback (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_init (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_none_clears_cache (0.02s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_ipv6_unused_range_for_huge_range (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestMakeCommandRef.test__command_ref_includes_host_pid_command_and_ask_sequence (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_simple_unused_range_with_iprange_input (0.01s) SUCCESS: provisioningserver.utils.tests.test_ethernet.TestEthernet.test__is_valid_returns_false_for_truncated_non_vlan (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config(DHCPv4) (0.05s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_unused_range_with_multiple_overlap (0.01s) SUCCESS: provisioningserver.utils.tests.test_events.TestEvent.test_unregisterHandler (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_range_with_iprange (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_stop_dhcp_server_failure_to_CannotConfigureDHCP(DHCPv6) (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_leak_temp_file_on_failure (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_empty_list_for_domainerror (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__validates_good_dhcp_config(DHCPv4,V2) (0.04s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_permissions_before_moving_into_place (0.02s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test__contains__ (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item_returns_default_if_value_not_present (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_address_for_IConnection (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions_when_restarting(DHCPv6) (0.04s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFileScript.test__accepts_file_names_on_white_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_register_and_unregister_item (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_call (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_call_with_keyword_arguments_raises_useful_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFileScript.test__rejects_file_name_not_on_white_list (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_ident (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__finds_correct_interface_if_passed_in_cidr_matches (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFileScript.test__white_list_is_a_non_empty_set_of_file_names (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestMakeCommandRef.test__replaces_missing_ask_with_none (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError_when_restarting(DHCPv6) (0.04s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release(RunLock) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_host_diff_returns_removal_added_and_modify (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out(FileLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_wireless_ethernet_interface (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_non_host_state_diff(DHCPv4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_global_dhcp_snippets_diff (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_regex_failure_raises_valueerror (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Authenticate) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_ignores_whitespace (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_invalid_prompt (0.32s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Authenticate) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_name (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(Authenticate) (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_skips_and_logs_unknown_parameters (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_doesnt_use_omapi_when_was_off(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(CommissionNode) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__leaves_IPv4_intact (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ConfigureDHCPv4) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__is_not_fooled_by_prefixing (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(DisableAndShutoffRackd) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__returns_None_if_not_found (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(EvaluateTag) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_interface_without_address(ipv4) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ImportBootImages) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_uses_omapi_to_update_hosts(DHCPv6) (0.03s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_non_address_information(ipv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(RequestNodeInfoByMACAddress) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_calls_omshell_create (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(SendEventMACAddress) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__complex (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_False_when_hosts_different (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(UpdateServices) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_single_threaded (0.12s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_32 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ValidateDHCPv6Config) (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_register_without_run (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_failover_different (0.02s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_returns_empty_release_title_when_None_returned (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_full_slash_128 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ListNodePowerParameters) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_works_with_two_ip_networks (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(suse) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_allows_dead_for_off_service (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(PowerCycle) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestListOperatingSystemHelpers.test_gen_operating_system_releases_returns_dicts_for_releases (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_finds_partial_intersection (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(UpdateLastImageSync) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestValidateLicenseKey.test_validates_key (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_debug_in_expected_states (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(UpdateLease) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(_ValidateDHCPConfig_V2) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_full_range (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_warning_in_mismatch_process_state (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_unknown_pod_raises_UnknownPodType (0.01s) SUCCESS: provisioningserver.rpc.tests.test_module.TestUtilities.test_get_rpc_client_returns_client (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_simple_unused_range (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_returns_release_title (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_raising_NotImplementedError (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_performs_start_for_off_service (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_unused_range_with_overlap (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(centos) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__ior_coalesces_adjacent_ranges (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_uses_systemd (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_not_resolving_to_tuple (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__supports_ior (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_raises_ServiceActionError_if_not_on (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_always_returns_deferred (0.03s) SUCCESS: provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_hexadecimal_integer (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_not_returning_Deferred (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__updateServiceState_updates_stored_service_state (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestPreferredHostnamesSortKey.test__sorts_by_tlds_first (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=DEAD,expected=ANY) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_handles_driver_not_returning_hints (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_returns_deferredlist_of_number_of_nodes (0.03s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=UNKNOWN,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestPreferredHostnamesSortKey.test__sorts_flat_names (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_resolving_to_DiscoveredPod (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=DEAD,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__integrates_with_getaddrinfo (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(mscm) (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=UNKNOWN,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__returns_empty_if_address_resolves_to_no_data (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_missing_password (0.23s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_not_called_when_interfaces_not_changed (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(amt) (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_suse.TestSUSEOS.test_get_default_release (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_multiple_sorted_domains (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_default_release (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_cidr_subset (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_childs_exception_when_child_crashes (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_non_lts (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(hmc) (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_validate_license_key (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_run_hmc_command_crashes_for_ssh_connection_error (1.08s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestGetErrorMessage.test_return_msg(action) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_exception_when_child_exits_with_non_zero_code (0.02s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_replaces_international_characters (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_common_path_returns_path (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_returns_none_if_result_too_large (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__chassis_config_written_to_temporary_file (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test__calls_power_driver_cycle_for_power_driver (0.10s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_version_loads_yaml_safely (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_off (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_decompose_continues_on_404_error (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__allows_pipe_input (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test_power_query_calls__issue_ipmi_command (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__non_verbose_removes_waits_before_emitting_duplicate_entry (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_power_query_raises_error_unknown_power_state (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_high_verbosity(decreasing_verbosity) (1.27s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_adds_action_to_registry (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_crashes_when_unable_to_find_match (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(ecdsa256) (0.03s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__raises_systemexit (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_control_login_failure (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_errors_when_missing_packages (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_control_power_failure (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_on_calls_power_control_virsh (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(ecdsa521) (0.04s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__prints_error_for_missing_cidr (0.12s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m500 Server Cartridge) (0.05s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestYieldPingParameters.test__ping__yields_ipv4_ips (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_state_get_off (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_stopped_returns_off (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test__get_pod_resources (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_best_network_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(ecdsa256) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(default) (0.03s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceState_with_now_True (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerHelpers.test_power_change_failure_emits_event (0.06s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_cpu_speed (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(ed25519) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_query_crashes_when_unable_to_find_match (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=OFF,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=OFF,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(ecdsa256) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_get_blades_failure_http_error (0.03s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__propagates_exit_errors (0.02s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(ecdsa256) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_query_calls_power_state_nova (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_home_telephone_number (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_query_calls_power_state_virsh (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_logs_errors (0.02s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__replaces_any_whitespace_sequence_with_single_space (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_extract_vmware_parameters_extracts_parameters (0.00s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_None_None_tuple_when_not_set(get_local_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__raises_ExternalProcessError_on_failure (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_power_query_success_emits_event (0.06s) SUCCESS: provisioningserver.utils.tests.test_backoff.TestFunctions.test_exponential_growth (0.14s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_query_crashes_when_unable_to_find_match (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test__str__returns_unicode (0.00s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__empty (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_in_current_thread_when_current_thread_is_reactor (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_does_not_change_CalledProcessError_subclasses (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__ipv6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOut.test__without_arguments (0.00s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(nova) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__defaults_to_process_environment (0.00s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__is_valid_return_true_for_valid_packet (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__gives_new_thread_generic_name_if_func_has_no_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_previously_unset_variables_to_being_unset (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(virsh) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__calls_given_function_and_always_returns_Deferred (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_is_empty (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_makes_hostname_lowercase (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_wont_be_cancelled_if_errored (0.00s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_is_whitespace (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_clears_and_cancels_capturing (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(ed25519) (0.03s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__properties (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_captures_errback (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_caches (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(dsa) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_records_source_as_capturing_attribute (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__checks_for_pipe (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__new_binding (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_callback_when_process_called_with_processdone (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_caches_to_normalized_value (0.02s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__skips_unimportant_events_without_verbose_enabled (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_does_not_cache_when_write_fails (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__sets_self_as_process_group_leader (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_config.TestByteString.test_converting_to_python_accepts_byte_string (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_uses_relative_path_for_directory (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(ecdsa521) (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__invalid_label_raises (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestGetLibraryScriptPath.test__returns_usr_lib_maas_name_for_production (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__label_with_no_constraints_raises (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_updates_modification_time (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_caches_result (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_deletes_maas_id_file_if_argument_is_whitespace (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_events.TestEvent.test_registerHandler (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__sweeps_aside_dot_new_if_any (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicDelete.test_renames_file_before_deleting (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_set_OSError_filename_if_defined (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFile.test_catches_failures (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_rejects_non_bytes_contents (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_preserves_ownership_before_moving_into_place (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestGetLibraryScriptPath.test__returns_full_path_for_development (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestNamedLock.test__byte_name_is_rejected (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_ip_addr_json_returns_json (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestReadTextFile.test_defaults_to_utf8 (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bonded_interfaces (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestReadTextFile.test_uses_given_encoding (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_inet6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice(FileLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_xenial_interfaces (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately(FileLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_simple_bind_options (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_converts_arp_ip_target_to_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_converts_parameter_names (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_restricts_access (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bond_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__removes_zone_index_suffix (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(ecdsa521) (0.15s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_physical_ethernet_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__unknown_interfaces_type_includes_id (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__ignores_case (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_tolerates_empty_flags (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__ignores_failed_neighbours (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_skips_ipv4_link_local (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_login_invalid (0.33s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_malformed_list_throws_iscparseexception (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(ecdsa521) (0.04s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple_with_dhcp (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__resolves_IPv4_address_to_MAC (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__returns_enabled_bond_interfaces_instead_of_physical (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestIPv4.test__fails_for_bad_ihl (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__set_pxe_boot_sets_pxe (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__returns_consistent_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestHasIPv4Address.test__returns_false_for_no_ip_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestIPv4.test__fails_for_truncated_packet (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__returns_address_for_inet_class(ipv4) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_full_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_and_ranges_are_returned_if_desired (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_127 (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_off_raises_power_action_error (0.02s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_31 (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_first_available_ip_as_default_gateway_if_needed (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestInterfaceChildren.test__yields_each_child (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_last_ip_as_default_gateway_if_needed (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_does_not_resolve_hostnames (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_subnet_anycast_address_for_ipv6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv4_loopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_restart_power_cycles (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_upper_one_fourth_range_for_dynamic_by_default (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__calculates_ipv6_unused_range (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolCommonBehaviour.test__context_is_active_in_new_thread(callInThread) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_finds_intersection_between_two_ranges (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_ipv6_range (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_off_powers_off_with_amttool (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_localhost (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMakeNetwork.test_constructs_IPNetwork (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_amttool_when_already_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__without_callback_acquires_and_releases_lock (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__propagates_unexpected_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestPreferredHostnamesSortKey.test__ignores_trailing_periods (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDRunning.test__result(permission-error) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__resolves_IPv6_address (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_cycle_raises_not_implemented (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_makes_callback (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestRunNmap.test__runs_popen_with_expected_parameters (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_none_for_dnsquerytimeouterror (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_make_power_driver_base (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__context_is_active_in_new_thread(callInThreadWithCallback) (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__rejects_ipv6_cidr (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(auth) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestClassify.test_no_subjects (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_single_domain (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(unknown) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__returns_empty_when_nothing_provided (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__uses_resolver_from_getResolver_by_default (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_does_not_escape_safe_objects (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_EOFError_for_end_of_stream (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_escapes (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_pauses_between_retries (0.02s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_PCAP_header (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSudo.test_returns_same_command_when_in_snap (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_packet_header (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSudo.test_returns_same_command_when_is_dev_environment (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_raises_last_exception_after_all_retries_fail (0.02s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result(not_in_container) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result(in_lxc_container) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverQuery.test_retries_on_failure_then_returns_state (0.02s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestRunningInContainer.test__returns_False_when_ExternalProcessError (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_crashes_when_wget_exits_nonzero (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestSplitStringList.test__splits_at_delimiters (0.19s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_e2e (0.12s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_None_None_tuple_when_not_set(get_remote_address) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__provides_marker_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_single_threaded (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_cannot_be_negative (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test__passes_timeout_to_wait(forever) (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___ensureService_logs_mismatch_for_dead_process_state (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__without_arguments_from_reactor (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execSupervisorServiceAction_decodes_stdout_and_stderr (0.02s) SUCCESS: provisioningserver.utils.tests.test_znums.TestZNumbers.test_roundtrip (0.12s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__without_arguments_from_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_does_nothing_when_any_state_expected (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__with_arguments_in_reactor (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__with_arguments_in_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_raises_error_if_fails_to_start (0.01s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_copies_executable (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__does_not_suppress_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=ON,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_stops_everything (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_can_only_be_called_once (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=ON,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_after_set_returns_the_value (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_can_only_be_called_once (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_only_full_lines_from_stderr (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_stderr (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,status,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestAddArguments.test_accepts_all_args (0.07s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_getting_non_existent_configuration_option (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNeighbourDiscoveryService.test__protocol_logs_stderr (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_replacing_configuration_option (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_getting_configuration_option (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_modified_database_retains_permissions (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_modified_database_uses_safe_permissions_if_file_missing (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNeighbourDiscoveryService.test__restarts_process_after_finishing (0.05s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_deleting_something(file) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something(file) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNeighbourDiscoveryService.test__returns_expected_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestObjectFork.test__can_send_and_receive_objects (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,no-status,plain) (0.02s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__SystemExit_in_child_is_not_raised_in_parent (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,status,plain) (0.02s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__sets_LANG_and_LC_ALL (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_data_path_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__event_type_is_registered_on_first_call_only (0.09s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(ecdsa384) (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(rsa) (0.04s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e_prints_summary (0.43s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(ecdsa384) (0.02s) SUCCESS: provisioningserver.tests.test_events.TestSendEventMACAddress.test__updates_cache_if_event_type_not_found (0.09s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_arm_specific_option (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRetries.test_captures_start_time_when_called (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_enlist_compose_kernel_command_line_inc_purpose_opts4 (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecoratorSychronously.test__raises_TypeError_when_call_returns_Deferred (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_log_settings (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_omits_domain_if_omitted (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_prefix_target_name_adds_prefix (0.00s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(ecdsa384) (0.04s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__returns_absolute_path(get_data_path) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(ecdsa384) (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestIPv4.test__fails_for_non_ipv4_packet (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_no_elements(get_local_address) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_networks_monitor_service (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPool.test__context_entry_failures_are_propagated_to_tasks (0.06s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_forever (0.02s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_service_monitor_service (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_int (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPool.test__init (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_reactor_thread(finite) (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e_prints_warning_for_unknown_cidr (0.13s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_stop_error (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCall.test__does_not_suppress_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPool.test__init_with_parameters (0.01s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__same_secret_is_returned_on_subsequent_calls (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_init (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_getExpectedState_returns_from_expected_state (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__defers_to_thread (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_is_on_returns_True_when_expected_state_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__callInThread_calls_callInThreadWithCallback (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_exited_returns_dead (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPv6Service.test_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__without_callback_releases_lock_when_underlying_pool_breaks (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_can_be_called_multiple_times (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_config_args_dumps_expected_functions(without_exception_mock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_status_calls_supervisorctl (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_True_when_there_is_a_value (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_high_verbosity(increasing_verbosity) (1.21s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_arg_dumps_expected(with_exception_mock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__logs_failure_deferring_to_thread(callInThreadWithCallback) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_failure_results_in_an_errback (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_one_thing (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_no_things (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_raise_error_for_bad_active (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__deferred_fires_when_client_completes (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__passes_args_through(callInThread) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_lshw_details_and_others_valid (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__escapes_IPv6_zone_index (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_only_lldp_details (0.00s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_performs_raises_ServiceActionError (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_bracketed_IPv6_unchanged (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merges_into_new_tree (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_tuple_or_list(types) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_BSON_content (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_other_content (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateTemplate.test_returns_test_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_handles_errors (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestShellTemplate.test_substitute_does_not_escape_safe (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_returns_dict_for_states (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression does not match,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression does not match,xpath-compiler=XPath,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression does not match,xpath-compiler=XPath,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_raises_ServiceNotOnError (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(unrecognised namespace,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=DEAD,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_maas_url_sets_url (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=UNKNOWN,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfigurationGRUBRoot.test__is_relative_to_tftp_root_without_trailing_slash (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=DEAD,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_configuration_pristine (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=UNKNOWN,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_opened_database_commits_on_exit (0.02s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_stderr_at_process_end (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_falls_back_to_default(file) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_when_nothing_previously_recorded (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_gets_filename_from_environment(file) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_set(db) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_events.TestSendEventNodeMACAddress.test__calls_singleton_hub_logByMAC_directly (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_cc_datasource (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_purpose_opts_xinstall_node (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__handles_abnormal_process_exit (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_output_as_unicode (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_kernel_parameters_callable (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__assumes_MAAS_ROOT_is_unset_if_empty(get_data_path) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_parents_exception_when_parent_crashes (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__maybe_creates_dirpath_if_not_exists(get_data_path) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__defaults_to_process_environment (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__obeys_MAAS_ROOT_variable(get_path) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__overwrites_LANG (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__obeys_MAAS_ROOT_variable(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_running_in_snap_returns_True (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test__provides_marker_interface (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_node_monitor_service (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__passes_args_through(callInThreadWithCallback) (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__crashes_on_eoferror (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(dsa) (0.04s) SUCCESS: provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_additional_eparator (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_run_wedge_command_crashes_for_ssh_connection_error (1.37s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(ecdsa384) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_tuple_or_list(instances) (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__prompts_user_for_secret (0.02s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv6) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__returns_false_if_object_is_not_relevant(types) (0.01s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__deals_fine_with_whitespace_in_filesystem_value (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv6-no-slash) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_can_sort_non_numeric_things_too (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(user-pass-ipv6-no-port) (0.01s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__errors_when_filesystem_value_cannot_be_decoded (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression matches,xpath-compiler=XPath,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_choices_to_empty_list (0.01s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__returns_secret_when_one_exists (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_valid_schema (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression matches,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(ed25519) (0.04s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestComposeTargetsConf.test__creates_root_image_entry (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__prints_message_when_secret_is_installed (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_expected_state_starts_off (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression matches,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestImportImages.test__returns_false_when_no_new_images (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_is_on_returns_False_when_expected_state_off (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(ed25519) (0.02s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack.test_name_and_service_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(unrecognised namespace,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_tftp_root (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_non_ENOENT_IOErrors (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfiguration.test_open_for_update_uses_backend_as_context_manager (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfiguration.test_open_uses_backend_as_context_manager (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_on_crashes_when_power_cannot_be_cycled (1.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(ed25519) (0.04s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test_power_query_errors_on_unknown_power_state (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestUDP.test__fails_for_truncated_udp_header (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_update_targets_only_runs_when_conf_exists (0.03s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_init (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_removing_configuration_option (0.00s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__eliminates_trailing_space (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_mutable (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmi_command_issues_power_query (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_load_empty_file_results_in_empty_config (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_one_element(get_local_address) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_opened_configuration_file_does_not_save_on_unclean_exit (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestParseSources.test_parses_sources (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_on_calls_run_mscm_command (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFileMutability.test_open_yields_immutable_backend (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState(rack) (0.08s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_cannot_be_None (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_query_returns_power_state_on (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_delete(file) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_blades_gets_blades (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_deleting_something(db) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_cache_removes_all_files_nlink_equal_one (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something(db) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_other_thread(forever) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_crashes_on_http_error (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something(file) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_snapshots_removes_all_old_snapshots (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCall.test__without_arguments (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_all_args_dumps_all_functions(without_exception_mock) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestBootMerge.test_obeys_filters (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls__power_control_seamicro15k_ipmi (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeoutErrors.test__propagates_exceptions_in_reactor (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_more_things (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_no_things (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_only_creates_links_for_its_own_subarch (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeoutErrors.test__propagates_exceptions_in_thread (0.02s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_returns_dict_with_correct_values (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_represents_empty_dict_as_empty_object (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestIsFilesystemFile.test__returns_True_if_file_looks_like_filesystem (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenNodeDetails.test__generates_node_details (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_setdefault_sets_unset_item (0.01s) SUCCESS: provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__updates_cache_if_event_type_not_found (0.06s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestSetOwnership.test__does_nothing_if_no_user_specified (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_errback_from_thread (0.02s) SUCCESS: provisioningserver.tests.test_events.TestSendEventNode.test__calls_singleton_hub_logByID_directly (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_lshw_details (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_ioerror_when_no_sources_file_found (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_purpose_opts4 (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestUnmount.test__propagates_failure (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__calls_given_function (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_fails_when_creating_temp_link_fails (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_not_inc_arm_specific_option (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_invalid_other_details (0.02s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_any_image_passes_empty_filter (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_enlist_compose_kernel_command_line_inc_purpose_opts6 (0.01s) SUCCESS: provisioningserver.logger.tests.test__tftp.TestObserveTwistedInternetTCP_Other.test__propagates_other_events(debug) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_does_not_pass_nonmatching_filter (0.00s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_inc_purpose_opts (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_wont_be_cancelled_if_called (0.02s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_unmatched_value_does_not_pass (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__succeeds_if_directory_exists (0.01s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_injects_default_keyring_if_passed (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_basics(debug) (0.02s) SUCCESS: provisioningserver.tests.test_monkey.TestAugmentDeferToThreadPool.test_functions_returning_other_from_threads_are_okay (0.01s) SUCCESS: provisioningserver.import_images.tests.test_keyrings.TestWriteKeyring.test_writes_keyring_to_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_clears_and_cancels_capturing (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_format_basics(critical) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestTarSupportsXattrOpts.test__returns_False_if_help_doesnt_contain_ref_to_xattr (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__non_concurrent_gets_do_not_become_related (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_exception_calls_disallowed (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_dhcp_probe_service (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_time(debug) (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMakeMAASOwnBootResources.test__skips_chown_if_boot_resources_dir_does_not_exist (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_time(critical) (0.01s) SUCCESS: provisioningserver.logger.tests.test__tftp.TestObserveTwistedInternetTCP_Other.test__propagates_other_events(warn) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__prefixes_header_to_file_if_present (0.02s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_image_download_service (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_basics(warn) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_null(warn) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo._ar._az => foo) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_level(critical) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_format_basics(error) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_lease_socket_service (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(None => None) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_time(warn) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_time(error) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo.bar.b_z => foo.bar.b_z) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetTCP.test__ignores_protocol_starting_on_events (0.00s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo.b_r.baz => foo.b_r.baz) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_makeService_with_EXPERIMENTAL_tftp_offload_service (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestLegacyLogger.test__logs_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUNIX.test__propagates_other_events (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_tftp_service (0.02s) SUCCESS: provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__exits_non_zero_if_secret_does_not_exist (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__has_add_arguments (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestGlobalServiceMonitor.test__includes_all_services (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_networking_args_dumps_expected_functions(with_exception_mock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_preserves_args(with_exception_mock) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_config_args_dumps_expected_functions(with_exception_mock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_images_args_dumps_expected_functions(with_exception_mock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_batches_by_brute_force (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_lshw_details_and_others_valid (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__calls_update_targets_conf_with_current_dir (0.13s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRetries.test_intervals_can_be_an_iterable (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_boot_resources_dir_does_not_exist (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__when_deferring_acquires_and_releases_lock_on_error (0.03s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accept_subclass(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_correct_type(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_variable_args(types) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_locates_config_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_input_not_modified (0.01s) SUCCESS: provisioningserver.utils.tests.test_znums.TestZNumbers.test_to_int_basics (0.01s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_creates_config_files (0.04s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_permissions_new_database (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFileMutability.test_open_for_update_yields_mutable_backend (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__moves_paths_with_correct_levels_into_ubuntu_dir (0.13s) SUCCESS: provisioningserver.tests.test_events.TestSendEventMACAddress.test__event_type_is_registered_on_first_call_only (0.07s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_purpose_opts_comm_node (0.01s) SUCCESS: provisioningserver.tests.test_monkey.TestAugmentDeferToThreadPool.test_functions_returning_Deferreds_from_threads_crash (0.02s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__appends_path_elements(get_data_path) (0.02s) SUCCESS: provisioningserver.tests.test_plugin.TestOptions.test_defaults (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test___sets_secret (0.03s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__reads_secret_from_tty (0.02s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPv4Service.test_name (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPv6Service.test_service_name (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestTGTService.test_service_name (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_config_arg_dumps_expected_functions(without_exception_mock) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_arg_dumps_expected_functions(without_exception_mock) (0.02s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_more_things (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_only_lldp_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merges_into_new_tree (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_all_invalid_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_no_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_only_lshw_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestProcessResponse.test_process_OK_response_with_JSON_content (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_create_ubuntu_dir_when_no_valid_directories (0.02s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_move_paths_with_fewer_levels_into_ubuntu_dir (0.05s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__does_nothing_if_file_not_present (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__survives_encoding_problems (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestUpgradeCluster.test_calls_hooks (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__silently_discards_unresolvable_ntp_servers(v4) (5.20s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test_init_sets_mac_bytes (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceIP.test__unknown_errno_ip_raises_ipaddressnotavailable (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceMAC.test__loopback_has_zero_mac (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_calls_omshell_correctly(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_calls_omshell_correctly(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_blank_last_lines(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_calls_omshell_correctly(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_True(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__calls_omshell_correctly(IPv6) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_invalid_error(IPv4) (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestConfiguration.test_bind_write_configuration_writes_file (0.02s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReload.test__executes_rndc_command (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReload.test__logs_subprocess_error (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestComposeConfigPath.test_returns_filename_in_dns_config_dir (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_errors_if_unexpected_exception (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_bind_config_dir_defaults_to_etc_bind_maas (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_renders_template (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestReportMissingConfigDir.test_passes_on_other_similar_errors (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_ignores_networks_that_span_slash_16s (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_get_ptr_mapping (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_low_verbosity(initial_only) (1.70s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_writes_reverse_dns_zone_config_for_small_network (0.02s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig_GetGenerateDirectives.test_excplicitly (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09_exception_failure (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v2_raises_error_when_api_None (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_invalid_json_response (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_on_using_pxe (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestMakePolicyChange.test_change_lan_to_top_priority (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_error_on_unknown_state (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command(Power On) (0.00s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestValidGetPowerCommand.test_get_power_command(Power On) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_server_by_uuid (0.10s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_get_vmware_servers (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist_reconfigures_boot_order_if_create_node_ok (0.04s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_default_verbosity(initial_only) (1.31s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_high_verbosity(initial_only) (1.30s) SUCCESS: provisioningserver.drivers.osystem.tests.test_base.TestOperatingSystem.test_format_release_choices_sorts (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPMAASConf.test_renders_the_given_peers (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_bootloader.TestCustomOS.test_is_release_supported (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_is_release_supported (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_probes_ipv4_interfaces (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_tar_xz_ddtxz (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_interface_mac_vid (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_pod (0.04s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_reports_foreign_dhcp_servers_to_region (0.06s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestRequestClasses.test_block_device_size (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_skips_disabled_interfaces (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__list_resources (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_no_download_if_15_minutes_has_not_passed (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_get_url_with_https (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_discover (0.05s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_query_calls_power_state_virsh (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_attach_local_volume (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_cleanup_disks_deletes_all (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_gets_called_multiple_times (0.12s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_create_local_volume_makes_call_returns_pool_and_volume (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_delete_domain_calls_correct_methods (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_best_network_returns_default (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_pool_size_map (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_list_machine_block_devices (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_list_machine_mac_addresses_error (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_list_pools (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_runs_refresh_first_time (0.11s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_query_nodes_calls_query_all_nodes (0.07s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_try_query_nodes_logs_other_errors (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_commissioning_image_for_commissioning (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__defers_log_call_later (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_login_prompt (0.23s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 2) (0.15s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_logout (0.13s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_returns_amttool (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__run_runs_command (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_off_powers_off (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_make_power_driver_base_makes_name_and_description (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 13) (0.15s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverBase.test_get_schema_returns_valid_schema (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 5) (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success(on) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 16) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_fence_cdu.TestFenceCDUPowerDriver.test__issue_fence_cdu_command_handles_power_query_off (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 4) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_query_crashes_when_unable_to_find_match (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 15) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_raises_unknown_error (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 11) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_command_returns_stdout_if_no_match (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 20) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test_power_on_calls__issue_ipmitool_command (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 11) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m700 Server Cartridge) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 20) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_get_crashes_on_url_error (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 11) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_registry.TestPowerDriverRegistry.test_registry (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_on_calls_power (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 20) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ucsm.TestUCSMPowerDriver.test_extract_ucsm_parameters_extracts_parameters (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 11) (0.02s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4-no-port) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(name-no-port) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 20) (0.02s) SUCCESS: provisioningserver.drivers.tests.test_base.TestMakeSettingField.test_defaults_field_type_to_string (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestGetUrl.test_geturl_increments_skew (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_dump_json_represents_entry (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_script_version_id (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_result_matches_dump_of_own_data (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_on_socket_timeout (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestDHCPExplore.test_calls_dhclient_on_unconfigured_interfaces (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__removes_duplicate_block_device_same_serial_blank_model (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_failed_run_deletes_snapshot (0.05s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_os_release_etc_os_release_exists (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_failure (0.02s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_warns_if_no_boot_resources_found (0.03s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestAmpList.test_round_trip (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestTgtEntry.test_generates_one_target (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_image_passes_matching_filter (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_lowest_verbosity(decreasing_verbosity) (1.39s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_generic_to_release_item_for_hwe_version (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_calls_get_boot_sources_v2_before_v1 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_registration_errors (0.03s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestDownloadAllBootResources.test_returns_snapshot_path (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_initiates_download_if_15_minutes_has_passed (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_links_bootloader (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_secureConnection_disconnects_if_ident_does_not_match (0.03s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestLinkResources.test_links_resources (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_notification_gets_added_to_notifications (0.02s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_file (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(default) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_service_uses__tryUpdate_as_periodic_function (0.01s) SUCCESS: provisioningserver.import_images.tests.test_keyrings.TestWriteAllKeyrings.test_returns_sources (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_msftocs_logs_error_to_maaslog (0.02s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_contains_ignores_extraneous_keys (0.01s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_fails_if_key_missing (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency(DHCPv4) (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_general_logger_class_accepts_exceptions (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency(DHCPv4,V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test_raises_error_on_failure (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_level(error) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Identify.test_identify_is_registered (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_noise(info) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_getConfiguration) (0.07s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Identify.test_identify_reports_system_id (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_format(critical) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_missing(critical) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(some-command-with-suffix) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(f_o.bar.baz => f_o.bar.baz) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_applyConfiguration) (0.07s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_calls_ensureServices (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_with_things_to_report(ListBootImages) (0.08s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestBytesReader.test_finish (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError(power-cycle) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestGetBootImage.test_returns_image_by_its_supported_subarches (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_returns_power_state (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_boot_method_reader_returns_no_image (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_StartTLS_is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_hostname (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_handles_backslashes_in_path (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_hostname_and_port (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_init (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingResponses.test_unhandled_errors_logged_and_do_not_cause_disconnection(_errorReceived) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_non_host_state_diff(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_doesnt_use_omapi_when_was_off(DHCPv6) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_True_when_hosts_dhcp_snippets_diff (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_network_different (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_omapi_key_different (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_calls_omshell_remove (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestUpdateHost.test__creates_omshell_with_correct_arguments (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(AddChassis) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetDiscoveryState) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(PowerDriverCheck) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(_ConfigureDHCP_V2) (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_low_verbosity(decreasing_verbosity) (1.56s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 9) (0.17s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_raising_any_Exception (0.02s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_not_resolving_to_DiscoveredPod (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_success (0.03s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerHelpers.test_power_change_starting_emits_event (0.05s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_gets_and_reports_power_state (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_logs_skip_if_node_in_action_registry (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(vmware) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 10) (0.14s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 2) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 13) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 1) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCreateNode.test_calls_create_node_rpc (0.07s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 12) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 7) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 18) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 7) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCreateNode.test_logs_error_on_duplicate_macs (0.07s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 18) (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__returns_sender_for_request (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_ip_in_reply (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_target_ip_in_reply (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 7) (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__is_valid__succeeds_for_normal_packet (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__allows_file_input (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 18) (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__new_bindings_with_vid (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__refreshed_binding (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_all_types_of_escape_sequences (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 7) (0.02s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_hostnames_as_short_as_a_single_char (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_hostnames_up_to_63_chars_long (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 18) (0.02s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_trailing_and_starting_double_colon (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_to_python_accepts_Unicode_string (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestEncode.test_encode_file (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_script_result_id (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__duplicate_label_raises (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_if_not_ok (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetDhclientInfo.test__returns_interface_name_with_address (0.02s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_contents_if_maas_id_file_contains_something (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__keeps_block_device_blank_serial_same_model (0.02s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_strips_contents_if_maas_id_file_contains_something (0.01s) SUCCESS: provisioningserver.utils.tests.test_events.TestEventGroup.test_makes_events_as_properties (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestFileLock.test__path (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__removes_duplicate_block_device_same_serial_and_model (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_choices_is_not_mapping (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFile.test_calls_atomic_delete (0.04s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestDiscoveredMachine.test_round_trip (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestIPNetwork.test_round_trips_ipv6_address (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__doesnt_remove_non_matching_path_from_maas_url_with_slashes (0.02s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__calls_list_boot_images_with_boot_resource_storage (0.02s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__doesnt_call_list_boot_images_when_cache_is_not_None (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_accepts_matching_digests (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_authentication_errors (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__get_rpc_info_url (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_unknown_error_is_logged_with_stack (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClient_when_there_are_no_connections (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_init_sets_appropriate_instance_attributes (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_unknown_logs_error_to_maaslog (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_virsh_calls_probe_virsh_and_enlist (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered(DHCPv4) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered(DHCPv4,V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DiscoverPod.test_calls_discover_pod (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_calls_get_os_release_title (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_can_be_called(ListBootImagesV2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError(power-off) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail(power-on) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered(DHCPv4) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered(DHCPv4,V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_exception_when_os_does_not_exist (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv4_address (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv4_address_and_port (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_high_verbosity(increasing_verbosity) (1.13s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_isSecure (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_dhcp_restart_failure_to_CannotConfigureDHCP(DHCPv4) (0.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_failure_writing_file_to_CannotConfigureDHCP(DHCPv4) (0.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__deletes_dhcp_config_if_no_subnets_defined(DHCPv4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_clears_state(DHCPv4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_if_no_subnets_defined(DHCPv4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_ensure_when_nothing_changed(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_raises_error_when_omshell_not_connected (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_False_when_all_the_same (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ConfigureDHCPv6_V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(DecomposeMachine) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetBootConfig) (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_low_verbosity(increasing_verbosity) (1.08s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ListBootImagesV2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(RefreshRackControllerInfo) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ScanNetworks) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(_Power) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(_ValidateDHCPConfig) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestListOperatingSystemHelpers.test_gen_operating_systems_returns_dicts_for_registered_oses (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_clears_lock_if_change_power_state_is_cancelled (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_swallows_PowerError (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_replaces_whitespace_and_special_characters (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_returns_none_if_result_empty (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__bytes (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__radd (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__calls_subprocess_for_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__raises_systemexit_poll_result (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__moved_binding (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__allows_file_input (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestByteString.test_converting_from_python_accepts_byte_string (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestByteString.test_converting_to_python_rejects_non_byte_string (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestDirectory.test__validation_succeeds_when_directory_exists (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators(bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__single_value_map (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFile.test_can_delete_file_in_development (0.78s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__missing (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__leaves_other_variables_intact (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release(FileLock) (0.02s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__restores_even_after_exception (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_does_nothing_if_maas_id_file_does_not_exist (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_writes_argument_to_maas_id_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_overwrite_file_if_overwrite_false (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestNamedLock.test__name_rejects_unacceptable_characters (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_raises_exception_when_time_has_run_out(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_yields_unicode (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestNamedLock.test__string_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__finds_bond_members_original_mac_addresses (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_bridge_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_add_additional_interface_properties_ignores_loopback_mac (0.00s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoDeleteFileScript.test__white_list_is_a_non_empty_set_of_file_names (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_handles_odd_number_of_tokens (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_inet (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_skips_ipv6_link_local (0.00s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_then_make_then_parse_generates_identical_config (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock(FileLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__is_not_fooled_by_different_notations (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__resolves_IPv6_address_to_MAC (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__returns_address_for_inet_class(ipv6) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_creates_real_fresh_directory (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__fixing_links (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_malformed_line_raises_valueerror (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_creates_correct_dictionary (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBridgeParameters.test_skips_and_logs_unknown_parameters (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestCleanUpNetifacesAddress.test__leaves_clean_IPv6_intact (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestConversionFunctions.test__format_eui (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__fails_on_nonsensical_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_interface_without_address(ipv6) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_link_address(ipv4) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_vlan_parents (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_eui_organization_returns_None_for_UnicodeError (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_false_when_ip_range_is_within_network (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_eui_organization (0.08s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__contains_method (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestHasIPv4Address.test__returns_false_for_ipv6_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__ior_doesnt_combine_adjacent_ranges_with_different_purposes (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggested_range_excludes_suggested_gateway (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestPreferredHostnamesSortKey.test__sorts_more_qualified_names_first (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_first_ip_as_default_gateway_if_available (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__rejects_weird_IP_version (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_no_dynamic_range_if_dynamic_range_exists (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_no_gateway_if_range_full (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolvesToLoopbackAddress.test_resolves_hostnames_non_loopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_false_when_ip_range_is_partially_within_network (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDRunning.test__result(lookup-error) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestInterfaceChildren.test__returns_namedtuple (0.00s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDRunning.test__result(os-error) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__normalizes_range (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_get_item_returns_None_default (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_none_for_resolvererror (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__default_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_register_and_get_item (0.00s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestRunPing.test__runs_popen_with_expected_parameters (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__interprets_long_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__rejects_non_interface_or_cidr (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_all_cidrs_on_single_interface_when_ifname_passed (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_actionscripterror (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_register (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___getServiceLock_returns_lock_for_service (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_raise_error_for_bad_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_raises_ServiceUnknownError (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_get_all_interfaces_definition_is_called_in_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test__str__contains_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_unicode_decodes_to_unicode (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_common_path_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_data_path_returns_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(ecdsa521) (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_ping_e2e (0.13s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(rsa) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(rsa) (0.02s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(rsa) (0.04s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestIPv4.test__parses_ipv4_packet (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_room_number (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_returns_basic_gecos_field_without_input (0.00s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_no_elements(get_remote_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__with_arguments (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__gives_new_thread_informative_name (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_starting_returns_on (0.14s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__propagates_context_into_callback_from_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_returns_dead_for_failed (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_does_nothing_if_value_already_set (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__create (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceState_with_now_False (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_False_when_there_is_no_value (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_always_raises_error_if_fails_to_start (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestPause.test_pause_returns_a_deferred_that_fires_after_a_delay (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=ON,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=OFF,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=ON,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=OFF,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__logs_non_json_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_attempts_to_assume_sole_responsibility_on_each_iteration (0.06s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_init (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestProtocolForObserveARP.test_adds_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_unicode_defers_to_unicode_constructor (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__calls_which (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__returns_True_when_ExternalProcessError_not_raised (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__removes_other_LC_variables (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_low_verbosity(initial_only) (1.21s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(ed25519) (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(ed25519) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(ed25519) (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(ecdsa256) (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(ecdsa256) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(ed25519) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(ecdsa256) (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestUDP.test__fails_for_bad_length (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__eliminates_leading_space (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_even_when_set_longer(get_local_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRetries.test_calculates_times_with_reference_to_current_time (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_reactor_thread(forever) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSuppress.test__suppresses_given_exception (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCall.test__with_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_allows_call_in_any_thread_when_reactor_not_running (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__with_arguments_in_reactor (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactor.test__with_arguments_in_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__without_arguments_from_reactor (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorWithTimeout.test__without_arguments_from_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOut.test__does_not_suppress_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_returns_a_Deferred_with_a_timeout (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_observes_errback (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_records_source_as_observing_attribute (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_clears_observing (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_lowest_verbosity(initial_only) (1.29s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_errback_when_processended_called_with_failure (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__concurrent_gets_become_related (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestGetBootSources.test__get_boot_sources_v1_sets_os_to_wildcard (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test_call_returns_deferred (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_init (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_gets_called_with_notification (0.12s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_startService_creates_socket (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_with_kill_and_killpg (0.27s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_query (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_copes_with_empty_lines (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_arbitrarily_nested_lists (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_variable_args(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_defaults_to_global_etc_maas_if_variable_is_empty (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_defaults_to_global_etc_maas_if_variable_is_unset (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_normalizes_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSafe.test_repr (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSafe.test_value (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_ghost_dependencies_appear_in_first_batch (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPath.test_logs_to_specified_logger (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_asks_region_for_monitoring_state (0.13s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRetries.test_yields_elapsed_remaining_and_wait (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_node_power_monitor_service.TestNodePowerMonitorService.test_init_sets_up_timer_correctly (0.03s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_defaults_reallocated_after_teardown (0.07s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__start_sets_started (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_maas_url (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestClassify.test_subjects (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_hostnames (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfig.test_is_dev_environment_returns_false (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_list (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_converts_other_exceptions_to_tftp_error (0.04s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_and_close (0.02s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_non_flat_list(types) (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_adding_configuration_option (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_as_string (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_returns_absolute_path (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFileMutability.test_immutable (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_does_not_log_when_mac_cannot_be_found (0.03s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_falls_back_to_default(db) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_circular_dependency_results_in_an_exception (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_gets_filename_from_environment(db) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_multiple_things_without_dep_yields_single_batch (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression does not match,xpath-compiler=XPath,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression does not match,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression does not match,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(unrecognised namespace,xpath-compiler=XPath,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_init_creates_initial_cluster_id (0.02s) SUCCESS: provisioningserver.tests.test_events.TestSendEventMACAddress.test__event_is_sent_to_region (0.07s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_root_without_setting_does_nothing (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_xinstall_compose_kernel_command_line_inc_cc_datasource (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_default_tftp_root (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_prefix_target_name_produces_exactly_one_separating_colon (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__concatenates_despite_leading_slash(get_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_opened_database_rolls_back_on_unclean_exit (0.02s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__defaults_to_root(get_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__defaults_to_root(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_configuration_pristine (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__normalises(get_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__normalises(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_delete(db) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something_is_not_validated(file) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_image_service (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something(db) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something_is_validated(file) (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_makeService_patches_tftp_service (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 1) (0.18s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__deletes_maas_id_file (0.03s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__errors_out_when_piped_stdin_and_url_not_supplied (0.01s) SUCCESS: provisioningserver.tests.test_events.TestSendEventMACAddress.test__failure_is_suppressed_if_node_not_found (0.07s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_enable_error (0.02s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_purpose_opts6 (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_xinstall_compose_kernel_command_line_inc_purpose_opts4 (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__reads_secret_from_stdin (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_one_thing (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__assumes_MAAS_ROOT_is_unset_if_empty(get_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__assumes_MAAS_ROOT_is_unset_if_empty(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_multiple_details (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__maybe_creates_dirpath_if_not_exists(get_path) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_lshw_details (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__maybe_creates_dirpath_if_not_exists(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_invalid_other_details (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__obeys_MAAS_ROOT_variable(get_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestTagUpdating.test_post_updated_nodes_handles_conflict (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestOptions.test_parse_minimal_options (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__does_not_set_ownership_if_not_running_as_root (0.01s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_init (0.02s) SUCCESS: provisioningserver.tests.test_register_command.TestAddArguments.test_accepts_all_args (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 12) (0.15s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 4) (0.02s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__show_service_start_error (0.03s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__reads_with_lock (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 15) (0.02s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__deals_gracefully_with_eof_from_tty (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__ignores_surrounding_whitespace_from_tty (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 3) (0.02s) SUCCESS: provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_with_lock (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestTGTService.test_getExpectedState (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_config_arg_dumps_expected_functions(with_exception_mock) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 14) (0.02s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_arg_dumps_expected_functions(with_exception_mock) (0.02s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_arg_dumps_expected(without_exception_mock) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 9) (0.02s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_lowest_verbosity(decreasing_verbosity) (1.12s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_no_things (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_more_things (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestProcessResponse.test_process_not_OK_response (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 10) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 9) (0.02s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__calls_write_targets_conf_with_current_dir (0.03s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestRetireBootResourcesYAML.test__is_idempotent (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 10) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 9) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 10) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 9) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 10) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_not_sata (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_removable (0.02s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestLLDPScripts.test_capture_lldpd_calls_lldpdctl (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestLLDPScripts.test_capture_lldpd_script_waits_for_lldpd (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_sys_info_empty (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_input_is_not_in_choices (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestChoice.test_round_trip (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv4_address (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv6_mapped_ipv4_address (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_from_maas_url (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestGetHostsFromSources.test__returns_set_of_hosts_from_sources (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_not_performed (0.02s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestReloadBootImages.test__sets_CACHED_BOOT_IMAGES (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_integrates_with_boot_resources_function (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_sets_proxy_for_source_host (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_end_to_end (0.08s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_there_is_an_existing_connection (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_propagates_errors (0.07s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__doUpdate_calls__update_connections (0.04s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClientNow_calls__tryUpdate_when_there_are_no_connections (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_mscm_calls_probe_mscm_and_enlist (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_msftocs_calls_probe_msftocs_and_enlist (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_virsh_logs_error_to_maaslog (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp(DHCPv4,V2) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__is_registered(DHCPv6,V2) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DisableAndShutoffRackd.test__is_registered (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test__is_registered (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test_happy_path (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_IsImportBootImagesRunning.test_is_import_boot_images_running_returns_True (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress(power-on) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerQuery.test_returns_power_error (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_expected_binary_args (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_StartTLS.test_get_tls_parameters_returns_parameters (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered(DHCPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateDHCP.test__is_registered(DHCPv6,V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv6_address (0.00s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestPatchedURI.test__parses_URL_with_IPv6_address_and_port (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_getHostCertificate (0.00s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_isSecure_not (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_dhcp_restart_failure_to_CannotConfigureDHCP(DHCPv6) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__converts_failure_writing_file_to_CannotConfigureDHCP(DHCPv6) (0.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__deletes_dhcp_config_if_no_subnets_defined(DHCPv6) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_clears_state(DHCPv6) (0.02s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_lowest_verbosity(increasing_verbosity) (1.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__stops_dhcp_server_if_no_subnets_defined(DHCPv6) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_no_current_state(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_raises_error_when_omshell_crashes (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(DiscoverPod) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetBootSources) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(IsImportBootImagesRunning) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(RegisterRackController) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ReportMDNSEntries) (0.00s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ReportNeighbours) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(_ConfigureDHCP) (0.00s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedDataErrors.test_throws_exception_when_os_does_not_exist (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_handles_driver_not_returning_Deferred (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_copies_previous_downloaded_files (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_bootloader_path_does_not_include_tftp_root (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_compose_config_path_follows_maas_pxe_directory_layout (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethod.test_path_prefix (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodMatchPath.test_match_path_pxe_prefix_request (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodPathPrefix.test_path_prefix_only_first_occurrence_removed (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_get_reader_appends_bootif (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_arch_octet (0.00s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_does_not_match_file_not_in_pxelinux_cfg (0.00s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default_arch (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test___handles_power_driver_power_types (0.07s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test__calls_change_power_state_with_timeout (0.03s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_extract_image_params_with_no_metadata (0.04s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_copes_with_missing_directory (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_boot_images_empty_on_missing_osystems (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_output_from_RequestNodeInfoByMACAddress (0.02s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_clean_path (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_report_power_state_changes_power_state_if_failure (0.08s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_dns_servers_as_comma_separated_list(v6) (0.07s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test__builds_packet (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__deferredDHCPRequestErrback_logs_known_exceptions (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPRequestMonitor.test__run_via_probe_interface_returns_servers (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_report_power_state_changes_power_state_if_unknown (0.09s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestUDPSocket.test_yields_open_socket (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_raises_when_omshell_fails(IPv4) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(moonshot) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_modify_raises_when_omshell_fails(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_object_already_removed(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_failed_update(IPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(msftocs) (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_get_include_snippet_returns_snippet (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_eui_for_request (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__is_valid__fails_for_invalid_packets (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_writes_config_if_no_existing_file (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateAndPrintBindings.test__prints_bindings_in_json_format (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestRenderDNSTemplate.test_reports_missing_parameters (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__prints_event_json_in_verbose_mode (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_fields (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestParseAvahiEvent.test__parses_browser_removed_event (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_dot (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09 (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_control_seamicro15k_v09_retry_failure (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicro.test_power_query_seamicro15k_v2_power_on (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_json_error_response (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_off (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestCall.test_call (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigConfMo.test_parameters (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_return_response (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestLogout.test_logout_uses_cookie (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_no_children (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestMakeRequestData.test_no_fields (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestParseResonse.test_no_error (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeAndEnlistUCSM.test_probe_and_enlist (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeLanBootOptions.test_returns_result (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestUCSMPowerState.test_power_state_get_off (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_get_arch_returns_valid (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_list (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_with_password (0.23s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_remote_mac (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_get_template_gets_default_if_available (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_links_simplestream_bootloader_files (0.01s) SUCCESS: provisioningserver.boot.tests.test_boot.TestBootMethod.test_link_bootloader_logs_missing_previous_downloaded_files (0.01s) SUCCESS: provisioningserver.boot.tests.test_powernv.TestPowerNVBootMethodRenderConfig.test_format_bootif_replaces_colon (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethod.test_link_simplestream_bootloaders_creates_syslinux_link (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_matches_pxelinux_cfg_with_leading_slash (0.01s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default (0.00s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRegex.test_re_config_file_with_default_arch_and_subarch (0.00s) SUCCESS: provisioningserver.boot.tests.test_pxe.TestPXEBootMethodRenderConfigScenarios.test_get_reader_scenarios(commissioning) (0.01s) SUCCESS: provisioningserver.boot.tests.test_tftppath.TestTFTPPath.test_list_subdirs_lists_subdirs (0.04s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRegex.test_re_config_file_is_compatible_with_cfg_path_generator (0.01s) SUCCESS: provisioningserver.boot.tests.test_uefi_amd64.TestUEFIAMD64BootMethodRender.test_get_reader_with_commissioning_purpose (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_None_when_MAC_is_None (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestRequestNodeInfoByMACAddress.test__returns_None_when_node_not_found (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_compose_bcd (0.01s) SUCCESS: provisioningserver.boot.tests.test_windows.TestWindowsPXEBootMethod.test_get_node_info (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_node_dhcp_snippets(v6) (0.06s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_with_sshkey (0.43s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__renders_ntp_servers_as_comma_separated_list(v4) (0.07s) SUCCESS: provisioningserver.dhcp.tests.test_config.TestGetConfig.test__silently_discards_unresolvable_ntp_servers(v6) (0.14s) SUCCESS: provisioningserver.dhcp.tests.test_detect.MakeDHCPTransactionID.test_produces_well_formed_id (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestDHCPDiscoverPacket.test__converts_byte_string_to_bytes (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestGetInterfaceIP.test__no_ip_raises_ipaddressnotavailable (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_detect.TestSendDHCPRequestPacket.test__sends_expected_packet (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestCallDnsSecKeygen.test_runs_external_script (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_prompt (0.22s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_create_succeeds_when_host_map_already_exists(IPv4) (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_remove_works_when_extraneous_blank_last_lines(IPv6) (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_custom.TestCustomOS.test_get_xinstall_parameters_returns_root_tgz_tgz (0.02s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.TestOmshell.test_try_connection_returns_True(IPv6) (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_supported_commissioning_releases_excludes_precise (0.01s) SUCCESS: provisioningserver.dhcp.tests.test_omshell.Test_Omshell_nullify_lease.test__catches_invalid_error(IPv6) (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntu.TestUbuntuOS.test_get_xinstall_parameters_returns_squashfs (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReload.test__false_on_subprocess_error (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadZone.test__executes_rndc_command (0.01s) SUCCESS: provisioningserver.utils.tests.test_backoff.TestFunctions.test_full_jitter (1.08s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_install_only (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_takes_numbers_anywhere (0.01s) SUCCESS: provisioningserver.dns.tests.test_actions.TestReloadZone.test__logs_subprocess_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchema.test_inherits_from_formencode (0.00s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_boot_image_purposes_xinstall_only (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_from_python_accepts_Unicode_string (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_skips_writing_if_overwrite_false (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_block_device_size_id_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_to_python_rejects_non_Unicode_string (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestUnicodeString.test_empty_value (0.02s) SUCCESS: provisioningserver.dns.tests.test_config.TestDNSConfig.test_write_config_writes_config (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_pod_fromdict (0.03s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestValidateLabelName.test__rejects_bad_names (0.01s) SUCCESS: provisioningserver.dns.tests.test_config.TestHelpers.test_get_dns_config_dir_defaults_to_etc_bind_maas (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_rejects_non_ASCII_content (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSForwardZoneConfig_GetGenerateDirectives.test_returns_single_entry_for_tiny_network (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_compose_raises_not_implemented (0.02s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_deletes_maas_id_file_if_argument_is_None (0.01s) SUCCESS: provisioningserver.dns.tests.test_zoneconfig.TestDNSReverseZoneConfig.test_computes_dns_config_file_paths_for_small_network (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestGetErrorMessage.test_return_msg(conn) (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_seamicro.TestSeaMicroAPIV09.test_put_server_power_on_not_using_pxe (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_none_works_with_missing_file (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveChildren.test_no_class_id (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_processor_resources (0.01s) SUCCESS: provisioningserver.utils.tests.test_ethernet.TestEthernet.test__is_valid_returns_false_for_truncated_vlan (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestConfigResolveClass.test_no_filters (0.01s) SUCCESS: provisioningserver.utils.tests.test_ethernet.TestEthernet.test__parses_non_vlan (0.01s) SUCCESS: provisioningserver.utils.tests.test_events.TestEvent.test_registerHandler_during_fire (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__power_off (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestGetChildren.test_parameters (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__replaces_file_if_changed (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestInvalidGetPowerCommand.test_get_power_command_raises_assertion_error_on_bad_power_mode (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestGetMAASProvisionCommand.test__returns_full_path_for_development (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_assemble_node_raises_error_if_assembling_fails (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestLoggedIn.test_logged_in (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestMakePolicyChange.test_lan_already_top_priority (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_does_not_set_future_time (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test_assemble_node_raises_error_if_original_power_state_failed (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_ucsm.TestProbeServers.test_no_results_with_no_boot_options (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestIncrementalWrite.test_incremental_write_sets_permissions (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshPowerControl.test_power_control_off (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice(NamedLock) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshPodDriver.test_power_state_bad_domain (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_holds_global_lock(FileLock) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_create_domain_calls_correct_methods (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately(SystemLock) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_best_network_returns_first (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_locks_and_unlocks_while_holding_global_lock(FileLock) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_domain_capabilities_for_qemu (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_machine_arch_returns_valid_fixed (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_accepts_unicode_from_mkdtemp (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_networks_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_cleans_up_on_exception_exit (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_arch (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_creates_unique_directory (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_prefix (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_poweron_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_settings (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_runs_query_loop (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.testget_settings_dict_ignores_empty_settings_string (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_multiple_interfaces (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_off_powers_off_with_wsman (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_settings (0.01s) SUCCESS: provisioningserver.utils.tests.test_iproute.TestGetIPRoute.test__calls_methods (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_power_on_powers_on_with_wsman_when_already_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_multiple_forwarders (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_power_off_raises_power_action_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_read_isc_file (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_wsman_query_state_queries_on (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestConfigure.test_configure (1.81s) SUCCESS: provisioningserver.utils.tests.test_network.TestConversionFunctions.test__bytes_to_int (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(setting) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_link_address(ipv6) (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_includes_maas_configuration (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestGetErrorMessage.test_return_msg(tool) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__simple_with_default_gateway (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__monitors_physical_interfaces_but_not_child_vlans (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_image_download_service.TestPeriodicImageDownloadService.test_initiates_download_if_no_meta_file (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverCycle.test_cycles_power_when_node_is_powered_off (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fails_to_complete_power_action_in_time(on) (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test__getConfiguration_returns_configuration_object (0.08s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_eui_organization_returns_none_for_invalid_mac (0.10s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_empty_slash_128 (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_half_available_for_ipv6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestInetNtop.test__ipv4 (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_random_ipv4_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_binary_integer (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_PCAP_stream (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_maybeApplyConfiguration) (0.07s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDInContainer.test__result(in_docker_container) (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test___getitem__ (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_is_singleton_over_multiple_imports (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_does_not_do_anything_in_dev_environment (0.02s) SUCCESS: provisioningserver.drivers.hardware.tests.test_virsh.TestVirshSSH.test_login_invalid (0.33s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_all_interface_cidrs_when_zero_parameters_passed (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_exception (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_register_without_add_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execSystemDServiceAction_calls_systemctl (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_service_name_doesnt_match (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_returns_on_and_running (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test_reports_services_to_region (0.08s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_logs_error_if_action_fails (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPService.test_tftp_service_rebinds_on_HUP (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceByName_returns_service (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__ignores_interspersed_zero_length_writes (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__parses_only_full_lines (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestJSONPerLineProtocol.test__propagates_errors_from_command (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestMDNSResolverService.test__protocol_selectively_logs_stderr (0.03s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__handles_normal_process_exit (0.03s) SUCCESS: provisioningserver.drivers.hardware.tests.test_vmware.TestVMwarePyvmomi.test_probe_and_enlist (0.21s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 3) (0.13s) SUCCESS: provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_boot_image_purposes (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__handles_terminated_process_exit (0.03s) SUCCESS: provisioningserver.drivers.osystem.tests.test_centos.TestCentOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_boot_image_purposes (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__reports_stderr_on_failure (0.02s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_defers_to_bytes (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__sets_LANG_and_LC_ALL (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_tar_ddtar (0.02s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_running_in_snap_returns_False (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_ubuntucore.TestUbuntuCoreOS.test_get_xinstall_parameters_returns_root_dd_xz_ddxz (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_compose_preseed_uses_only_hostname (0.01s) SUCCESS: provisioningserver.drivers.osystem.tests.test_windows.TestWindowsOS.test_get_release_title (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_block_device_model_serial_size_block_size (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_interface_mac (0.00s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(dsa) (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestDiscoveredClasses.test_machine (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestFakePodDriverBase.test_decompose_raises_not_implemented (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestPodDriverBase.test_get_schema_returns_valid_schema (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(dsa) (0.03s) SUCCESS: provisioningserver.drivers.pod.tests.test_base.TestRequestClasses.test_machine_asdict (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(rsa) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_registry.TestPodDriverRegistry.test_registry (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 14) (0.15s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__compose (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(dsa) (0.04s) SUCCESS: provisioningserver.drivers.pod.tests.test_rsd.TestRSDPodDriver.test__get_pod_machine (0.02s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(dsa) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 6) (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test__get_pod_hints (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestUDP.test__fails_for_truncated_payload (0.01s) SUCCESS: provisioningserver.utils.tests.test_tcpip.TestUDP.test__parses_udp_packet (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_create_domain_fails_on_disk_create (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 17) (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_local_storage (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_other_information (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_pod_memory (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_even_when_set_longer(get_remote_address) (0.01s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_get_usable_pool (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 5) (0.02s) SUCCESS: provisioningserver.drivers.pod.tests.test_virsh.TestVirshSSH.test_poweron (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_command_returns_wsman (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_into_reactor_when_current_thread_is_not_reactor (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_amt_environment_sets_amt_password (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 16) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__get_ip_address_raises_no_host_provided (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_long (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test__issue_wsman_command_calls__run_for_query (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorErrors.test__propagates_exceptions_in_reactor (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_power_on_powers_on (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 1) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_amt.TestAMTPowerDriver.test_amttool_query_state_queries_unknown (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_apc.TestAPCPowerDriver.test_power_off_calls_run_process (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallInReactorErrors.test__propagates_exceptions_in_thread (0.03s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_can_only_be_called_once (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestFakePowerDriverBase.test_on_raises_not_implemented (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_cannot_be_called_once_value_is_set (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__capture_captures_callback (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 12) (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_None_results_in_an_errback_with_current_exception (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__fail_results_in_an_errback (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_fatal_error_on_first_call(off) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 1) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_returns_a_Deferred (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__value_is_not_available_until_set (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_handles_non_fatal_error_and_holds_error(off) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 12) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestPause.test_pause_can_be_cancelled (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__set_outlet_state_calls_wget (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_off (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__clients_are_treated_differently (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_manual.TestManualPowerDriver.test_power_on (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 1) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMPowerDriver.test_power_on_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 12) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant Moonshot Cartridge) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 1) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,status-unknown,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m720 Server Cartridge) (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 12) (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSPowerDriver.test_power_on_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestEncode.test_encode_blank (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_control_seamicro15k_ipmi_raises_PowerFatalError (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestEncode.test_encode_data (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_on_crashes_for_connection_error (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestHeaders.test_authenticate_headers_only_appends_with_consumer_key (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(no-name) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv6-no-port) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(user-pass-ipv4) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestRegistries.test_architecture_registry (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_raises_error_when_no_sources_passed (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk_udevadm_then_blockdev (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,uri,status,plain) (0.00s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMain.test_update_targets_conf_ensures_tgt_service (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_meta_contains_updates_file_timestamp (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_cleans_up_when_renaming_fails (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestUpdateCurrentSymlink.test_creates_current_symlink (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestImagePassesFilter.test_any_image_passes_none_filter (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,uri,status,plain) (0.00s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_generic_to_release_item_for_hwe_letter (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__calls_lsblk_udevadm_then_blockdev_snap_without_sudo (0.04s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestRepoWriter.test_inserts_archive (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_keyrings.TestCalculateKeyringName.test_creates_name_from_url (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,no-status,plain) (0.00s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestMapProducts.test_maps_boot_resource_by_content_id_product_name_and_version (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,status-unknown,bytes) (0.00s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_extracts_identifying_items (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestExtractImage.test__extracts_image_if_tar_doesnt_supports_xattr (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestLoopMount.test__cleans_up_after_failure (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,status-unknown,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSuppress.test__does_not_suppress_other_exceptions (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestMakeArgParser.test__defines_expected_options (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_in_reactor_thread (0.01s) SUCCESS: provisioningserver.logger.tests.test__tftp.TestObserveTwistedInternetTCP_Other.test__propagates_other_events(critical) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecoratorSychronously.test__raises_TypeError_when_callable_returns_Deferred (0.00s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_basics(critical) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_basic (0.07s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolCommonBehaviour.test__context_is_active_in_new_thread(callInThreadWithCallback) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_noise(warn) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__when_deferring_acquires_and_releases_lock (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_sys_info_alt (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_time(critical) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_format(debug) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestBytes.test_round_trip (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__defers_to_new_thread(callInThread) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_null(error) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestChoice.test_error_when_choices_values_are_not_byte_strings (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_IPv4 (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetCommandName.test(py-command) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestIPAddress.test_round_trips_ipv6_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_hostname (0.00s) SUCCESS: provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_file_parse_alternate_separator (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestRequestedMachine.test_round_trip (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo.bar.baz => foo.bar.baz) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_base.TestPowerDriverPowerAction.test_success_async(off) (1.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__rejects_incorrect_type(types) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test__query_outlet_state_queries_off (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_returns_branch_etc_maas (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetTCP.test__ignores_port_closed_events (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_from_maas_url_with_extra_slashes (0.02s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_empty_yields_no_batches (0.00s) SUCCESS: provisioningserver.drivers.power.tests.test_dli.TestDLIPowerDriver.test_power_on_raises_power_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSudo.test_returns_sudo_command_when_is_not_dev_environment (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUNIX.test__ignores_protocol_starting_on_events (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestFixSourcesForCluster.test__removes_matching_path_with_extra_slashes_from_maas_url (0.02s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_maas_url_without_setting_does_nothing (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_hmc.TestHMCPowerDriver.test_power_on_calls_run_hmc_command (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_default_maas_url (0.00s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_cluster_uuid (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestIsImportBootImagesRunning.test__returns_False_when_lock_is_not_held (0.02s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_and_get_tftp_port (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_rejects_bare_ipv6_addresses (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_open_permissions_existing_database (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_ipmi.TestIPMIPowerDriver.test__issue_ipmipower_command_raises_error (0.04s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_handshakeFailed_does_not_log_when_connection_is_closed (0.04s) SUCCESS: provisioningserver.drivers.power.tests.test_moonshot.TestMoonshotIPMIPowerDriver.test__issue_ipmitool_command_sets_pxe_boot (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_open_for_update_yields_mutable_backend (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m710 Server Cartridge) (0.02s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_load_non_existent_file_crashes (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__get_rpc_info_accepts_IPv6_url (0.03s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_open_permissions_new_database (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m800 Server Cartridge) (0.02s) SUCCESS: provisioningserver.tests.test_events.TestEvents.test_every_event_has_details (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__make_connection (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_mscm.TestMSCMProbeAndEnlist.test_probe_and_enlist(ProLiant m350 Server Cartridge) (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_msftocs.TestMicrosoftOCSProbeAndEnlist.test_probe_and_enlist_msftocs_probes_and_enlists (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_vmware_calls_probe_vmware_and_enlist (0.03s) SUCCESS: provisioningserver.drivers.power.tests.test_nova.TestNovaPowerDriver.test_power_off_calls_power_control_nova (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_registry.TestPowerDriverRegistry.test_get_schema (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_vmware_logs_error_to_maaslog (0.02s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test__power_calls_power_control_seamicro15k_v2 (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ComposeMachine.test__is_registered (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_missing_packages (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_seamicro.TestSeaMicroPowerDriver.test_power_query_returns_unknown_if_not_restapi2 (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_virsh.TestVirshPowerDriver.test_power_off_calls_power_control_virsh (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_no_missing_packages (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ComposeMachine.test_calls_compose_machine (0.03s) SUCCESS: provisioningserver.tests.test_events.TestNodeEventHubLogByID.test__event_is_sent_to_region (0.09s) SUCCESS: provisioningserver.drivers.power.tests.test_vmware.TestVMwarePowerDriver.test_power_on_calls_power_control_vmware (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestGetCurtinKernelCmdlineSepTest.test_get_curtin_kernel_cmdline_sep_returns_curtin_value (0.01s) SUCCESS: provisioningserver.drivers.power.tests.test_wedge.TestWedgePowerDriver.test_power_on_calls_run_wedge_command (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv4-with-leading-bracket) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_handles_extra_opts_None (0.01s) SUCCESS: provisioningserver.drivers.tests.test_base.TestIpExtractor.test_make_ip_extractor(ipv6-formatted-ipv4) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_enlist_compose_kernel_command_line_apparmor_disabled (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_load_json_result_of_old_data_uses_ubuntu_as_os (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_di_settings (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp(DHCPv6) (0.04s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_set_overwrites_item (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestUtilitiesKernelOpts.test_get_last_directory (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_image_mapping.TestBootImageMapping.test_setdefault_leaves_set_item_unchanged (0.01s) SUCCESS: provisioningserver.import_images.tests.test_boot_resources.TestMetaContains.test_mismatching_content_is_compared_False (0.01s) SUCCESS: provisioningserver.tests.test_monkey.TestAddTermErrorCodeToTFTP.test_adds_error_code_8 (0.01s) SUCCESS: provisioningserver.tests.test_monkey.TestAddTermErrorCodeToTFTP.test_skips_adding_error_code_if_already_present (0.01s) SUCCESS: provisioningserver.import_images.tests.test_cleanup.TestCleanup.test_cleanup_snapshots_and_cache_calls (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__appends_path_elements(get_path) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__executes_configure_dhcp(DHCPv6,V2) (0.04s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestRepoDumper.test_insert_item_sets_compat_item_specific_to_subarch (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__appends_path_elements(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilter.test_matching_value_passes (0.00s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_unmatched_value_does_not_pass (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_descriptions.TestValuePassesFilterList.test_value_passes_if_matched_anywhere_in_filter (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_exception_when_os_does_not_exist (0.02s) SUCCESS: provisioningserver.tests.test_plugin.TestProvisioningServiceMaker.test_makeService (0.02s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__returns_None_when_no_secret_exists (0.01s) SUCCESS: provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_with_secure_permissions (0.01s) SUCCESS: provisioningserver.import_images.tests.test_download_resources.TestExtractArchiveTar.test_returns_files_from_cache (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListBootImages_and_ListBootImagesV2.test_list_boot_images_can_be_called(ListBootImages) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetOSFromProduct.test_returns_os_from_product (0.01s) SUCCESS: provisioningserver.import_images.tests.test_helpers.TestGetSigningPolicy.test_picks_nonchecking_policy_for_json_index (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_no_args_dumps_everything(with_exception_mock) (0.02s) SUCCESS: provisioningserver.import_images.tests.test_product_mapping.TestProductMapping.test_make_key_ignores_other_items (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_more_things (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ListSupportedArchitectures.test_is_registered (0.02s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestGetImageFile.test__returns_actual_image_file_unchanged (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetailsCleanly.test_merge_with_multiple_details (0.01s) SUCCESS: provisioningserver.import_images.tests.test_uec2roottar.TestTarSupportsXattrOpts.test__returns_True_if_help_contains_ref_to_xattr (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestTagUpdating.test_classify_evaluates_xpath (0.01s) SUCCESS: provisioningserver.logger.tests.test__maaslog.TestMAASLogger.test_doesnt_affect_general_logger_class (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestTagUpdating.test_post_updated_nodes_calls_correct_api_and_parses_result (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestEventLogger.test_filters_by_noise(debug) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_executes_maybe_change_power_state(power-on) (0.03s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_with_null_format(error) (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMakeMAASOwnBootResources.test__calls_chown_if_boot_resources_dir_exists (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_formats_without_format(info) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_is_registered(power-cycle) (0.02s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestUpgradeCluster.test_calls_hooks_in_order (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_missing(error) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestFormatModernEvent.test_uses_namespace_if_system_null(critical) (0.01s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestGetSystemName.test(foo._ar.baz => foo) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionFail(power-off) (0.02s) SUCCESS: provisioningserver.logger.tests.test__twisted.TestObserveTwistedInternetUDP.test__ignores_protocol_starting_on_events (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_UnknownPowerType(power-on) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__is_registered (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_asserts_for_invalid_config (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ValidateLicenseKey.test_is_registered (0.02s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test_getPeerCertificate (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol.test_onConnectionLost_fires_when_connection_is_lost (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_calls_restart_when_no_current_state(DHCPv6) (0.04s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_restarts_when_omapi_fails(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__bad_config(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__good_config(DHCPv4) (0.03s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetArchiveMirrors) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetProxies) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ListBootImages) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ListSupportedArchitectures) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(PowerOn) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ValidateLicenseKey) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_module.TestUtilities.test_error_when_cluster_services_are_down (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(ubuntu-core) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(ubuntu) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_raising_NotImplementedError (0.02s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_handles_driver_raising_any_Exception (0.02s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_not_returning_Deferred (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test__calls_power_driver_on_for_power_driver (0.09s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_does_nothing_when_change_matches_in_progress_change (0.19s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_get_power_state_fails_for_missing_packages (0.06s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_power_query_failure_emits_event (0.09s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_only_queries_queryable_power_types (0.03s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_swallows_PowerActionFail (0.03s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_low_verbosity(increasing_verbosity) (1.33s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(rsd) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_tags.TestEvaluateTag.test__calls_process_node_tags (0.03s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__operation_enum__str (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__raises_systemexit_observe_arp_return_code (0.02s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__sets_self_as_process_group_leader (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__allows_pipe_input (0.02s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_domain_names_up_to_63_chars_long (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_requires_brackets_on_ipv6_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaNonIterators.test_recognises_non_iterators(str) (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__is_valid_returns_false_for_invalid_cookie (0.01s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_ignores_unwanted_keys (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestEnvironmentVariables.test__overrides_prior_values (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_get_returns_None_if_maas_id_file_does_not_exist (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_rejects_non_ASCII_content (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicDelete.test_leaves_nothing_behind_on_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_does_not_leak_temp_file_if_failure (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_overwrites_dest_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_overwrites_dest_file (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLock.test__path (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release(SystemLock) (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__context_is_implemented_using_acquire_and_release(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__holds_file_system_lock(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only(FileLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__wait_waits_until_lock_can_be_acquired(RunLock) (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_tolerates_disappearing_dir (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_creates_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_defaults_to_utf8 (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_uses_given_encoding (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_ip_addr_calls_methods (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_missing_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_ifindex (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_ifindex (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_multiple_inet (0.01s) SUCCESS: provisioningserver.utils.tests.test_iproute.TestHelperFunctions.test_parse_route_with_proto_and_metric (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_converts_arp_ip_target_to_list_with_weird_whitespace (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_skips_and_logs_parameters_with_no_netplan_equivalent (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__calls_ip_neigh (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindMACViaARP.test__works_with_real_call (0.02s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddresses.test_returns_all_addresses_for_all_interfaces (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__statistics_are_accurate_for_full_slash_32 (0.02s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggests_half_available_if_available_less_than_one_fourth (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestInetNtop.test__ipv6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIntersectIPRange.test_ignores_non_intersecting_ranges (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_random_ipv6_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__returns_empty_if_address_does_not_resolve (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test_resolve_host_to_addrinfo_returns_full_information (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__uses_passed_in_IResolver_if_specified (0.02s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_EOFError_for_empty_PCAP_stream (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_default_verbosity(decreasing_verbosity) (1.59s) SUCCESS: provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_returns_processes_running_on_host_not_container (0.06s) SUCCESS: provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_returns_processes_when_running_in_container (0.04s) SUCCESS: provisioningserver.utils.tests.test_ps.TestIsPIDRunning.test__result(running) (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestRunningInContainer.test__returns_True_when_not_ExternalProcessError (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestRunNmap.test__runs_popen_with_expected_parameters__slow (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommand.test__scans_specific_interface_cidr (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_process_exception (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execSupervisorServiceAction_calls_supervisorctl (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execSystemDServiceAction_decodes_stdout_and_stderr (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadServiceState_uses_supervisor (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_fatal_returns_dead (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_unknown_status (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_ignores_sudo_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_raises_ServiceActionError_if_fails (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureServices_calls__ensureService (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__getServiceByName_raises_ServiceUnknownError (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_calls_ensureService_then_reloads (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_returns_when_if_on_equals_false (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__restartService_performs_restart (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=ON,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=DEAD,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=UNKNOWN,expected=ON) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=ON,expected=DEAD) (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=DEAD,expected=ON) (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=UNKNOWN,expected=ON) (0.02s) SUCCESS: provisioningserver.utils.tests.test_services.TestMDNSResolverService.test__returns_expected_arguments (0.02s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_assumes_sole_responsibility_before_updating (0.11s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__command_lowest_verbosity(initial_only) (1.18s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_does_not_update_if_cannot_assume_sole_responsibility (0.02s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__base_class_cannot_be_used (0.02s) SUCCESS: provisioningserver.utils.tests.test_shell.TestCallAndCheck.test__returns_standard_output (0.02s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_upgrades_CalledProcessError (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__raises_exception_when_child_killed_by_signal (0.03s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__removes_other_LC_variables (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_version_returns_version_from_meta (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(ecdsa521) (0.04s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(ecdsa256) (0.04s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(ecdsa521) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(ecdsa521) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(ecdsa521) (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__preserves_text_without_whitespace (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseWhitespace.test__treats_punctuation_as_non_space (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestSplitStringList.test__normalises_nothing_but_delimiter_to_empty_list (0.19s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeout.test_timeout_can_be_float (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOutToThread.test__without_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferToNewThread.test__runs_given_func_in_new_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__isSet_is_True_when_there_is_a_failure (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_can_only_be_called_once (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_cannot_be_called_once_value_is_set (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_notifies_all_waiters (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_notifies_all_waiters_that_have_not_timed_out (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestMakeDeferredWithProcessProtocol.test__calls_callback_when_processended_called_with_none (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestRPCFetcher.test__errors_are_treated_just_the_same (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_default_verbosity(increasing_verbosity) (1.31s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestConfigure.test_configure_region_is_alias (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConf.test_includes_maas_configuration (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_removes_pools_and_servers_from_source_configuration (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPool.test__context_exit_failures_are_logged (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__init (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__with_callback_releases_lock_when_underlying_pool_breaks (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_makes_callback_on_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_IPv4 (0.00s) SUCCESS: provisioningserver.rackdservices.tests.test_lease_socket_service.TestLeaseSocketService.test_processNotification_send_to_region (0.07s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_hostname (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accept_subclass(types) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_correct_type(types) (0.00s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__returns_false_if_object_is_not_relevant(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_multiple_things_with_deps_yields_multiple_batches (0.00s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_single_thing_without_dep_yields_single_batch (0.00s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression matches,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression matches,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_networks_monitoring_service.TestRackNetworksMonitoringService.test_reports_neighbours_to_region (0.06s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_init_when_already_configured_does_nothing (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService.test_is_silent_and_does_nothing_when_region_is_not_available (0.01s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_cluster_uuid_without_setting_does_nothing (0.02s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_sets_tftp_root (0.02s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_without_setting_does_nothing (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_default_cluster_uuid (0.00s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_default_tftp_port (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_very_short_hostnames (0.01s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfigurationGRUBRoot.test__is_relative_to_tftp_root_with_trailing_slash (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_ntp.TestRackNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_configurationApplied) (0.07s) SUCCESS: provisioningserver.tests.test_config.TestConfiguration.test_create (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_service_monitor_service.TestServiceMonitorService.test__buildServices_includes_always_running_services (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_getting_configuration_option (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_getting_non_existent_configuration_option (0.00s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestLogRequest.test__logs_when_sending_event_errors (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_open_takes_exclusive_lock (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_replacing_configuration_option (0.00s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestPort.test_getHost_works_with_IPv4_address (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_apparmor_disabled (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_inc_common_opts (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_kernel_params_filters_out_unnecessary_arguments (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_preseed_kernel_opt_returns_kernel_option (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__returns_absolute_path(get_path) (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_reader_regular_file (0.02s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__returns_absolute_path(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__crashes_on_keyboardinterrupt (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__deals_gracefully_with_interrupt_from_tty (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_off_sets_expected_state_to_off (0.00s) SUCCESS: provisioningserver.logger.tests.test_logger.TestLogging.test__twistd_high_verbosity(decreasing_verbosity) (1.15s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_all_args_dumps_all_functions(with_exception_mock) (0.02s) SUCCESS: provisioningserver.ntp.tests.test_config.TestNormaliseAddress.test_renders_ipv6_mapped_ipv4_addresses_as_plain_ipv4 (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatchSlices.test_batch_of_1_no_things (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestNormaliseAddress.test_returns_hostnames_unchanged (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_one_thing (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConf.test_removes_pools_and_servers_from_source_configuration (0.01s) SUCCESS: provisioningserver.ntp.tests.test_config.TestRenderNTPConfFromSource.test_replaces_maas_configuration (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestTagUpdating.test_process_node_tags_integration (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__sets_ownership_to_maas_if_running_as_root (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_dhcp_probe_service.TestDHCPProbeService.test_logs_errors (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_current_dir_does_not_exist (0.01s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestTFTPBackend.test_get_render_file_with_ipv4_hosts (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 4) (0.11s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__getPort_calls__listenUDP_with_args_from_constructor (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__exits_early_if_ubuntu_dir_exist (0.02s) SUCCESS: provisioningserver.rackdservices.tests.test_tftp.TestUDPServer.test__listenUDP_with_IPv4_address (0.01s) SUCCESS: maasserver.tests.test_fields.TestCIDRField.test_stores_cidr (0.11s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 15) (0.11s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 5) (0.11s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 7) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 18) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 6) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 17) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 2) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 13) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 2) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_all_output(iteration 16) (0.12s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 13) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 8) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_output_from_completed_process(iteration 19) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 7) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_script_output(iteration 18) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 3) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stderr_after_stdout_closes(iteration 14) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 3) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__captures_stdout_after_stderr_closes(iteration 14) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 2) (0.12s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 13) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 2) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 13) (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestHeaders.test_authenticate_headers_appends_oauth (0.01s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestGatherPhysicalBlockDevices.test__returns_block_device_ssd (0.03s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 3) (0.14s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__does_not_wait_for_forked_process(iteration 14) (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 3) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestMakeFunctionCallScript.test_non_ascii_positional_args_are_passed_without_corruption (0.10s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestCaptureScriptOutput.test__timeout(iteration 14) (0.03s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_architecture_returns_arch_with_generic (0.02s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_files (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_formats_params_with_exit_status (0.01s) SUCCESS: provisioningserver.refresh.tests.test_maas_api_helper.TestSignal.test_signal_raises_exception_on_httperror (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_sys_info_on_host (0.05s) SUCCESS: provisioningserver.refresh.tests.test_node_info_scripts.TestVirtualityScript.test_runs_successfully_when_systemd_detect_virt_returns_nonzero (0.02s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestHelpers.test_get_architecture_returns_arch_with_subarch (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_failure_on_unexecutable_script_no_errno (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestBytes.test_error_when_input_is_not_a_byte_string (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_clears_up_temporary_directory (0.05s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_failure_on_unexecutable_script (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_failure_on_unexecutable_script_baderrno (0.01s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_results (0.02s) SUCCESS: provisioningserver.refresh.tests.test_refresh.TestRefresh.test_refresh_signals_starting (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestParsedURL.test_round_trip (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__calls__run_import_using_deferToThread (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test__does_not_run_if_lock_taken (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestImportBootImages.test_update_last_image_sync_end_to_end (0.06s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestListBootImages.test__calls_list_boot_images_when_cache_is_None (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_authenticateRegion_propagates_errors (0.02s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestCompressedAmpList.test_compression_is_worth_it (0.24s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestDiscoveredPodHints.test_round_trip (0.01s) SUCCESS: provisioningserver.rpc.tests.test_arguments.TestStructureAsJSON.test_round_trip (0.01s) SUCCESS: provisioningserver.rpc.tests.test_boot_images.TestRunImport.test__run_import_calls_reload_boot_images (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_returns_False_when_rejected (0.05s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_disconnects_when_service_is_not_running (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getAllClients_when_there_are_no_connections (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(no-event-loops) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_registerRackWithRegion_sets_localIdent (0.05s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(fewer-connections-than-event-loops) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_seamicro15k_logs_error_to_maaslog (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_ucsm_logs_error_to_maaslog (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP(DHCPv4) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClient.test_secureConnection_calls_StartTLS_and_Identify (0.06s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__propagates_CannotConfigureDHCP(DHCPv4,V2) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test__update_connections_connect_error_is_logged_tersely (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DecomposeMachine.test_calls_decompose_machine (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_failed_update_is_logged (0.15s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientService.test_getClient (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterClientServiceIntervals.test__calculate_interval(no-connections) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_AddChassis.test_chassis_type_powerkvm_calls_probe_virsh_and_enlist (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ConfigureDHCP.test__limits_concurrency(DHCPv6,V2) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DecomposeMachine.test__is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetOSReleaseTitle.test_exception_when_os_does_not_exist (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_GetPreseedData.test_exception_when_preseed_not_implemented (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ImportBootImages.test_import_boot_images_is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__raises_refresh_already_in_progress_when_locked (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__is_registered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_DescribePowerTypes.test_describe_power_types_returns_jsonized_schema (0.30s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_EvaluateTag.test__calls_through_to_evaluate_tag_helper (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_executeScanNetworksSubprocess (0.04s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_NotImplementedError(power-on) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestClient.test___hash__ (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_PowerOn_PowerOff_PowerCycle.test_power_on_can_propagate_PowerActionAlreadyInProgress(power-off) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_common.TestRPCProtocol_UnhandledErrorsWhenHandlingResponses.test_unhandled_errors_logged_and_do_not_cause_disconnection(_answerReceived) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_requires_restart_returns_True_when_interfaces_different (0.02s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetTimeConfiguration) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ValidateDHCPv4Config) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__acquires_lock_when_refreshing_releases_when_done (0.05s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_resolving_to_None (0.02s) SUCCESS: maasserver.tests.test_fields.TestCIDRField.test_stores_cidr_with_bit_set_in_host_part (0.03s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_handles_driver_raising_NotImplementedError (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_Refresh.test__releases_on_error (0.06s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test__raises_refresh_already_in_progress_when_locked (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_args_returns_supplied_cidrs (0.01s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_get_scan_all_networks_with_all_optional_arguments (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestChangePowerState.test__marks_the_node_broken_if_exception_for_power_driver (0.07s) SUCCESS: provisioningserver.rpc.tests.test_power.TestMaybeChangePowerState.test_errors_when_change_conflicts_with_in_progress_change (0.02s) SUCCESS: provisioningserver.rpc.tests.test_clusterservice.TestClusterProtocol_ScanNetworks.test_spawnProcessAndNullifyStdout_nullifies_stdout (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_log_other_exceptions(DHCPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__does_not_log_ServiceActionError(DHCPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestConfigureDHCP.test__writes_config_and_restarts_when_omapi_fails(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerHelpers.test_power_state_update_calls_UpdateNodePowerState (0.06s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestCreateHostMap.test_raises_error_when_omshell_crashes (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestDHCPState.test_new_sorts_properties (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestRemoveHostMap.test_raises_error_when_omshell_not_connected (0.01s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__bad_config(DHCPv6) (0.02s) SUCCESS: provisioningserver.rpc.tests.test_dhcp.TestValidateDHCP.test__good_config(DHCPv6) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(CreateNode) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(GetControllerType) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQuery.test_get_power_state_queries_node (0.06s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(MarkNodeFailed) (0.00s) SUCCESS: provisioningserver.rpc.tests.test_docs.TestDocs.test_since_clause(ValidateDHCPv4Config_V2) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_swallows_NoSuchNode (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetOSReleaseTitle.test_throws_exception_when_os_does_not_exist (0.00s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(custom) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(ucsm) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_osystems.TestGetPreseedData.test_get_preseed_data_calls_compose_preseed(bootloader) (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCoerceHostname.test_removes_illegal_dashes (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_handles_driver_resolving_to_tuple_of_discovered (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestComposeMachine.test_unknown_pod_raises_UnknownPodType (0.01s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDecomposeMachine.test_works_when_driver_returns_hints (0.02s) SUCCESS: provisioningserver.rpc.tests.test_pods.TestDiscoverPod.test_handles_driver_raising_any_Exception (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCommissionNode.test_calls_commission_node_rpc (0.06s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryAsync.test_query_all_nodes_swallows_Exception (0.01s) SUCCESS: provisioningserver.rpc.tests.test_power.TestPowerQueryExceptions.test_report_power_state_reports_all_exceptions(ipmi) (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__returns_sender_and_target_for_reply (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__bindings__skips_null_source_ip_for_request (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestUpdateBindingsAndGetEvent.test__refreshed_binding_within_threshold_does_not_emit_event (0.00s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_allows_ipv4_addresses_in_ipv6_format (0.00s) SUCCESS: provisioningserver.utils.tests.test_config.TestSchemaIterators.test_recognises_iterators(set) (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestUnicodeString.test_converting_from_python_rejects_non_Uncode_string (0.00s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__missing_key_value_pair_raises (0.01s) SUCCESS: provisioningserver.rpc.tests.test_utils.TestCreateNode.test_returns_system_id_of_new_node (0.06s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_includes_all_enum_keys (0.00s) SUCCESS: provisioningserver.utils.tests.test_arp.TestARP.test__write (0.01s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_maps_values (0.01s) SUCCESS: provisioningserver.utils.tests.test_arp.TestObserveARPCommand.test__requires_input_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNS.test__non_verbose_removes_redundant_events_and_outputs_summary (0.01s) SUCCESS: provisioningserver.utils.tests.test_env.TestMAASID.test_set_None_clears_cache (0.02s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestObserveMDNSCommand.test__calls_subprocess_by_default (0.01s) SUCCESS: provisioningserver.utils.tests.test_ethernet.TestEthernet.test__parses_vlan (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_backslash (0.00s) SUCCESS: provisioningserver.utils.tests.test_events.TestEvent.test_fire_calls_all_handlers (0.01s) SUCCESS: provisioningserver.utils.tests.test_avahi.TestUnescapeAvahiServiceName.test__converts_escaped_decimal_characters (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestByteString.test_empty_value (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicCopy.test_integration (0.01s) SUCCESS: provisioningserver.utils.tests.test_config.TestExtendedURL.test_takes_hyphen_but_not_start_or_end (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_sets_permissions (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__empty_string_returns_empty_map (0.00s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_label_map (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map_multiple_label_map (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_writes_file_if_no_file_present (0.02s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__multiple_value_map_with_duplicate_keys_appends_to_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestRunLock.test__string_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_constraints.TestGetLabeledConstraintsMap.test__non_string_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhclient.TestGetLatestFixedAddress.test__ipv4 (0.01s) SUCCESS: provisioningserver.utils.tests.test_dhcp.TestDHCP.test__server_identifier_none_if_not_included (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFileScript.test__accepts_file_names_on_white_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_enum.TestEnum.test_map_enum_reverse_maps_values (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFileScript.test__rejects_file_name_not_on_white_list (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicCopy.test__skips_if_unchanged (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__cannot_be_acquired_twice(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicSymlink.test_atomic_symlink_creates_symlink (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__is_locked_reports_accurately(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestAtomicWrite.test_atomic_write_does_not_leak_temp_file_when_not_overwriting (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__populates_interface_type_for_each_interface (0.02s) SUCCESS: provisioningserver.utils.tests.test_fs.TestGetMAASProvisionCommand.test__returns_just_command_for_production (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_ipip_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestReadTextFile.test_reads_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_other_ethernet_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_flags (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_handles_wlan_flags (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_flags (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestParseIPAddr.test_parses_mac (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSudoWriteFile.test_catches_failures (0.04s) SUCCESS: provisioningserver.utils.tests.test_iproute.TestHelperFunctions.test_parse_route_without_proto_or_metric (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__locks_and_unlocks_while_holding_global_lock(RunLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parse_unmatched_brackets_throws_iscparseexception (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only(SystemLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestSystemLocks.test__path_is_read_only(NamedLock) (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_cleans_up_on_successful_exit (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestTempDir.test_uses_location (0.01s) SUCCESS: provisioningserver.utils.tests.test_fs.TestWriteTextFile.test_overwrites_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestAnnotateWithDriverInformation.test__ignores_missing_proc_net_bonding (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetIPAddr.test_get_mac_addresses_ignores_duplicates (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_loopback_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestGetInterfaceType.test__identifies_vlan_interface (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_add_additional_interface_properties_adds_mac_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_ipaddr.TestHelperFunctions.test_parse_interface_definition_extracts_ifname (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBondParameters.test_converts_arp_ip_target_to_list_multiple_ips (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestAnnotateWithDefaultMonitoredInterfaces.test__adds_monitored_bool_to_interfaces_dictionary (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__resolves_MAC_address_to_IP (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestFindIPViaARP.test__returns_consistent_output (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfaceAddressesWithMultipleClasses.test_returns_all_addresses_for_interface (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_ethernet (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_loopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__monitors_virtual_bridges_but_not_physical_bridges (0.00s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_bind_acl (0.14s) SUCCESS: provisioningserver.utils.tests.test_isc.TestParseISCString.test_parses_bug_1413388_config (0.01s) SUCCESS: provisioningserver.utils.tests.test_netplan.TestGetNetplanBridgeParameters.test_skips_and_logs_parameters_with_no_netplan_equivalent (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestConversionFunctions.test__bytes_to_hex (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestConversionFunctions.test__hex_str_to_bytes (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllAddressesForInterface.test__ignores_non_address_information(ipv4) (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__doesnt_ignore_ethernet_in_container (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetAllInterfacesDefinition.test__ignores_ipip (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetMACOrganization.test_get_mac_organization (0.08s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetDefaultMonitoredInterfaces.test__returns_enabled_physical_interfaces (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeWithinNetwork.test_returns_true_when_ip_range_is_within_network (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_bond_and_vlan_parents (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_format_ipv4_loopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestGetInterfaceChildren.test__calculates_children_from_bond_parents (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMAASIPSet.test__deals_with_small_gaps (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestHasIPv4Address.test__returns_true_for_ipv4_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestPreferredHostnamesSortKey.test__sorts_by_domains_then_hostnames_within_each_domain (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestIPRangeStatistics.test__suggested_range_excludes_suggested_gateway_when_gw_first (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__propagates_other_gaierrors (0.00s) SUCCESS: provisioningserver.utils.tests.test_network.TestIsLoopbackAddress.test_handles_ipv6_format_ipv4_nonloopback (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolveHostToAddrs.test__resolves_IPv4_address (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestMakeNetwork.test_passes_args_to_IPNetwork (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__empty_list_for_empty_rrset (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestParseInteger.test__parses_decimal_integer (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__raises_PCAPError_for_invalid_packet (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestResolvesToLoopbackAddress.test_resolves_hostnames (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__raises_for_unhandled_error (0.01s) SUCCESS: provisioningserver.utils.tests.test_network.TestReverseResolve.test__returns_empty_list_for_authoritativedomainerror (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__iterator (0.01s) SUCCESS: provisioningserver.utils.tests.test_pcap.TestPCAP.test__parses_valid_stream (0.01s) SUCCESS: provisioningserver.utils.tests.test_ps.TestGetRunningPIDsWithCommand.test_ignores_process_that_have_been_removed (0.02s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test___getitem__raises_KeyError_when_name_is_not_registered (0.01s) SUCCESS: provisioningserver.utils.tests.test_registry.TestRegistry.test_registered_items_are_stored_separately_by_registry (0.01s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call_with_keyboard_interrupt (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___execSystemDServiceAction_calls_systemctl_with_options (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_exit_code_greater_than_3 (0.01s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestScanNetworkCommandEndToEnd.test__runs_nmap_e2e_prints_summary (0.12s) SUCCESS: provisioningserver.utils.tests.test_scan_network.TestYieldNmapParameters.test__nmap__yields_ipv4_cidrs (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSupervisorServiceState_running_returns_on (0.02s) SUCCESS: provisioningserver.utils.tests.test_script.TestActionScript.test_call_invalid_choice (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__ensureService_performs_stop_for_on_service (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_calls_systemctl (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_always_calls_ensureService_then_reloads (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___loadSystemDServiceState_status_returns_off_and_dead (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__updateServiceState_does_not_hold_service_lock (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_holds_lock_perform_supervisor_action (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=ON,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test___performServiceAction_holds_lock_performs_systemd_action (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=OFF,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceMonitor.test__reloadService_raises_ServiceNotOnError (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=DEAD,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=OFF,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_info_message(observed=UNKNOWN,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=OFF,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=ON,expected=ANY) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_getInterfaces_called_to_get_configuration (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=OFF,expected=DEAD) (0.01s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=DEAD,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_when_interfaces_changed (0.02s) SUCCESS: provisioningserver.utils.tests.test_service_monitor.TestServiceState.test__returns_service_status_string(observed=UNKNOWN,expected=OFF) (0.01s) SUCCESS: provisioningserver.utils.tests.test_services.TestNetworksMonitoringService.test_recordInterfaces_called_after_failure (0.02s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__calls_protocol_callback (0.03s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_encodes_to_bytes (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_to_ascii_removes_non_printable_chars (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestHasCommandAvailable.test__returns_False_when_ExternalProcessError_raised (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__overwrites_LANG (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8Locale.test__passes_other_variables_through (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_path_returns_None (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace(rsa) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_normalises_mixed_whitespace_in_comments(ecdsa384) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_corrupt_keys(rsa) (0.02s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_roundtrip(rsa) (0.04s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(dsa) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(dsa) (0.02s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_keys_of_unrecognised_type(rsa) (0.01s) SUCCESS: maasserver.tests.test_fields.TestCIDRField.test_validates_cidr (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(dsa) (0.04s) SUCCESS: provisioningserver.utils.tests.test_services.TestProcessProtocolService.test__starts_and_stops_process (0.39s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_output_as_ascii (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestExternalProcessError.test_upgrade_does_not_change_other_errors (0.01s) SUCCESS: provisioningserver.utils.tests.test_shell.TestPipeFork.test__forks (0.02s) SUCCESS: provisioningserver.utils.tests.test_shell.TestSelectCUTF8BytesLocale.test__passes_other_variables_through (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_path_returns_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_snappy.TestSnappyUtils.test_get_snap_version_returns_None_when_no_snap (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyBasics.test_rejects_keys_with_fewer_than_2_parts (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithComments.test_rejects_keys_of_unrecognised_type(ecdsa256) (0.01s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_normalises_mixed_whitespace(ecdsa384) (0.03s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_rejects_corrupt_keys(ecdsa384) (0.02s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__eliminates_empty_words (0.19s) SUCCESS: provisioningserver.utils.tests.test_sshkey.TestNormaliseOpenSSHPublicKeyWithoutComments.test_roundtrip(ecdsa384) (0.03s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_cleans_all_fields (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestMakeGecosField.test_includes_work_telephone_number (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__normalises_nothing_but_delimiter_to_empty (0.18s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__blows_up_when_tuple_has_one_element(get_remote_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_when_set(get_local_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecorator.test__calls_in_current_thread_when_io_thread_is_not_set (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test__passes_timeout_to_wait(finite) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferWithTimeout.test__returns_Deferred_that_will_be_cancelled_after_timeout (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestNormaliseToCommaList.test__normalises_space_or_comma_list_to_comma_list (0.20s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__observe_observes_callback (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,no-referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,no-agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_text.TestSplitStringList.test__eliminates_empty_words (0.17s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_tftp.TestAddressFunctions.test__returns_host_port_tuple_when_set(get_remote_address) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,no-agent,uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestAsynchronousDecoratorWithTimeoutDefined.test_in_other_thread(finite) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,referrer,agent,no-uri,status-unknown,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestCallOut.test__with_arguments (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__cancel_clears_observing (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__get_can_be_cancelled (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestDeferredValue.test__set_exception_results_in_a_callback (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,no-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,no-status,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,agent,uri,status-unknown,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSuppress.test__returns_instead_value_when_suppressing (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,no-referrer,agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestSynchronousDecorator.test_in_other_thread (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv6-client,referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,no-agent,uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(no-method,ipv4-mapped-client,referrer,agent,no-uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,no-client,referrer,agent,uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-client,no-referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,no-agent,uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,no-referrer,agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,no-uri,status-unknown,plain) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,no-agent,uri,no-status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv6-client,referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status,bytes) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,no-uri,status-unknown,plain) (0.00s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,no-agent,uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,no-referrer,agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestReducedWebLogFormatter.test__renders_full_request(method,ipv4-mapped-client,referrer,no-agent,no-uri,no-status,bytes) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_with_kill_if_not_in_separate_process_group (0.26s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__stop_unsets_started (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__context_is_active_in_new_thread(callInThread) (0.02s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__preserves_port_with_IPv6 (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.ParseConfigTest.test_parse_key_value_file_parses_config_file (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_nested_lists (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__takes_star_args (0.00s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__accepts_non_flat_list(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression matches,xpath-compiler=None,doc-compiler=None) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(expression does not match,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression matches,xpath-compiler=XPath,doc-compiler=None) (0.00s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(text expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression matches,xpath-compiler=XPath,doc-compiler=None) (0.00s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(string expression does not match,xpath-compiler=None,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_xpath.TestTryMatchXPathScenarios.test(unrecognised namespace,xpath-compiler=XPath,doc-compiler=XPathDocumentEvaluator) (0.01s) SUCCESS: provisioningserver.utils.tests.test_znums.TestZNumbers.test_from_int_basics (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestTerminateProcess.test__terminates_process_with_TERM_QUIT_then_KILL (0.26s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadPoolLimiter.test__with_callback_acquires_and_releases_lock (0.02s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__callInThreadWithCallback_logs_failure_reporting_result (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpool.test__init (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__defers_to_new_thread(callInThreadWithCallback) (0.01s) SUCCESS: provisioningserver.utils.tests.test_twisted.TestThreadUnpoolCommonBehaviour.test__logs_failure_deferring_to_thread(callInThread) (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__does_not_escape_bracketed_IPv6_zone_index (0.01s) SUCCESS: provisioningserver.utils.tests.test_url.TestComposeURL.test__inserts_IPv6_with_brackets (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__flattens_other_iterables (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__returns_iterator (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestFlatten.test__treats_string_like_objects_as_leaves (0.00s) SUCCESS: provisioningserver.utils.tests.test_utils.TestIsInstanceOrSubclass.test__rejects_incorrect_type(instances) (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestLocateConfig.test_locates_full_path (0.01s) SUCCESS: provisioningserver.utils.tests.test_utils.TestSortTop.test_single_thing_referring_to_self_yields_single_batch (0.01s) SUCCESS: maasserver.tests.test_fields.TestIPv4CIDRField.test_fails_to_store_ipv6_cidr (0.03s) SUCCESS: provisioningserver.utils.tests.test_znums.TestZNumbers.test_sorting_6_digit_znums (0.12s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_defaults (0.07s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDServerResources.test_setUp_honours_include_in_options (0.05s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDFixture.test_config (0.44s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_cluster_uuid_sets_cluster_uuid (0.04s) SUCCESS: provisioningserver.tests.test_cluster_config_command.TestUpdateMaasClusterConf.test_config_set_tftp_port_sets_tftp_port (0.02s) SUCCESS: provisioningserver.tests.test_config.TestClusterConfiguration.test_set_maas_url_accepts_ipv6_addresses_with_brackets (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfig.test_is_dev_environment_returns_true (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_adding_configuration_option (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabase.test_as_string (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_immutable (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_load_file_with_non_mapping_crashes (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_open_and_close (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_opened_configuration_file_saves_on_exit (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_getting_something_is_not_validated(db) (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationOption.test_setting_something_is_validated(db) (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_commissioning_compose_kernel_command_line_inc_extra_opts (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_arch_opts_copes_with_unknown_subarch (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_includes_disable_overlay_cfg (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_compose_kernel_command_line_includes_preseed_url (0.00s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_locale (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_install_compose_kernel_command_line_includes_name_domain (0.00s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_xinstall_compose_kernel_command_line_inc_purpose_opts6 (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__concatenates_despite_leading_slash(get_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__concatenates_despite_leading_slash(get_tentative_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__defaults_to_root(get_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_path.TestGetPathFunctions.test__normalises(get_data_path) (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test____sets_url (0.02s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test__restarts_maas_rackd_service (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__has_add_arguments (0.01s) SUCCESS: provisioningserver.tests.test_security.TestSetSharedSecretOnFilesystem.test__writes_secret (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPv4Service.test_service_name (0.00s) SUCCESS: provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState(region) (0.07s) SUCCESS: provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState(region+rack) (0.08s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_config_args_dumps_expected_functions(with_exception_mock) (0.02s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_and_networking_args_dumps_expected_functions(without_exception_mock) (0.02s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_images_preserves_args(without_exception_mock) (0.03s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_config_args_dumps_expected_functions(without_exception_mock) (0.01s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_networking_and_images_args_dumps_expected_functions(without_exception_mock) (0.03s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_batch_of_1_one_thing (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestGenBatches.test_brute (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_all_invalid_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_no_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestMergeDetails.test_merge_with_only_lshw_details (0.01s) SUCCESS: provisioningserver.tests.test_tags.TestTagUpdating.test_get_details_calls_correct_api_and_parses_result (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__creates_directory (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestCreateGNUPGHome.test__doesnt_set_ownership_to_maas_when_in_snap (0.01s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__doesnt_move_paths_with_more_levels_into_ubuntu_dir (0.06s) SUCCESS: provisioningserver.tests.test_upgrade_cluster.TestMigrateArchitecturesIntoUbuntuDirectory.test__list_subdirs_under_current_directory (0.01s) SUCCESS: maasserver.tests.test_fields.TestIPv4CIDRField.test_stores_cidr (0.03s) SUCCESS: maasserver.tests.test_fields.TestIPv4CIDRField.test_stores_cidr_with_bit_set_in_host_part (0.04s) SUCCESS: maasserver.tests.test_fields.TestIPv4CIDRField.test_validates_cidr (0.04s) SUCCESS: maasserver.tests.test_fields.TestJSONObjectField.test_field_another_lookup_fails (0.03s) SUCCESS: maasserver.tests.test_fields.TestJSONObjectField.test_field_exact_lookup (0.06s) SUCCESS: provisioningserver.testing.tests.test_bindfixture.TestBINDFixture.test_start_check_shutdown (10.53s) SUCCESS: provisioningserver.tests.test_config.TestConfiguration.test_cannot_set_attributes (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationDatabaseMutability.test_open_yields_immutable_backend (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_removing_configuration_option (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFile.test_unmodified_database_retains_permissions (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationFileMutability.test_mutable (0.01s) SUCCESS: provisioningserver.tests.test_config.TestConfigurationMeta.test_set(file) (0.01s) SUCCESS: provisioningserver.tests.test_events.TestSendRackEvent.test__calls_singleton_hub_logByID_directly (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestGetCurtinKernelCmdlineSepTest.test_get_curtin_kernel_cmdline_sep_returns_default (0.01s) SUCCESS: provisioningserver.tests.test_kernel_opts.TestKernelOpts.test_enlist_compose_kernel_command_line_inc_cc_datasource (0.01s) SUCCESS: provisioningserver.tests.test_register_command.TestRegisterMAASRack.test___prompts_user_for_url (0.03s) SUCCESS: provisioningserver.tests.test_security.TestCheckForSharedSecretScript.test__exits_zero_if_secret_exists (0.01s) SUCCESS: provisioningserver.tests.test_security.TestGetSharedSecretFromFilesystem.test__errors_reading_file_are_raised (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__ignores_surrounding_whitespace_from_stdin (0.01s) SUCCESS: provisioningserver.tests.test_security.TestInstallSharedSecretScript.test__prints_error_message_when_secret_cannot_be_decoded (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestDHCPService.test_on_sets_expected_state_to_on (0.01s) SUCCESS: provisioningserver.tests.test_service_monitor.TestNTPServiceOnRack_Scenarios.test_getExpectedState(machine) (0.07s) SUCCESS: provisioningserver.tests.test_support_dump.TestUpdateMaasClusterConf.test_dump_with_no_args_dumps_everything(without_exception_mock) (0.02s) SUCCESS: maasserver.tests.test_fields.TestJSONObjectField.test_field_none_lookup (0.05s) SUCCESS: maasserver.tests.test_fields.TestJSONObjectField.test_form_field_is_a_plain_field (0.03s) SUCCESS: maasserver.tests.test_fields.TestJSONObjectField.test_stores_types (0.04s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_get_db_prep_value_raises_error_when_not_LargeObjectFile (0.03s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_get_db_prep_value_raises_error_when_oid_less_than_zero (0.04s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token(user=user,client=user+pass) (0.88s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_name_bad_request_no_token(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_api.MAASAPIAnonTest.test_anon_get_config_unauthorized(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_admin_set_config(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=admin,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=anonymous,client=user+pass) (0.05s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_list_tokens(user=user,client=oauth) (1.15s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_not_given(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_name_not_found(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_get_db_prep_value_returns_None_when_value_None (0.04s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_with_token_key(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_but_no_parameters(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_rejects_unknown_config_item(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_requires_name_param(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_returns_config(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_string_name_param(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_value_param(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=user,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=admin,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=anonymous,client=user+pass) (0.05s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_change_bcache_backing(user=user,client=user+pass) (0.67s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_delete_by_id_works(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_with_missing_backing_fails(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_unknown_power_type(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_api.TestXSSBugs.test_invalid_signature_response_is_textplain(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_409_when_not_ready(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_handler_path(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_get_db_prep_value_returns_oid_when_value_LargeObjectFile (0.04s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_to_block_device(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_deletes_block_device(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_invalid_change_fails(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.46s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_read(user=user,client=user+pass) (0.78s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_delete_authorisation_token_not_found(user=user,client=oauth) (1.12s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.36s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_list_tokens_format(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_404_when_system_id_doesnt_match(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_admin_set_config_rejects_unknown_config_item(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_insists_on_binary_mode (0.03s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_simple_user_set_config_forbidden(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=admin,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=anonymous,client=user+pass) (0.05s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_partitions(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=admin,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_system_id(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_api.TestAuthentication.test_invalid_oauth_request (0.12s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_sets_mount_path_and_params_on_filesystem_as_user(user=user,client=oauth) (0.45s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_403_when_not_admin(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_returns_badrequest_when_key_not_in_form(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_409_when_the_nodes_not_ready(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_works(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_crashes_for_RequestException(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_unmounts_filesystem_as_admin(user=user,client=oauth) (0.45s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_sshkey_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_deletes_filesystem_as_user(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_with_parameters(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_unmounts_filesystem_as_user(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_not_formatted(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_as_admin(user=user,client=oauth) (0.15s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_interates_on_block_size (0.03s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_as_normal_user(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_400_if_already_unmounted(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_partition_type(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_partitions(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_409_when_not_ready_or_broken(user=user,client=oauth) (3.63s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_change_storages_to_partitions_bcache(user=user,client=oauth) (0.86s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_400_if_not_formatted(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_calls_import_boot_images_on_all_clusters(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_returns_409_for_non_ready_node(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_returns_full_definition_of_boot_resource(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_404_when_not_bcache(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_filesystems_on_partitions(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_GET_requires_admin(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_409_when_not_ready(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_GET_returns_boot_resource(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_stores_data (0.03s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_GET_returns_boot_source_selection_list(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_resource_file_is_complete(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_DELETE_deletes_boot_source(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_doesnt_include_full_definition_of_boot_resource(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_handler_path(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_GET_requires_admin(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_GET_returns_boot_source(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_empty_largefile(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_updates_boot_source(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_subnet_with_link_up(user=user,client=user+pass) (1.60s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_validates_size_matches_total_size_for_largefile(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_creates_boot_source_with_keyring_filename(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_set_to_dict(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_returns_404_when_system_id_doesnt_match(user=user,client=user+pass) (1.25s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptsAPITest.test_POST_creates_commissioning_script(user=admin,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_read(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_to_interface(user=user,client=user+pass) (1.34s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_DELETE_is_forbidden(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_GET_returns_boot_source(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_PUT_is_forbidden(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_POST_creates_boot_source_selection(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptsAPITest.test_GET_is_forbidden(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_400_when_cache_set_in_use(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptsAPITest.test_GET_lists_commissioning_scripts(user=admin,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_GET_is_forbidden(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_409_when_the_nodes_not_ready(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_only_displayed_completed_results(user=user,client=oauth) (0.66s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_formats_block_device_as_admin(user=user,client=oauth) (0.36s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_to_python_raises_error_when_not_valid_type (0.06s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_output_if_stdout_empty(user=user,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (1.42s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_formats_block_device_as_user(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_to_interface(user=user,client=oauth) (1.56s) SUCCESS: maasserver.api.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response(user=admin,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_displays_all_results(user=user,client=user+pass) (0.89s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_rejects_edit_if_not_permitted(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_creates_link(user=user,client=user+pass) (2.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_400_on_missing_mount_point(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_updates_device_parent(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_stderr(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_filesytems_on_partitions(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_default_domain(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_deletes_filesystem_as_admin(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_without_macs_raises_appropriate_error(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_with_multiple_empty_data(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_GET_reads_device(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_to_python_returns_LargeObjectFile_when_value_int (0.03s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_updates_device_hostname(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_with_id_returns_matching_devices(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_networking_configuration_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_deletes_dhcp_snippet(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_hander_path(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_update_admin_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_lists_devices(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_create_admin_only(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_update(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_403_when_not_admin(user=user,client=oauth) (2.25s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_create(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_by_specifier(user=user,client=user+pass) (2.30s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_deployed_physical_block_device_as_admin(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_with_invalid_params(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (2.77s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip_and_mac__known_mac(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip(user=user,client=oauth) (0.95s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_DELETE_requires_admin(user=user,client=oauth) (0.16s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_to_python_returns_LargeObjectFile_when_value_long (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_creates_link_on_device(user=user,client=oauth) (0.92s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_on_complete_calls_clusters_to_import_boot_images(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read_by_specifiers(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_forbidden_when_resource_is_synced(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_read_sorts_by_last_seen(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_synced_returns_synced_boot_resources(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_requries_admin(user=user,client=user+pass) (0.79s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_returns_404_when_system_id_doesnt_match(user=user,client=oauth) (1.70s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__calls_scan_all_networks_with_scan_all_if_forced(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_uploaded_returns_uploaded_boot_resources(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_ping(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_update_not_allowed(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_requires_admin(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_stop_import_calls_stop_import_resources(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_delete_not_allowed_even_for_admin(user=user,client=user+pass) (0.46s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_stop_import_requires_admin(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_force_link_up_deletes_existing_links(user=user,client=oauth) (1.16s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_file_to_dict(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_to_dict_with_sets(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_to_dict_without_sets(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_deletes_dnsresource_record(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_update_admin_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_DELETE_requires_admin(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_admin_only(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_creates_boot_source_with_keyring_data(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_requires_name(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_requires_admin(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_validates_boot_source(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__results_can_be_converted_to_json_and_back (1.33s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_409_when_not_ready_or_broken(user=user,client=oauth) (5.23s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_deletes_dnsresource_if_no_data(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_deletes_dnsresource(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_to_python_returns_None_when_value_None (0.03s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_default_configuration(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_requires_name(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_update(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_handler_path(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_name_domain__name(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_update_admin_only(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_ignores_nodes(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create_admin_only(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create_requires_name(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_set_serial_rejects_serials_greater_than_4294967295(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_requires_to(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_domain(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_read(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_handler_path(user=user,client=user+pass) (0.05s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=admin,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_read(user=user,client=oauth) (0.63s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=anonymous,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_deletes_interface(user=user,client=oauth) (1.75s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_without_force_link_up_returns_bad_request(user=user,client=oauth) (2.64s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_deletes_links_and_clears_vlan(user=user,client=user+pass) (3.42s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_changed(user=user,client=oauth) (3.46s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_to_python_returns_value_when_value_LargeObjectFile (0.03s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_409_when_not_ready_broken_or_deployed(user=user,client=oauth) (4.50s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_all_allowed_for_admin(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_api.MAASAPIAnonTest.test_anon_get_config_unauthorized(user=anonymous,client=user+pass) (0.94s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_invalid_power_type(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_404_when_invalid_id(user=user,client=user+pass) (0.65s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_not_given(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_not_allowed_for_non_admin(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__fails_scan_all_if_not_forced(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=admin,client=user+pass) (0.67s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_slow(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_cleared(user=user,client=user+pass) (0.88s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_threads(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__threads_must_be_number(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_physical_interface(user=user,client=oauth) (1.02s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=anonymous,client=user+pass) (0.36s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_403_if_not_admin(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_forcibly_changed(user=user,client=oauth) (1.23s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_returns_403_when_not_admin(user=user,client=oauth) (0.69s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=admin,client=oauth) (2.40s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_403_if_not_admin(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_handler_path(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_accept_all_does_not_accept_anything(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=user+pass,without_force) (0.56s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_device_interface(user=user,client=oauth) (0.77s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_with_missing_backing_fails(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_simple_user_can_set_power_type_and_parameters(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_deletes_cache_set(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_creates_link_on_device(user=user,client=user+pass) (0.98s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_unlink (0.04s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=user+pass,without_force) (0.66s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_sets_gateway_link_ipv6_on_node(user=user,client=oauth) (1.27s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read(user=user,client=user+pass) (0.59s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_after_event_id_with_limit(user=user,client=user+pass) (0.73s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read_404_when_invalid_id(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read(user=user,client=user+pass) (2.80s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=oauth,with_force) (0.60s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_403_when_not_admin(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=anonymous,client=oauth) (1.79s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_disallows_subnets_on_another_vlan(user=user,client=oauth) (1.03s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_deletes_link(user=user,client=oauth) (1.49s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously_with_force_ping (1.32s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_after_event_id_without_limit(user=user,client=oauth) (0.75s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_404_when_invalid_id(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_fqdn(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_change_cache_device(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_name_domain__id(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_fails_with_no_domain(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_403_when_not_admin(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=oauth,with_force) (1.01s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_with_missing_cache_fails(user=user,client=oauth) (0.21s) SUCCESS: maasserver.tests.test_fields.TestLargeObjectField.test_with_exit_calls_close (0.05s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_deletes_block_device(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_limit_over_hard_limit_raises_error_with_msg(user=user,client=oauth) (0.90s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_force_link_up_deletes_existing_links(user=user,client=user+pass) (1.15s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_type(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_404_when_system_id_doesnt_match(user=user,client=oauth) (0.30s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=oauth,without_force) (0.80s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_update(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_fqdn(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_name_domain__name(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_without_force_link_up_returns_bad_request(user=user,client=user+pass) (1.12s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=user+pass,with_force) (0.89s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=user,client=user+pass) (2.78s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_macs_returns_matching_nodes(user=user,client=oauth) (1.60s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_sets_mount_path_and_params_on_filesystem_as_admin(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_update(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_bond_interface(user=user,client=user+pass) (2.89s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_can_set_serial(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_domain(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=user+pass,without_force) (0.68s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_returns_403_when_not_admin(user=user,client=user+pass) (0.92s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_without_agent_name_does_not_filter(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_409_when_not_ready_or_broken(user=user,client=user+pass) (3.83s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_sets_mount_path_and_params_on_filesystem_as_user(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_deletes_domain(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_set_serial_rejects_serials_less_than_1(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.tests.test_fields.TestMAASIPAddressField.test_uses_ip_comparison (0.03s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_read(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_block_device_by_name(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_after_provides_prev_and_next_uris(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_enlistment.AnonymousEnlistmentAPITest.test_POST_returns_limited_fields(user=anonymous,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_before_and_after_is_forbidden(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=oauth,without_force) (0.60s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_physical_block_device(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+mac_address) (0.18s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level) (0.14s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_unmounts_filesystem_as_admin(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=user+pass,with_force) (0.59s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_deletes_link_on_device(user=user,client=user+pass) (1.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+limit) (0.15s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_as_admin(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+limit) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_409_when_not_ready_or_broken(user=user,client=oauth) (4.25s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=admin,client=user+pass) (0.61s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_as_normal_user(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_vlan_interface(user=user,client=oauth) (1.98s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_model(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=user+pass,without_force) (0.60s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+limit+mac_address) (0.08s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=anonymous,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_content_doesnt_match_sha256(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+zone) (0.16s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=admin,client=oauth) (0.16s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_loads_string (0.04s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=anonymous,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_content_is_too_large(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_raises_error(user=user,client=oauth) (1.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_no_content(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=admin,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=oauth,with_force) (0.67s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_deletes_link_on_device(user=user,client=oauth) (0.95s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+limit+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_returns_boot_resources_list(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_dnsresource(user=user,client=oauth,with_ip_address_param) (0.77s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+zone) (0.17s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=anonymous,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_already_existing_largefile(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+limit+zone) (0.14s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level) (0.10s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_default_filetype(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_requries_admin(user=user,client=oauth) (0.76s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=oauth,without_force) (0.58s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+limit) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_accept_not_allowed(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_returns_full_definition_of_boot_resource(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ip_address(user=user,client=oauth,with_ip_param) (0.62s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=user,client=user+pass) (0.51s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+limit+zone) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_deployed_machine_interface(user=user,client=user+pass) (0.83s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_import_requires_admin(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+limit+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=user+pass,with_force) (0.53s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=oauth,normal) (0.61s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_handler_path(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=oauth,normal) (0.45s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+limit+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+limit+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_doesnt_list_devices(user=user,client=user+pass) (0.76s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_GET_returns_boot_source_selection_list(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_detects_in_use_address(user=user,client=oauth,with_ip_param) (0.73s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=admin,client=user+pass) (0.54s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_409_when_not_ready_or_broken(user=user,client=oauth) (4.01s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_GET_returns_boot_source(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_lookup_exact_unsupported (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,limit) (0.14s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_GET_returns_boot_source_list(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=anonymous,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=oauth,normal) (0.64s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=oauth,with_force) (0.76s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptsAPITest.test_POST_creates_commissioning_script(user=admin,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=user+pass,normal) (0.71s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_PUT_is_forbidden(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_rejects_invalid_ip(user=user,client=oauth,with_ip_param) (0.66s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptsAPITest.test_GET_is_forbidden(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=admin,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+limit) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=user+pass,normal) (0.66s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=anonymous,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+mac_address) (0.18s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=oauth,without_force) (0.69s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_and_ip_creates_ip_with_hostname(user=user,client=oauth,with_ip_address_param) (0.70s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+zone) (0.14s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_sets_gateway_link_ipv6_on_node(user=user,client=user+pass) (1.34s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_only_displayed_completed_results(user=user,client=user+pass) (0.81s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=user+pass,normal) (1.03s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=admin,client=user+pass) (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+limit) (0.18s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=user+pass,with_force) (0.70s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+limit+zone) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=oauth,with_force) (0.81s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_output_if_stdout_empty(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=anonymous,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_default_log_level_is_info(user=user,client=user+pass) (2.00s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_creates_ip_with_hostname(user=user,client=user+pass,with_ip_address_param) (0.78s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+limit+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_raises_error(user=user,client=user+pass) (0.78s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_id_returns_matching_nodes(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_shows_all_latest_results(user=user,client=oauth) (0.45s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_lookup_none (0.04s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=user+pass,without_force) (0.63s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_allows_claiming_of_new_static_ips_for_existing_MAC(user=user,client=oauth,with_ip_param) (0.85s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_before_event_id_with_limit(user=user,client=user+pass) (0.58s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=oauth,normal) (0.72s) SUCCESS: maasserver.api.tests.test_devices.DeviceOwnerDataTest.test_GET_returns_owner_data(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestExitRescueMode.test_exit_rescue_mode_requires_admin(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+limit+zone) (0.16s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_POST_method_without_op_not_allowed(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+limit+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_default_configuration_requires_admin(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_invalid_macs_returns_sensible_error(user=user,client=user+pass) (0.63s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_requries_admin(user=user,client=user+pass) (0.77s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+limit+zone) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_before_event_id_without_limit(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_default_domain(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+limit) (0.16s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_dnsresource(user=user,client=user+pass,with_ip_param) (0.86s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_allows_claiming_of_new_static_ips_for_existing_MAC(user=user,client=user+pass,with_ip_param) (0.76s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=user+pass,normal) (1.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+limit+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_domain(user=user,client=oauth) (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+limit+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestRescueMode.test_rescue_mode_changes_state(user=user,client=user+pass) (0.96s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_hostname_returns_matching_nodes(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_deletes_fabric(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_requires_admin(user=user,client=oauth) (0.84s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ip_address(user=user,client=oauth,with_ip_address_param) (0.68s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=oauth,with_force) (0.63s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ip_address(user=user,client=user+pass,with_ip_address_param) (0.77s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_before_provides_prev_and_next_uris(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_update_admin_only(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_returns_limited_fields(user=user,client=oauth) (0.61s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_lookup_xpath_exists_no_result (0.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,zone) (0.10s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_create_admin_only(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_deletes_fannetwork(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain) (0.16s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_read(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_get_file(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_resource_uri_allows_anonymous_access(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_with_id_returns_matching_devices(user=user,client=user+pass) (0.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level) (0.17s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=oauth,normal) (0.79s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=oauth,without_force) (0.63s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_on_files(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_admin_only(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_log_level_returns_that_level_and_greater(user=user,client=user+pass) (1.86s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_detects_in_use_address(user=user,client=oauth,with_ip_address_param) (0.89s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+zone) (0.08s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_file_handler_path(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+limit) (0.09s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_detects_in_use_address(user=user,client=user+pass,with_ip_address_param) (0.91s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_by_name(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_files_resource_uri_supports_slashes_in_filenames(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+limit) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=user+pass,normal) (0.66s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_some_matching_ids_returns_matching_nodes(user=user,client=oauth) (0.58s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_fallback_to_ListBootImages_on_old_clusters(get_all_available_boot_images) (1.75s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=user+pass,with_force) (0.67s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+limit+mac_address) (0.20s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=oauth,region-rack) (0.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+zone) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_rejects_ip_in_dynamic_range(user=user,client=oauth,with_ip_param) (0.68s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_update_admin_only(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+mac_address) (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_prev_and_next_uris_contain_search_parameters(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_create_admin_only(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+limit+zone) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_rejects_ip_in_dynamic_range(user=user,client=user+pass,with_ip_param) (0.74s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+limit+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+zone) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=user+pass,rack) (0.39s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=oauth,with_force) (0.52s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_rejects_invalid_ip(user=user,client=oauth,with_ip_address_param) (0.42s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=oauth,normal) (0.64s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=oauth,region) (0.32s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+limit) (0.18s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_rejects_invalid_ip(user=user,client=user+pass,with_ip_address_param) (0.51s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+limit) (0.10s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_boot_images_for_one_cluster(get_all_available_boot_images) (0.99s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+mac_address) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip(user=user,client=user+pass) (0.86s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+mac_address) (0.09s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_lookup_xpath_exists_result (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+limit+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=user+pass,normal) (0.67s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ipaddress(user=user,client=oauth,with_ip_address_param) (0.78s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_and_ip_creates_ip_with_hostname(user=user,client=user+pass,with_ip_param) (0.76s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+limit+zone) (0.19s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=user+pass,rack) (0.58s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+limit+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+limit+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+zone) (0.13s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_read_sorts_by_last_seen(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+limit) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+limit+zone) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=oauth,region) (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_MAC_links_MAC_to_ip_address(user=user,client=oauth,with_ip_param) (0.93s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+limit+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+mac_address+zone) (0.21s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_errors_for_no_matching_subnet(user=user,client=oauth,with_ip_address_param) (0.62s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+zone) (0.16s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_creates_ip_with_hostname(user=user,client=oauth,with_ip_param) (0.76s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_mdns_allowed_for_admin(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+limit) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+mac_address+zone) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=oauth,with_force) (1.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+zone) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_bad_fqdn_fails(user=user,client=oauth,with_ip_address_param) (0.66s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_boot_images_on_all_clusters(get_all_available_boot_images) (1.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+limit+zone) (0.11s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_requires_parameters(user=user,client=oauth) (0.49s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_ping(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,limit+zone) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_MAC_links_MAC_to_ip_address(user=user,client=user+pass,with_ip_address_param) (1.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+limit) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestExitRescueMode.test_exit_rescue_mode_changes_state(user=user,client=user+pass) (0.92s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+mac_address) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+limit+mac_address+zone) (0.18s) SUCCESS: maasserver.tests.test_fields.TestXMLField.test_save_non_wellformed_rejected (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+limit+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=oauth,without_force) (0.95s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_and_ip_creates_ip_with_hostname(user=user,client=oauth,with_ip_param) (0.86s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+limit+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+limit) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain) (0.13s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_performs_action (1.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_and_ip_creates_ip_with_hostname(user=user,client=user+pass,with_ip_address_param) (0.73s) SUCCESS: maasserver.api.tests.test_machine.TestRescueMode.test_rescue_mode_requires_admin(user=user,client=user+pass) (0.70s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+zone) (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+zone) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+limit) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=user+pass,with_force) (0.77s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_creates_ip_with_hostname(user=user,client=user+pass,with_ip_param) (0.78s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+limit) (0.14s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously_with_scan_all (1.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_no_parameters_fails_with_bad_request(user=user,client=oauth,with_ip_param) (0.49s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__get_requested_machine_uses_passed_values (0.54s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+zone) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+limit+zone) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+limit+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+limit) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=oauth,normal) (0.63s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+mac_address) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+limit) (0.15s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_without_hostname_creates_ip_without_hostname(user=user,client=oauth,with_ip_address_param) (0.71s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+limit+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_409_when_not_ready_or_broken(user=user,client=user+pass) (3.45s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+limit+mac_address) (0.08s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=user+pass,normal) (0.56s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_empty_list_when_all_clusters_fail(get_all_available_boot_images) (1.58s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+limit+mac_address) (0.12s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetBootImagesFor.test_returns_boot_images_matching_subarches_in_boot_resources (1.32s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_requires_admin(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__populates_results_correctly (1.38s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+limit+mac_address) (0.18s) SUCCESS: maasserver.forms.tests.test_helpers.TestMAASModelForm.test_hidden_field_is_available_to_all_field_cleaning_methods (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=oauth,normal) (0.34s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+zone) (0.13s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+limit+zone) (0.12s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_prevents_duplicate_pod (1.62s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_gives_stat_when_no_permission (0.57s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_returns_error_when_MAC_exists_on_node(user=user,client=user+pass,with_ip_param) (0.98s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+limit+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+limit+zone) (0.21s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_update_admin_only(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_disabled(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ipaddress(user=user,client=oauth,with_ip_param) (0.54s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+limit+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_admin_only(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_update(user=user,client=oauth) (0.15s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetBootImagesFor.test_returns_boot_images_matching_subarchitecture (0.80s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.models.tests.test_bmc.TestPodDelete.test_delete_is_not_allowed (0.55s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_delete_file(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+limit+zone) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_on_device(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__compose_with_commissioning (0.61s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_empty_file(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_name(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+limit+mac_address) (0.18s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_file_deletes_file(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_requires_mac(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+limit+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_fetches_the_most_recent_file(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_update(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_errors_for_no_matching_subnet(user=user,client=oauth,with_ip_param) (0.75s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_fails_with_no_filename(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_update_admin_only(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_create(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_admin_only(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returning_404_file_includes_header(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_requires_name(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_file_object_with_content_base64_encoded(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=oauth,region-rack) (0.61s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestIsImportBootImagesRunning.test_returns_False_when_all_clusters_return_False (1.43s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_read(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=oauth,region) (0.17s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_update_admin_only(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestIsImportBootImagesRunning.test_returns_True_when_one_cluster_returns_True (1.33s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_list_files(user=anonymous,client=user+pass) (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=user+pass,region) (0.29s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_get_does_not_work_anonymously(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create_admin_only(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_files_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_MAC_links_MAC_to_ip_address(user=user,client=user+pass,with_ip_param) (0.82s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_does_not_include_file_content(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_set_serial_rejects_serials_greater_than_4294967295(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__claims_all_auto_ip_addresses (1.52s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_lists_files_with_prefix(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=oauth,rack) (0.50s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDiscoverPod.test__returns_discovered_pod_and_errors (0.48s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_creates_pod_with_name (1.57s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_only_returns_request_users_addresses(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=user+pass,rack) (0.66s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_only_returns_request_users_addresses(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=user+pass,region-rack) (0.45s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_bad_fqdn_fails(user=user,client=user+pass,with_ip_address_param) (0.69s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_new_sets_power_parameters_skip_check(user=admin,client=oauth) (0.64s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=user+pass,region) (0.28s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_user_addresses_if_admin_and_user_specified(user=admin,client=user+pass) (0.21s) SUCCESS: maasserver.forms.tests.test_helpers.TestMAASModelForm.test_model_class_from_API_doesnt_have_hidden_field (0.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_users_ip_address_for_admin_with_all_with_ip(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_perform_action_catches_start_action_errors (0.76s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__AUTO_link_sets_vlan_if_vlan_undefined (0.90s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__claims_ip_address_not_in_dynamic_ip_range (1.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=user+pass,rack) (0.54s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_returns_404_for_unknown_os_and_series(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=admin,client=user+pass) (0.66s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=user+pass,rack) (0.88s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_forbidden_config_items(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_and_ip_creates_ip_with_hostname(user=user,client=user+pass,with_ip_param) (0.85s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_404_on_device(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__compose_without_commissioning (0.53s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_ntp_server_alias_for_ntp_servers(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=anonymous,client=user+pass) (0.27s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__DHCP_creates_link_to_DHCP_without_subnet (0.72s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__requires_pod_kwarg (0.36s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=user+pass,region-rack) (0.46s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_main_archive_overrides_to_package_repository(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_requires_vlan_and_parent(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__LINK_UP_creates_link_STICKY_with_subnet (0.88s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=oauth,region) (0.24s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_without_hostname_creates_ip_without_hostname(user=user,client=oauth,with_ip_param) (0.71s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterInAction.test__run_calls_importer_and_reports_results (2.80s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_raises_unable_to_discover_because_no_racks_in_twisted (0.54s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_simple_user_can_set_power_type_and_parameters(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=user+pass,rack) (0.48s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_null_gateway_if_no_explicit_gateway_exists(user=user,client=user+pass) (0.69s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_same_subnet_does_nothing (0.78s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__STATIC_not_allowed_if_ip_address_not_in_subnet (0.72s) SUCCESS: maasserver.api.tests.test_machine.TestGetCurtinConfig.test__500_when_machine_not_in_deployment_state(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_returns_error_when_MAC_exists_on_node(user=user,client=oauth,with_ip_address_param) (0.72s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerQueryAll.test__calls_PowerQuery_on_all_clients (0.60s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_forbidden_without_edit_permission(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_after_event_id_without_limit(user=user,client=user+pass) (0.71s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=oauth,region) (0.58s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_all_addresses_if_admin_and_all_specified(user=admin,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond(user=user,client=oauth) (1.21s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_all_addresses_if_admin_and_all_specified(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_agent_name_filters_with_empty_string(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_requires_name_and_parent(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_boot_interface_object(user=user,client=oauth) (0.50s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__STATIC_sets_ip_in_subnet (0.87s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_ipaddresses(user=admin,client=user+pass) (0.22s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_set_zone_leaves_unselected_nodes_alone (0.91s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_404_on_device(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_sorts_by_id(user=user,client=oauth) (0.21s) SUCCESS: maasserver.forms.tests.test_helpers.TestMAASModelForm.test_model_class_from_UI_has_hidden_field (0.07s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_handler_path(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_empty_owner_when_not_allocated(user=user,client=oauth) (0.45s) SUCCESS: maasserver.models.tests.test_node.TestNode_PostCommit_PowerControl.test_bmc_is_accessible_uses_fallback_client_first (1.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_limit_over_hard_limit_raises_error_with_msg(user=user,client=user+pass) (0.68s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_deletes_iprange(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_updates_existing_pod (1.84s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_interface_set(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_sets_user_to_authenticated_user(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_another_subnet_with_ip_address (0.96s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_deletes_license_key(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_raises_exception_from_rack_controller (0.91s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_returns_license_key(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_read(user=user,client=oauth) (0.81s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerQuery.test__creates_node_event_with_power_error (0.78s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNode.test__traps_failure_for_UnknownPowerType (0.73s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_updates_license_key(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_POST_requires_admin(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachineTransactional.test_errors_raised_up (0.61s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_commission_commissions_machine_with_options(user=user,client=oauth) (0.81s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterInAction.test__calling_importer_issues_rpc_calls_to_clusters (2.44s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=user+pass,rack) (0.51s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNode.test__traps_failure_for_PowerProblem (0.66s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_ports_archive_overrides_to_package_repository(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_machine.MachinesAPILoggedInTest.test_machines_GET_logged_in(user=admin,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_sets_osystem_and_distro_series(user=user,client=oauth) (0.57s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_dnsdata_inherits_domain (0.56s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_macs_returns_matching_nodes(user=user,client=user+pass) (1.71s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_before_and_after_is_forbidden(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_forbidden_if_user_cannot_edit_machine(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level) (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__STATIC_not_allowed_if_ip_address_in_dynamic_range (0.95s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__claims_auto_ip_addresses (1.46s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachineTransactional.test_release_deletes_dynamic_machine (1.15s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__compose_handles_timeout_error (0.57s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=oauth,region-rack) (1.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+limit) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_links_if_set(user=user,client=user+pass) (0.72s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_empty_if_no_ipaddresses(user=admin,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__keeps_ip_address_ids_consistent (1.65s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_ipaddresses(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+zone) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+limit) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_rejects_other_node_types(user=user,client=oauth) (0.80s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_with_all_for_admin_returns_non_user_reserved_types(user=admin,client=user+pass) (0.22s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__get_requested_machine_handles_no_tags_in_storage (0.52s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_handler_path(user=admin,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_rejects_other_node_types(user=user,client=oauth) (0.58s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+zone) (0.15s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__requires_request_kwarg (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level) (0.19s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_dhcp_to_static (1.02s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update_404_when_invalid_id(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_releases_failed_machine(user=user,client=oauth) (0.56s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__STATIC_picks_ip_in_subnet (0.85s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+zone) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_min_hwe_kernel(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+mac_address) (0.12s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__sets_up_fields_based_on_pod (0.46s) SUCCESS: maasserver.models.tests.test_managers.BulkManagerTest.test_manager_iterator_uses_cache (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+limit+zone) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_handles_missing_comment(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_read(user=user,client=oauth) (0.39s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__sets_user_data (1.59s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+mac_address) (0.18s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__fstype_and_mount_point_is_required_but_options_is_not(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_is_idempotent(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_omitted_hostname(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_requires_admin(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+limit+mac_address) (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_already_used_ip_address (0.90s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_POST_is_prohibited(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_requires_admin(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_returns_license_keys(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_claim_auto_ips_works_with_multiple_auto_on_the_same_subnet (2.08s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_link_up_to_static (1.02s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+limit) (0.12s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_ports_archive_overrides_to_package_repository(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_sets_zone(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+limit+zone) (0.16s) SUCCESS: maasserver.api.tests.test_machine.MachinesAPILoggedInTest.test_machines_GET_logged_in(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+mac_address+zone) (0.19s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_link_up (0.80s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__start_logs_user_request (1.48s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__403_when_not_admin(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_another_subnet (1.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_discover_and_sync_existing_pod_in_twisted (1.90s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id) (0.14s) SUCCESS: maasserver.models.tests.test_largefile.TestDeleteLargeObjectContentLater.test__schedules_unlink (0.50s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_deletes_machine(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_release_interface_config_handles_acquired_bridge (1.37s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_404_if_machine_name_contains_invld_characters(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level) (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_swap_size_suffixes(user=user,client=oauth) (1.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+zone) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+limit) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+limit) (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_associated_ip_addresses(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+mac_address) (0.12s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_dhcp (0.95s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+limit+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(user=user,client=oauth,ramfs) (2.73s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test__clear_networking_configuration (1.00s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_deletes_region_rack_rpc_connections (1.40s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_owner_name_when_allocated_to_self(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_bmc.TestPodDelete.test_decomposes_and_deletes_machines_and_pod (1.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+zone) (0.17s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_created_allows_override (0.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+limit+zone) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachineTransactional.test_performs_decompose_machine (1.04s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test__create_acquired_bridges_passes_options (0.71s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.models.tests.test_node.TestNode_PostCommit_PowerControl.test_bmc_is_accessible_uses_directly_connected_client (1.74s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+zone) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_combines_with_allocate(user=user,client=oauth) (0.93s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+limit+zone) (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_no_boot_disk(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_bmc.TestPodDelete.test_decomposes_handles_failure_after_one_successful (0.97s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_deletes_services (1.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+limit) (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__409_when_machine_not_ready(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+limit+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerQuery.test__does_not_update_power_state_when_same (0.65s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecial.test__mount_point_must_be_absolute(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+limit+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+limit+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_admin_can_change_power_type(user=user,client=oauth) (0.67s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestTryLockAndScan.test__aborts_if_periodic_discovery_is_disabled (0.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+mac_address+zone) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_set_initial_networking_configuration_auto_on_boot_nic (0.98s) SUCCESS: maasserver.models.tests.test_bmc.TestPodDelete.test_delete_async_simply_deletes_empty_pod (0.73s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_machine(user=user,client=oauth) (0.47s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_read(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_swap_size_invalid_suffix(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.13s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__adds_rdns_entry (1.03s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_deletes_fannetwork(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_resource_uri_allows_anonymous_access(user=anonymous,client=user+pass) (0.06s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__claims_ip_address_in_static_ip_range_skips_gateway_ip (1.14s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__doesnt_change_broken (1.54s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_no_filename(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_updates_error_description_compatibility(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_created_bracketed_by_before_and_after_time (0.08s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_on_files(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__resets_user_data (1.53s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_file_handler_path(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_files_resource_uri_supports_slashes_in_filenames(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__fstype_must_be_a_non_storage_type(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_succeeds(user=user,client=oauth) (0.15s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__deletes_rdns_entry (1.09s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__AUTO_creates_link_to_AUTO_with_subnet (0.93s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=user+pass,region-rack) (0.51s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionMade_drops_connections_if_authentication_errors (0.37s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(user=user,client=user+pass,ramfs) (2.82s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_auto_to_dhcp (0.54s) SUCCESS: maasserver.models.tests.test_node.TestNode_PostCommit_PowerControl.test_bmc_is_not_accessible_updates_routable_racks_and_powers (3.64s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_delete_converts_rack_to_machine (1.25s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__manual_power_type_doesnt_call__power_control_node (1.63s) SUCCESS: maasserver.api.tests.test_machines.MachineOwnerDataTest.test_GET_returns_owner_data(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_raises_CannotRegisterRackController_when_it_cant (0.61s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=oauth,region-rack) (0.79s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_doesnt_return_pod_for_machine_without_bmc(user=user,client=oauth) (0.30s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test_storage_layout_issues_returns_invalid_no_boot_arm64_non_efi (0.51s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=user+pass,region) (0.26s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_delete_converts_region_and_rack_to_region (0.66s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_dhcp_to_auto (0.84s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEvent.test_send_event_is_registered (0.49s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=user+pass,region) (0.30s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_lists_machines(user=user,client=oauth) (0.62s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_add_chassis_logs_user_request (0.66s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_requires_admin(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEvent.test_send_event_logs_if_unknown_node (0.55s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__only_claims_auto_addresses_when_allocated (1.34s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(user=user,client=oauth,tmpfs) (2.41s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_created_not_modified_by_subsequent_calls_to_save (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test__create_acquired_bridges_calls_configured_interface (0.94s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__machine_representation_includes_non_storage_filesystem(user=user,client=oauth,tmpfs) (0.35s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_disabled(user=user,client=user+pass) (0.59s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_macs_returns_matching_machines(user=user,client=oauth) (0.78s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_disables_and_disconn_when_secondary_connected (1.22s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateNodePowerState.test__changes_power_state (0.65s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration_checks_machine_status(user=user,client=oauth) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images_syncing (0.94s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration_requires_admin(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_doesnt_allow_mac_already_register(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_accept_domain_by_id(user=user,client=oauth) (0.47s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_layout_error(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_allowed_from_any_other_state(user=user,client=oauth) (7.69s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_requires_admin(user=user,client=oauth) (0.22s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_scanIfNeeded_logs_success (0.50s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_only_allow_power_control_on_seamicro15k(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_storage_layout_missing(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__raises_ValidationError_if_no_common_family (1.31s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images (0.83s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_passes_comment(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_set_initial_networking_configuration_link_up_on_enabled (1.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_read_on_device(user=user,client=oauth) (0.36s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_sends_port_with_vmware_and_msftocs(user=user,client=oauth) (0.40s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestGetActiveDiscoveryConfig.test__returns_disabled_if_interval_is_invalid (0.51s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_passes_comment(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,ramfs) (0.47s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__mount_point_must_be_absolute(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionInsertListener.test_alerts_region_process_and_sets_managing_process (1.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=user+pass,region-rack) (0.54s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_mem(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=user+pass,region) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_update_rackd_status_calls_mark_dead_when_no_connections (0.94s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_ids_orders_by_id(user=user,client=oauth) (0.65s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(user=user,client=oauth,ramfs) (0.46s) SUCCESS: maasserver.regiondservices.tests.test_networks_monitoring.TestRegionNetworksMonitoringService.test_updates_interfaces_in_database (0.84s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__rejects_ipv6_only_host_when_url_is_ipv4_mapped (1.31s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=oauth,region-rack) (0.45s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_some_matching_ids_returns_matching_machines(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_only_allows_prefix_filter_on_virtual_chassis(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_validates_domain(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode_PostCommit_PowerControl.test_bmc_is_accessible_falls_back_to_fallback_clients (1.81s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_created_populated_when_object_saved (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerRefresh.test_refresh_issues_rpc_call (1.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=user+pass,rack) (0.90s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_cpu(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_only_returns_request_users_addresses(user=admin,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_own_ip_address_with_ip(user=user,client=oauth) (0.10s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService.test__tryUpdate_updates_ntp_server (1.31s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPExternalListener.test_alerts_all_racks_when_ntp_external_only_updated (1.86s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerQuery.test__updates_power_state_unknown_for_non_queryable_power_type (0.69s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_monitorServices_handles_scan_failure (0.51s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_handler_path(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_delete_removes_secondary_link (1.37s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_tags_comma_space_delim(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_read(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_registers_and_unregisters_listener (0.50s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update_403_when_not_user(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_tags_space_separated(user=user,client=oauth) (0.60s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_ntp_server_alias_for_ntp_servers(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_fails_if_no_machine_present(user=user,client=oauth) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images_region_importing (0.94s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__ignores_timeouts_when_consuming_neighbour_event (1.11s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_main_archive_overrides_to_package_repository(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_handles_failure (0.57s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_default_distro_series(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_only_default_osystem_are_valid_for_distro_series(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_sets_a_token(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(user=user,client=oauth,tmpfs) (2.90s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__adds_callbacks_and_errbacks_to_post_commit (1.51s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test__buildServices_builds_services_list (0.49s) SUCCESS: maasserver.api.tests.test_machine.TestGetCurtinConfig.test__500_when_machine_not_in_deployment_state(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_not_subnet(user=user,client=oauth) (3.44s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_treats_unknown_name_as_resource_conflict(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_machine.TestGetCurtinConfig.test__returns_curtin_config_in_yaml(user=user,client=oauth) (0.16s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPListener.test_alerts_all_racks_when_ntp_server_deleted (1.80s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_refuses_to_access_nonexistent_machine(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,ramfs) (0.40s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration_checks_machine_status(user=user,client=oauth) (0.17s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_authenticateCluster_propagates_errors (0.51s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_storage_with_verbose(user=user,client=oauth) (0.43s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerRefresh.test_refresh_calls_region_refresh_when_on_node (1.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_uses_machine_acquire_lock(user=user,client=oauth) (0.52s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration_requires_admin(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_boot_interface(user=user,client=oauth) (0.47s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCommissionNode.test__raises_error_if_node_cannot_commission (1.23s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration_checks_machine_status(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_allows_delete_when_not_connected (0.93s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_now_returns_transaction_time (0.08s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_would_rather_fail_than_disobey_constraint(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_min_hwe_kernel_and_hwe_kernel(user=user,client=oauth) (0.29s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_run_calls_scanIfNeeded_if_discovery_enabled (0.38s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_tags_comma_separated(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration_requires_admin(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_failure_shows_constraints_if_given(user=user,client=oauth) (0.14s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_creates_new_rack (0.78s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_rejects_unknown_zone(user=user,client=oauth) (0.12s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_run_handles_refresh_failure (0.61s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_forbidden_if_user_cannot_edit_machine(user=user,client=oauth) (0.39s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images_when_empty (0.84s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_erases_disks_when_enabled(user=user,client=oauth) (0.79s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_CreateNode.test_calls_create_node_function (0.62s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPInterfaceListener.test_sends_message_for_mac_address_change (1.90s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_may_be_repeated(user=user,client=oauth) (1.08s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_excludes_MACs_for_nodes_not_visible_to_user(user=user,client=user+pass) (0.41s) SKIP: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_clears_zone(user=user,client=oauth) (0.08s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestGetActiveDiscoveryConfig.test__returns_expected_interval (0.55s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetControllerType.test_get_controller_type_is_registered (0.39s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_sorts_by_name(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_POST_returns_410(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_GET_refuses_to_access_nonexistent_node(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_handler_path(user=user,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_does_not_set_zone_if_not_present(user=user,client=oauth) (0.47s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__creates_node_with_explicit_hostname (1.85s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestTryLockAndScan.test__aborts_if_periodic_discovery_if_last_scan_too_recent (0.49s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetTimeConfiguration.test_calls_get_time_configuration (0.44s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_checks_permission(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_update_rackd_status_sets_rackd_running_when_all_connected (1.11s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_rejects_impossible_state_changes(user=user,client=oauth) (1.25s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_power_offs_machines(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_parameters_empty_string(user=user,client=oauth) (0.59s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_MarkNodeFailed.test_mark_node_failed_errors_if_node_cannot_be_found (0.57s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_getConfiguration) (0.63s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_updated_value (1.30s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__lock_released_on_error (0.62s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_machine(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RegisterEventType.test_register_event_type_creates_object (0.30s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_on_first_save_created_and_updated_same_if_created_set (0.03s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__raises_validation_errors_for_invalid_data (1.07s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(user=user,client=user+pass,tmpfs) (2.67s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_parameters_skip_ckeck(user=user,client=oauth) (0.53s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_applyConfiguration) (0.53s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEventMACAddress.test_send_event_mac_address_does_not_fail_if_unknown_type (0.43s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_checks_ownership(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.api.tests.test_machines.MachineHostnameTest.test_GET_returns_fqdn_with_domain_name_from_node(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_handles_missing_comment(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__runs_refresh (0.67s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_get_power_parameters(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_requires_ownership(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_doesnt_return_pod_for_machine_without_pod(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_get_power_parameters_empty(user=user,client=oauth) (0.23s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_start_up_errors_are_logged (0.89s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestGetActiveDiscoveryConfig.test__returns_disabled_if_interval_is_zero (0.55s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_adds_data(user=user,client=oauth,device) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_handles_missing_comment(user=user,client=oauth) (0.49s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_updates_data(user=user,client=user+pass,device) (0.21s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__registers_and_unregisters_listener (1.07s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionMade_does_not_update_services_connection_set (0.55s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_maybeApplyConfiguration) (0.55s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(user=user,client=oauth,tmpfs) (0.47s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_changing_an_ip (1.95s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_hostname_returns_matching_nodes(user=user,client=oauth) (0.50s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test_init_sets_up_timer_correctly (0.50s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_some_matching_ids_returns_matching_nodes(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionDeleteListener.test_picks_new_region_process_when_connection_is_removed (1.66s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=admin,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=anonymous,client=user+pass) (0.29s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=admin,client=user+pass) (0.19s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_sets_hostIsRemote_calls_registerConnection (1.26s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=anonymous,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=admin,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_cidr_changes (1.48s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_on_first_save_created_not_clobbered (0.04s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__create_node_fails_with_invalid_domain (1.68s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_DELETE_disabled(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_CommissionNode.test_calls_commission_node_function (0.53s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__creates_node_with_explicit_domain (1.64s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_rejects_impossible_state_changes(user=user,client=oauth) (2.79s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test__getAddresses_excluding_loopback (0.64s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootSources.test_get_boot_sources_is_registered (0.64s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_orders_by_id(user=user,client=oauth) (0.82s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(user=user,client=user+pass,ramfs) (2.59s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetControllerType.test_calls_get_controller_type (0.48s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_authenticateCluster_accepts_matching_digests (0.57s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,tmpfs) (0.37s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_dns_servers_changes (1.48s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_agent_name_filters_with_empty_string(user=user,client=user+pass) (0.58s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionMade_drops_connections_if_authentication_fails (0.25s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_no_boot_disk(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_nodes_returns_empty_list(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RegisterEventType.test_register_event_type_does_not_error_for_existing_event_types (0.38s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__forces_generic_subarchitecture_if_missing (1.53s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__409_when_machine_not_ready(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_returns_modified_machines(user=user,client=oauth) (5.74s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_is_registered (0.48s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_without_ids_does_not_filter(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecial.test__mount_point_must_be_absolute(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=oauth,POST) (0.07s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_set_zone_requires_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=oauth,POST) (0.08s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_returns_actually_accepted_machines(user=user,client=oauth) (1.85s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=user+pass,POST) (0.11s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_DELETE_returns_410(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_PUT_returns_410(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_delete_is_for_admins_only(user=admin,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chasis_only_allows_port_with_vmware_and_msftocs(user=user,client=oauth) (0.22s) SUCCESS: maasserver.rpc.tests.test_services.TestUpdateServices.test_update_services_logs_when_service_not_recognised (0.82s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_Authenticate.test_authenticate_calculates_digest_with_salt (0.53s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_delete_is_for_admins_only(user=anonymous,client=oauth) (0.09s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_try_update_logs_all_errors (0.80s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_update_is_for_admins_only(user=anonymous,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_create(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_primary_and_secondary_when_turned_off (1.38s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_ignores_duplicates(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_read(user=user,client=oauth) (0.11s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_CommissionNode.test_commission_node_is_registered (0.52s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_accepts_system_id_for_rack_controller(user=user,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_admin_only(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_node.NodesAPILoggedInTest.test_nodes_GET_logged_in(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_on_first_save_updated_set_same_as_created_even_if_set (0.07s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_not_found_when_node_does_not_exist(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_upstream_dns_update (0.58s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_by_name(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootSourcesV2.test_get_boot_sources_v2_returns_simplestreams_endpoint (0.45s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_CREATE_disabled(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_tags_mixed_input(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_custom_repository_fails_if_disabled_components(user=user,client=oauth) (0.17s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionInsertListener.test_rebalance_doesnt_happen_when_less_than_half_conn (4.96s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_fails_with_invalid_cpu(user=user,client=oauth) (0.25s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_calls_handle_upgrade (1.33s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_deletes_node(user=user,client=oauth) (0.40s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportForeignDHCPServer.test_is_registered (0.52s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_returns_409_if_not_ready(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSResourceListener.test_sends_message_for_dnsresource_insert (0.77s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionInsertListener.test_picks_region_process_managing_the_least_num_of_racks (1.85s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetArchiveMirrors.test_get_archive_mirrors_with_main_archive_port_archive_default (0.51s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_handles_missing_comment(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_partition(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_with_invalid_parameters(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_may_be_repeated(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_obeys_not_in_zone(user=user,client=oauth) (1.02s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_global_dhcp_snippet_inserted (1.09s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_503_when_power_already_in_progress(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_quietly_releases_empty_set(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(user=user,client=oauth,ramfs) (3.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportForeignDHCPServer.test_sets_external_dhcp_value (1.10s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_400_on_missing_mount_point(user=user,client=oauth) (0.44s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetArchiveMirrors.test_get_archive_mirrors_with_main_archive_set (0.79s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSResourceStaticIPAddressListener.test_sends_message_for_dnsresource_staticipaddress_link (1.03s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_without_machines_returns_empty_list(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_ignores_unconnected_macs(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_sets_mount_path_on_filesystem_as_admin(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_with_options(user=user,client=user+pass) (0.63s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_missing_partition(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_includes_MACs_for_nodes_visible_to_user(user=user,client=oauth) (0.29s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEvent.test_send_event_stores_event (0.68s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_connect_macs_returns_410(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_adds_data(user=user,client=oauth,machine) (0.35s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_gets_machine_out_of_declared_state(user=user,client=oauth) (0.79s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_disconnect_macs_returns_410(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestConfigListener.test__calls_handler_on_update_notification (0.87s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootConfig.test_get_boot_config_returns_expected_result (0.89s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPExternalListener.test_alerts_all_racks_when_ntp_server_deleted (1.92s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_removes_data(user=user,client=user+pass,device) (0.25s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_is_prohibited(user=user,client=oauth) (0.23s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateServices.test__calls_update_services_in_database_thread (0.48s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_rejects_invalid_rack_controller(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_seamicro_validates_power_control(user=user,client=oauth) (0.10s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootSourcesV2.test_get_boot_sources_v2_is_registered (0.44s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_returns_networks(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_updated_allows_override (0.05s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateServices.test_update_services_is_registered (0.38s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_updates_data(user=user,client=user+pass,machine) (0.49s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_releasing_an_ip (1.90s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_refuses_to_delete_invisible_node(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.35s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentTagListener.test__calls_node_handler_with_update_on_tag_rename (0.88s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_refuses_to_delete_nonexistent_node(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_sends_protcol_with_vmware(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_agent_name_filters_with_empty_string(user=user,client=oauth) (0.30s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetProxies.test_get_proxies_with_http_proxy_set (0.55s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_parameters_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_fails_for_unsupported_operation(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_parameters_returns_pod_parameters(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_query_power_state(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_agent_name_defaults_to_empty_string(user=user,client=oauth) (0.41s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ListNodePowerParameters.test__raises_exception_if_nodegroup_doesnt_exist (0.41s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_macs_returns_matching_nodes(user=user,client=user+pass) (0.60s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_removes_data(user=user,client=oauth,machine) (0.36s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_CREATE_disabled(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_fails_without_all_tags(user=user,client=oauth) (0.38s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsresource_address_addition (1.01s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPListener.test_alerts_all_racks_when_ntp_server_set (1.80s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_ignores_already_allocated_machine(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_agent_name_filters_by_agent_name(user=user,client=oauth) (0.37s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_id_returns_matching_nodes(user=user,client=user+pass) (0.53s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_zone_filters_by_zone(user=user,client=oauth) (0.33s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_refresh_discovers_syncs_and_returns_pod(user=user,client=oauth) (1.21s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionInsertListener.test_selectes_new_region_process_when_managing_one_is_dead (1.86s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_invalid_macs_returns_sensible_error(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_with_subnet_specifier_renders_error(user=user,client=oauth) (0.75s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_POST_import_boot_images_denied_if_not_admin(user=user,client=oauth) (0.37s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_quietly_accepts_empty_set(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_some_matching_ids_returns_matching_nodes(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_without_zone_does_not_filter(user=user,client=oauth) (0.62s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_admins(user=user,client=oauth) (0.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_old_vlan_and_new_vlan (2.34s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_fails_if_machines_do_not_exist(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_other(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_POST_import_boot_images_import_to_rack_controllers(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_self(user=user,client=oauth) (0.14s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ListNodePowerParameters.test__returns_correct_arguments (1.95s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineCachesetListener.test__calls_handler_with_update_on_delete(machine) (1.51s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_users(user=admin,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_updated_and_created_are_the_same_after_first_save (0.06s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_users(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_has_disable_ipv4(user=user,client=oauth) (0.64s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_admins(user=anonymous,client=user+pass) (0.09s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPInterfaceListener.test_sends_message_for_interface_name_change (1.72s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_other(user=anonymous,client=user+pass) (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_default_dns_ttl_insert (0.69s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI_Anonymous.test_read(user=anonymous,client=user+pass) (0.05s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_returns_connected_macs(user=user,client=oauth) (0.75s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_create_admin_only(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_spare_device_fails(user=user,client=oauth) (0.73s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_GET_returns_network(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_PUT_returns_410(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_MarkNodeFailed.test_mark_node_failed_changes_status_and_updates_error_msg (0.85s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_partition(user=user,client=oauth) (0.31s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPNodeListener.test_sends_message_for_hostname_change (1.80s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_lists_nodes_admin(user=user,client=oauth) (0.81s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_returns_403_for_non_admin(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.57s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RequestNodeInforByMACAddress.test_request_node_info_by_mac_address_is_registered (0.49s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceListener.test_sends_message_for_physical_to_unknown (0.95s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_delete_fs_on_partition(machine) (1.32s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionListener.test__calls_handler_with_update_on_update(machine) (0.00s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_as_user(user=user,client=oauth) (0.30s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_combines_node_filters_as_intersection_of_networks(user=user,client=oauth) (0.75s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_404_when_not_raid(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_read_partition_by_name(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_ids_orders_by_id(user=user,client=user+pass) (0.75s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_DELETE_rejects_deletion_if_not_permitted(user=user,client=oauth) (0.14s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_delet_an_ip (1.62s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_filters_by_node(user=user,client=oauth) (0.46s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_global_dhcp_snippet_deleted (1.12s) SUCCESS: maasserver.api.tests.test_node.NodeAnonAPITest.test_anonymous_user_cannot_access (0.07s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEventMACAddress.test_send_event_mac_address_stores_event (0.83s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_blockdevice_fails(user=user,client=user+pass) (0.78s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceListener.test_sends_message_for_unknown_to_physical (1.04s) SUCCESS: maasserver.api.tests.test_node.NodesAPILoggedInTest.test_nodes_GET_logged_in(user=admin,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_agent_name_does_not_filter(user=user,client=oauth) (0.81s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateNodePowerState.test__errors_if_node_cannot_be_found (0.52s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_requires_admin(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=oauth,GET) (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_create(device) (1.47s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=oauth,GET) (0.06s) SUCCESS: maasserver.api.tests.test_node.NodesAPILoggedInTest.test_nodes_GET_logged_in(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=user+pass,GET) (0.10s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_updated_is_updated_when_object_saved (0.06s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_PUT_updates_discovers_syncs_and_returns_pod(user=user,client=oauth) (1.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestProxySubnetListener.test_sends_message_for_subnet_insert (0.63s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_update_is_for_admins_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateNodePowerState.test__is_registered (0.49s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_deletes_node(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_all_fields(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_refresh_requires_admin(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_minimal_fields(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_spare_device(user=user,client=oauth) (1.09s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_forbidden_without_edit_permission(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_deletes_package_repository(user=user,client=oauth) (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDHCPSnippetListener.test__calls_handler_on_create_notification (0.61s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_by_id(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_POST_import_boot_images_import_to_rack_controllers(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_custom_repository(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_handles_missing_comment(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_403_when_not_admin(user=user,client=user+pass) (0.53s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fails_if_components_are_passed(user=user,client=oauth) (0.14s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_old_and_new_pimary_and_secondary (2.06s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_errors_on_no_scripts_found(user=user,client=oauth) (0.18s) SUCCESS: maasserver.rpc.tests.test_services.TestUpdateServices.test_update_services_updates_all_services (0.93s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0_with_one_element_fails(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_create(region) (1.42s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_returns_403_if_not_admin(user=user,client=oauth) (0.30s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_adds_data(user=user,client=user+pass,machine) (0.39s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_partition_as_user(user=user,client=oauth) (0.34s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_both_vlans_on_subnet_switch (2.63s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_default_dns_ttl_update (0.69s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_agent_name_filters_with_empty_string(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_400_if_already_unmounted(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_partition(user=user,client=oauth) (1.04s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_requires_admin(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_nonexistent_id_returns_empty_list(user=user,client=oauth) (0.22s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentScriptSetListener.test__calls_handler_with_update_on_create (1.49s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_read_404_when_not_raid(user=user,client=oauth) (0.59s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSNodeListener.test_sends_message_for_node_update_domain (0.93s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPIPRangeListener.test_sends_message_for_new_managed_dhcp_range (1.53s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_10(user=user,client=user+pass) (1.57s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_hostname_returns_matching_nodes(user=user,client=oauth) (0.52s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_delete(machine) (1.61s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_creates_pod(user=user,client=oauth) (1.03s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_spare_device_fails(user=user,client=user+pass) (0.61s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_some_matching_ids_returns_matching_nodes(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_dns_servers_is_set (1.69s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestConfigListener.test__calls_handler_on_create_notification (0.83s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_requires_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_proper_return_on_exception(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=oauth,DELETE) (0.11s) SUCCESS: maasserver.models.tests.test_timestampedmodel.TimestampedModelTest.test_updated_populated_when_object_saved (0.04s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_admins(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentStaticIPAddressListener.test__calls_handler_with_update_on_create (1.63s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_inserted_with_subnet (1.20s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_update_notification(rack) (1.00s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_admins(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_other(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1_with_spares(user=user,client=user+pass) (1.37s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestFabricListener.test__calls_handler_on_update_notification (0.76s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_other(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_read_returns_limited_fields(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_self(user=admin,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_self(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeListener.test__calls_handler_on_create_notification (0.80s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_6_with_3_elements_fails(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0(user=user,client=user+pass) (1.53s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_users(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_users(user=user,client=oauth) (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListenerLegacy.test_sends_message_for_config_windows_kms_host_insert (0.29s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_block_device_fails(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fail_with_invalid_disabled_components(user=user,client=oauth) (0.18s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_gateway_ip_changes (1.68s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_updated_enabled (1.18s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_partition_fails(user=user,client=oauth) (0.77s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_PUT_updates_region_controller(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_partition(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1_with_one_element_fails_without_side_effects(user=user,client=user+pass) (0.74s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=oauth,testing) (0.23s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_409_when_not_ready(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_returns_403_for_non_admin(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=oauth,id) (0.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_fabric_update(rack) (1.87s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_delete_special_fs(machine) (1.56s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_block_device_from_other_node_fails(user=user,client=oauth) (0.47s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_handler_path(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_as_admin(user=user,client=oauth) (0.31s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeSubnetListener.test__calls_handler_on_update_notification (1.52s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=oauth,commissioning) (0.37s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListenerLegacy.test_sends_message_for_config_windows_kms_host_update (0.30s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_spare_fails(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_as_user(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_with_node_deleted (1.40s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_read_partition(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=user+pass,commissioning) (0.50s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_read_partition_by_name(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_old_and_new_secondary_when_changed (1.84s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=oauth,installation) (0.34s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_partition(user=user,client=oauth) (1.18s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=oauth,id) (0.21s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionListener.test__calls_handler_with_update_on_create(machine) (1.50s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=oauth,id) (0.27s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_delete(machine) (1.35s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_ip_address_update(rack) (1.68s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_409_when_not_ready(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_upstream_dns_insert (0.69s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_DELETE_calls_async_delete(user=user,client=oauth) (0.80s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=oauth,commissioning) (0.29s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_DELETE_rejects_deletion_if_not_permitted(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_gateway_ip_is_cleared (1.50s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=oauth,id) (0.28s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0_with_a_spare_fails(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeEventListener.test__calls_handler_with_update_on_create(region_and_rack) (1.01s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSDataListener.test_sends_message_for_dnsdata_update (0.76s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=user+pass,id) (0.58s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_PUT_updates_discovers_syncs_and_returns_pod(user=user,client=user+pass) (1.00s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestConfigListener.test__calls_handler_on_delete_notification (0.86s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionTableListener.test__calls_handler_with_update_on_create(machine) (1.38s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=oauth,testing) (0.25s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_composes_with_defaults(user=user,client=oauth) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_space_update(rack) (1.52s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDomainListener.test_sends_message_for_domain_update (0.69s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_not_allowed_on_none_composable_pod(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=user+pass,commissioning) (0.29s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_refresh_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_calls_callback (0.05s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1(user=user,client=oauth) (1.32s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=oauth,installation) (0.29s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=user+pass,commissioning) (0.19s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_GET_list_boot_images_denied_if_not_admin(user=user,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_read(user=user,client=user+pass) (3.34s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSSubnetListener.test_sends_message_for_subnet_rdns_mode_update (0.70s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllersAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentListener.test__calls_handler_on_update_notification (0.96s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=oauth,commissioning) (0.08s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_10_with_2_elements_fails(user=user,client=oauth) (0.41s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_old_node_on_update(rack) (1.72s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_update(device) (0.00s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_update(region) (0.00s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=oauth,testing) (0.23s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_5_with_2_elements_fails(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_filters(user=user,client=oauth) (0.60s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_create(rack) (1.40s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_PUT_updates_rack_controller(user=user,client=oauth) (0.60s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_GET_describe_power_types_denied_if_not_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_partition_fails(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=oauth,installation) (0.38s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_hander_path(user=user,client=oauth) (0.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_subnet_update(device) (1.50s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestProxySubnetListener.test_sends_message_for_subnet_cidr_update (0.78s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_admin_only(user=user,client=user+pass,by_name) (0.17s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_PUT_requires_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_POST_import_boot_images_denied_if_not_admin(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_prevents_deleting_default(user=user,client=oauth,by_id) (0.19s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=user+pass,installation) (0.41s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_create_notification(rack) (0.87s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_admin_only(user=user,client=oauth,by_name) (0.16s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=oauth,id) (0.33s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_gets_name_from_filename(user=user,client=oauth,by_name) (0.15s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_POST_import_boot_images_import_to_rack_controllers(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDHCPSnippetListener.test__calls_handler_on_update_notification (0.75s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag(user=user,client=user+pass,by_id) (0.16s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=user+pass,id) (0.45s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=user+pass,id) (0.42s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_rev(user=user,client=oauth,by_id) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentNetworkListener.test__calls_handler_iface_with_update_on_fabric_update (1.74s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=oauth,testing) (0.27s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_revision(user=user,client=user+pass,by_id) (0.16s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=oauth,testing) (0.30s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_hander_path(user=user,client=oauth,by_name) (0.09s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag_admin_only(user=user,client=user+pass,by_name) (0.11s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=oauth,testing) (0.26s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_subnet_update(region) (1.39s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=oauth,id) (0.22s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_errors_on_invalid_id(user=user,client=oauth,by_id) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_delete(region_and_rack) (1.72s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_delete_notification(region_and_rack) (1.19s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=oauth,installation) (0.31s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters(user=user,client=oauth) (0.24s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentEventListener.test__calls_handler_with_update_on_create (0.93s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=oauth,commissioning) (0.40s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters_by_script_type_testing(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_partition(user=user,client=user+pass) (1.30s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=oauth,testing) (0.34s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_calls_callback_for_each_real_save (0.05s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=user+pass,commissioning) (0.28s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_hander_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=user+pass,commissioning) (0.20s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create_does_not_require_name(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_returns_badrequest_when_key_not_in_form(user=user,client=oauth) (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_domain_name_change(device) (0.87s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=user+pass,testing) (0.52s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=user+pass,id) (0.23s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_works(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentNetworkListener.test__calls_handler_with_update_on_ip_address_update (1.57s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_sslkey_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentListener.test__calls_handler_on_delete_notification (1.02s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=oauth,commissioning) (0.24s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=oauth,testing) (0.22s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet_by_cidr(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=user+pass,id) (0.21s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=user+pass,installation) (0.23s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_400_when_blank_id(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_create(region_and_rack) (1.63s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_spare_partition(user=user,client=oauth) (1.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_old_node_on_update(machine) (1.67s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_update(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=user+pass,id) (0.23s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPIAuth.test__reserved_ip_ranges_fails_if_not_logged_in(user=anonymous,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=user+pass,installation) (0.19s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_domain_name_change(region) (0.94s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT(user=user,client=user+pass,by_id) (0.16s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_deletes_raid(user=user,client=oauth) (0.53s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentTagListener.test__calls_handler_with_update_on_create (0.92s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_admin_only(user=user,client=user+pass,by_id) (0.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET(user=user,client=user+pass) (0.78s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_disallows_comma(user=user,client=oauth,by_name) (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_admin_only(user=user,client=user+pass,by_id) (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_delete(device) (0.85s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_errors_on_unknown_revision(user=user,client=user+pass,by_id) (0.11s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_summary_false(user=user,client=oauth) (0.67s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET(user=user,client=user+pass,by_name) (0.12s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_read_404_when_not_raid(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_latest_version_by_default(user=user,client=oauth,by_id) (0.13s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_admin_only(user=user,client=oauth,by_id) (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentNetworkListener.test__calls_handler_with_update_on_space_update (1.47s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_all_handler_on_domain_name_change(device) (0.99s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__accounts_for_reserved_ip_address(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_gets_name_from_filename(user=user,client=oauth,by_id) (0.14s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_prevents_reverting_default(user=user,client=user+pass,by_id) (0.20s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag(user=user,client=oauth,by_name) (0.10s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv6_subnet(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to(user=user,client=oauth,by_name) (0.15s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_revision(user=user,client=oauth,by_name) (0.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_hander_path(user=user,client=oauth,by_id) (0.07s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_full_list_for_empty_subnet(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters_by_script_type_commissioning(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag_admin_only(user=user,client=user+pass,by_id) (0.10s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_partition_fails(user=user,client=oauth) (0.66s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsresource_delete_notification (1.05s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_calls_callback_for_each_save (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST_gets_name_from_filename(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_support.TestAdminMethodDecorator.test_non_admin_are_rejected (0.07s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST_requires_admin(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_authentication_is_empty(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert(user=user,client=user+pass,by_name) (0.32s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_delete(region) (1.04s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_type_error_is_not_hidden(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_catches_key_validation_errors(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_removes_tag(user=user,client=oauth) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_vlan_update(device) (1.68s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsresource_address_removal (1.05s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_block_device_from_other_node_fails(user=user,client=user+pass) (0.50s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_deletes_space(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_requires_admin(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_fails_for_non_owner_as_admin(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllersAPI.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_undefined_vlan_not_allowed(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=user+pass,commissioning) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_all_handler_on_domain_name_change(region) (1.25s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_only_shows_user_keys_for_admin(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read_undefined(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=user+pass,testing) (0.22s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_read(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(rack_to_device) (0.89s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_403_when_ambiguous(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_machines_returns_machines(user=user,client=user+pass) (0.74s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=user+pass,installation) (0.38s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read(user=user,client=oauth) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsresource_update_notification (0.87s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_update_admin_only(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read_undefined_space(user=user,client=oauth) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_create_notification(machine) (0.79s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__without_include_ranges(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_fails_for_non_owner(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_with_update_on_node_ip_address_removal (1.58s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_admin_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_sorts_output(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_api_hash_is_set_in_headers(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=oauth,testing) (0.58s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_update(user=user,client=oauth) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_vlan_update(region) (1.54s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_create(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_returns_nodes(user=user,client=oauth) (0.91s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=user+pass,testing) (0.34s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(device_to_rack) (1.07s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_unknown_404(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_unknown_tag(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_rack_controllers_returns_no_rack_controllers_nonadmin(user=user,client=user+pass) (0.57s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_refuses_non_superuser(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=user+pass,testing) (0.34s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__default_does_not_include_ranges(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_returns_tag(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeListener.test__calls_handler_on_update_notification (1.03s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_updates_node_associations(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv4_subnet(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_rebuilds_node_mapping(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=user+pass,installation) (0.24s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_admin_cannot_delete_self(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_defaults_to_allow_proxy(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_requires_admin_privileges_with_invalid_user(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_with_update_on_node_ip_address_addition (1.64s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_requires_cidr(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_requires_admin(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=user+pass,testing) (0.27s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_changes_associations(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpersWithDatabase.test_get_oauth_token_finds_token (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSSHKeyListener.test__calls_handler_on_create (0.93s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_calls_multiple_callbacks (0.06s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_read(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_subnet_update(rack) (1.68s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_ignores_unknown_nodes(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=oauth,installation) (0.22s) SUCCESS: maasserver.api.tests.test_support.TestAdminMethodDecorator.test_admin_can_call_method (0.09s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_400_when_invalid_url(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_authentication_is_NoAuthn(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_delete(device) (1.52s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=oauth,installation) (0.24s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_with_fabric_deletes_vlan(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_with_fabric(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=user+pass,commissioning) (0.21s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_with_space(user=user,client=oauth) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeSubnetListener.test__calls_handler_on_create_notification (1.20s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_refuses_non_rack_controller(user=user,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=oauth,testing) (0.26s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_read(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_invalid_definition(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_devices_returns_devices(user=user,client=user+pass) (0.79s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=oauth,testing) (0.18s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_invalid_tag_name(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_create(machine) (1.34s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE(user=user,client=oauth,by_name) (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodePodListener.test__calls_handler_on_update_notification (1.19s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_kernel_opts(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET_include_script(user=user,client=oauth,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_404_when_not_volume_group(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_disallows_comma(user=user,client=user+pass,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_requires_admin_privileges(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_update(device) (1.54s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_staticaddress_fails(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_latest_version_by_default(user=user,client=user+pass,by_id) (0.19s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_finds_user(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag(user=user,client=oauth,by_name) (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_hides_invisible_nodes(user=user,client=oauth) (0.76s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_409_when_not_ready(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_identifies_superuser_as_such(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_admin_only(user=user,client=oauth,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_delete(region) (1.68s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to(user=user,client=user+pass,by_name) (0.22s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_deletes_vlan(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_handler_path(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to_to_be_an_int(user=user,client=oauth,by_name) (0.18s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_handler_path(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemgroupListener.test__calls_handler_with_update_on_delete(machine) (1.68s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_include_script(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_rack_controllers_returns_rack_controllers(user=user,client=user+pass) (0.72s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_delete(rack) (1.27s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_refuses_to_access_nonexistent_node(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_includes_vlan_objects(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update_admin_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_fabric(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update_undefined_space_not_allowed(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create_admin_only(user=user,client=oauth) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_update(region) (1.64s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemgroupListener.test__calls_handler_with_update_on_update(machine) (2.06s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_catches_key_validation_errors(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_create(region_and_rack) (1.21s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_region_controllers_returns_region_controllers(user=user,client=oauth) (0.72s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_delete_fails_if_not_your_key(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_works(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_409_when_not_ready(user=user,client=oauth) (0.73s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_leaves_manual_tags(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_works(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_read(user=user,client=oauth) (1.46s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_sslkeys_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionTableListener.test__calls_handler_with_update_on_update(machine) (1.43s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_update(rack) (0.00s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_403_if_not_admin(user=user,client=oauth) (0.22s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_ignores_changes_to_other_fields (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_node_handler_with_update_on_tag_rename(device) (1.36s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_allows_rack_controller(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_handler_path(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_404_when_not_volume_group(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_403_when_ambiguous(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSSHKeyListener.test__calls_handler_on_update (1.24s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionListener.test__calls_handler_with_update_on_delete(machine) (1.36s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_domain_name_change(rack) (0.90s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_ignores_incorrect_definition(user=user,client=user+pass) (0.57s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_update_admin_only(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_create(region_and_rack) (1.64s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_node_handler_with_update_on_tag_rename(region) (0.98s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__returns_empty_list_for_empty_ipv4_subnet(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_refuses_non_admin(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_creates_with_block_devices_and_partitions(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv6_slash_64_subnet(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_without_definition_creates_tag(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_admin_only(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_cannot_delete_default_zone(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_deletes_user(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_defaults_to_managed(user=user,client=oauth) (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptListener.test__calls_handler_on_delete_notification (0.82s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_rejects_change_of_default_zone_name(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_keeps_quiet_if_user_not_found(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_requires_admin(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_returns_404_if_user_not_found(user=user,client=oauth) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeEventListener.test__calls_handler_with_update_on_create(rack) (0.93s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_list_returns_zone_list(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_shows_expected_fields(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_changes_associations(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.clusterrpc.tests.test_architecture.TestListSupportedArchitectures.test_merges_results_from_multiple_nodegroups (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__init_also_accepts_already_parsed_proxy (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSpaceListener.test__calls_handler_on_create_notification_with_name (0.90s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestGetPowerTypeParametersFromJSON.test_includes_empty_power_type (0.05s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_GET_lists_users(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_doesnt_require_add_or_remove(user=user,client=oauth) (0.21s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_update_notification(machine) (1.12s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_404_when_invalid_fabric_vid(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_ignores_unknown_nodes(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_sets_relay_vlan(user=user,client=oauth) (0.18s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGetPreseedData.test_returns_preseed_data (0.44s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_without_space(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_read(user=user,client=user+pass) (2.42s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDecomposeMachine.test__calls_and_returns_correctly (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerCycle.test__power_cycles_single_node (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_refuses_non_rack_controller(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_sets_foreign_keys_to_default(user=user,client=oauth) (0.18s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_update(rack) (1.58s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_creates_tag(user=user,client=oauth) (0.12s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerNode.test__powers_single_node(PowerOff) (0.14s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestDatabaseConfiguration.test_atomic_requests_are_enabled (0.03s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_GET_returns_zone(user=user,client=oauth) (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestStaticRouteListener.test__calls_handler_on_create_notification (0.88s) SUCCESS: maasserver.dns.tests.test_config.TestGetUpstreamDNS.test__returns_empty_list_if_not_set (0.03s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_kernel_opts(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_403_when_not_admin(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSSearchPaths.test__returns_all_authoritative_domains (0.10s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSServerAddress.test_get_dns_server_address_logs_warning_if_ip_is_localhost (0.03s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_create(device) (1.44s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_updates_zone(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_identifies_superuser_as_such(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_ignores_deletion_by_default (0.04s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_create(region_and_rack) (1.33s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_new_requires_admin(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_creates_user(user=user,client=oauth) (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_architecture.TestListSupportedArchitectures.test_lists_architecture_choices (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_is_locked(pg_advisory_lock/pg_advisory_unlock) (0.55s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=admin,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_creates_logical_volume(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestTagListener.test__calls_handler_on_delete_notification (0.62s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_with_child_domain_yields_delegation (0.54s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_deletes_vlan(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_fabric_update(machine) (1.51s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_with_invalid_names_fails (0.18s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_committing_transaction(pg_advisory_lock/pg_advisory_unlock) (0.52s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_without_space_returns_undefined_space(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.44s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_create_lock(pg_advisory_lock/pg_advisory_unlock) (0.40s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_ignores_failures_when_talking_to_clusters (0.76s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_fabric(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_requires_vid(user=user,client=oauth) (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_all_handler_on_domain_name_change(machine) (1.10s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_properties(pg_advisory_lock/pg_advisory_unlock) (0.49s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_with_names (0.57s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_with_relay_vlan(user=user,client=oauth) (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallClusters.test__gets_clients (0.36s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_aborting_transaction(pg_try_advisory_lock/pg_advisory_unlock) (0.47s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_404_when_not_volume_group(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.dns.tests.test_config.TestGetUpstreamDNS.test__returns_list_if_space_separated_ips (0.06s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdateDeployedPhysicalBlockDeviceForm.test_updates_deployed_physical_block_device (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_create(region) (1.56s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdatePhysicalBlockDeviceForm.test_requires_no_fields (0.15s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_rejects_if_boot_source_cache_does_not_have_arch (0.06s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_rejects_if_boot_source_cache_does_not_have_subarch (0.04s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_rejects_if_boot_source_cache_has_different_os (0.04s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_validates_if_boot_source_cache_has_same_os_and_release (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_releasing_lock_fails_when_lock_not_held(pg_try_advisory_lock/pg_advisory_unlock) (0.58s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_409_when_not_ready(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningScriptForm.test_creates_commissioning_script (0.06s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_403_when_not_admin(user=user,client=user+pass) (0.55s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningScriptForm.test_raises_if_duplicated_name (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_obtaining_lock_fails_when_outside_of_transaction(pg_advisory_xact_lock/None) (0.59s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_form_invalid_does_not_save_into_db (0.04s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_rejects_deletion_of_default_zone(user=user,client=oauth) (0.11s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_form_loads_initial_values (0.05s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__create_dhcp_snippet_requires_value (0.04s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_parent_of_default_domain_gets_glue (0.67s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_removes_zone(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_without_cache_set_fails (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_vlan_update(rack) (1.61s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__creates_dhcp_snippet_with_node (0.16s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_POST_is_prohibited(user=user,client=oauth) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_delete_notification(rack) (1.09s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_repr(pg_advisory_lock/pg_advisory_unlock) (0.52s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_without_storage_fails (0.15s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_node (0.16s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.utils.tests.test_orm.TestConnected.test__leaves_preexisting_connections_alone (0.51s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__creates_staticipaddresses (0.12s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__init_with_single_system_id (0.05s) SUCCESS: maasserver.forms.tests.test_domain.TestDomainForm.test__updates_domain (0.08s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__run_will_not_error_instead_it_logs (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterNew.test__new_obtains_None_proxy_if_disabled (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterNew.test__new_obtains_proxy_if_not_given (0.06s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_ignores_object_creation (0.05s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__calls_start_commissioning_if_already_on (0.18s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestAddPowerTypeParameters.test_adds_new_power_type_parameters (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_releasing_lock_does_nothing(pg_try_advisory_xact_lock_shared/None) (0.46s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__doesnt_require_anything (0.13s) SUCCESS: maasserver.utils.tests.test_orm.TestConnected.test__opens_and_closes_connection_when_no_preexisting_connection (0.46s) SUCCESS: maasserver.forms.tests.test_fabric.TestFabricForm.test__doest_require_name_on_update (0.08s) SUCCESS: maasserver.forms.tests.test_bcache.TestUpdateBcacheForm.test_bcache_update_with_boot_disk (0.60s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_updates_volume_group(user=user,client=oauth) (1.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_delete(machine) (1.55s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_deletes_old_filesystem_and_creates_new_one (0.18s) SUCCESS: maasserver.utils.tests.test_orm.TestDisablingDatabaseConnections.test_DisabledDatabaseConnection (0.37s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_sets_mount_point_to_none_and_options_on_swap(block-device) (0.24s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_400_if_form_validation_fails(user=user,client=oauth) (0.22s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_is_not_valid_if_invalid_uuid_prepend_XYZ (0.12s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_machine_create_form_if_non_admin (0.08s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_only_yields_os_once (0.52s) SUCCESS: maasserver.utils.tests.test_orm.TestDisablingDatabaseConnections.test_disable_and_enable_connections (0.46s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_requires_fields (0.14s) SUCCESS: maasserver.forms.tests.test_bootresource.TestBootResourceForm.test_creates_boot_resource (0.15s) SUCCESS: maasserver.forms.tests.test_instancelistfield.TestInstanceListField.test_field_rejects_invalid_data (0.31s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_rejects_if_boot_source_cache_has_different_release (0.07s) SUCCESS: maasserver.utils.tests.test_orm.TestExclusivelyConnected.test__enter_blows_up_if_there_are_open_connections (0.47s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_ip_address_update(machine) (1.51s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_cache_set_creation_with_boot_disk (0.19s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_yields_oses_known_to_multiple_clusters (0.56s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_403_if_not_admin(user=user,client=user+pass) (0.62s) SUCCESS: maasserver.utils.tests.test_orm.TestFullyConnected.test__opens_and_closes_connections (0.55s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_subnet_update(region_and_rack) (1.72s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_sets_foreign_keys_to_default(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_GET_returns_zone(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.forms.tests.test_instancelistfield.TestInstanceListField.test_field_validates_valid_data (0.56s) SUCCESS: maasserver.forms.tests.test_cacheset.TestUpdateCacheSetForm.test_save_updates_the_cache_set_with_partition (0.40s) SUCCESS: maasserver.clusterrpc.tests.test_architecture.TestListSupportedArchitectures.test_returns_empty_list_if_there_are_no_node_groups (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_True_with_two_cluster (0.39s) SUCCESS: maasserver.utils.tests.test_orm.TestFullyConnected.test__closes_connections_even_if_open_on_entry (0.59s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningScriptForm.test_rejects_quotes_in_name (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__creates_choice_field_for_choices (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestComposeMachine.test__raises_PodProblem_for_NotImplementedError (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeSettingField.test__sets_field_values (0.05s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test_Contains_limited_set_of_fields (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestComposeMachine.test__raises_PodProblem_for_PodActionFail (0.06s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestDatabaseConfiguration.test_transactionmiddleware_is_not_used (0.04s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_retry_transaction (0.48s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSServerAddress.test_get_dns_server_address_resolves_hostname (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_delete(device) (1.43s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_create(rack) (0.71s) SUCCESS: maasserver.utils.tests.test_orm.TestIsSerializationFailure.test_rejects_operational_error_with_unrelated_cause (0.48s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test__sets_zone (0.43s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSServerAddress.test_get_dns_server_address_uses_rack_controller_url (0.36s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestWarnLoopback.test_warn_loopback_warns_about_IPv6_loopback (0.04s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceWithMACsForm.test_creates_device_with_mac (0.12s) SUCCESS: maasserver.utils.tests.test_orm.TestSerializationFailure.test_serialization_failure_detectable_via_error_cause (0.52s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_yields_forward_and_reverse_zone (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGetOSReleaseTitle.test_ignores_failures_when_talking_to_clusters (0.72s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__cannot_update_both_node_and_subnet (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_space_update(machine) (1.56s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_calls_reset_between_retries (0.57s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edits_interface_allows_disconnected (1.13s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__accepts_mix_of_id_and_ipaddress (0.32s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGetOSReleaseTitle.test_returns_None_if_title_is_blank (0.34s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__calls_function_within_transaction_then_closes_connections (0.52s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__doesnt_require_anything (0.15s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__creates_post_commit_hook_savepoint_on_inner_block (0.30s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__creates_bridge_interface_with_parent_mac_address (0.46s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__calls_start_testing_with_options (0.25s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__init_defaults (0.47s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_delete(region_and_rack) (1.09s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_listens_to_deletion_if_delete_True (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_True_when_only_one_cluster_returns_True_others_fail (0.50s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDecomposeMachine.test__raises_same_exception (0.07s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__testing_scripts_cannt_be_none (0.22s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_choices_are_being_populated_correctly (0.96s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_rejects_if_boot_source_cache_does_not_have_label (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_delete(region) (1.52s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_star_values_in_request_validate_against_any_cache (0.05s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_nonadmin_is_not_offered_bulk_node_change (0.09s) SUCCESS: maasserver.utils.tests.test_orm.TestValidateInTransaction.test__does_nothing_within_atomic_block (0.44s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_substrate_in_filesystem_group(partition) (0.23s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_validates_composite_form (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallClusters.test__with_unavailable_callbacks (0.37s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_sets_mount_point_and_options_on_filesystem(block-device) (0.19s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__rejects_when_parent_already_have_children (0.67s) SUCCESS: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_advertise_not_fully_started (0.67s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceWithMACsForm.test_creates_device_with_parent_inherits_parents_domain (0.30s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountNonStorageFilesystemFormScenarios.test_creates_filesystem_with_mount_point_and_options(tmpfs) (0.19s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodePodListener.test__calls_handler_on_create_notification (1.32s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__update_global_snippet_resets_node (0.19s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_sends_signal_on_serialization_failures (0.56s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_node_handler_with_update_on_tag_rename(machine) (0.97s) SUCCESS: maasserver.forms.tests.test_filesystem.TestUnmountNonStorageFilesystemForm.test_requires_mount_point (0.19s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_machine_edit_form_returns_AdminMachineForm_if_admin (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSpaceListener.test__calls_handler_on_create_notification_with_blank_name (0.82s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__rejects_when_parent_is_already_in_a_bond (0.48s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_node_when_subnet_set (0.24s) SUCCESS: maasserver.dns.tests.test_config.TestDNSConfigModifications.test_dns_update_all_zones_passes_upstream_dns_parameter (0.84s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_subnet_when_node_set (0.21s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test_is_not_valid_when_validate_dhcp_config_fails (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_action_performs_action (0.83s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_list_all_usable_architectures_combines (0.46s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__allows_no_vlan(region_rack) (0.43s) SUCCESS: maasserver.forms.tests.test_dnsdata.TestDNSDataForm.test__creates_dnsdata (0.18s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__doesnt_require_name_on_update (0.12s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__DHCP_not_allowed_if_already_DHCP_with_subnet (0.29s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPackageRepositoryListener.test__calls_handler_on_update_notification (0.86s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_list_all_usable_architectures_returns_no_duplicates (0.36s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test_accepts_address_ttl_equals_none (0.13s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test_does_not_require_ip_addresses (0.08s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__LINK_UP_creates_link_STICKY_without_subnet (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestStaticRouteListener.test__calls_handler_on_update_notification (0.98s) SUCCESS: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_advertise_running (1.15s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__calls_start_testing_if_already_on (0.13s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__rejects_when_parent_is_bridge (0.27s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__creates_fannetwork (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_copes_with_mac_addresses_of_different_case (0.78s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__requires_overlay (0.05s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_ip_for_subnet_cidr_specifier (0.31s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_requires_mount_point_when_fs_uses_mount_point(partition) (0.18s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountNonStorageFilesystemForm.test_requires_fstype_and_mount_point (0.12s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__requires_mode (0.23s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_delete(rack) (1.77s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_machine_edit_form_returns_MachineForm_if_non_admin (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveOther.test_asserts_is_admin (0.57s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserSSLKeyListener.test__calls_handler_with_update_on_delete (0.83s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edit_doesnt_overwrite_params (0.79s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_creates_device_with_external_ip_assignment (0.71s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__requires_link_id_if_more_than_one_gateway_per_family (0.46s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_list_all_usable_architectures_sorts_output (0.39s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_pick_default_architecture_returns_empty_if_no_options (0.04s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__rejects_when_vlan_not_untagged (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_delete(device) (1.49s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_sets_release_selections (0.69s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_notices_change_in_any_given_field (0.04s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_accepts_osystem_distro_series (0.36s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_is_locked(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.46s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__allows_no_vlan(rack) (0.36s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_form_class_returns_DeviceWithMACsForm_for_create (0.53s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(machine_to_region) (0.96s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__rejects_when_parent_already_have_non_vlan_children (0.54s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_when_validate_license_key_returns_False (0.25s) SUCCESS: maasserver.forms.tests.test_interface.DeployedInterfaceFormTest.test__updates_interface (0.18s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__create_sets_interface_parameters (0.18s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_breaking_transaction(pg_try_advisory_lock/pg_advisory_unlock) (0.51s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__creates_physical_interface_disconnected (0.18s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__create_removes_parent_links_and_sets_link_up_on_bond (0.56s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_object_raises_exception_if_owner_by_another_user (0.72s) SUCCESS: maasserver.dns.tests.test_config.TestDNSDynamicIPAddresses.test_bind_configuration_includes_dynamic_ips_of_deployed_nodes (2.86s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__edits_doesnt_overwrite_name (0.26s) SUCCESS: maasserver.dns.tests.test_config.TestDNSUtilities.test_dns_force_reload_saves_new_publication (0.07s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSServerAddress.test_get_dns_server_address_raises_if_hostname_doesnt_resolve (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_transaction(pg_try_advisory_lock/pg_advisory_unlock) (0.48s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list_ignores_devices_with_parents (1.10s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetHostnameMapping.test_get_hostname_dnsdata_mapping_contains_node_and_non_node (0.24s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__update_doesnt_change_interface_parameters (0.32s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(machine_to_device) (1.07s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestWarnLoopback.test_warn_loopback_does_not_warn_about_sensible_IPv4 (0.04s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__with_mac_in_use_on_another_node_fails (1.08s) SUCCESS: maasserver.forms.tests.test_merge_error_messages.TestMergeErrorMessages.test_merge_error_messages_includes_limited_number_of_msgs (0.04s) SUCCESS: maasserver.forms.tests.test_multiplechoicefield.TestValidatorMultipleChoiceField.test_field_validates_valid_data (0.03s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_committing_transaction(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.52s) SUCCESS: maasserver.forms.tests.test_node.TestAdminNodeForm.test_initialises_zone (0.12s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__create_ensures_link_up (0.31s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_delete(region) (1.59s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_accepts_disable_ipv4_if_false (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list (0.87s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_accepts_domain_by_id (0.14s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_vlan_not_on_same_fabric (0.28s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__creates_package_repository (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_properties(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.37s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edits_interface_updates_mac_address_when_parent_removed (1.16s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test_compose_uses_non_commit_forms_first (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test__compose (0.96s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_vlan_parent (0.25s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__allows_no_vlan(region) (0.22s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_releasing_lock_fails_when_lock_not_held(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.38s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_returns_interface_ips_but_no_nulls (1.01s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(region_to_machine) (1.08s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_creates_link_to_AUTO_with_subnet (0.28s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test_rejects_interface_with_duplicate_name (0.24s) SUCCESS: maasserver.forms.tests.test_bootresource.TestBootResourceForm.test_adds_boot_resource_set_to_existing_generated_boot_resource (0.22s) SUCCESS: maasserver.forms.tests.test_bootsource.TestBootSourceForm.test_creates_boot_source_object_with_keyring_filename (0.07s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_validates_if_boot_source_cache_has_label (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_update_does_not_raise_validation_error_for_invalid_arch (1.00s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_not_allowed_if_ip_address_in_dynamic_range (0.26s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__sets_gateway_link_v6_on_node_when_link_id (0.34s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_get_as_standard_user (0.66s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_admin_is_offered_bulk_node_change (0.09s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_rejects_empty_system_ids (0.08s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_repr(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.54s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_only_calls_once_per_object_change (0.05s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_raid_creation_on_save (0.93s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceUnlinkForm.test__DHCP_deletes_link_with_subnet (0.28s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_accepts_osystem (0.33s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_rejects_if_no_action (0.23s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_requires_fields (0.16s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactoryTransactional.test_onNotify_creates_handler_class_with_protocol_cache (0.47s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_cache_set_creation_with_block_device (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_update(region_and_rack) (1.75s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceUnlinkForm.test__STATIC_deletes_link_in_subnet (0.33s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_required_fields (0.13s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_form_validates_hwe_kernel_by_passing_invalid_config (0.31s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningFormForm.test_commissioningform_error_msg_lists_min_hwe_kernel_choices (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(device_to_machine) (1.11s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_create_lock(pg_try_advisory_xact_lock/None) (0.63s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test___populates_power_type_choices (0.09s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceUnlinkForm.test__requires_id (0.21s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_when_validate_license_key_for_raise_no_os (0.25s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__comment_optional (0.08s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test_form_without_hostname_generates_hostname (0.11s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__creates_iprange (0.10s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionMade_sets_user_and_processes_messages (0.63s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__subnet_optional_if_it_can_be_found (0.10s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_rejects_disable_ipv4_if_true (0.14s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_creates_license_key (0.06s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_partition (0.83s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test__sets_power_parameters (0.45s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_create_lock(pg_advisory_xact_lock_shared/None) (0.50s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__component_comma_cleaning (0.11s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceWithMACsForm.test_contains_mac_addresses_field_and_converts_non_querydict (0.06s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_populates_power_type_choices (0.12s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__can_use_script_type_name (0.07s) SUCCESS: maasserver.forms.tests.test_settings.TestGetConfigField.test_get_config_field_creates_field (0.03s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__create_package_repository_defaults_to_enabled (0.07s) SUCCESS: maasserver.forms.tests.test_settings.TestGetConfigField.test_get_config_field_validates_config_name (0.05s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__default_repository_cannot_be_disabled (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSpaceListener.test__calls_handler_on_update_notification (0.80s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test__requires_request_kwarg (0.05s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet (0.10s) SUCCESS: maasserver.forms.tests.test_ubuntu.TestUbuntuForm.test_form_loads_initial_values (0.04s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceWithMACsForm.test_creates_device_with_domain_and_parent (0.25s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_builds_handler (0.46s) SUCCESS: maasserver.forms.tests.test_user.TestNewUserCreationForm.test_saves_to_db_by_default (0.06s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test_compose_uses_commit_forms_second (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPackageRepositoryListener.test__calls_handler_on_delete_notification (0.87s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__creates_dhcp_snippet_with_subnet (0.10s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__self_vlan_not_used_in_relay_vlan_field (0.06s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_name (0.07s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_clears_space_when_empty (0.08s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_invalid_osystem_distro_series (0.45s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_subnet (0.10s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test_accepts_address_ttl (0.06s) SUCCESS: maasserver.forms.tests.test_domain.TestDomainForm.test__creates_domain (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_update (1.94s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_advisory_xact_lock/None) (0.79s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_when_validate_license_key_for_raise_timeout (0.30s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_secondary_set_to_existing_primary_fails (0.34s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_calls_loseConnection_if_missing_method (0.52s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__validates_testing_scripts (0.17s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__requires_name (0.04s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_sets_mount_point_and_options_on_filesystem(partition) (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestZoneListener.test__calls_handler_on_update_notification (0.92s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_node_edit_form_returns_AdminNodeForm_if_admin (0.08s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_set_distro_series_accepts_short_distro_series (0.37s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactoryTransactional.test_onNotify_creates_handler_class_with_protocol_user (0.46s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_sets_primary_rack (0.36s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_pick_default_architecture_prefers_i386_generic_if_usable (0.03s) SUCCESS: maasserver.forms.tests.test_multiplechoicefield.TestUnconstrainedMultipleChoiceField.test_accepts_list (0.06s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_sets_space (0.10s) SUCCESS: maasserver.utils.tests.test_orm.TestExclusivelyConnected.test__enter_does_nothing_if_there_are_no_open_connections (0.49s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_invalid_blockdevice_fails (0.94s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__distribution_comma_cleaning (0.09s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__updates_name (0.07s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_connect_to_field_change_returns_two_functions (0.04s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_is_not_valid_if_size_less_than_min_size (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPodListener.test__calls_handler_on_create_notification (1.21s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_uuid_is_set_on_partition (0.17s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__creates_bond_interface (0.53s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_is_not_valid_if_invalid_uuid (0.51s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_sends_validation_error (0.96s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_actually_locked(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.72s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_deadlock_failure_until_successful (0.57s) SUCCESS: maasserver.forms.tests.test_partition.TestFormatPartitionForm.test_deletes_old_filesystem_and_creates_new_one (0.16s) SUCCESS: maasserver.forms.tests.test_partition.TestFormatPartitionForm.test_requires_fields (0.18s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test__sets_up_pod_forms_based_on_pods (0.14s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_loseConnection_calls_loseConnection_with_status_and_reason (0.47s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_sends_validation_error_without_error_dict (1.14s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_block_devices_and_partitions (0.55s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_aborting_transaction(pg_advisory_lock/pg_advisory_unlock) (0.55s) SUCCESS: maasserver.utils.tests.test_orm.TestSavepoint.test__creates_savepoint_for_transaction_and_post_commit_hooks (0.53s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_is_not_valid_if_block_device_does_not_belong_to_node (0.19s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edit_allows_zero_params (0.83s) SUCCESS: maasserver.forms.tests.test_zone.TestZoneForm.test_renames_zone (0.06s) SUCCESS: maasserver.models.migrations.tests.test_create_default_storage_layout.TestCreateFlatLayout.test__creates_layout_for_1TiB_disk (0.12s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_always_when_empty (0.04s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_on_Config_http_proxy (0.04s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_loseConnection_writes_to_log (0.49s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_on_Config_http_proxy_enable (0.04s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__exposes_original_function (0.54s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_requires_preexisting_connection(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.57s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_process_all_messages_in_the_queue (0.72s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_create(rack) (1.47s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_invalid_spare_partition_fails (0.93s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edit_does_overwrite_params (0.70s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_is_locked(pg_try_advisory_xact_lock_shared/None) (0.51s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__leaves_preexisting_connections_open (0.52s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_invalid_spare_partition_fails (2.16s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_set_cleaner_removes_resources_with_empty_sets (0.53s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_children_vlans_to_same_fabric(rack) (0.83s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_blockdevice (0.66s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_cleaner_removes_boot_resources_not_in_selections (0.99s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_link_subnets_to_same_vlan(region-rack) (0.34s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_properties(pg_try_advisory_xact_lock_shared/None) (0.59s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_django_run_renames_piston_tables_if_piston_tables_exists (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveOther.test_creates_selection_with_multiple_arches (0.70s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateNotController.test__removes_links(machine) (0.37s) SUCCESS: maasserver.utils.tests.test_signals.ConnectToFieldChangeTest.test_returned_function_connect_and_disconnect (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_set_cleaner_removes_incomplete_set (0.67s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edits_interface (1.26s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_repr(pg_try_advisory_xact_lock_shared/None) (0.55s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_delete(region_and_rack) (1.71s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestMTUParams.test__updates_children_mtu (0.45s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__edits_interface(region_rack) (0.38s) SUCCESS: maasserver.utils.tests.test_orm.TestInTransaction.test__false_when_no_transaction_is_active (0.35s) SUCCESS: maasserver.forms.tests.test_interface.GetInterfaceFormErrorTests.test_get_interface_form_returns_form (0.05s) SUCCESS: maasserver.forms.tests.test_interface.GetInterfaceFormTests.test_get_interface_form_returns_form(physical) (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_creates_device_with_static_ip_assignment_explicit (0.90s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_valid_blockdevice (1.69s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__create_requires_name (0.08s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__create_ensures_link_up (0.26s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_no_fields_mandatory (0.07s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__are_boot_images_available_in_any_rack_v2 (0.83s) SKIP: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__doesnt_have_env_http_and_https_proxy_set_if_disabled (0.00s) SUCCESS: maasserver.forms.tests.test_space.TestSpaceForm.test__doest_require_name_on_update (0.05s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_retry_transaction_until_successful (0.49s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__updates_interface_parents(bond) (0.62s) SUCCESS: maasserver.forms.tests.test_staticroute.TestStaticRouteForm.test__creates_staticroute (0.13s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__update_does_change_interface_parameters (0.26s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_valid_spare_partition (1.76s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__clears_gateway_and_dns_ervers (0.09s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__create_setting_default_has_no_effect (0.08s) SUCCESS: maasserver.forms.tests.test_space.TestSpaceForm.test__creates_space (0.05s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet_name_equal_to_cidr (0.11s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test_rejects_interface_on_default_fabric (0.22s) SUCCESS: maasserver.forms.tests.test_space.TestSpaceForm.test__requires_name (0.06s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__error_for_unknown_vid_in_fabric (0.08s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeKeyPolicy.test_setting_owner_clears_node_key (0.36s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_interface (0.76s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__requires_cidr (0.05s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__error_for_vlan_not_in_fabric (0.08s) SUCCESS: maasserver.forms.tests.test_user.TestUniqueEmailForms.test_ProfileForm_fails_validation_if_email_taken (0.12s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_sets_node_gateway_link_v4 (0.23s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_clears_space_when_None (0.09s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_serialization_failure (0.65s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_delete(rack) (1.40s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_ip_in_unmanaged_subnet (0.30s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_blank_primary_sets_to_secondary (0.47s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_clears_space_vlan_when_empty (0.10s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_is_not_valid_if_size_greater_than_free_space (0.51s) SUCCESS: maasserver.utils.tests.test_orm.TestTotallyDisconnected.test__enter_closes_open_connections_and_disables_new_ones (0.51s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_node_gateway_link_ipv4 (0.38s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_validates_subnet_with_dhcp_on (0.36s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_connected_rack_when_subnet_primary_rack_is_disconn(v2) (2.70s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__sets_gateway_links_on_node_when_no_link_id (0.35s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_adds_block_device (0.50s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSpaceListener.test__calls_handler_on_delete_notification (0.87s) SUCCESS: maasserver.utils.tests.test_orm.TestWithConnection.test__exposes_original_function (0.49s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_verfies_primary_rack_is_on_vlan (0.37s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_off_when_dhcp_off(v2) (1.85s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionControllerProcess.test__calls_create_services_for_on_all_racks_on_delete (1.42s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_create_partition_if_boot_disk_creates_partition (0.12s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_remove_tag_deletes_tag (0.03s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceUnlinkForm.test__LINK_UP_deletes_link (0.40s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_block_devices_by_name (0.39s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_type_raise_ValueError (0.15s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_logs_retry_and_resets_request (0.55s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceUnlinkForm.test__must_be_valid_id (0.27s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_adds_partition_by_name (0.64s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__empty_form_fails_validation (0.04s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_errors_on_not_unique (0.05s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_name_and_uuid (0.25s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_includes_all_distro_series (0.04s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_does_not_truncate_at_zero_bytes (0.05s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_get_free_block_devices_for_node (0.36s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_validates_license_key (0.09s) SUCCESS: maasserver.tests.test_preseed.TestPreseedMethods.test_get_enlist_userdata_contains_apt_config (1.27s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_is_not_valid_if_invalid_uuid (0.39s) SUCCESS: maasserver.forms.tests.test_zone.TestZoneForm.test_disallows_renaming_default_zone (0.05s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__init_timeout_can_be_set (0.53s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_doesnt_change_power_type (0.26s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__view_raises_PermissionDenied_when_user_not_owner (0.29s) SUCCESS: maasserver.forms.tests.test_zone.TestZoneForm.test_updates_zone (0.05s) SUCCESS: maasserver.forms.tests.test_notification.TestNotificationForm.test__notification_can_be_updated (0.08s) SUCCESS: maasserver.models.signals.tests.test_bmc.TestCreatePodHints.test_creates_hints_bmc_converted_to_pod (0.08s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_removes_block_device (0.55s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__view_returns_device_when_owner (0.21s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_raid_creation_without_storage_fails (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestStaticIPAddressSubnetListener.test__calls_update_on_old_and_new_subnet (1.40s) SUCCESS: maasserver.models.signals.tests.test_events.TestStatusTransitionEvent.test_changing_status_of_node_emits_event (0.20s) SUCCESS: maasserver.tests.test_start_up.TestStartUp.test_start_up_retries_with_wait_on_exception (0.56s) SUCCESS: maasserver.models.signals.tests.test_events.TestStatusTransitionEvent.test_changing_to_allocated_includes_user_name (0.26s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostSaveCallsSave.test__calls_save_on_related_filesystem_groups(VirtualBlockDevice) (0.36s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_from_url_blank_gives_none (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_removes_old_selections (0.66s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_whole_value (0.06s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_save_accepts_naked_ipv6_address (0.16s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_removes_partition_by_name (0.76s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_on_BootSource_create (0.04s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_returns_empty_when_none (0.11s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_pod_properties_and_hints (0.17s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_running_when_dhcp_on(v2) (2.17s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_with_external_ip_assignment (0.57s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestDiscoveryConfigChanges.test_active_configuration_causes_interface_update (0.68s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_commissionable_resource_returns_iterable (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestZoneListener.test__calls_handler_on_delete_notification (0.99s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test_queueMessages_handled_invalid_nodekey_with_instant_msg (0.97s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list_num_queries_is_the_expected_number (3.83s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__doesnt_move_link_subnets_when_vlan_is_None(region) (0.28s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_usable_architectures_combines_subarches (0.25s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_usable_hwe_kernel_doesnt_include_all_subarches (0.09s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestDiscoveryConfigChanges.test_passive_configuration_causes_interface_update (0.68s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_generated_resource_returns_true_when_exists (0.04s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_create_lock(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.47s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_empty_list_if_label_doesnt_match_resource (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_raises_validation_error_for_missing_macs (0.58s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_resource_for_uploaded_resource (0.16s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_create_authorisation_token(user=user,client=oauth) (0.22s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_link_subnets_to_same_vlan(rack) (0.54s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestEnableAndDisableInterface.test__enable_interface_creates_link_up_on_children (0.43s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_resource_if_matching_image (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_missing_action_raises_error (0.64s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_delete_authorisation_token_not_found(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_raises_validation_error_for_missing_macs (0.39s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_progress_accumulates_all_files (0.14s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_invalid_blockdevice_fails (2.04s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_actually_locked(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.52s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_cannot_set_keyring_data_and_filename (0.06s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_link_subnets_to_same_vlan(region) (0.26s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__create_with_defined_values (0.06s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_compare_dict_without_selections_ignores_other_keys (0.05s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_name_param(user=user,client=oauth) (0.11s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_codename_returns_None_for_unknown (0.05s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_allows_editing_tag_and_timeout_on_default_script (0.10s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_get_default_returns_Bin (0.06s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_bootsourceselection.TestBootSourceSelection.test_deleting_boot_source_deletes_its_selections (0.09s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__rejects_space_on_create (0.07s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=admin,client=user+pass) (0.11s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__updates_subnet (0.10s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=anonymous,client=user+pass) (0.06s) SUCCESS: maasserver.forms.tests.test_user.TestNewUserCreationForm.test_fields_order (0.04s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateNotController.test__removes_links_when_goes_to_disconnected(machine) (0.34s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__update_interface_clears_parent_links(bridge) (0.67s) SUCCESS: maasserver.forms.tests.test_user.TestUniqueEmailForms.test_EditUserForm_fails_validation_if_email_taken (0.09s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_by_name (0.25s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_requires_preexisting_connection(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_form_class_raises_error_for_unknown_action (0.58s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__visited_set_is_thread_local(bridge) (0.05s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_returns_badrequest_when_key_not_in_form(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.models.signals.tests.test_power.TestStatusQueryEvent.test_changing_not_tracked_status_of_node_doesnt_emit_event (0.14s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__doest_require_name_vid_or_mtu_on_update (0.09s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_or_create_cache_set_for_block_device_returns_previous (0.14s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__no_relay_vlans_allowed_when_dhcp_on (0.08s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_crashes_for_RequestException(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_creates_services_when_region_converts_to_region_rack (0.13s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNodeSoon.test__calls_update_power_state_of_node_after_wait_time (0.15s) SUCCESS: maasserver.models.tests.test_config.ConfigDefaultTest.test_defaults (0.10s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_clears_relay_vlan_when_empty (0.09s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_get_config_not_found_none (0.04s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(max_node_commissioning_results) (0.06s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_no_connected_rack_controllers(user=user,client=oauth) (0.18s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(enable_third_party_drivers) (0.07s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeKeyPolicy.test_clearing_owner_clears_node_key (0.25s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(default_dns_ttl) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(subnet_ip_exhaustion_threshold_count) (0.07s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_is_locked(pg_try_advisory_xact_lock/None) (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_update_interface_updates (1.19s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(ntp_servers) (0.05s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_for_both_ipv4_and_ipv6(v2) (2.14s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_with_invalid_parameters(user=user,client=oauth) (0.29s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(enable_http_proxy) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(http_proxy) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(upstream_dns) (0.07s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_create_services_for_on_delete (0.61s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_disables_relay_vlan_when_dhcp_turned_on (0.58s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_is_locked(pg_advisory_xact_lock_shared/None) (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_object_returns_device_if_super_user (0.84s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_actual_instance_returns_ISCSIBlockDevice (0.13s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__associates_known_subnet (0.30s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_actual_instance_returns_PhysicalBlockDevice (0.17s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__user_admin_raises_PermissionError (0.11s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_add_tag_adds_new_tag (0.06s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__user_view_returns_dnsdata (0.12s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_properties(pg_try_advisory_xact_lock/None) (0.53s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_invalid_name_raises_exception (0.17s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_separate_fqdn_returns_atsign_for_top_of_domain (0.06s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_primary_set_to_secondary_removes_secondary (0.70s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionControllerProcess.test__calls_create_services_for_on_all_racks_on_create (1.12s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_change_storages_to_partitions_bcache(user=user,client=user+pass) (0.98s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_sets_relay_vlan (0.11s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__admin_admin_returns_dnsresource (0.18s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_validates_primary_rack_with_dhcp_on (0.08s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_may_do_nothing (0.07s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_get_block_devices_in_filesystem_group (0.60s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_properties(pg_advisory_xact_lock_shared/None) (0.42s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__admin_view_returns_domain_by_name (0.11s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_update_rackd_status_on_delete (0.43s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_get_default_returns_Bin_from_bytes (0.04s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__user_view_returns_domain (0.11s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_save_accepts_bracketed_ipv6_address (0.21s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_get_partition_table_returns_none_for_non_partitioned_device (0.07s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_is_accessible_calls_get_usable_rack_controllers (0.06s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_register_event_and_event_type_registers_event_type (0.18s) SUCCESS: maasserver.models.tests.test_eventtype.EventTypeTest.test_register_does_not_update_existing_description_or_level (0.05s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_type_iscsi (0.25s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_repr(pg_try_advisory_xact_lock/None) (0.53s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_raise_ValueError_when_not_iterable (0.05s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_read(user=user,client=user+pass) (0.79s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_adds_partition (0.72s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_merging_bmc_into_machine_ip (0.41s) SUCCESS: maasserver.models.signals.tests.test_bmc.TestCreatePodHints.test_creates_hints_for_pod (0.07s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_cant_delete_fabric_if_connected_to_interfaces (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_create (1.99s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_is_default_detects_default_fabric (0.09s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_doesnt_create_services_for_device (0.10s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__admin_view_returns_fannetwork (0.10s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_merging_machine_into_bmc_ip (0.36s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeKeyPolicy.test_changing_owner_clears_node_key (0.28s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_repr(pg_advisory_xact_lock_shared/None) (0.57s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_size_returns_partition_size (0.20s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_disabled_dhcp_snippet(v2) (2.49s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_create_partition_if_boot_disk_returns_None_if_not_boot_disk (0.22s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactoryTransactional.test_onNotify_calls_sendNotify_on_protocol (0.60s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_unique_on_block_device_and_acquired (0.25s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_returns_devices_with_all_tags (0.90s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_bcache(user=user,client=oauth) (0.91s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_get_effective_filesystem (0.21s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(btrfs,block-device) (0.17s) SUCCESS: maasserver.utils.tests.test_orm.TestIsSerializationFailure.test_detects_operational_error_with_matching_cause (0.51s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__raises_Http404_when_invalid_node (0.20s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(ext2,block-device) (0.14s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_empty_power_type_gives_none (0.06s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_from_url (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(xfs,block-device) (0.15s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test__raises_Http404_when_invalid_node (0.30s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_delete_bmc_deletes_orphaned_ip_address (0.12s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionMade_extracts_sessionid_and_csrftoken (0.55s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_400_when_cache_set_in_use(user=user,client=user+pass) (0.50s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(vfat,partition) (0.24s) SUCCESS: maasserver.utils.tests.test_orm.TestIsSerializationFailure.test_rejects_non_operational_error_with_matching_cause (0.51s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_is_accessible_returns_true (0.41s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(swap,partition) (0.24s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_400_when_invalid_id(user=user,client=oauth) (0.35s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_True_if_resource_matches_image (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(ramfs,node) (0.16s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_getUserFromSessionId_returns_User (0.63s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_returns_devices_with_one_tag (0.74s) SUCCESS: maasserver.utils.tests.test_orm.TestIsSerializationFailure.test_rejects_operational_error_without_cause (0.50s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_default_commissioning_resource_returns_first_arch (0.17s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create(user=user,client=oauth) (0.33s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_synced_resource_returns_resource_when_exists (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(btrfs,block-device) (0.23s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_uploaded_resource_returns_resource_when_exists (0.04s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostDelete.test__doesnt_delete_volume_group (0.27s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_handler_path(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_blank_gives_none (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(ext4,block-device) (0.19s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetAvailableCommissioningResources.test__returns_only_lts (0.20s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_calls_loseConnection_if_type_not_request (0.53s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_403_when_not_admin(user=user,client=oauth) (0.18s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetUsableKernels.test__returns_usable_kernels(ubuntu/wily) (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(btrfs,partition) (0.23s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_url_is_unqiue (0.06s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_get_default_returns_None (0.07s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_passes_args_to_wrapped_function (0.55s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_codename_returns_None_for_missing_codename (0.05s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(tmpfs,node) (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list_num_queries_is_independent_of_num_devices (4.24s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_raises_error_for_not_exist_idx (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(tmpfs) (0.16s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_updates_machine_bmc_deletes_old_bmc (0.64s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_409_when_the_nodes_not_ready(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__dedups_errors(v1) (2.28s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_serialization_failure_until_successful (0.40s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(ext2) (0.17s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_stops_processing_msgs_handleRequest_fails (0.64s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_False_if_image_label_doesnt_match_resource (0.17s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_for_partition (0.36s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_get_next_version_name_returns_first_revision (0.08s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(xfs) (0.16s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_bootloader_if_matching (0.09s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_update_routable_racks_updates_rack_relationship (2.89s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(ramfs) (0.15s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__edit_returns_device_when_user_is_owner (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_not_available_action_raises_error (0.67s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_formats_block_device_as_admin(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_get_config_found (0.08s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_unique_violation (0.49s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_set_config_creates_config (0.06s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_get_used_iscsi_storage (0.23s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(network_discovery) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(max_node_installation_results) (0.07s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(dnssec_validation) (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_finalize_calls_notify_errback (0.58s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(rpc_shared_secret) (0.05s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_returns_400_on_missing_mount_point(user=user,client=user+pass) (0.36s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(active_discovery_last_scan) (0.05s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetUsableKernels.test__returns_usable_kernels(ubuntu/precise) (0.58s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_delete_cleans_values_on_queryset (0.13s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_complete_returns_false_for_one_incomplete_file (0.09s) SUCCESS: maasserver.utils.tests.test_orm.TestSavepoint.test__crashes_if_not_already_within_transaction (0.48s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_10_with_4_or_more_raid_devices_and_spares (0.62s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_filter_by_name (0.07s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_filesystem(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_to_dict_with_selections_returns_bootloaders (0.05s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_get_dhcp_snippet_or_404_raises_404 (0.06s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_title_returns_release_title (0.05s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_updates_machine_properties (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_delete (0.69s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_False_if_image_subarch_not_supported_by_resource (0.10s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSet.test_get_filesystem (0.22s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_commissionable_resource_returns_only_commissionable (0.20s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_raises_error_for_invalid_idx (0.16s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test_mac_organization (0.44s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_generated_resource_returns_resource_when_exists (0.10s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_bcache_with_logical_volume_as_backing (0.51s) SUCCESS: maasserver.models.tests.test_config.ConfigDefaultTest.test_default_config_maas_name (0.05s) SUCCESS: maasserver.utils.tests.test_orm.TestUniqueViolation.test_unique_violation_detectable_via_error_cause (0.55s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_mounted(user=user,client=oauth) (0.54s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_config_changed_connect_connects_multiple_same (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_cleaner_keeps_boot_resources_in_selections (0.85s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetAvailableCommissioningResources.test__returns_empty_if_no_lts (0.12s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_authenticate_calls_loseConnection_if_error_getting_user (0.52s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(enable_http_proxy) (0.06s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__user_edit_raises_PermissionError (0.14s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(upstream_dns) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(http_proxy) (0.05s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetKpackageForNode.test__returns_none (0.15s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(ntp_servers) (0.05s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_compare_dict_without_selections_compares_False_to_other (0.04s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(subnet_ip_exhaustion_threshold_count) (0.04s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_to_dict_handles_keyring_file (0.04s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataMapping.test_get_hostname_dnsdata_mapping_handles_ttl (0.23s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(default_dns_ttl) (0.05s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_to_dict_returns_dict (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(enable_third_party_drivers) (0.04s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_valid_boot_source_is_valid (0.04s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_bcache_without_cache_set (0.47s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(max_node_commissioning_results) (0.06s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_title_returns_None_for_unknown (0.04s) SUCCESS: maasserver.models.tests.test_bootsourceselection.TestBootSourceSelection.test_to_dict_returns_dict (0.04s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_django_run_doesnt_renames_piston_tables_if_piston3 (0.47s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_getUserFromSessionId_returns_None_for_invalid_key (0.45s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataMapping.test_get_hostname_dnsdata_mapping_returns_mapping (0.21s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_catches_deadlock_failures (0.65s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__returns_errors_when_invalid(v2) (2.22s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_fqdn_returns_correctly_for_atsign (0.15s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_by_id (0.21s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__does_not_fail_if_cannot_find_subnet (0.46s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_idx (0.21s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_delete_cannot_delete_volume_group_with_logical_volumes (0.55s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_lvm_returns_false_when_not_LVM_VG (0.06s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__raises_Http404_when_invalid_device (0.15s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_raid_returns_true_for_all_raid_types (0.07s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_prints_warning_if_mismatch_largefile (0.62s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_tries_multiple_times (0.55s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_save_doesnt_call_create_or_update_for_when_no_filesystems (0.11s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_deployed_physical_block_device_as_admin(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__view_returns_cache_set_when_owner (0.25s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_get_addresses_returns_addresses (0.62s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_config_changed_connect_connects_by_config_name (0.05s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_looks_up_data (0.04s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_config_changed_connect_connects_multiple (0.05s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_DELETE_deletes_boot_resource(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(rpc_region_certificate) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(disk_erase_with_secure_erase) (0.05s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_DELETE_requires_admin(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManager.test__name_specifier_matches_name (0.24s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__query_by_unknown_ip_and_mac__known_mac (0.66s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(curtin_verbose) (0.06s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_separate_fqdn_allows_domain_override (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(default_osystem) (0.06s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__admin_edit_returns_dnsresource (0.10s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_set_cleaner_keeps_only_newest_completed_set (0.51s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_save_doesnt_overwrite_uuid (0.44s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_separate_fqdn_splits_nonsrv (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(commissioning_distro_series) (0.06s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_on_complete_calls_clusters_to_import_boot_images(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(active_discovery_interval) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveOther.test_calls_stop_and_import_resources (0.60s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(boot_images_auto_import) (0.05s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_adds_nsrrset_and_glue (0.21s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_forbidden_when_resource_is_synced(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManager.test__default_specifier_matches_name (0.26s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(raid-1) (0.30s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_is_default_detects_default_domain (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestStopImportResources.test_does_nothing_if_import_not_running (0.32s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_factory_make_DHCPSnippet_sets_node (0.19s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_generated_returns_generated_boot_resources(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManager.test__default_specifier_matches_name (0.13s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_synced_returns_synced_boot_resources(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_creates_fabric_with_default_vlan (0.11s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(raid-0) (0.25s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_save_file_creates_storage (0.10s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_uploaded_returns_uploaded_boot_resources(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(fat32,block-device) (0.18s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_is_importing_returns_import_status(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_stop_import_calls_stop_import_resources(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__doesnt_call_configure_for_both_ipv4_and_ipv6(v2) (2.15s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_action_performs_action_passing_extra (0.90s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_to_dict_without_sets(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(fat32,block-device) (0.23s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupManager.test_get_available_name_for_ignores_bad_int (0.63s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_GET_requires_admin(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(fat32,partition) (0.17s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_render_json_for_related_rrdata_returns_correct_values (0.98s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_DELETE_requires_admin(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(btrfs,block-device) (0.15s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__passes_user_agent_with_maas_version (1.14s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_requires_admin(user=user,client=oauth) (0.15s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__returns_no_errors_when_valid(v1) (2.50s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(btrfs) (0.17s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__bcache_on_partitions (0.44s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_GET_requires_admin(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_update_kms_srv_creates_srv_records_on_all_domains (0.39s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryManagerClear.test__clear_all_entries (1.38s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_validates_boot_source(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_register_event_and_event_type_handles_integrity_errors (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_create_bcache_with_physical_block_devices (0.32s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_DELETE_deletes_script(user=admin,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__volume_group_on_partition (0.27s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_creates_device_with_static_ip_assignment_implicit (0.91s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_register_event_and_event_type_registers_event (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_0_with_less_than_2_raid_devices (0.18s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_can_delete_non_default_fabric (0.12s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_cant_delete_default_fabric (0.07s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_10_with_less_than_3_raid_devices (0.19s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_get_default_fabric_creates_default_fabric (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_node(VolumeGroup) (0.45s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_get_default_vlan_returns_default_vlan (0.09s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_get_name_for_empty_name (0.08s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_can_be_filtered_by_name(user=user,client=oauth) (0.63s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryManagerClear.test__clear_logs_username_if_given (0.80s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManager.test__default_specifier_matches_id (0.14s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_volume_group_if_invalid_filesystem (0.37s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_bcache_returns_true_when_BCACHE (0.05s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__admin_edit_returns_fabric (0.12s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_rejects_invalid_bridge_name (0.06s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_rejects_negative_host_reserve (0.05s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_stores_bridge (0.04s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_raises_PermissionDenied_when_user_not_owner(RAID) (0.59s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__user_edit_raises_PermissionError (0.06s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_returns_bytes_not_text (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_static (1.03s) SUCCESS: maasserver.tests.test_preseed.TestPreseedMethods.test_get_preseed_returns_commissioning_preseed (1.50s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(lvm-vg) (0.40s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_expected_fields(user=user,client=oauth) (0.59s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_parent_returns_block_device (0.17s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_owner(RAID) (0.31s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_parent_returns_special_filesystem_node (0.19s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=anonymous,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(raid-1) (0.36s) SUCCESS: maasserver.tests.test_proxyconfig.TestProxyUpdateConfig.test__calls_reloadService (0.47s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(fat32,partition) (0.21s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_new_dhcp_snippet(v1) (2.58s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_with_dynamic_ip_assignment (0.79s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(fat32,partition) (0.26s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__raid_on_block_devices (0.39s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__doesnt_call_configure_for_both_ipv4_and_ipv6(v1) (2.43s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(tmpfs,node) (0.16s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_5_with_spares (0.77s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_admin_only(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryManagerClear.test__clear_neighbour_entries (1.50s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startService_sets_starting_to_result_of_advertising_get (0.55s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(ext4,block-device) (0.17s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_rejects_bad_sshfp_record (0.09s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_device(FilesystemGroup) (0.28s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_requires_to(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_requires_to_to_be_an_int(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_rejects_cname_with_address (0.18s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_device(Bcache) (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(btrfs,partition) (0.20s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_hander_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataMapping.test_get_hostname_dnsdata_mapping_returns_raw_ttl (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(ext4) (0.18s) SUCCESS: maasserver.tests.test_node_action.TestAbortAction.test_Abort_aborts_commissioning (0.94s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublicationManager.test_collect_garbage_removes_all_but_most_recent_record (0.10s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_creates_dnsresource (0.10s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_delete_authorisation_token_bad_request_no_token(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_warns_for_non_unique_mac_address (0.68s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_unlink_subnet (1.01s) SUCCESS: maasserver.tests.test_node_action.TestAbortAction.test_Abort_aborts_testing (0.92s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_node(RAID) (0.51s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_catches_key_validation_errors(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__user_view_returns_dnsresource (0.22s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_crashes_for_ImportSSHKeysERROR(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_allows_dots (0.12s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_sshkeys_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_update_kms_srv_deletes_srv_records (0.11s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_all_related_interafces_includes_all_related (0.46s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip_and_mac__known_ip(user=user,client=oauth) (0.79s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_invalid_power_type(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_displays_event_node (0.16s) SUCCESS: maasserver.tests.test_node_action.TestAbortAction.test_Abort_aborts_disk_erasing (0.79s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_create_does_not_override_name (0.05s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsInRegion.test__saving_tag_schedules_node_population (0.53s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_get_name_for_set_name (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_refresh (0.63s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__admin_admin_returns_fannetwork (0.06s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_key_includes_random_part (0.06s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_links_returns_links_for_each_type (0.39s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_cannot_save_storage_backed_filesystem_if_storage_missing (0.07s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_read(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_device_to_array (0.77s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_block_size_returns_0_when_partition_and_device_None (0.04s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_read_404_when_not_bcache(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__calls_scan_all_networks_with_specified_cidrs(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__fails_scan_all_if_not_forced(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_coreHandler_unwatch_calls_unregister (0.47s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_node_returns_partition_node (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_size_returns_0_when_partition_and_block_device_None (0.04s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_is_configured_returns_True_when_other_link (0.30s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_threads(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__threads_must_be_number(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_save_doesnt_overwrite_uuid (0.17s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__with_no_cidrs_does_not_call_scan_all_networks(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_create_bcache_with_virtual_block_devices (1.56s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startService_clears_starting_once_complete (0.31s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_403_if_not_admin(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_group_type_set_to_BCACHE (0.06s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_remove_gateway_link_on_node_ipv6 (0.29s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(ext4,partition) (0.23s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test__logs_new_binding (0.16s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_partition_from_another_node_to_array_fails (0.77s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(vfat,block-device) (0.16s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactoryTransactional.test_updateRackController_calls_onNotify_for_controller_update (1.04s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_bcache_with_cache_set_and_backing (0.34s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_mac_address_must_be_unique (0.16s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_stores_and_retrieves_None (0.07s) SUCCESS: maasserver.tests.test_service_monitor.TestProxyService.test_getExpectedState_returns_off_for_no_config (0.49s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(swap,block-device) (0.21s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create(user=user,client=oauth) (0.58s) SUCCESS: maasserver.tests.test_preseed.TestPreseedMethods.test_get_preseed_returns_commissioning_preseed_for_disk_erasing (1.40s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__creates_link_up_to_no_subnet (0.33s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(btrfs,block-device) (0.22s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_0_with_exactly_2_raid_devices (0.36s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_403_if_not_admin(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_dataReceived_calls_loseConnection_if_json_error (0.52s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_with_block_device_from_other_node_fails (0.62s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroup.test_group_type_set_to_LVM_VG (0.05s) SUCCESS: maasserver.models.tests.test_interface.TestForceAutoOrDHCPLink.test__sets_to_DHCP (0.25s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(ext4,partition) (0.23s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_with_missing_cache_set_fails(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_or_create_without_parents (0.22s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(vfat,block-device) (0.24s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_5_with_3_or_more_raid_devices_and_spares (0.49s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_handler_path(user=user,client=oauth) (0.15s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_getMessageField_returns_value_in_message (0.38s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_0_if_raid_without_filesystems (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(swap,block-device) (0.19s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__tryUpdateNodes_sends_work_to_dbtasks (0.92s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroupManager.test_create_volume_group_with_block_devices_and_partitions (0.48s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(ext2,block-device) (0.16s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_fabric_class (0.41s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.35s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_calls_loseConnection_if_unknown_handler (0.53s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(raid-6) (0.49s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(xfs,block-device) (0.25s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__get_matching_node_map_by_multiple_tags (0.32s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_list_tokens(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_can_use_unique_mac_address (0.58s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(vfat,partition) (0.21s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_deletes_cache_set(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously (1.57s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_list_tokens_format(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(swap,partition) (0.15s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceUpdateDiscovery.test__sets_mdns_state_based_on_passive_setting (0.30s) SUCCESS: maasserver.tests.test_preseed.TestPreseedMethods.test_get_preseed_returns_curtin_preseed (1.61s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_does_nothing_if_no_user (0.51s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(raid-5) (0.53s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read_404_when_invalid_id(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_with_token_key(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(ramfs,node) (0.16s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_parent_interfaces_must_belong_to_same_node (0.40s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_name_domain__id(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_admin_set_config_rejects_unknown_config_item(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_requires_name_param(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(btrfs) (0.23s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_requires_mac_address (0.18s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_403_when_not_admin(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_string_name_param(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_type(user=user,client=user+pass) (0.29s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__raid_on_partitions (0.43s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_simple_user_set_config_forbidden(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestReleaseAutoIPs.test__clears_all_auto_ips_with_ips (0.58s) SUCCESS: maasserver.tests.test_proxyconfig.TestProxyUpdateConfig.test__only_enabled_subnets_are_present (0.58s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_finalize_calls_notify_callback (0.56s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test__creates_acquired_bridge_copies_mtu (0.29s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=admin,client=oauth) (0.15s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_stores_and_retrieves_binary_data (0.06s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_create_bcache_with_block_devices_and_partition (0.40s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_api_version_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.models.tests.test_interface.TestReportVID.test__logs_vlan_creation_and_sets_description (0.25s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_fqdn(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_old_api_request(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_change_cache_device(user=user,client=user+pass) (0.53s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_returns_device_when_user_is_owner(VolumeGroup) (0.41s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_add_tag_doesnt_duplicate (0.29s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_name_domain__id(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_works(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__creates_missing_slash_64_ipv6_subnet (0.31s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_403_when_not_admin(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_1_with_spare_raid_devices (0.42s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_does_nothing_if_file_already_exists (0.58s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_coreHandler_watch_doesnt_call_register (0.63s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_without_filesystems (0.09s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_node_returns_None_if_no_filesystems (0.03s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_multiple_ips(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_by_name(FilesystemGroup) (0.38s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_0_if_bcache_without_backing (0.04s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_successors_includes_grandchildren (0.41s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_delete_by_id_works(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_with_missing_cache_fails(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_sshkey_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_remove_tag_doesnt_error_on_missing_tag (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_by_name(Bcache) (0.34s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_sum_of_all_filesystem_sizes_for_lvm (0.33s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_with_parameters(user=user,client=oauth) (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_bcache_returns_false_when_not_BCACHE (0.04s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_dhcpHandler_adds_to_needsDHCPUpdate (0.50s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_get_node_returns_its_node (0.22s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_409_when_the_nodes_not_ready(user=user,client=oauth) (0.41s) SUCCESS: maasserver.tests.test_bootresources.TestConnectionWrapper.test_download_calls__get_new_connection (0.60s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_ip_address_on_managed_subnet_with_log (0.72s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_requires_mac_address (0.15s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_requires_node (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_no_owner(VolumeGroup) (0.37s) SUCCESS: maasserver.models.tests.test_interface.TestForceAutoOrDHCPLink.test__does_nothing_when_disconnected (0.15s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_404_when_system_id_doesnt_match(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_404_when_not_bcache(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_type(user=user,client=oauth) (0.43s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(raid-10) (0.47s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_all_boot_resources_registers_stop_handler (0.52s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_process_doesnt_call_processDHCP_when_not_running (0.60s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_deletes_domain(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_409_when_not_ready(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_mount_sets_mount_path_and_params_on_filesystem_as_admin(user=user,client=user+pass) (0.46s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_spare_device_to_array (0.59s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_init_raises_ValueError_if_group_type_not_set_to_raid_type (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(bcache) (0.51s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_stopService_calls_unregister_for_all_watching (0.42s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test__get_all_interfaces_definition_for_node (0.71s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_block_device_by_name(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_admin_creates_machine_in_commissioning_state(user=admin,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_handler_path(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_disable_bond_parents_disables_vlan_interface (1.13s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_interface_or_404_returns_interface_for_admin (0.17s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(raid-1) (0.36s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_physical_block_device(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.tests.test_bootsources.TestBadConnectionHandling.test__catches_connection_errors_and_sets_component_error (0.93s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_updating_parent_mac_address_updates_vlan_mac_address (0.28s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_fabric (0.29s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__same_secret_is_returned_on_subsequent_calls (0.55s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_disable_one_parent_doesnt_disable_the_bond (0.65s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__comment_optional (0.10s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__raid_on_partitions (0.37s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_end_ip_to_be_within_subnet (0.09s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_invalid_change_fails(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_sets_power_parameters_field(user=admin,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_virtual_block_device(user=user,client=oauth) (0.42s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_complete_returns_False_when_content_incomplete (0.04s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_interface_id (0.39s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_node_is_set_to_parents_node (0.45s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_updates_power_parameters_rejects_unknown_param(user=admin,client=oauth) (0.30s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_raises_PermissionDenied_when_user_requests_admin(VolumeGroup) (0.42s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_physical_block_device_as_admin(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_create_authorisation_token_with_token_name(user=user,client=oauth) (0.27s) SUCCESS: maasserver.tests.test_bootsources.TestBadConnectionHandling.test__clears_component_error_when_successful (0.71s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_by_ids_filters_nodes_by_ids (0.52s) SUCCESS: metadataserver.tests.test_fields.TestBinaryField.test_stores_and_retrieves_empty_data (0.05s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_physical_block_device_as_normal_user(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_delete_authorisation_token_bad_request_no_token(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_formats_block_device_as_user(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_api.MAASAPIAnonTest.test_anon_set_config_unauthorized(user=anonymous,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_can_use_parents_mac_address (0.58s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_raises_PermissionDenied_when_user_not_owner(VolumeGroup) (0.56s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_admin_lists_all_nodes (0.39s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_unconfigured_mode (0.77s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=admin,client=oauth) (0.75s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_filesytems_on_partitions(user=user,client=oauth) (0.39s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__has_env_GNUPGHOME_set (0.60s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_adding_catches_key_validation_errors(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read(user=user,client=oauth) (0.62s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_delete_fails_if_not_your_key(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=anonymous,client=oauth) (0.28s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_get_node_returns_parent_node (0.51s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_partitions(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_filters_by_id (0.54s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_undefined_space (0.51s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_raises_PermissionDenied_when_user_not_owner(FilesystemGroup) (0.58s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_get_by_id_works(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_filesystem(user=user,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test_get_effective_mtu_returns_vlan_mtu (0.22s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_crashes_for_ImportSSHKeysERROR(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_403_when_not_admin(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_allows_blank_mac_address (0.11s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceUpdateDiscovery.test__monitored_flag_vetoes_discovery_state (0.25s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_model(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_raises_PermissionDenied_when_user_not_owner(Bcache) (0.34s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_creates_keys_and_keysource(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_requires_admin(user=user,client=oauth) (0.20s) SUCCESS: maasserver.models.tests.test_interface.TestReportVID.test__creates_vlan_if_necessary (0.25s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_deletes_filesystem_as_admin(user=user,client=oauth) (0.38s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_creates_keys_not_duplicate_keysource(user=user,client=oauth) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__simple (0.62s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_resource_file_writes_content(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_deletes_filesystem_as_user(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_content_doesnt_match_sha256(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_deletes_related_children (0.65s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_owner(FilesystemGroup) (0.52s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_list_works(user=user,client=oauth) (0.32s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__LINK_UP_deletes_link (0.46s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_content_is_too_large(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_sshkeys_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_interface.UnknownInterfaceTest.test_get_node_returns_None (0.11s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_is_configured_returns_False_when_no_links (0.24s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=admin,client=user+pass) (0.87s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_no_content(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_returns_boot_resources_list(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_owner(Bcache) (0.45s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__creates_missing_subnet (0.30s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test__logs_moved_entry (0.30s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.67s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_10_with_2_elements_fails (0.19s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource(user=user,client=oauth) (0.25s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv4_if_dual_stack_with_no_gateway (0.96s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_objects_is_RAIDManager (0.05s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=anonymous,client=user+pass) (0.44s) SUCCESS: maasserver.models.tests.test_interface.TestCreateAcquiredBridge.test__creates_acquired_bridge_with_passed_options (0.28s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=admin,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_deletes_bcache(user=user,client=oauth) (0.72s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_already_existing_largefile(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_dead_when_configuration_crashes(v2) (2.23s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__does_nothing_if_no_vlan (0.18s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=anonymous,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceUpdateDiscovery.test__sets_neighbour_state_true_when_monitored_flag_is_true (0.25s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_discovered_ip_addresses_with_unknown_nics (0.78s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_default_filetype(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.models.tests.test_interface.UnknownInterfaceTest.test_doesnt_allow_node (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_returns_events_in_order_newest_first(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_import_requires_admin(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_read_404_when_not_bcache(user=user,client=user+pass) (0.72s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_400_if_not_formatted(user=user,client=user+pass) (0.51s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_disable_all_parents_disables_the_bond (0.93s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv6_if_dual_stack_with_ipv6_gateway (0.95s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_disable_parent_disables_vlan_interface (0.42s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_handler_path(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_discovered_ip_addresses_on_interface (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_agent_name_filters_by_agent_name(user=user,client=oauth) (0.45s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_POST_requires_admin(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_end_ip_address (0.12s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_get_node_returns_parent_node (0.30s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_GET_returns_boot_source_list(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_409_if_not_ready(user=user,client=oauth) (0.45s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_and_end_ip (0.11s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_returns_409_for_non_ready_node(user=user,client=user+pass) (0.46s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_cannot_overlap_auto_address (0.12s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_type (0.14s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_cannot_overlap_dns_servers (0.08s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_manager_returns_bridge_interfaces (0.64s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFileManager.test_get_file (0.05s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_create_physicalblockdevice_with_invalid_params(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_GET_returns_script_contents(user=admin,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_licensekey.TestLicenseKeyManager.test_get_by_osystem_series (0.06s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__reserved_range_can_overlap_gateway_ip (0.16s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_subnet_ipv6_if_dual_stack_with_ipv6_gateway (0.86s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__reserved_range_cannot_overlap_reserved_ranges (0.13s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_by_ids_with_empty_list_returns_empty (0.20s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_PUT_updates_contents(user=admin,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_doesnt_include_full_definition_of_boot_resource(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_keysource.TestKeySource.test_import_keys_with_no_keys (0.09s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_complete_returns_True_when_content_is_complete (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_before_event_id_without_limit(user=user,client=user+pass) (0.81s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_deletes_content_asynchronously_for_queries_too (0.06s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create(user=user,client=user+pass) (0.72s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_requires_admin(user=user,client=oauth) (0.19s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_removed_if_underlying_interfaces_gets_removed (0.62s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_only_returns_managed_nodes (0.35s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_stop_import_requires_admin(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_409_if_not_ready(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_file_to_dict(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_netboot_off (0.19s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_displays_only_visible_nodes(user=user,client=oauth) (0.57s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_ids_orders_by_id_reverse(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_set_to_dict(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_boot_resources.TestHelpers.test_boot_resource_to_dict_with_sets(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_with_missing_cache_set_fails(user=user,client=user+pass) (0.29s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test_get_effective_mtu_returns_highest_vlan_mtu (0.46s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_fabric_classes (0.70s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_subnet_ipv6_if_ipv6_with_ipv6_gateway_and_dns (0.97s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_POST_creates_boot_source_selection(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_creates_interface (0.16s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_handler_path(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_handler_path(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__register_request_event_none_user_saves_comment_not_user (0.15s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_shows_all_latest_results(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachine.test_does_nothing_unless_machine (0.70s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_is_configured_returns_False_when_disabled (0.29s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_clears_status_expires (0.19s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_invalid_log_level_raises_error_with_msg(user=user,client=oauth) (0.68s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_creates_boot_source_with_keyring_data(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_devices.DeviceOwnerDataTest.test_GET_returns_owner_data(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_fabrics (0.65s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_sets_script_results_to_aborted (0.26s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptsAPITest.test_GET_lists_commissioning_scripts(user=admin,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__boot_interface_over_other_interfaces (0.43s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_DELETE_removes_device(user=user,client=oauth) (0.19s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_remove_gateway_link_on_node_ipv4 (0.49s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_POST_method_without_op_not_allowed(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_handler_path(user=user,client=oauth) (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_reverts_to_previous_state (0.33s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_default_configuration_requires_admin(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_remove_tag_deletes_tag (0.19s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_connected_rack_when_node_primary_rack_is_disconn(v2) (3.56s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_vids (0.56s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_networking_configuration(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_limit_limits_with_most_recent_events(user=user,client=oauth) (0.85s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_manager_returns_physical_interfaces (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_accept_enlistment_does_nothing_if_already_accepted (0.34s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_with_multiple_empty_data(user=user,client=user+pass) (0.60s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device(user=user,client=oauth) (0.18s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test__get_interface_dict_for_node__skips_prefetch_if_not_requested (0.19s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_subnet_cidr (0.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_zone_filters_by_zone(user=user,client=oauth) (0.40s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv4_if_ipv4_only_with_no_gateway (0.88s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_updates_device_hostname(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_domain(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateLinkById.test__calls_update_ip_address_with_ip_address (0.30s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_node_or_404_ok (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level) (0.11s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_returns_limited_fields(user=user,client=oauth) (0.25s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_delete_node_doesnt_delete_shared_bmc (0.63s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_default_configuration(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultGateways.test__return_set_ipv4_and_guess_ipv6 (0.40s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+limit) (0.12s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_networking_configuration_requires_admin(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+mac_address) (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,limit+mac_address) (0.07s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_handler_path(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_dynamic_ip_addresses_from_ip_address_table (0.35s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_returns_limited_fields(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+zone) (0.07s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_can_only_have_one_parent (0.53s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_for_user_lists_visible_nodes (0.51s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_bios_boot_method_returns_pxe (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+zone) (0.11s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_admin_only(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__create (0.15s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_ignores_nodes(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_read(user=user,client=oauth) (2.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+limit) (0.09s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultGateways.test__return_set_ipv6_and_guess_ipv4 (0.51s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_end_ip_to_not_be_broadcast (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+limit+zone) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestMachineManager.test_get_available_machines_returns_empty_list_if_empty (0.09s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_by_name(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_update(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_valid_ip_addresses (0.14s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_errors_on_invalid_id(user=user,client=oauth) (0.11s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_cant_overlap_gateway_ip (0.13s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_create(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__status_message_returns_most_recent_event (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id) (0.13s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_with_admin_perm_returns_empty_list_for_user (0.58s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_overlap_begin (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+limit) (0.15s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_read(user=user,client=oauth) (0.19s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_empty_content (0.07s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_operation_raises_exception_for_unsupported_state (0.19s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read_404_when_node_mismatch(user=user,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_licensekey.TestLicenseKeyManager.test_has_license_key_False (0.06s) SUCCESS: maasserver.models.tests.test_node.NodeTransitionsTests.test_NODE_TRANSITIONS_destination_state (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+mac_address) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_rack_controller_returns_primary_rack (0.91s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_acquire_logs_user_request (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_409_when_not_ready(user=user,client=oauth) (0.29s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__sticky_ip_over_user_reserved (0.52s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+limit+zone) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__physical_over_vlan_interface (0.31s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_not_confused_by_None_opts (0.20s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_updated_dhcp_snippet(v1) (2.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+limit+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_mac(user=user,client=oauth) (0.83s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_delete_node_doesnt_delete_pod (0.30s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_uses_tag_value (0.16s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_409_when_not_ready(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+zone) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_fqdn_if_specified (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_with_nothing_set (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+limit) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_bios_boot_method_fallback_to_pxe (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_can_be_False_for_manual (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+mac_address+zone) (0.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_403_when_not_admin(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_mdns_allowed_for_admin(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__rack_not_found_raises_validation_error(v1) (0.48s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip_and_mac__known_mac(user=user,client=user+pass) (1.02s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_disk_returns_first (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_interface_names_returns_interface_name (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+limit+mac_address) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_ip_addresses_includes_dynamic_ipv4_addresses_by_default (0.17s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv6_if_dual_stack_with_dual_gateway_and_told (0.94s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_neighbours_allowed_for_admin(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_409_when_the_nodes_not_ready(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv6_if_ipv6_with_ipv6_gateway (0.95s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_cant_be_queried (0.49s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_all_allowed_for_admin(user=user,client=oauth) (0.46s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__register_request_event_saves_event (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_iscsiblockdevice_set_returns_iscsiblockdevices (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_adds_empty_power_off_mode (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+limit+zone) (0.15s) SUCCESS: maasserver.tests.test_preseed.TestPreseedMethods.test_get_enlist_preseed_returns_enlist_preseed (0.77s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_adds_system_id (0.14s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_virtual_block_device(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_requires_parameters(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_logs_user_request (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_accept_enlistment_gets_node_out_of_declared_state (0.44s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_not_allowed_for_non_admin(user=user,client=oauth) (0.51s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_subnet_ipv4_if_dual_stack_with_ipv4_gateway_with_dns (0.79s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_from_block_device(user=user,client=oauth) (0.31s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_updates_all_pending_and_running_script_statuses (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,zone) (0.19s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__passes_slow(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_proxyconfig.TestProxyUpdateConfig.test__doesnt_call_reloadService_when_PROXY_CONNECT_False (0.58s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_random_hostname_set_hostname (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_disk_displays_error_if_in_cache_set (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_404_when_system_id_doesnt_match(user=user,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultGateways.test__return_set_ipv4_and_ipv6 (0.40s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_interfaces_returns_all_connected_interfaces (0.78s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_end_deployment_changes_state (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_region_controller_region_controller (0.10s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_in_filesystem_group(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_handler_path(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+zone) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_full_clean_logs_node_status_transition (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_adds_default_script_sets (0.40s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_coreHandler_unwatch_doesnt_call_unregister (0.48s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+limit) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_ignores_if_already_failed (0.20s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_bios_boot_method_returns_powerkvm (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+limit) (0.16s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_physical_block_device_as_admin(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_is_False_for_unset_power_type (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+mac_address+zone) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_logs_and_raises_errors_in_starting (0.41s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_device_machine (0.12s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously_with_cidrs (1.37s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_calls__clear_acquired_filesystems (0.34s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_machine_device (0.08s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_physical_block_device_as_normal_user(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+limit+mac_address) (0.19s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_update_not_allowed(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+zone) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+mac_address) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_sets_status_expired (0.41s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_update(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_process_calls_processDHCP_multiple_times (0.90s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+limit+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_machine_rack_controller (0.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+limit+zone) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_rack_controller_machine (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_calls_release_interface_config_when_cant_be_queried (0.66s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_fqdn(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_changes_state_and_starts_node (0.29s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+mac_address+zone) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_default_storage_layout_logs_error_when_layout_fails (0.13s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_virtual_block_device_as_admin(user=user,client=oauth) (0.70s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_by_name_domain__name(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_broken_logs_user_request (0.25s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_fails_with_no_domain(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_logs_and_raises_errors_in_starting (0.26s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_split_arch_doesnt_raise_on_missing_arch (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+limit+mac_address+zone) (0.15s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__processMessages_fails_when_in_transaction (0.49s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_broken_releases_allocated_node (0.17s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_split_arch_returns_arch_as_tuple (0.15s) SUCCESS: maasserver.models.tests.test_node.TestMachineManager.test_get_available_machines_ignores_taken_machines (1.81s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+limit) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_sets_status_on_post_commit_error (0.27s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_virtual_block_device_as_normal_user(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+mac_address) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__set_zone (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+mac_address+zone) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+limit+mac_address) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_adds_commissioning_script_set (0.42s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_create_authorisation_token_with_token_name(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_changes_status_and_stops_node (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+limit+mac_address) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_changes_status_and_starts_node (0.40s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_domain(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously_with_slow (1.73s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+zone) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_deployment_logs_user_request (0.21s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_name_bad_request_no_token(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read(user=user,client=user+pass) (0.60s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_update(user=user,client=oauth) (0.21s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_updates_status (0.81s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_changes_status_and_starts_node (0.36s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_prevents_destructive_tests_on_deployed (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+limit+zone) (0.13s) SUCCESS: maasserver.api.tests.test_api.MAASAPIAnonTest.test_anon_set_config_unauthorized(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_operation_aborts_commissioning (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+mac_address+zone) (0.16s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_admin_set_config(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_name_domain__name(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=admin,client=oauth) (0.07s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_prevents_destructive_tests_on_prev_deployed (0.26s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_filesystem(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=anonymous,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_operation_aborts_disk_erasing (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_sets_owner (0.34s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_clears_current_installation_results (0.41s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_fails_exiting_rescue_mode_for_deployed (0.14s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_v1_error_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_read(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+limit+mac_address+zone) (0.18s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_logs_and_raises_errors_in_stopping (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_readies_node_if_releasing (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_default_storage_layout_does_nothing_if_skip_storage (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_logs_user_request (0.29s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_delete_fails_if_not_your_key(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_update(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_fails_with_no_name(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_domain(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_resource_file_writes_content(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_storage_layout_calls_configure_on_layout (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNodeErase.test_release_or_erase_erases_when_disabled_and_erase_param (0.19s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_get_by_id_works(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_stop_rescue_mode_logs_and_raises_errors (0.23s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_read_with_name(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNodeErase.test_release_or_erase_releases_when_disabled (0.18s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_storage_layout_issues_returns_invalid_when_no_disk (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_doesnt_clear_storage_configuration (0.26s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_creates_keys_and_keysource(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_read(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_does_not_change_status_if_not_releasing (0.17s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_handler_path(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_too_many_files(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_import_ssh_keys_creates_keys_not_duplicate_keysource(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_succeeds(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_reverts_to_sane_state_on_error (0.37s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_update_admin_only(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_api.TestSSHKeyHandlers.test_list_works(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_file_deletes_file(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_admin_only(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNodeParentRelationShip.test_children_field_returns_children (0.49s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_fails_with_missing_file(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_sets_user_data (0.28s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_but_no_parameters(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_fails_with_no_filename(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_reverts_to_sane_state_on_error (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNodeParentRelationShip.test_children_get_deleted_when_parent_is_deleted (0.89s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returning_404_file_includes_header(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_file_object_with_content_base64_encoded(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_name(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_owned_file(user=user,client=oauth) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_uses_passed_values (0.22s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_handler_path(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_filters_by_owner(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.52s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_read(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_reverts_status_on_post_commit_error (0.22s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_change_bcache_backing(user=user,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=oauth,rack) (0.29s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_logs_and_raises_errors (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNodeParentRelationShip.test_children_get_deleted_when_parent_is_released (0.67s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_accept_enlistment_rejects_bad_state_change (2.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.54s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_non_ip_address_tolerated (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_reverts_status_on_error (0.22s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_deletes_bcache(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=oauth,region-rack) (0.34s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_new_sets_power_parameters_skip_check(user=admin,client=user+pass) (0.52s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_system_id_is_exactly_6_characters (0.16s) SUCCESS: maasserver.api.tests.test_enlistment.AnonymousEnlistmentAPITest.test_POST_accept_not_allowed(user=anonymous,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_acquire (0.32s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_acquired_bridge_not_allowed_in_ready(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_409_if_not_ready(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_does_not_clear_expires_if_not_releasing (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_already_attached_mac_address_doesnt_raise_error (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_sets_status_to_deployed (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_404_on_device(user=user,client=oauth) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-is-set) (0.61s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=admin,client=user+pass) (2.69s) SUCCESS: maasserver.models.tests.test_node.TestNode_Stop.test__calls__power_control_node_with_stop_mode (0.72s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_unexpected_values_tolerated (0.19s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_create_409_if_not_ready(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=user,client=oauth) (0.51s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_interface_deletion_does_not_delete_node (0.34s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_empty_architecture_rejected_for_type_rack_controller (0.11s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge(user=user,client=oauth) (0.58s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-stale) (0.66s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_interface_returns_first_interface_if_unset (0.39s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-nobody,maas-id-not-set) (0.66s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=admin,client=oauth) (0.42s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_distro_series_returns_default_series (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_accessible_parses_host_port (0.79s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_with_multiple_requests_and_large_content(user=user,client=oauth) (3.55s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=anonymous,client=oauth) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-nobody,maas-id-is-set) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_multiple_tags_with_opts (0.23s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical(user=user,client=oauth) (0.59s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.58s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_tag_overrides_global (0.15s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_can_be_queried (0.13s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-nobody,maas-id-stale) (0.33s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_validates_boot_resource(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=oauth,rack) (0.36s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.18s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_deletes_boot_source_selection(user=user,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_extra_macs_returns_all_but_first_interface_if_not_boot (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_block_device_name_names_returns_next_available (0.08s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_requires_admin(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-not-set) (0.52s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_ifname_names_returns_next_available (0.08s) SUCCESS: maasserver.api.tests.test_enlistment.NonAdminEnlistmentAPITest.test_POST_non_admin_creates_machine_in_declared_state(user=user,client=oauth) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-other,maas-id-not-set) (0.24s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_PUT_updates_boot_source_selection(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=user+pass,region) (0.41s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_osystem_returns_passed_default (0.17s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.24s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_POST_requires_admin(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_controller_device (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_all_addresses_if_admin_and_all_specified(user=admin,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDevicesAPI.test_read(user=user,client=user+pass) (2.00s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_agent_name_filters_with_empty_string(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_empty_if_no_ipaddresses(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_GET_returns_script_contents(user=admin,client=user+pass) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-stale) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-worker,maas-id-not-set) (0.41s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_PUT_updates_contents(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_controller_rack_controller (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_nonexistent_id_returns_empty_list(user=user,client=oauth) (0.25s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-is-set) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_machine_region_controller (0.11s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptsAPITest.test_POST_is_forbidden(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_delete_409_when_not_ready(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_without_events_returns_empty_list(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-other,maas-id-not-set) (0.30s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_region_controller_machine (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id) (0.12s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=anonymous,client=user+pass) (2.59s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_handler_path(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_sorts_by_id(user=admin,client=oauth) (0.58s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_displays_only_visible_nodes(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-stale) (0.37s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_update(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_broken_changes_status_to_broken (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+limit) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_only_returns_connected_controllers (1.97s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_sorts_by_id(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-nobody,maas-id-is-set) (0.40s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_can_set_serial(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=admin,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+zone) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_ignores_if_status_is_NEW (0.23s) SUCCESS: maasserver.models.tests.test_node.TestRegionController.test_delete (0.17s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_read_404_when_node_mismatch(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=anonymous,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_with_all_for_admin_returns_non_user_reserved_types(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+zone) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_raises_for_unauthorized_node_status (0.14s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionController.test_delete_converts_region_to_machine (0.17s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-nobody,maas-id-is-set) (0.48s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+mac_address) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_logs_user_request (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-nobody,maas-id-stale) (0.44s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_read(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=admin,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+limit+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_does_not_require_subnet(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_409_when_not_ready(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_logs_and_raises_errors_in_stopping (0.24s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=anonymous,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+mac_address+zone) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.29s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-worker,maas-id-is-set) (0.47s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-nobody,maas-id-stale) (0.45s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_dynamic(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create_409_when_not_ready(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_powers_off_node_when_on (0.23s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_DELETE_rejects_deletion_if_not_permitted(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=admin,client=oauth) (0.52s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+mac_address) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-other,maas-id-not-set) (0.27s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_sets_user_to_authenticated_user(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.29s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_403_when_not_admin(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_reverts_to_sane_state_on_error (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_DELETE_removes_device(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_handler_path(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_returns_license_key(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-worker,maas-id-not-set) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_save_raises_node_state_violation_on_bad_transition (0.21s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=anonymous,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_returns_404_for_unknown_os_and_series(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+limit) (0.14s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_to_block_device(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-worker,maas-id-stale) (0.66s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_restore_networking_configuration(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_default_storage_layout_logs_error_missing_boot_disk (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-other,maas-id-not-set) (0.42s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_requires_admin(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+mac_address) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-other,maas-id-not-set) (0.32s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+limit+zone) (0.14s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device(user=user,client=user+pass) (0.29s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_ports_archive_overrides_to_package_repository(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+limit+mac_address) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_clears_storage_configuration (0.34s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_arch_only(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-nobody,maas-id-is-set) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-worker,maas-id-not-set) (0.38s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+zone) (0.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.51s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_parent(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+limit) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-other,maas-id-is-set) (0.56s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-nobody,maas-id-stale) (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+limit+zone) (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_subarchitecture(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_returns_limited_fields(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+mac_address+zone) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_logs_user_request (0.37s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-other,maas-id-not-set) (0.37s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+mac_address+zone) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__clears_default_gateways(user=user,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_empty_POST_raises_appropriate_error(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+limit+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_format_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.46s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-other,maas-id-stale) (0.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-other,maas-id-not-set) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.25s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_deletes_machine_fails_if_not_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+limit+zone) (0.12s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=admin,client=oauth) (0.46s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_sets_min_hwe_kernel (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.33s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-worker,maas-id-not-set) (0.25s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_from_block_device(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=anonymous,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_with_macaddress_returns_matching_devices(user=user,client=oauth) (0.54s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-stale) (0.34s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_by_id(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-other,maas-id-not-set) (0.21s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_owner_name_when_allocated_to_other_user(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level) (0.15s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_errors_on_invalid_id(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-is-set) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_starts_node_if_already_on (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id) (0.15s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_with_no_hostname_auto_populates_hostname(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_404_when_system_id_doesnt_match(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-not-set) (0.52s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-stale) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestReportNeighbours.test__calls_report_vid_for_each_vid (0.44s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_region_controller (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.27s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_physical_block_devices(user=user,client=oauth) (0.60s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_in_filesystem_group(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=admin,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+limit) (0.53s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-stale) (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+mac_address) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.29s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_deployment_changes_state (0.73s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-is-set) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_fails_with_no_boot_source(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=anonymous,client=oauth) (0.37s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_mac(user=user,client=user+pass) (0.92s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-is-set) (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+limit) (0.18s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_unmounts_filesystem_as_user(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+mac_address+zone) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-stale) (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+zone) (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_if_mac_duplicated(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_node (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-stale) (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+zone) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_deployment_creates_installation_script_set (0.61s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__clear_neighbours_allowed_for_admin(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=anonymous,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+limit+zone) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_logs_user_request (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+limit+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-not-set) (0.26s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__with_invalid_cidrs_fails(user=user,client=oauth) (0.43s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_logs_and_raises_errors (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+limit+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_virtual_block_device_as_admin(user=user,client=user+pass) (1.00s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=admin,client=oauth) (0.58s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_passes_comment(user=user,client=oauth) (1.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+limit+mac_address+zone) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bond_with_vlan(rack) (1.72s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_reverts_status_on_error (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+limit+mac_address) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-nobody,maas-id-not-set) (0.46s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+limit) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=anonymous,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.18s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_update_virtual_block_device_as_normal_user(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_adds_default_testing_script_set (0.39s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_removes_old_links(rack) (0.50s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+limit+zone) (0.18s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_partition_type(user=user,client=oauth) (0.23s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_errors_for_unconfigured_power_type (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_sets_default_distro_series(user=user,client=oauth) (0.68s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_new_generates_hostname_if_ip_based_hostname(user=user,client=user+pass) (0.54s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_no_links(rack) (0.36s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_partitions(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+limit+mac_address+zone) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-is-set) (0.40s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_discoveries.TestScanAllRackNetworksInterpretsRPCResults.test__calls_racks_synchronously_with_threads (1.33s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_read(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-stale) (0.29s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_sets_options (0.71s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_before_event_id_with_limit(user=user,client=oauth) (0.52s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_sets_license_key(user=user,client=oauth) (0.80s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_update_admin_only(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_does_not_delete_dnsresource_if_data_present(user=user,client=oauth) (0.40s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.21s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_sets_status_to_broken (0.17s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create_admin_only(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create_requires_fields(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_hostname_returns_matching_nodes(user=user,client=oauth) (0.31s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_are_stored (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-not-set) (0.20s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_get_by_key_works_anonymously(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_read(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_no_filename(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_unknown_power_parameter_stored_on_node (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.18s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_fails_with_no_name(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManager.test_get_running_controller_crashes_when_maas_id_is_not_found (0.05s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_filters_by_owner(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.19s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_file_object_with_resource_uri(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_succeeds(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-is-set) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_validates_license_key(user=user,client=oauth) (0.91s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_returns_ordered_list(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_read(user=user,client=oauth) (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_some_matching_ids_returns_matching_nodes(user=user,client=user+pass) (0.77s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-stale) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-worker,maas-id-not-set) (0.65s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_in_wrong_state_reports_current_state(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=oauth,region) (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_prev_and_next_uris_contain_search_parameters(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.26s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_name(user=user,client=user+pass) (0.36s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-not-set) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-other,maas-id-not-set) (0.50s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_read(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_before_provides_prev_and_next_uris(user=user,client=oauth) (0.37s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,) (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_rejects_other_node_types(user=user,client=oauth) (0.63s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-worker,maas-id-is-set) (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=user+pass,region-rack) (0.78s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+zone) (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,limit+zone) (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_requires_name_and_parents(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-worker,maas-id-stale) (0.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+limit) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_accept_all(user=admin,client=oauth) (1.00s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-other,maas-id-is-set) (0.40s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+limit+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__two_controllers_with_similar_configurations_bug_1563701(region) (3.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+limit) (0.11s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_with_multiple_requests_and_large_content(user=user,client=user+pass) (3.48s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-other,maas-id-stale) (0.30s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+zone) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.22s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_calls_import_boot_images_on_all_clusters(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_returns_limited_fields(user=admin,client=oauth) (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+zone) (0.11s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_validates_boot_resource(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+limit) (0.15s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_deletes_boot_source_selection(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+limit+zone) (0.18s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_requires_admin(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-not-set) (0.39s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_PUT_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_PUT_updates_boot_source_selection(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+mac_address+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-worker,maas-id-is-set) (0.29s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionsAPI.test_GET_requires_admin(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_sets_power_type_if_admin(user=admin,client=oauth) (0.69s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+limit+mac_address+zone) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_DELETE_deletes_boot_source(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+limit+zone) (0.08s) SUCCESS: maasserver.api.tests.test_enlistment.AnonymousEnlistmentAPITest.test_POST_accept_not_allowed(user=anonymous,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+limit+mac_address) (0.08s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_GET_requires_admin(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response(user=user,client=oauth) (0.42s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-worker,maas-id-stale) (0.38s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_updates_boot_source(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_POST_creates_boot_source_with_keyring_filename(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=user,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_DELETE_is_forbidden(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptsAPITest.test_POST_is_forbidden(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-other,maas-id-is-set) (0.45s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=admin,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+limit+zone) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_409_when_not_ready_or_broken(user=user,client=oauth) (2.75s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe(user=anonymous,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_returns_403_when_not_admin(user=user,client=oauth) (0.88s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=admin,client=oauth) (0.73s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=admin,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-other,maas-id-stale) (0.56s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_doesnt_allow_mac_already_register(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_hash_is_the_api_hash(user=anonymous,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+zone) (0.26s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=anonymous,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level) (0.20s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_requires_admin(user=user,client=user+pass) (0.33s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_DELETE_rejects_deletion_if_not_permitted(user=user,client=user+pass) (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_creates_link_updates_parent_vlan(rack) (8.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+limit) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-not-set) (0.51s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_rejects_edit_if_not_permitted(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+mac_address) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+mac_address) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-worker,maas-id-is-set) (0.19s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_read_on_device(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=admin,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+limit+zone) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-worker,maas-id-stale) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+limit+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=anonymous,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=oauth,region) (0.25s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-other,maas-id-is-set) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+limit) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__two_controllers_with_similar_configurations_bug_1563701(region+rack) (3.67s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_PUT_updates_device_parent(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-other,maas-id-stale) (0.18s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=admin,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_deletes_device_interface(user=user,client=oauth) (1.64s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+limit+mac_address) (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+zone) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-not-set) (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=user+pass,region-rack) (0.53s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_creates_device_with_parent(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+limit) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_updates_existing_bridge(rack) (1.16s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_POST_without_macs_raises_appropriate_error(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_own_ip_address_with_ip(user=admin,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_empty_POST_raises_appropriate_error(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_own_ip_address_with_ip(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+zone) (0.15s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=admin,client=user+pass) (0.59s) SUCCESS: maasserver.models.tests.test_node.TestReportNeighbours.test__calls_update_neighbour_for_each_neighbour (0.45s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_403_when_not_user(user=user,client=oauth) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_self (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+limit+zone) (0.14s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_with_macaddress_returns_matching_devices(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_read(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+limit+zone) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_with_existing_parents(rack) (0.63s) SUCCESS: maasserver.api.tests.test_enlistment.MachineHostnameEnlistmentTest.test_created_machine_gets_default_domain_appended(user=anonymous,client=user+pass) (0.33s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_delete_deletes_dhcp_snippet(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+mac_address+zone) (0.10s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_hander_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update_403_when_not_user(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_read_by_id(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_dhcp_link(rack) (0.31s) SUCCESS: maasserver.api.tests.test_enlistment.NonAdminEnlistmentAPITest.test_POST_non_admin_creates_machine_in_declared_state(user=anonymous,client=oauth) (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_requires_type_and_reports_simple_error_if_missing(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__clears_discovery_parameters(rack) (0.52s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__calls_scan_all_networks_with_scan_all_if_forced(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__vlans_with_alternate_naming_conventions(region) (1.58s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__with_invalid_cidrs_fails(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+limit+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_POST_creates_license_key(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_enlistment.NonAdminEnlistmentAPITest.test_POST_non_admin_creates_machine_in_declared_state(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_with_gateway(rack) (0.34s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_default_distro_series(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_read(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_delete_not_allowed_even_for_admin(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_returns_limited_fields(user=user,client=oauth) (0.37s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_delete_file(user=anonymous,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_forbidden_config_items(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_get_does_not_work_anonymously(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_subnets(region) (0.46s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_vlan_with_wrong_subnet(region) (0.77s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_creates_link_updates_parent_vlan(region) (7.41s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_empty_file(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_only_default_osystem_are_valid_for_distro_series(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_deletes_dnsresource_record(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_nonexistent_id_returns_empty_list(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_fetches_the_most_recent_file(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_allowed_from_any_other_state(user=user,client=user+pass) (7.37s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_does_not_include_file_content(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_does_not_delete_dnsresource_if_data_present(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_lists_files_with_prefix(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordsAPI.test_create_requires_name(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_subnets(region+rack) (0.54s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=oauth,region) (0.20s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_passes_comment(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_effective_gateway_if_no_explicit_gateway_set(user=user,client=oauth) (0.60s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__order_of_calls_to_update_interface_is_always_the_same(rack) (0.27s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_deletes_dnsresource(user=user,client=oauth) (0.28s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_vlan_with_wrong_subnet(region+rack) (0.90s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_without_limit_limits_to_default_newest(user=user,client=oauth) (0.74s) SUCCESS: maasserver.api.tests.test_machine.TestGetCurtinConfig.test__returns_curtin_config_in_yaml(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,ramfs) (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_without_events_returns_empty_list(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_nodeprobeddetails.TestNodeDetail.test__returns_only_details_from_okay_commissioning_results (0.28s) SUCCESS: maasserver.models.tests.test_notification.TestFindingAndDismissingNotifications.test_find_and_dismiss_notifications_for_user (0.12s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_read(user=user,client=user+pass) (0.43s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_error_for_admins) (0.06s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_warning_for_users) (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=oauth,rack) (0.62s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_without_gateway(rack) (0.45s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__vlans_with_alternate_naming_conventions(region+rack) (2.08s) SUCCESS: maasserver.api.tests.test_domains.TestDomainAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_info_for_users) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_error_for_user) (0.07s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_create_requires_name(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(user=user,client=user+pass,ramfs) (0.53s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_success_for_user) (0.14s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_error_for_users) (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=oauth,region) (0.32s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_handles_missing_comment(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_409_when_not_ready_or_broken(user=user,client=oauth) (3.85s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_user(success) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_new_subnet_link(region) (0.40s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_pockets_to_disable (0.07s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_links(region) (0.50s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_used_size_returns_partition_size_when_filesystem (0.19s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=user+pass,region) (0.38s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_used_size_returns_used_zero_when_no (0.19s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_new_subnet_link(region+rack) (0.45s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_invalid_id (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_allows_admin_to_release_anyones_machine(user=user,client=oauth) (0.59s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_links(region+rack) (0.47s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_invalid_part_seperator (0.20s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_accept_all(user=admin,client=user+pass) (1.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=oauth,rack) (0.54s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_add_misaligned_partition (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_frees_hwe_kernel(user=user,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_nodeprobeddetails.TestNodeDetail.test_get_probed_details (0.43s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_clean_no_partition_table_on_bcache (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_query_num_queries_is_independent_of_num_nodes_and_events(user=user,client=oauth) (1.80s) SUCCESS: maasserver.models.tests.test_notification.TestFindingAndDismissingNotifications.test_find_and_dismiss_notifications_for_admins (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_and_one_parent(rack) (0.70s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_error_for_admins) (0.06s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_force_mbr_on_boot_disk_pxe (0.12s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_warning_for_users) (0.08s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_info_for_users) (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_success_for_admins) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_warning_for_user) (0.07s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_returns_limited_fields(user=admin,client=user+pass) (0.66s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_provides_prev_and_next_uris(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_total_size_of_physical_devices_for_filters_on_node (0.29s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_info_for_user) (0.09s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_admins(success) (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name) (0.15s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_for_region_rack_controller (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+zone) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_releases_owned_machine(user=user,client=oauth) (0.87s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_partition_number_returns_starting_at_1_in_order_for_gpt (0.22s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond(user=user,client=user+pass) (1.01s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+limit) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,mac_address+zone) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_404_on_device(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_by_id_invalid_table (0.20s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_parent(region) (0.91s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_mark_dead_for_rack_controller (0.38s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_sets_power_type_if_admin(user=admin,client=user+pass) (0.65s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_can_be_deleted_if_does_not_contain_subnets (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(user=user,client=user+pass,tmpfs) (2.32s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_no_force_on_none_boot_disk (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level) (0.10s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_get_default_space_creates_default_space (0.06s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_nonreserved_name_does_not_raise_exception (0.05s) SUCCESS: maasserver.models.tests.test_regioncontrollerprocess.TestRegionControllerProcess.test_pid_and_region_are_unique (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+zone) (0.12s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_rejects_names_with_blanks (0.06s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_reserved_name_raises_exception (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_type_default_resets_params(user=user,client=oauth) (0.66s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManager.test__name_specifier_matches_name (0.05s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+mac_address) (0.17s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__admin_edit_returns_space (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,ramfs) (0.36s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_cropped_key (0.03s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_escapes_short_key_for_html (0.03s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_limits_size_with_large_comment (0.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+limit+zone) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan(user=user,client=oauth) (0.59s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_validation_fails_if_key_is_invalid (0.05s) SUCCESS: maasserver.models.tests.test_regionrackrpcconnection.TestRegionRackRPCConnection.test_endpoint_rack_controller_are_unique (0.39s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_non_ascii_key (0.06s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_wrong_key (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level) (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration_checks_machine_status(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_requires_vlan_and_parent(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_parent(region+rack) (0.77s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_dsa_public_key (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_without_zone_leaves_zone_unchanged(user=user,client=oauth) (0.46s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_mark_dead_for_region_rack_controller_dead_rack_only (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+zone) (0.15s) SUCCESS: maasserver.models.tests.test_sslkey.GetHTMLDisplayForKeyTest.test_display_returns_only_md5 (0.04s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration_requires_admin(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level+limit) (0.11s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=admin,client=oauth) (0.57s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_update_service_for_updates_service_status_and_info (0.16s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_same_key_can_be_used_by_different_users (0.15s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_invalid_name_raises_exception (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+limit) (0.09s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_user_and_key_unique_together_db_level (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+mac_address) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__sets_discovery_parameters(region) (0.36s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__admin_admin_returns_space (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration_checks_machine_status(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+mac_address+zone) (0.09s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__user_edit_raises_PermissionError (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_resource_uri_points_back_at_machine(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=anonymous,client=oauth) (0.32s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_deallocate_removes_object (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_get_interface_link_type_returns_DHCP_for_DHCP (0.05s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_limits_size_with_large_key_type (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+limit+mac_address) (0.15s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_returns_cropped_if_unknown_and_large (0.05s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_repr_with_valid_type (0.05s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_display_is_marked_as_HTML_safe (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+limit+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration_requires_admin(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__sets_discovery_parameters(region+rack) (0.38s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_display_with_real_life_key (0.08s) SUCCESS: maasserver.models.tests.test_notification.TestNotification.test_render_combines_message_with_context (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+zone) (0.14s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyManagerTest.test_get_keys_for_user_no_keys (0.08s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_warning_for_admins) (0.08s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_info_for_admins) (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_changes_status(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_domain(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_layout_not_supported(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+limit+zone) (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestRenderJSON.test__includes_username_if_requested (0.16s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_warning_for_user) (0.12s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_creates_cidr_from_ipv6_strings (0.08s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_discards_extra_ipv6_network_bits (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_info_for_user) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+limit+zone) (0.16s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_read(user=user,client=user+pass) (1.17s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_requires_ownership(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_error_for_admins) (0.06s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__finds_used_ranges_ignores_discovered_ip (0.11s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=admin,client=user+pass) (0.31s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_warning_for_users) (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_409_when_not_ready_or_broken(user=user,client=user+pass) (4.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+mac_address+zone) (0.15s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_info_for_users) (0.07s) SUCCESS: maasserver.models.tests.test_subnet.TestGetBestSubnetForIP.test__returns_most_specific_ipv6_subnet (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__calls_set_storage_layout_on_machine(user=user,client=oauth) (0.42s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_effective_filesystem (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+limit+mac_address+zone) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_updates_error_description(user=user,client=oauth) (0.33s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_creates_machine_with_power_parameters(user=anonymous,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=oauth,rack) (0.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+limit+mac_address+zone) (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecial.test__mount_point_is_required(user=user,client=oauth) (0.26s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_validate_enough_space_for_resize_partition (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=admin,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_handles_missing_comment(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_empty_string (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+mac_address+zone) (0.17s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_rejects_invalid_data(user=anonymous,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_gpt_for_powerkvm_boot (0.16s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__includes_bmcs (0.73s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=admin,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_requires_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id) (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(user=user,client=oauth,ramfs) (0.49s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_excluded_addresses(unmanaged) (0.08s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__set_current_entry_creates_new_with_log (0.13s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_fails_with_bad_operation(user=anonymous,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_inherits_ttl (1.63s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_create_sets_name (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_gateway_ip(managed) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname) (0.15s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_creates_space (0.07s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_raises_error(user=user,client=oauth) (1.10s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManager.test__default_specifier_matches_name (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+limit) (0.17s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_escapes_commentless_key_for_html (0.07s) SUCCESS: maasserver.api.tests.test_enlistment.NonAdminEnlistmentAPITest.test_POST_non_admin_creates_machine_in_declared_state(user=anonymous,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_read(user=user,client=user+pass,region-rack) (0.95s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,tmpfs) (0.44s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+zone) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__logs_if_suggests_previously_observed_neighbour(managed) (0.34s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+zone) (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_all_addresses_if_admin_and_all_specified(user=user,client=oauth) (0.19s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__uses_smallest_free_range_when_not_considering_neighbours(managed) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+mac_address) (0.15s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_accept_all_does_not_accept_anything(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_ipaddresses(user=admin,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold warns for /26) (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_non_ula_addresses (0.74s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+limit+zone) (0.13s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyManagerTest.test_get_keys_for_user_with_keys (0.49s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_ipaddresses(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold doesn't warn for /27) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+mac_address+zone) (0.11s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRoute.test_gateway_ip_must_be_in_source (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(user=user,client=user+pass,tmpfs) (0.54s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_requries_admin(user=user,client=oauth) (0.79s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(threshold=1 warns for /29) (0.10s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRoute.test_unique_together (0.10s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_user_and_key_unique_together (0.22s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,limit+mac_address+zone) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_create_from_cidr_creates_subnet (0.07s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(threshold=0 never warns) (0.10s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_rsa_public_key (0.09s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_returns_limited_fields(user=user,client=user+pass) (0.45s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_deletes_iprange(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyValidatorTest.test_validates_x509_public_key (0.05s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_subnets_with_ip_returns_empty_list_if_not_found (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+mac_address) (0.12s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update_404_when_invalid_id(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,tmpfs) (0.34s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold warns for /122 IPv6) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+limit+mac_address) (0.15s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold doesn't warn for /123 IPv6) (0.10s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_read(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetLeastRecentlySeenUnknownNeighbour.test__returns_least_recently_seen_neighbour_excludes_in_use (0.26s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level) (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold warns for /48 IPv6) (0.12s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_deletes_license_key(user=user,client=oauth) (0.09s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_creates_link_updates_parent_vlan(region+rack) (8.28s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__user_view_returns_subnet (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_after_event_id_with_limit(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level+limit) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__raises_if_no_free_addresses(unmanaged) (0.16s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_is_idempotent(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+mac_address) (0.10s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_matches_untagged_vlan_if_requested (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestRenderJSON.test__data_is_accurate_and_complete (0.56s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold warns for /16 IPv6) (0.13s) SUCCESS: maasserver.models.tests.test_tag.TestTagIsDefined.test_is_defined(null) (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_from_block_device(user=user,client=oauth) (0.78s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_invalid_optional_param(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_DELETE_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+limit+zone) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold warns for /48 IPv6) (0.14s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_get_auth_tokens_ignores_other_users (0.14s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+limit+mac_address) (0.11s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(threshold=1 warns for /29) (0.09s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_delete (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+zone) (0.12s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_updates_license_key(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(threshold=0 never warns) (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(user=user,client=oauth,tmpfs) (0.39s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level+limit) (0.13s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_POST_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold warns for /122 IPv6) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_without_limit_limits_to_default_newest(user=user,client=user+pass) (0.80s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestRenderJSON.test__includes_node_summary_if_requested (0.66s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold doesn't warn for /123 IPv6) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+limit+zone) (0.23s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_get_interface_link_type_returns_STATIC_for_STICKY_with_ip (0.06s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_get_name_returns_just_name (0.44s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_get_interface_link_type_returns_STATIC_for_USER_RESERVED (0.04s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_ports_archive_overrides_to_package_repository(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(threshold=1 warns for /125 IPv6) (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_returns_404_when_system_id_doesnt_match(user=user,client=oauth) (0.81s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_filter_by_ip_family_ipv6 (0.10s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_updates_existing_bridge(region) (1.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+mac_address+zone) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_without_agent_name_does_not_filter(user=user,client=oauth) (0.39s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_matches_space_name_if_requested (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+limit+mac_address) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+limit+mac_address+zone) (0.08s) SUCCESS: maasserver.api.tests.test_machine.MachinesAPILoggedInTest.test_machines_GET_logged_in(user=admin,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_works_with_chained_filter (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(user=user,client=oauth,tmpfs) (3.04s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDeviceManager.test_create_or_update_for_bcache_creates_block_device (0.54s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_considers_given_domain (0.44s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_get_name_for_default_vlan_is_untagged (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+limit+zone) (0.17s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.tests_creates_notification_when_no_dhcp (0.05s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetBootFilenames.test_returns_all_none_when_not_found (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetBootFilenames.test_returns_all_none_when_not_found_and_generic (0.04s) SUCCESS: maasserver.api.tests.test_machine.MachinesAPILoggedInTest.test_machines_GET_logged_in(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,ramfs) (0.37s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_update_admin_only(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_machines.MachineHostnameTest.test_GET_returns_fqdn_with_domain_name_from_node(user=admin,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create_admin_only(user=user,client=user+pass) (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_links_if_set(user=user,client=oauth) (0.49s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_updates_existing_bridge(region+rack) (1.04s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_create_requires_fields(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_get_by_key_works_anonymously(user=anonymous,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_machine(user=user,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__matches_interfaces (1.09s) SUCCESS: maasserver.api.tests.test_machines.MachineHostnameTest.test_GET_returns_fqdn_with_domain_name_from_node(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_can_overwrite_existing_file_of_same_name(user=user,client=oauth) (0.16s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__calls_event_log_pxe_request (0.88s) SKIP: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_machines_issues_constant_number_of_queries(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_no_file_attached(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_with_slashes_in_name_succeeds(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_passes_erase_options(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_subnet.TestUnmanagedSubnets.test__allocation_uses_multiple_reserved_ranges (0.32s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_with_existing_parents(region) (0.60s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_api_supports_slashes_in_filenames_roundtrip_test(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_create_auth_token (0.10s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_returns_pod_for_machine_in_pod(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_delete_filters_by_owner(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_delete_consumers_tokens (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_query_num_queries_is_independent_of_num_nodes_and_events(user=user,client=user+pass) (1.90s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_checks_owner(user=user,client=oauth) (0.17s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_bond_with_no_boot_interface (1.77s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_get_authorisation_tokens (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_parameters_field(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(user=user,client=user+pass,ramfs) (2.64s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_creates_versionedtextfile (0.04s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_file_object_with_resource_uri(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_with_existing_parents(region+rack) (0.64s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_id_without_garbage_collection (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_agent_name_filters_with_empty_string(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_returns_ordered_list(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__space_specifier_matches_space_by_id (0.10s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__doesnt_update_boot_cluster_ip_when_same (1.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_provides_prev_and_next_uris(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_requires_admin(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_passes_comment(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,tmpfs) (0.42s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=user+pass,region) (0.24s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__mount_point_must_be_absolute(user=user,client=oauth) (0.25s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Database.test__getConfiguration_returns_configuration_object (0.49s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_agent_name_filters_by_agent_name(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIs.test_GET_query_with_after_provides_prev_and_next_uris(user=user,client=oauth) (0.52s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_boot_interface_to_alias (0.91s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_empty_string_for_no_extra_kernel_opts (0.57s) SUCCESS: maasserver.rpc.tests.test_configuration.TestGetProxies.test_returns_populated_dict_when_http_proxy_is_set (0.08s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_vlan_with_wrong_subnet(rack) (0.86s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname) (0.16s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=oauth,region) (0.55s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetControllerType_Scenarios.test__returns_node_type(region) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,limit) (0.12s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetControllerType_Scenarios.test__returns_node_type(region+rack) (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_user_reserved_addresses_included_in_correct_domains (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+zone) (0.12s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_zone_filters_by_zone(user=user,client=oauth) (0.45s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRoute.test_source_must_be_same_version_of_destination (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+level) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_dhcp_link(region) (0.37s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__user_edit_raises_PermissionError (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id) (0.11s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_accepts_ipaddresses (0.04s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_accepts_ipnetwork (0.04s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_accepts_ipnetwork_with_subnet_override (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+limit) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_creates_cidr_from_ipv6_prefixlen (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=oauth,region-rack) (0.56s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_raises_for_invalid_ipv6_prefixlen (0.07s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_dhcp_link(region+rack) (0.37s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+level+mac_address) (0.17s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_smallest_enclosing_sane_subnet_returns_none_when_none (0.07s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_subnets_with_ip_finds_most_specific_subnet (0.10s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_interfaces(user=user,client=oauth) (1.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+mac_address) (0.18s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__commissioning_node_uses_min_hwe_kernel_converted (1.24s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_with_gateway(region) (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+limit+mac_address) (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_observed_neighbours(managed) (0.27s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_fails_with_unknown_tags(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=oauth,rack) (0.54s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+zone) (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_without_zone_does_not_filter(user=user,client=oauth) (0.98s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetRelatedRanges.test__get_dynamic_range_for_ip (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+zone) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_409_when_not_ready_broken_or_deployed(user=user,client=user+pass) (4.60s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_with_gateway(region+rack) (0.31s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetRelatedRanges.test__get_dynamic_ranges_returns_dynamic_range_filter (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+limit) (0.15s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold warns for /26) (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+limit+zone) (0.13s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_new_subnet_link(rack) (0.27s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_float_cpu(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_a_composed_machine_no_constraints(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+mac_address+zone) (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold doesn't warn for /27) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+mac_address+zone) (0.07s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=oauth,region-rack) (0.62s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold warns for /16 IPv6) (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level+limit+mac_address) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__order_of_calls_to_update_interface_is_always_the_same(region) (0.23s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+limit+mac_address+zone) (0.10s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__commissioning_node_uses_min_hwe_kernel_reports_missing (0.94s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(threshold=0 never warns for IPv6) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_name(user=user,client=oauth) (0.41s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_filter_matches_specific_ipv6 (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+mac_address) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__order_of_calls_to_update_interface_is_always_the_same(region+rack) (0.28s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(user=user,client=user+pass,tmpfs) (2.52s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_available_machine(user=user,client=oauth) (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+limit+zone) (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestUnmanagedSubnets.test__allocation_uses_reserved_range (0.20s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_factory_make_Tag (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+limit+mac_address) (0.15s) SUCCESS: maasserver.models.tests.test_template.TemplateTest.test_creates_or_update_default_creates_new (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_acquired_bridge(user=user,client=oauth) (0.69s) SUCCESS: maasserver.models.tests.test_template.TemplateTest.test_creates_or_update_default_updates_existing (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__machine_representation_includes_non_storage_filesystem(user=user,client=user+pass,tmpfs) (0.37s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_physical_interface(user=user,client=user+pass) (1.25s) SUCCESS: maasserver.models.tests.test_template.TemplateTest.test_delete_related_versionedtextfile_deletes_template (0.10s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__limited_to_10_nodes_at_a_time_by_default (2.44s) SUCCESS: maasserver.models.tests.test_timestampedmodel.UtilitiesTest.test_now_returns_datetime (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+limit+zone) (0.17s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_storage(user=user,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_sets_agent_name(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_requires_name_and_parents(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__raises_NoSuchCluster_if_rack_doesnt_exist (0.07s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration_checks_machine_status(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+limit) (0.16s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_call_gc_hook (0.19s) SUCCESS: maasserver.rpc.tests.test_nodes.TestMarkNodeFailed.test__marks_node_as_failed (0.23s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_commissioning_for_ready_node (1.03s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration_requires_admin(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_requires_admin(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_creates_machine(user=user,client=oauth) (0.44s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_parent(rack) (1.04s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=oauth,with_force) (0.69s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_cannot_save_if_node_is_not_same_node_from_filesystem_group (0.51s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_logs_converting_existing_node (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+mac_address+zone) (0.63s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__sets_discovery_parameters(rack) (0.36s) SUCCESS: maasserver.models.tests.test_notification.TestNotification.test_render_allows_markup_in_message_but_escapes_context (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_success_for_admins) (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_success_for_user) (0.13s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_logs_creating_new_rackcontroller (0.36s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name) (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=oauth,without_force) (0.65s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_warning_for_user) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+zone) (0.12s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDeviceManager.test_create_or_update_for_bcache_updates_block_device (0.59s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_handles_error_when_unable_to_access_bmc(user=user,client=oauth) (0.83s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+limit) (0.12s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_manager_get_default_vlan_returns_dflt_vlan_of_dflt_fabric (0.11s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_info_for_user) (0.16s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_success_for_users) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_user(warning) (0.05s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_sets_owner_to_worker_when_none (0.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,mac_address+zone) (0.18s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_raises_integrity_error_if_reconnecting_fails (0.18s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_set_zone_does_not_affect_other_machines(user=user,client=oauth) (0.29s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_user(info) (0.11s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_subnets_are_reconnected_when_vlan_is_deleted (0.15s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_commissioning_os_series_for_other_oses (1.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+mac_address) (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_set_zone_sets_zone_on_machines(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=user+pass,with_force) (0.61s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__class_specifier_matches_attached_subnet (0.13s) SUCCESS: maasserver.models.tests.test_ownerdata.TestOwnerData.test_set_owner_data_updates_data (0.25s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+level) (0.18s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_calls_mark_dead_on_regions_without_processes (0.36s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__vid_specifier_matches_vid (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+zone) (0.14s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(0) (0.09s) SUCCESS: maasserver.models.tests.test_vlan.VLANMTUValidationTest.test_validates_mtu(65535) (0.07s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_delete_removes_partition_table_if_last_partition (0.26s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_includes_MACs_for_nodes_visible_to_user(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+level+mac_address) (0.13s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_creates_process_when_removed (0.29s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetBootFilenames.test_get_filenames (0.14s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestCopySSHKeys.test_noop_when_there_are_no_keys (0.11s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_is_prohibited(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+limit+zone) (0.15s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_device_name_and_number (0.29s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_fails_if_filtering_by_nonexistent_node(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+level) (0.14s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_commissioning_os_when_erasing_disks (0.86s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_add_second_partition_no_size (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+zone) (0.17s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_returns_networks(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=oauth,normal) (0.91s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestGetBootstrapNodeOwner.test_returns_None_if_node_does_not_exist (0.44s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLockVariations.test_plain_variation (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+limit) (0.19s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_node_returns_block_device_node (0.23s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLockVariations.test_plain_variation (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_409_when_not_ready_or_broken(user=user,client=user+pass) (2.57s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_force_mbr_on_boot_disk_pxe_force_gpt_on_boot_disk_uefi (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+limit) (0.15s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_only_those_details_that_exist(user=user,client=oauth) (0.27s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_gpt_for_none_boot_disk (0.11s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__uses_fixed_hostname_for_enlisting_node (0.50s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+level+mac_address) (0.09s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_requires_admin(user=user,client=oauth) (0.23s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_raises_LeaseUpdateError_for_no_subnet (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+mac_address+zone) (0.09s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__get_current_entry__returns_entry (0.13s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_refuses_to_delete_invisible_node(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetControllerType_Scenarios.test__returns_node_type(machine) (0.16s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_removes_services (0.09s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_subnet(user=user,client=oauth) (3.32s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level+limit+mac_address) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(user=user,client=oauth,tmpfs) (3.05s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_refuses_to_delete_nonexistent_node(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_mark_dead_for_region_controller (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=user+pass,region) (0.31s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__user_view_returns_space (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+limit+mac_address) (0.18s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__has_preseed_url_for_known_node (1.25s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_rsa_private_key (0.05s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_validation_with_valid_key (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+zone) (0.18s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_UPDATE_disabled(user=user,client=oauth) (0.30s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_get_interface_link_type_returns_LINK_UP_for_STICKY_no_ip (0.04s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=oauth,without_force) (0.97s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_system_id(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+limit+zone) (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_allocates_IPv6_address (0.15s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_device(user=user,client=oauth) (0.16s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_launchpad_crashes_for_user_not_found (1.01s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_hostname_returns_matching_machines(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_fails_with_invalid_mem(user=user,client=oauth) (0.18s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Rolling lowlatency kernel) (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+limit+zone) (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_propagates_other_integrity_errors (0.11s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_all_usable_osystems_removes_bootloaders (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_osystem_choices_includes_default (0.04s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_alloc_type_is_None (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=oauth,region-rack) (0.59s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_success_for_detailed_but_unknown_node (0.53s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+mac_address+zone) (0.14s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_distro_series_initial (0.12s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kern_fails_with_old_kern_and_new_min_hwe_kern (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+limit+mac_address+zone) (0.15s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_accepts_ga_kernel (0.06s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_sets_user (0.27s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=oauth,region) (0.26s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_rack_controller(user=user,client=oauth) (0.44s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_fails_with_no_avalible_kernels (0.07s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_fails_with_old_kernel_and_newer_release (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__add_disconnects_signal_if_manager_is_disabled (0.06s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_nothing_if_machine_was_not_stopped(user=user,client=oauth) (0.18s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__returns_checked_nodes_in_last_checked_order (1.22s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_with_user_disallows_wrong_alloc_types (0.24s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_user_addresses_if_admin_and_user_specified(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_a_composed_machine_wildcard_arch(user=user,client=oauth) (0.61s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+limit+mac_address) (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_filter_by_subnet_cidr_family_ipv6 (0.10s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_filesystem_if_node_not_in_acquired_state(Partition) (0.17s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_new_when_no_RPC_to_rack_defaults_empty_power(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=user+pass,with_force) (1.01s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_users_ip_address_for_admin_with_all_with_ip(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_without_agent_name_does_not_filter(user=user,client=oauth) (0.83s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+mac_address+zone) (0.18s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__bcache (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_own_ip_address_with_ip(user=admin,client=user+pass) (0.17s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__fs_formatted (0.16s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_ubuntu_os_series_for_ubuntu_xinstall (0.92s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_checks_permission(user=user,client=oauth) (0.57s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteReverse.test_absolute_reverse_uses_maas_url_by_default (0.08s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_picks_oldest_nic_with_sticky_ip (0.44s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteUrlReverse.test_absolute_url_reverse_copes_with_trailing_slash (0.06s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_delete_403_when_not_user(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.utils.tests.test_views.TestDeleteOAuthNonce.test__deletes_nonce (0.05s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_delete_deletes_fabric(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_accepts_hostname_for_rack_controller(user=user,client=oauth) (0.47s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_existing_credentials (0.10s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_relative_to_directory (0.04s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_dynamic_requires_admin(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_update_admin_only(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_errors_when_no_racks_avalible(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_returns_connected_macs(user=user,client=user+pass) (0.64s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_requires_hostname(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_create_admin_only(user=user,client=oauth) (0.14s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__uses_local_domain_for_enlisting_node (0.49s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_requires_type_and_reports_simple_error_if_missing(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptDeleteTest.test_can_delete_commissioning_script (0.18s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_requires_admin(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_returns_machine(user=user,client=oauth) (0.53s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyDeleteTest.test_can_delete_license_key (0.13s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_returns_empty_if_no_networks(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_read(user=user,client=oauth) (0.14s) SUCCESS: maasserver.views.tests.test_zones.ZoneDeleteAdminTest.test_redirects_to_listing (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=user+pass,without_force) (1.04s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_fails_for_unsupported_operation(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_POST_creates_license_key(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_seamicro_allows_acceptable_power_controls(user=user,client=oauth) (0.46s) SUCCESS: maasserver.views.tests.test_zones.ZoneDeleteNonAdminTest.test_cannot_delete (0.15s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_default_distro_series(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_get_file(user=anonymous,client=oauth) (0.08s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__returns_only_accessible_nodes (1.57s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_can_overwrite_existing_file_of_same_name(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_forbidden_config_items(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_correct_bond_ip (1.09s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_no_file_attached(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewNonAdmin.test_zone_detail_does_not_contain_delete_link (0.27s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_passes_comment(user=user,client=oauth) (0.46s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_ntp_server_alias_for_ntp_servers(user=user,client=oauth) (0.13s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__admin_view_returns_fabric (0.15s) SUCCESS: maasserver.rpc.tests.test_nodes.TestRequestNodeInfoByMACAddress.test_request_node_info_by_mac_address_returns_node_for_mac (0.24s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_with_slashes_in_name_succeeds(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.views.tests.test_zones.ZoneEditNonAdminTest.test_cannot_access_zone_edit (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=user+pass,without_force) (0.59s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_creates_cidr_from_ipv4_strings (0.07s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_returns_sorted_MACs(user=user,client=oauth) (1.01s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_main_archive_overrides_to_package_repository(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_username_disallowed_on_virsh_and_powerkvm(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_power_parameters_requires_admin(user=user,client=oauth) (0.18s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_discards_extra_ipv4_network_bits (0.07s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_GET_returns_network(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_api_supports_slashes_in_filenames_roundtrip_test(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_allows_fe80_gateway (0.11s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_displays_zone_details (0.24s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_must_be_able_to_edit(user=user,client=oauth,device) (0.18s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_subnets_with_ip_finds_matching_ipv6_subnet (0.12s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateInterfaces.test__calls_update_interfaces_on_rack_controller (0.36s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_checks_owner(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTestAdmin.test_zone_list_contains_add_link (0.25s) SUCCESS: maasserver.models.tests.test_subnet.TestGetBestSubnetForIP.test__returns_most_specific_ipv4_subnet (0.14s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__excludes_blank_addresses (0.14s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_sets_regiond_running_with_4_processes (0.30s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_removes_data(user=user,client=user+pass,machine) (0.52s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTestAdmin.test_zone_list_contains_edit_links (0.31s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_effective_gateway_if_no_explicit_gateway_set(user=user,client=user+pass) (0.73s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=oauth,rack) (0.42s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_with_owned_nodes (0.28s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_allows_claiming_of_new_static_ips_for_existing_MAC(user=user,client=oauth,with_ip_address_param) (0.91s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceDeleteImage.test_deletes_generated_image (0.21s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_real_users_no_users (0.08s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_agent_name_filters_by_agent_name(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_rack_import_running_True (0.13s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_combines_node_filters_as_intersection_of_networks(user=user,client=user+pass) (0.98s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_status_message_with_most_recent_event(user=user,client=oauth) (0.38s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__includes_node_summary (0.59s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=user+pass,region) (0.52s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__returns_expected_json (0.17s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_all_nodes_to_new_legacy_user_when_multiple_users (0.41s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrateToUser.test_migrate (0.05s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_id_returns_matching_nodes(user=user,client=oauth) (0.41s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetLeastRecentlySeenUnknownNeighbour.test__returns_none_if_no_neighbours (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_zone(user=user,client=oauth) (0.40s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(threshold=0 never warns for IPv6) (0.09s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_interfaces_with_verbose(user=user,client=oauth) (1.58s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_invalid_macs_returns_sensible_error(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_dnsresource(user=user,client=user+pass,with_ip_address_param) (0.79s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold warns for /26) (0.14s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test_event_log_pxe_request_for_known_boot_purpose (2.63s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_filters_by_node(user=user,client=user+pass) (0.62s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_calculates_num_of_nodes_deployed (0.71s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_failure_shows_no_constraints_if_none_given(user=user,client=oauth) (0.19s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_protocol_keys_attempts_retrival (0.41s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold doesn't warn for /27) (0.15s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_proxies_returns_None_for_no_proxies (0.04s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_returns_empty_if_no_subnets(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_unlink_subnet_is_forbidden(user=user,client=user+pass,region-rack) (0.61s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDistroInfo.test_finds_by_series (0.07s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold warns for /48 IPv6) (0.12s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_allocate_handles_missing_comment(user=user,client=oauth) (0.46s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Old style kernel) (0.06s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_zone_filters_by_zone(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_calculates_progress (0.25s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(GA low latency kernel) (0.07s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__user_admin_raises_PermissionError (0.14s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_all_releases_looks_up_title_in_boot_resource_table (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_commissioning_choices_returns_empty_list_if_not_ubuntu (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices_doesnt_include_default (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_empty_filter_matches_all (0.16s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kern_fails_with_old_release_and_newer_hwe_kern (0.04s) SUCCESS: maasserver.api.tests.test_node.NodesAPILoggedInTest.test_nodes_GET_logged_in(user=admin,client=user+pass) (0.43s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateMinHweKernel.test_raises_exception_when_lowlatency (0.04s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_a_composed_machine_with_storage(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ip_address(user=user,client=user+pass,with_ip_param) (0.71s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__add_connects_signal_if_manager_is_enabled (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=oauth,rack) (0.49s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_handles_missing_comment(user=user,client=oauth) (0.44s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_creates_lease_for_physical_interface_keeps_other_ip_family (0.73s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_matches_vid_if_requested (0.17s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_without_zone_does_not_filter(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_shows_complete_status (0.45s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_raises_LeaseUpdateError_for_unknown_action (0.06s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_ignores_devices(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_forbidden_without_edit_permission(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__fs_formatted_and_mounted (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_non_admin_cannot_change_power_type(user=user,client=oauth) (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_ubuntu_release_options (0.14s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration_Scenarios.test__calls_through_to_ntp_module_returns_servers_and_peers(rack) (0.18s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_redirects_GET (0.15s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_region_controller(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=user,client=oauth) (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_ubuntu_selected_and_deleted_release_options (0.13s) SUCCESS: maasserver.views.tests.test_combo.TestComboLoaderView.test_yui_combo_other_file_extension_returns_bad_request (0.06s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_abs_location_returns_rel_loc_if_in_dev_environment (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_get (0.12s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_delete_deletes_object (0.06s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=user,client=oauth) (0.17s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_delete_is_not_gentle_with_permission_violations (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_update_as_non_admin_asserts (0.08s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_errors_on_bad_form_data(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=user,client=oauth) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_update_requires_name (0.08s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_converts_existing_node (0.40s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_ignores_unconnected_macs(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=user+pass,rack) (0.70s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_deploy_POST (0.17s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_connect_macs_returns_410(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_detects_in_use_address(user=user,client=user+pass,with_ip_param) (0.81s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyAddTest.test_can_create_license_key (0.10s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_errors_on_no_scripts_found(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_cpu_memory(user=user,client=oauth) (0.63s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyEditTest.test_can_update_license_key (0.09s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_POST_disconnect_macs_returns_410(user=user,client=oauth) (0.19s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_finds_existing_node_by_hostname (0.32s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_handler_path(user=user,client=oauth) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_prefers_title_from_boot_resource_extra (0.22s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__not_operators (1.13s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_handles_missing_comment(user=user,client=oauth) (0.34s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_on_listen_returns_None_if_excluded (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_last_image_sync (0.58s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_has_disable_ipv4(user=user,client=user+pass) (0.61s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_sorts_by_name(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_parameters_rejects_unknown_param(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_only_works_for_vlan_field(user=user,client=user+pass,region-rack) (0.68s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesLater.test__does_not_clear_node_set_before_populating (0.28s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesLater.test__does_nothing_if_tag_is_not_defined (0.05s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_rejects_ip_in_dynamic_range(user=user,client=oauth,with_ip_address_param) (0.73s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_ids_orders_by_id(user=user,client=oauth) (0.39s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesNow.test__populates_if_tag_is_defined (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_dehydrate_show_os_info_returns_true (0.37s) SUCCESS: maasserver.models.tests.test_timestampedmodel.UtilitiesTest.test_now_returns_same_datetime_inside_transaction (0.06s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_query_power_state(user=user,client=oauth) (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_list_ignores_devices_and_nodes (0.46s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_delete (0.11s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_nonexistent_id_returns_empty_list(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_sets_url (0.78s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_delete_deletes_related_filestorage_objects (0.15s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_lists_nodes(user=user,client=oauth) (0.57s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_update_with_no_changes_returns_current_vision (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_get_with_node (0.17s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_get_power_parameters_empty(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_type_empty_skip_check_to_force_params(user=user,client=oauth) (0.62s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandlerDelete.test__delete_as_admin_success (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_clear_raises_error_if_node_id_doesnt_exist (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_acquired_bridge(user=user,client=user+pass) (0.73s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_adds_data(user=user,client=user+pass,device) (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_calls_listen_for_create (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_rejects_invalid_ip(user=user,client=user+pass,with_ip_param) (0.61s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestCopySSHKeys.test_copy_does_not_clobber (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_region_controller_actions_for_non_admin (0.10s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDeviceManager.test_create_or_update_for_lvm_does_nothing (0.41s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_unowned_files (0.13s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_lists_list_devices(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_changes_status(user=user,client=user+pass) (0.58s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_hostname_returns_matching_nodes(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=admin,client=oauth) (0.24s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDeviceManager.test_create_or_update_for_raid_creates_block_device (0.34s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestGiveNodeToUser.test_give (0.31s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_get_name_for_set_name (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_fabric.TestFabricHandler.test_get (0.60s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_is_fabric_default_detects_default_vlan (0.10s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=anonymous,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_lists_nodes_admin(user=user,client=user+pass) (0.99s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_all_files_to_new_legacy_user_when_multiple_users (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_pockets_to_disable (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_bad_fqdn_fails(user=user,client=oauth,with_ip_param) (0.75s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_vlan_interfaces_are_deleted_when_related_vlan_is_deleted (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_release_options (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_updates_error_description(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(250) (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bcache_for_partition_with_filesystem (0.93s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(4096) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_iprange.TestIPRangeHandler.test_get (0.21s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_list_with_nonexistent_id_returns_empty_list(user=user,client=oauth) (0.27s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_all_nodes_to_bootstrap_owner_when_multiple_users (0.45s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(10000) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_physical_creates_link_up (0.25s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_delete_severs_link_to_nodes (0.16s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_changes_status(user=user,client=oauth) (0.44s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_macs_returns_matching_nodes(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_orders_by_id(user=user,client=user+pass) (0.99s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetBootFilenames.test_get_filenames_finds_subarch_when_generic (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_requires_admin(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_and_ip_creates_ip_with_hostname(user=user,client=user+pass,with_ip_address_param) (0.83s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_hostname_returns_matching_nodes(user=user,client=user+pass) (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_block_device_with_VirtualBlockDevice (0.44s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_requires_admin(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bcache_for_block_device (0.76s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=oauth,DELETE) (0.17s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__has_enlistment_preseed_url_for_default (0.54s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_ancillary_data_to_legacy_user_when_multiple_users (0.86s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_ready_node (0.34s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_runs_when_no_files_exist (0.05s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=oauth,DELETE) (0.09s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestGetBootstrapNodeOwner.test_returns_None_if_invalid_yaml (0.09s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=oauth,PUT) (0.08s) SUCCESS: maasserver.triggers.tests.test_init.TestTriggers.test_register_trigger_creates_missing_trigger (0.08s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=user+pass,DELETE) (0.09s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_agent_name_does_not_filter(user=user,client=user+pass) (0.90s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_ids_orders_by_id(user=user,client=oauth) (0.87s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLockVariations.test_try_shared_variation (0.06s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_admins(user=admin,client=user+pass) (0.09s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_creates_ip_with_hostname(user=user,client=oauth,with_ip_address_param) (0.74s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLockVariations.test_try_shared_variation (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_logical_volume_with_filesystem (0.50s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_protocol_keys_returns_github_keys (0.05s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_UPDATE_disabled(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_handler_path(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Rolling edge kernel) (0.04s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_other(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_rescue_mode_node (0.47s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleaseANewerThanB.test_a_less_than_b_false (0.05s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_release_requires_key_returns_empty_when_not_required (0.06s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=user+pass,GET) (0.14s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__uses_present_boot_image (0.58s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set_returns_combined_for_testing (0.22s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_self(user=admin,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=user+pass,GET) (0.08s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kern_always_sets_kern_with_commissionable_os (0.10s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateMinHweKernel.test_returns_empty_string_when_none (0.05s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=user+pass,POST) (0.16s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_admins(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_delete_is_for_admins_only(user=user,client=oauth) (0.11s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__add_adds_the_signal (0.06s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=user+pass,POST) (0.11s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_update_is_for_admins_only(user=admin,client=oauth) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_filesystem_deletes_partition_filesystem (0.40s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_other(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=oauth,GET) (0.15s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_non_mountable_filesystem(BlockDevice) (0.22s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_update_is_for_admins_only(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_self(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_delete_is_for_admins_only(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_machine.TestExitRescueMode.test_exit_rescue_mode_requires_admin(user=user,client=user+pass) (0.70s) SUCCESS: maasserver.utils.tests.test_threads.TestCallOutToDatabase.test__calls_out_to_database_threadpool (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_object_returns_node_if_owner_empty (0.20s) SUCCESS: maasserver.api.tests.test_notification.TestURIs.test_notifications_handler_path (0.10s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_all_fields(user=admin,client=oauth) (0.15s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteReverse.test_absolute_reverse_uses_given_base_url (0.06s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_users(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_all_fields(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_read(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_users(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_first_of_existing_credentials (0.22s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test_preseed_url_for_known_node_uses_rack_url (0.85s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_by_id(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_minimal_fields(user=admin,client=oauth) (0.16s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_new_credentials (0.12s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_read(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_custom_repository_fails_if_disabled_components(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_notification.TestURIs.test_notification_handler_path (0.07s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_minimal_fields(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_409_when_not_ready_or_broken(user=user,client=oauth) (3.64s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_creates_ignores_none_hostname (0.21s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_redirects_when_authenticated (0.16s) SUCCESS: maasserver.views.tests.test_combo.TestComboLoaderView.test_yui_load_js (0.08s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_deletes_package_repository(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_does_nothing_if_expiry_for_unknown_mac (0.16s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_partition(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration.test__raises_NoSuchNode_if_node_doesnt_exist (0.05s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_admin_only(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_requires_admin(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fail_with_invalid_disabled_components(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.views.tests.test_combo.TestMergeLoaderView.test_loads_all_views_correctly (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_list_returns_nodes_only_viewable_by_user (0.91s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_combo_view_loads_from_disk (0.06s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_custom_repository(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_compose_feedback_nonexistent_names_class (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(user=user,client=oauth,ramfs) (2.61s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fail_with_invalid_disabled_pockets(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_with_invalid_parameters(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.views.tests.test_general.Test404500.test_500 (0.22s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_missing_partition(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fails_if_components_are_passed(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_on_device(user=user,client=oauth) (0.37s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__excludes_no_power_type (0.63s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_set_boot_disk_raises_error_for_none_physical (0.48s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_400_on_missing_mount_point(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_returns_403_if_not_admin(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,tmpfs) (0.37s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_requires_admin(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_partition_as_admin(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_returns_409_for_not_ready_node(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__machine_representation_includes_non_storage_filesystem(user=user,client=oauth,ramfs) (0.25s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical_requires_mac(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPITransactional.test_POST_start_returns_error_when_static_ips_exhausted(user=user,client=oauth) (1.80s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_list_partitions(user=user,client=oauth) (0.34s) SUCCESS: maasserver.views.tests.test_prefs.UserPrefsViewTest.test_prefs_GET_api (0.78s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreStorageConfiguration.test_restore_storage_configuration(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.views.tests.test_settings.NonAdminSettingsTest.test_settings_import_boot_images_reserved_to_admin (0.14s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_sets_mount_path_on_filesystem_as_user(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_physical_is_forbidden(user=user,client=user+pass,region-rack) (0.52s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_creates_tag_for_node (0.93s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_invalid_optional_param(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__excludes_recently_checked_nodes (0.99s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_commissioning_POST (0.25s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_read_partition(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_storage_POST (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__403_when_not_admin(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=user+pass,region) (0.29s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_partition_as_admin(user=user,client=oauth) (0.34s) SUCCESS: maasserver.rpc.tests.test_nodes.TestMarkNodeFailed.test__raises_NodeStateViolation_if_wrong_transition (0.17s) SUCCESS: maasserver.rpc.tests.test_nodes.TestRequestNodeInfoByMACAddress.test_request_node_info_by_mac_address_raises_exception_no_mac (0.07s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_unmounts_filesystem_as_user(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_only_returns_request_users_addresses(user=user,client=oauth) (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_disk_for_block_device_with_filesystem (0.49s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyListingTest.test_settings_contains_osystem_and_distro_series (0.38s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_partition_as_user(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,tmpfs) (0.38s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_user_addresses_if_admin_and_user_specified(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.views.tests.test_zones.ZoneAddTestAdmin.test_get_success_url_returns_valid_url (0.08s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_refresh_discovers_syncs_and_returns_pod(user=user,client=user+pass) (1.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_user_addresses_if_admin_and_user_specified(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewNonAdmin.test_zone_detail_does_not_contain_edit_link (0.18s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_400_if_already_unmounted(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceDeleteImage.test_raises_ValidationError_when_id_missing (0.09s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestHandleUpgrade.test_migrates_nodegroup_subnet (0.68s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_makes_correct_calls_for_downloading_resources (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_interface_for_deployed_node (0.52s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(user=user,client=user+pass,tmpfs) (0.44s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_users_ip_address_for_admin_with_all_with_ip(user=admin,client=oauth) (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_raises_error_on_downloading_resources (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_ignores_failures_when_talking_to_clusters(get_common_available_boot_images) (1.68s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_rack_import_running_False (0.09s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_DELETE_calls_async_delete(user=user,client=user+pass) (0.76s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_400_if_not_formatted(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_other_users_ip_address_for_admin_with_all_with_ip(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_proper_return_on_exception(user=user,client=oauth) (0.52s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_PUT_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateForeignDHCP.test__doesnt_fail_if_interface_missing (0.39s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_dynamic_requires_admin(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,tmpfs) (0.42s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_shows_clusters_syncing (0.36s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_composes_with_defaults(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_GET_returns_404_for_unknown_os_and_series(user=user,client=oauth) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get (4.42s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_POST_import_boot_images_denied_if_not_admin(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_returns_empty_if_no_networks(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_form_class_for_update (0.12s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_not_allowed_on_none_composable_pod(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_deletes_old_endpoints (0.36s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_default_distro_series(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_raises_error_when_to_large_request(user=user,client=oauth) (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetBootImagesTxn.test_returns_boot_images (0.91s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_link_subnet_calls_link_subnet_if_not_link_id (0.32s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_get_config_forbidden_config_items(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_PUT_requires_admin(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_config_ntp_server_alias_for_ntp_servers(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_number_of_nodes_deployed_for_resource (0.70s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_removes_old_processes (0.52s) SUCCESS: maasserver.api.tests.test_maas.MAASHandlerAPITest.test_set_main_archive_overrides_to_package_repository(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_disk_for_physical_block_device (0.34s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_GET_list_boot_images_denied_if_not_admin(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_raise_permissions_error_for_non_admin (0.11s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_doesnt_list_devices(user=user,client=oauth) (1.06s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_creates_pod(user=user,client=user+pass) (1.27s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_updates_updated_time_on_region_and_process (0.35s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecial.test__fstype_and_mount_point_is_required_but_options_is_not (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_number_of_nodes_deployed_for_resource_with_defaults (0.56s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_ubuntu_select_and_deleted_architecture_options (0.12s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_spare_device_fails(user=user,client=user+pass) (0.86s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestCopySSHKeys.test_copy_is_idempotent (0.33s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__returns_null_gateway_if_no_explicit_gateway_exists(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_PUT_updates_rack_controller(user=user,client=user+pass) (0.70s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_no_owned_nodes (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(ramfs) (2.21s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_refuses_to_delete_invisible_machine(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_list_allocated_filters_by_id(user=user,client=oauth) (0.80s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_GET_describe_power_types_denied_if_not_admin(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_real_users (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(rack,in-full) (0.52s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_DELETE_refuses_to_delete_nonexistent_machine(user=user,client=oauth) (0.19s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_runs_when_no_unowned_files_exist (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_get_with_subnet (0.08s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestExtractBootstrapNodeSystemId.test_returns_None_if_parsing_fails (0.06s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.61s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_revert_requires_to (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_variation_when_already_exclusively_locked(DatabaseLock) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_new_partition_filesystem (0.42s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_variation_when_already_exclusively_locked(DatabaseXactLock) (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestIsImportBootImagesRunning.test_ignores_failures_when_talking_to_clusters (1.69s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_places_node_id_in_cache (0.17s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_launchpad_ssh_keys_returns_keys (0.06s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_proxies_returns_proxies (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_machine_actions_for_non_admin (0.09s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_POST_import_boot_images_denied_if_not_admin(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDB.test_returns_none_when_not_found (0.06s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_duplicate_provides_nice_error(user=user,client=oauth) (1.32s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_power_types (0.10s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Rolling kernel) (0.06s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_list_allocated_returns_only_allocated_with_user_token(user=user,client=oauth) (0.67s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_region_and_rack_controller_actions_for_non_admin (0.07s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_unmount_partition_filesystem (0.37s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_all_releases_requiring_keys_sorts (0.09s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices_includes_default (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_region_controller_actions_for_admin (0.08s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_rejects_other_node_types(user=user,client=oauth) (0.62s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=Other;to-users=False;to-admins=False) (0.09s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices_sorts (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_fails_with_missing_hwe_kernel (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_raise_permissions_error_for_non_admin (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=Other;to-users=True;to-admins=True) (0.08s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_set_kernel (0.05s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_invalid_macs_returns_sensible_error(user=user,client=oauth) (0.25s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__enable_enables_all_signals (0.04s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_dnsdata_overrides_domain (0.70s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_create_admin_only (0.25s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_None_when_no_filesystem(Partition) (0.20s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_read_returns_limited_fields(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_blockdevice_fails(user=user,client=oauth) (0.74s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_acquired_filesystem(BlockDevice) (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_vlan_creates_link_auto (0.53s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_spare_device(user=user,client=user+pass) (1.21s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(tmpfs) (2.15s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_none_when_allocated_state(Partition) (0.18s) SUCCESS: maasserver.utils.tests.test_views.TestDeleteOAuthNonce.test__skips_oauth_request_with_missing_param (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=Other;to-users=False;to-admins=True) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=Other;to-users=True;to-admins=False) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_ignores_empty_gateway (0.69s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_409_when_not_ready(user=user,client=oauth) (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_commissioning_node (0.58s) SUCCESS: maasserver.websockets.handlers.tests.test_service.TestServiceHandler.test_list (0.32s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_partition_fails(user=user,client=user+pass) (0.97s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_get (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_partitions_returns_list_of_partitions (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_ignores_undefined_subnet (0.61s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set_status_returns_neg_when_none (0.11s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_dnsresource_address_does_not_affect_addresses_when_node_set (1.46s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_create (0.28s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_with_form_creates_node (0.18s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0_with_a_spare_fails(user=user,client=oauth) (0.71s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_spare_partition(user=user,client=user+pass) (1.36s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_only_sets_non_excluded_fields (0.06s) SUCCESS: maasserver.views.tests.test_account.TestLogout.test_logout_link_present_on_homepage (1.09s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_delete_admin_only (0.16s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_calls_listen (0.08s) SUCCESS: maasserver.views.tests.test_combo.TestMergeLoaderView.test_load_unknown_returns_302_blocked_by_middleware (0.07s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_on_final_page (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerCreate.test__create_as_non_admin_asserts (0.10s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_on_first_page (0.05s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_spare_partition_fails(user=user,client=oauth) (0.75s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_update_returns_create_action_if_not_in_loaded (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerDelete.test__delete_as_admin_success (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_volume_group (0.59s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_5_with_2_elements_fails(user=user,client=oauth) (0.47s) SUCCESS: maasserver.views.tests.test_general.Test404500.test_404 (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerUpdate.test__update_as_non_admin_asserts (0.12s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_accepts_multiple_machines(user=user,client=oauth) (2.30s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_auth_user (0.09s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_set_zone_sets_zone_on_node (0.68s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_update_with_form_updates_node (0.36s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_block_device_fails(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_get_for_user_not_getting_self (0.11s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_fails_if_machine_does_not_exist(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_partition_fails(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_change_raid_uuid(user=user,client=oauth) (0.84s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_list_users (0.49s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=user+pass,testing) (0.19s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chasis_only_allows_protocol_with_vmware(user=user,client=oauth) (0.23s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_account_views_are_routable_for_full_range_of_usernames (0.13s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_add_user_POST (0.15s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__compose_with_commissioning_in_reactor (0.63s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=user+pass,id) (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandler.test_get (0.67s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_update_with_form_uses_form_from_get_form_class (0.74s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_without_form (0.06s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_blockdevice(user=user,client=oauth) (1.17s) SUCCESS: maasserver.testing.tests.test_module.TestNoReceivers.test_clears_and_restores_signal (0.05s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_accept_domain_by_name(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_deletes_raid(user=user,client=user+pass) (0.65s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_get_object_raises_HandlerDoesNotExistError (0.09s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_delete_user_POST (0.29s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_validates_chassis_type(user=user,client=oauth) (0.09s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_get_object_raises_HandlerValidationError (0.09s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=user+pass,commissioning) (0.38s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__get_requested_machine_uses_all_initial_values (0.52s) SUCCESS: maasserver.views.tests.test_zones.ZoneDeleteAdminTest.test_rejects_deletion_of_default_zone (0.32s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_409_when_not_ready(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_admin_can_edit(discovery) (0.46s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_all_fabric_names (1.52s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine(user=user,client=oauth) (0.45s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewAdmin.test_zone_detail_for_default_zone_does_not_contain_delete_link (0.20s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(dnsdata) (0.11s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=oauth,id) (0.47s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(fabric) (0.13s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTestNonAdmin.test_zone_list_does_not_contain_add_link (0.17s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_handler_path(user=user,client=user+pass) (0.41s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list_limit (0.69s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_connection_error_True (0.12s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_partition_fails(user=user,client=user+pass) (0.82s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_returns_None_if_unknown_action (0.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(interface) (0.23s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=user+pass,installation) (0.31s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(vlan) (0.09s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_tags(user=user,client=oauth) (0.48s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(vlan) (0.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_BlockDevice_when_no_node_owner (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_calculates_complete_False (0.31s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_prefers_squashfs_over_root_image (0.07s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=user+pass,id) (0.28s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_set_gets_resource_set (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_other_images_returns_image_checked_when_synced (0.19s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_unowned_node (0.20s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_write_content_doesnt_write_if_cancel (0.11s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_spare_partition_fails(user=user,client=oauth) (0.62s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=user+pass,id) (0.30s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_has_no_admin_permission_on_BlockDevice (0.22s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_download_valid_path_returns_200 (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_resources (0.32s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(dnsdata) (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_get_sets_loaded_pks_in_cache (0.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(fabric) (0.11s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_uses_latest_complete_label (0.22s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=user+pass,commissioning) (0.27s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_on_listen_returns_update_for_loaded_create (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_format_is_index_1 (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_all_subnets (1.45s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_maas_v2_download_contains_keys (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_form_class_for_create (0.08s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_creates_pod_with_name_in_twisted (1.72s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_form_class_raises_error_for_unknown_action (0.08s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_generates_key (0.16s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(interface) (0.31s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=user+pass,id) (0.33s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_prompts_for_email_if_not_given (0.12s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(space) (0.13s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_read(user=user,client=oauth) (1.51s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_validate_ssh_import_validates_protocol_and_user_id (0.07s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_installed_run_obeys_database_option_if_given (0.06s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(domain) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_includes_special_filesystems (0.35s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_dry_run_migrates_nothing_and_prints_config (0.08s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=oauth,commissioning) (0.26s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(domain) (0.08s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_exits_when_fails_to_make_backup (0.05s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_raises_unable_to_discover_because_no_racks (0.50s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_validates_ubuntu (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_last_image_sync_returns_none_for_none (0.65s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_validate_bootloader_checks_version (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_validate_bootloader_denies_unacceptable_bootloader (0.04s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_repeat_forced_migrations_write_file_anyway (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_create_is_admin_only (0.11s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_finalize_calls_methods_if_new_resources_need_to_be_saved (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_not_available_action_raises_error (0.21s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_finalize_calls_methods_if_resources_to_delete_has_changed (0.07s) SUCCESS: maasserver.tests.test_components.PersistentErrorsUtilitiesTest.test_register_persistent_error_reuses_component_errors (0.10s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=oauth,commissioning) (0.26s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_list (0.13s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_adds_kflavor_to_subarch (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_resource_file_log_identifier_returns_valid_ident (0.05s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_blockdevice(user=user,client=oauth) (1.36s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressService.test__is_a_TimerService (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestSetGlobalDefaultReleases.test__doesnt_change_anything (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_revert (0.29s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=user+pass,testing) (0.33s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_chooses_candidate_matching_constraint(user=user,client=oauth) (2.02s) SUCCESS: maasserver.tests.test_bootresources.TestSetGlobalDefaultReleases.test__sets_both_commissioning_deploy_release (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_set_boot_disk (0.47s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=oauth,id) (0.30s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_empty_products (0.08s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_empty_products (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_status_name(user=user,client=oauth) (6.61s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_propagates_NoSuchOperatingSystem (0.60s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_rejects_deletion_of_bad_key (0.12s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__LINK_UP_creates_link_STICKY_without_subnet (0.87s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=oauth,id) (0.33s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__contains_nothing_when_there_are_no_nodes (0.08s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_empty_DictCharWidget_renders_as_empty_string (0.05s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_skip_check_true_skips_validation (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_discovery.TestDiscoveryHandler.test_get (0.44s) SUCCESS: maasserver.tests.test_config_forms.TestUtilities.test_get_all_prefixed_values_returns_sub_dict (0.04s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=oauth,testing) (0.40s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_partition(user=user,client=user+pass) (1.28s) SUCCESS: maasserver.tests.test_dbviews.TestDatabaseViews.test_each_view_can_be_used (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandler.test_list (0.18s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=user+pass,installation) (0.32s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandlerDelete.test__delete_as_non_admin_asserts (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_clear_raises_error_if_missing_node_id (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_commission_commissions_machine(user=user,client=oauth) (0.57s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_interfaces_with_dynamic_ranges_first (0.46s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=oauth,id) (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_clear_removes_node_id_from_cache (0.19s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(auto_on_vlan_with_ip) (0.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=user+pass,testing) (0.52s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_auto_to_link_up (0.73s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(user_reserved) (0.15s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__does_not_contain_routes_between_nodes_on_differing_spaces (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_adds_tags_to_node (1.18s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=oauth,commissioning) (0.40s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_only_returns_events_for_node (0.49s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_machine_by_interfaces_dry_run_with_verbose(user=user,client=oauth) (1.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(tmpfs) (0.23s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_domain_name_from_passed_domain (0.51s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_spare_partition(user=user,client=oauth) (1.15s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_uses_max_days (0.30s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=oauth,testing) (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(tmpfs) (0.29s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET(user=user,client=oauth) (0.92s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_device_actions_for_admin (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_known_architectures (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecial.test__mount_point_is_required (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_rack_controller_actions_for_admin (0.09s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_link_up_to_auto (0.99s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_ipv6_dns_from_arguments (0.45s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_doesnt_reset_power_options_bug_1569102(user=user,client=oauth) (1.33s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(version.rst) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_random_hostname_checks_hostname_existence (0.18s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(models.rst) (0.07s) SUCCESS: maasserver.tests.test_dhcp.TestGetDHCPConfigureFor.test__returns_for_ipv6 (1.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=oauth,installation) (0.53s) SUCCESS: maasserver.tests.test_fields.TestEditableBinaryField.test_is_BinaryField (0.06s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_conform_accepts_ISQLQuote (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_iprange.TestIPRangeHandler.test_create (0.19s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_get_raw_returns_wrapped_address (0.09s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_address_does_not_equal_none (0.07s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_raw_property_is_the_address (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_filters(user=user,client=user+pass) (0.75s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAField.test_cannot_create_package_repository_bad_ppa (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=user+pass,installation) (0.32s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAField.test_create_package_repository_url (0.06s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_create_new_accepts_dict_with_comment (0.04s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_returns_sorted_MACs(user=user,client=user+pass) (1.26s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__connectionLost_logs_reason (0.04s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_interfaces_with_ips (0.55s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_hander_path(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=user+pass,installation) (0.24s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_connects_to_database (0.09s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_GET_returns_404_for_unknown_network(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_will_not_retry_if_autoReconnect_not_set (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bridge_creates_bridge (0.54s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregister_raises_error_if_channel_not_registered (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_admin_only(user=user,client=oauth,by_id) (0.15s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_returns_empty_if_no_subnets(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_middleware.APIErrorsMiddlewareTest.test_handles_error_on_API (0.05s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_does_nothing_for_unowned_machine(user=user,client=oauth) (0.91s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_503_response_includes_retry_after_header_by_default (0.04s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=oauth,id) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test__clear_networking_configuration_clears_gateways (1.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_prevents_deleting_default(user=user,client=user+pass,by_id) (0.21s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_rejects_request_from_unauthorized_user(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1(user=user,client=user+pass) (1.58s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bridge_raises_ValidationError (0.33s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_all_details(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_refuses_to_update_nonexistent_machine(user=user,client=oauth) (0.08s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__returns_dict_with_rack_addresses (0.51s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET(user=user,client=oauth,by_name) (0.17s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsStickyOrAuto.test__returns_correct_result(user_reserved) (0.06s) SUCCESS: maasserver.tests.test_middleware.ExternalComponentsMiddlewareTest.test__registers_error_if_all_rack_controllers_are_disconnected (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_raises_validation_error_for_missing_architecture (0.14s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=user+pass,testing) (0.33s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_admin_only(user=user,client=user+pass,by_name) (0.17s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_empty_details_when_there_are_none(user=user,client=oauth) (0.29s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Abort_handles_rpc_errors(ExternalProcessError) (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_raises_validation_error_for_missing_pxe_mac (0.23s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_10_with_2_elements_fails(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_rejects_invalid_data(user=user,client=oauth) (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_power_parameters_returns_params (0.09s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_gets_name_from_filename(user=user,client=user+pass,by_name) (0.20s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=oauth,commissioning) (0.33s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_deletes_node_fails_if_not_admin(user=user,client=oauth) (0.22s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_GET_returns_404_if_node_name_contains_invalid_characters(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_rev(user=user,client=user+pass,by_id) (0.23s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=user+pass,testing) (0.24s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_power_type_empty_rejects_params(user=user,client=oauth) (0.35s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_release_interface_config_calls_release_auto_ips_on_all (0.86s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set_status (0.30s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOn_handles_rpc_errors(ExternalProcessError) (0.44s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_hander_path(user=user,client=user+pass,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag_admin_only(user=user,client=oauth,by_id) (0.16s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Release_handles_rpc_errors(NoConnectionsAvailable) (0.28s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_machine(user=user,client=oauth) (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(ramfs) (2.50s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_partition (0.47s) SUCCESS: maasserver.tests.test_dhcp.TestMakeHostsForSubnet.tests__returns_defined_hosts (1.19s) SUCCESS: maasserver.api.tests.test_machine.TestMarkFixed.test_mark_fixed_changes_status(user=user,client=user+pass) (0.53s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_region_controller(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert(user=user,client=oauth,by_name) (0.42s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning_if_already_on(FAILED_COMMISSIONING) (0.39s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_errors_on_invalid_id(user=user,client=user+pass,by_id) (0.14s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__fstype_and_mount_point_is_required_but_options_is_not(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET(user=user,client=oauth) (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_change_partition_filesystem (0.53s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_doesnt_set_osystem_and_series_if_series_missing (0.35s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_set_initial_net_config_does_nothing_if_skip_networking (1.06s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__returns_dhcp_snippets (0.61s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_volume_group (0.71s) SUCCESS: maasserver.tests.test_node_action.TestMarkBrokenAction.test_requires_edit_permission (0.18s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine(user=user,client=oauth) (0.69s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_5(user=user,client=oauth) (1.72s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_inhibition_caches_inhibition (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_mount_blockdevice_filesystem (0.41s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_hander_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_link_subnet_calls_update_link_by_id_if_link_id (0.30s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_ntp_from_dict_argument (0.36s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_errors_on_bad_form_data(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(api_authentication.rst) (0.03s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_actionable_checks_node_status_in_actionable_status (0.18s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllersAPI.test_read_returns_limited_fields(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(man/maas.8.rst) (0.03s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/preseeds.rst) (0.03s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=oauth,installation) (0.05s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_deletes_space(user=user,client=oauth) (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_ready_machine(ramfs) (0.16s) SUCCESS: maasserver.tests.test_eventloop.TestDisablingDatabaseConnections.test_connections_are_all_stubs_in_the_event_loop (0.05s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_node_only_is_not_actionable_if_node_isnt_node_type (0.14s) SUCCESS: maasserver.tests.test_fields.TestEditableBinaryField.test_is_editable (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_eq_punches_through_double_double_wrappings (0.04s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_new_MAC_with_empty_unicode_string_is_None (0.04s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=oauth,commissioning) (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_sets_tags (0.42s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_rejects_long_mac (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_catches_bad_PPA_hostname (0.04s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read_undefined(user=user,client=oauth) (0.23s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_validates_PPA (0.04s) SUCCESS: maasserver.tests.test_fields.TestVerboseRegexValidator.test_VerboseRegexValidator_validates_value (0.03s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_filters_by_type(user=user,client=oauth) (2.03s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_handles_missing_comment(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=user+pass,id) (0.28s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_skips_updating_tags_if_tags_match (0.26s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create(user=user,client=oauth) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=Other;to-users=False;to-admins=False) (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE(user=user,client=user+pass,by_name) (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=Other;to-users=True;to-admins=True) (0.07s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_must_be_able_to_edit(user=user,client=oauth,machine) (0.20s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create_does_not_require_name(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_update (0.11s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET_include_script(user=user,client=user+pass,by_name) (0.20s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=user+pass,testing) (0.33s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandler.test_get_handles_null_dns_servers (0.11s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_returns_badrequest_when_key_not_in_form(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__scan_ipv6_fails (0.08s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__calls_handler_on_notification (0.60s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT(user=user,client=oauth,by_name) (0.21s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_ids_orders_by_id(user=user,client=user+pass) (0.36s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_fails_for_non_owner(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__multiple_starts_return_same_Deferred (0.09s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=oauth,commissioning) (0.28s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_isSystemChannel_returns_true_for_channel_starting_with_sys (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_admin_only(user=user,client=oauth,by_name) (0.12s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_registerChannel_calls_listen_per_action_for_channel (0.06s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_sorts_output(user=user,client=oauth) (0.14s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregister_removes_handler (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_disallows_comma(user=user,client=oauth,by_id) (0.14s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_handles_error_on_API (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__checks_all_interfaces_for_common_family (1.78s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_sslkey_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.tests.test_middleware.DebuggingLoggerMiddlewareTest.test_debugging_logger_logs_binary_response (0.05s) SUCCESS: maasserver.tests.test_middleware.DebuggingLoggerMiddlewareTest.test_debugging_logger_logs_response (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_errors_on_unknown_revision(user=user,client=oauth,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_without_agent_name_does_not_filter(user=user,client=oauth) (0.39s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_ignores_serialization_failures (0.05s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=oauth,commissioning) (0.33s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_with_duplicate_raises (0.54s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_returns_ValidationError_message_dict_as_json (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(user=user,client=user+pass,ramfs) (2.28s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet_by_cidr(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_handles_NoConnectionsAvailable (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag(user=user,client=user+pass,by_name) (0.16s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=user+pass,id) (0.25s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_admin_only(user=user,client=user+pass,by_name) (0.13s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_update(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Abort_handles_rpc_errors(NoConnectionsAvailable) (0.24s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_prevents_reverting_default(user=user,client=oauth,by_name) (0.16s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_lists_list_devices(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.tests.test_node_action.TestPowerOffAction.test__non_actionable_if_node_already_off (1.77s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__user_forbidden_to_mount_on_non_allocated_machine(tmpfs) (1.82s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__machine_representation_includes_non_storage_filesystem(user=user,client=user+pass,ramfs) (0.37s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=oauth,commissioning) (0.26s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to(user=user,client=oauth,by_id) (0.13s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOn_handles_rpc_errors(NoConnectionsAvailable) (0.28s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to_to_be_an_int(user=user,client=user+pass,by_name) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__user_mounts_non_storage_filesystem_on_allocated_machine(ramfs) (0.19s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=admin,client=user+pass) (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_with_two_parameters (0.67s) SUCCESS: maasserver.tests.test_node_action.TestPowerOnAction.test_PowerOn_starts_node (0.26s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_include_script(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_add_chassis_issues_rpc_call (0.93s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_execute_raises_HandlerNoSuchMethodError (0.08s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreDefaultConfiguration.test_restore_default_configuration(user=user,client=oauth) (0.39s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_True_if_node_registered(user=anonymous,client=user+pass) (0.20s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning(FAILED_COMMISSIONING) (0.33s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=user+pass,commissioning) (0.44s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_includes_vlan_objects(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_delete_partition_filesystem (0.36s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_list_with_nonexistent_id_returns_empty_list(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_summary_false(user=user,client=user+pass) (0.85s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_stops_and_releases_node(Failed deployment) (0.39s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update_admin_only(user=user,client=user+pass) (0.13s) SKIP: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_nodes_issues_constant_number_of_queries(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestRestoreNetworkingConfiguration.test_restore_networking_configuration(user=user,client=oauth) (0.33s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_allocates_node_if_node_not_already_allocated (0.26s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_update_undefined_space_not_allowed(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_skips_updating_tags_if_blockdevice_id_missing (0.24s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=oauth,id) (0.31s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list_start (0.52s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_create_admin_only(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__default_does_not_include_ranges(user=user,client=oauth) (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandler.test_dismiss (0.11s) SUCCESS: maasserver.tests.test_node_action.TestExitRescueModeAction.test_requires_admin_permission (0.16s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__403_when_not_admin(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_delete_fails_if_not_your_key(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv6_subnet(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_works(user=user,client=user+pass) (0.07s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=oauth,id) (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandler.test_list (0.17s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_checks_permission (0.23s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_only_shows_user_keys(user=user,client=oauth) (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=False;to-users=False;to-admins=False) (0.11s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_disables_and_disconn_when_secondary_connected_fails (0.94s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=False;to-users=True;to-admins=True) (0.09s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_works(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.tests.test_node_action.TestPowerOnAction.test_PowerOn_requires_edit_permission (0.15s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=oauth,installation) (0.28s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_defaults_to_allow_proxy(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_sslkeys_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=True;to-users=False;to-admins=True) (0.11s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=True;to-users=True;to-admins=False) (0.10s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=user+pass,testing) (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_create (0.07s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_prevents_deleting_default(user=user,client=oauth,by_name) (0.08s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_read(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_enters_disk_erasing(Failed disk erasing) (0.34s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET(user=user,client=oauth,by_id) (0.09s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_filters_by_fabric_class (1.04s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list_start_and_limit (0.87s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__does_nothing_when_locked (0.49s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_tags (0.07s) SUCCESS: maasserver.tests.test_node_action.TestRescueModeAction.test_requires_admin_permission (0.14s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_type_error_is_not_hidden(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_combines_constraint_values (0.07s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_deletes_fabric(user=user,client=oauth) (0.25s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_admin_only(user=user,client=user+pass,by_id) (0.21s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_shows_simple_constraint (0.06s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_update_without_form (0.22s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_removes_tag(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT_gets_name_from_filename(user=user,client=user+pass,by_id) (0.18s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_update_admin_only(user=user,client=oauth) (0.21s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag(user=user,client=user+pass,by_name) (0.12s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_StaticIPAddress_uses_vlan_for_new_subnet (0.27s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_create_admin_only(user=user,client=oauth) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_space.TestSpaceHandler.test_get (0.69s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_assigns_name (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_excludes_node_with_interface_on_any_not_subnet (0.55s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_returns_physical_zone (0.04s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_rev(user=user,client=oauth,by_name) (0.16s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_pick_choice_can_exclude_choices (0.04s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__logs_user_request (0.64s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet_by_name(user=user,client=oauth) (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_create (0.18s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_revision(user=user,client=user+pass,by_name) (0.10s) SUCCESS: maasserver.tests.test_auth.LoginLogoutTest.test_login_failed (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_hander_path(user=user,client=user+pass,by_id) (0.07s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_shows_all_types(user=user,client=oauth) (1.79s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandler.test_list (0.19s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_edit_his_own_nodes (0.17s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read(user=user,client=oauth) (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerCreate.test__create_as_admin_succeeds (0.14s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_physical_and_unused (0.47s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_asserts_parameter_type (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert(user=user,client=oauth,by_id) (0.34s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_devices_returns_devices(user=user,client=oauth) (0.92s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_nodes_by_storage_returns_None_when_storage_string_is_empty (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerCreate.test__create_as_admin_succeeds_even_with_a_specified_space (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fabric_classes_constraint (1.07s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_agent_name_filters_by_agent_name(user=user,client=oauth) (0.48s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_errors_on_invalid_id(user=user,client=oauth,by_name) (0.15s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__accounts_for_reserved_ip_address(user=user,client=oauth) (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerDelete.test__delete_as_non_admin_asserts (0.16s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_edit_FilesystemGroup_when_not_node_owner (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerUpdate.test__reloads_user (0.13s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__returns_empty_list_for_empty_ipv4_subnet(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_undefined_vlan_not_allowed(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerUpdate.test__update_as_admin_succeeds (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__sets_extra_values (1.10s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv6_slash_64_subnet(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(user=user,client=oauth,ramfs) (2.60s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_zone_filters_by_zone(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read(user=user,client=user+pass) (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerUpdate.test__update_as_admin_succeeds_even_with_a_specified_space (0.21s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_user_cannot_view(discovery) (0.51s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_defaults_to_managed(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_get_for_user_getting_self (0.10s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_no_authentication_provided(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read_undefined_space(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandler.test_create (0.11s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(dnsresource) (0.20s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Selection.test_prefers_closest_addresses(machine) (0.97s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_returns_nodes(user=user,client=user+pass) (1.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(subnet) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,tmpfs) (0.50s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_requires_admin(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_delete_by_id_works(user=user,client=oauth) (0.24s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fabrics_constraint (1.24s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(staticroute) (0.28s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fails_validation_for_no_matching_vlans (0.09s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_doesnt_require_add_or_remove(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(vlan) (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_optionally_defines_gateway_and_range (0.67s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_update(user=user,client=user+pass) (0.47s) SUCCESS: maasserver.api.tests.test_machines.MachineOwnerDataTest.test_GET_returns_owner_data(user=user,client=oauth) (0.54s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(dnsresource) (0.11s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_zone_does_not_filter(user=user,client=oauth) (1.03s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerDelete.test__reloads_user (0.11s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_rejects_normal_user(user=user,client=oauth) (0.21s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(subnet) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_zone.TestZoneHandler.test_get (0.11s) SUCCESS: maasserver.tests.test_populate_tags.TestDoPopulateTags.test__logs_successes (0.88s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_create(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_dehydrate_does_nothing (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_in_zone_excludes_given_zones (0.52s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_rack_controllers_returns_rack_controllers(user=user,client=oauth) (0.88s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_creates_tag(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(staticroute) (0.22s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_does_not_affect_other_nodes(user=user,client=oauth) (0.34s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_handler_path(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_refuses_to_access_nonexistent_node(user=user,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(space) (0.07s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsForSingleNode.test_ignores_tags_without_definition (0.26s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_converts_generated_into_synced (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_creates_resource (0.05s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_unknown_404(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_tags_negates_multiple_tags (0.32s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinKernel.test__returns_null_kernel (0.12s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_sets_zone_on_nodes(user=user,client=oauth) (0.21s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resources_add_no_kflavor_for_generic (0.05s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_node_fails(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_sends_prefix_filter(user=user,client=oauth) (0.61s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_delete_deletes_object (0.42s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_write_content_thread_saves_data (0.14s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_execute_calls_asynchronous_method_with_params (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestHelpers.test_get_simplestreams_endpoint (0.05s) SUCCESS: maasserver.tests.test_bootsources.TestHelpers.test_ensure_boot_source_definition_creates_default_source (0.07s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_read(user=user,client=oauth) (0.50s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_get (0.17s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_sshkey_deletes_key(user=user,client=oauth) (0.35s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_api_key_rejects_deletion_of_nonexistent_key (0.19s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_delete_returns_None_if_pk_not_in_loaded (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_rejects_space_not_connected_to_anything (0.58s) SUCCESS: maasserver.testing.tests.test_module.TestNoReceivers.test_clears_and_restores_many_signals (0.07s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_ignores_incorrect_definition(user=user,client=oauth) (0.59s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_GET_orders_by_name(user=user,client=oauth) (0.23s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_deletes_key (0.15s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_username_required_for_required_chassis(user=user,client=oauth) (0.58s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_invalid_check_object (0.07s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinMAASReporter.test__curtin_maas_reporter_with_events_support (0.68s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_updates_node_associations(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_with_ids_filters(user=user,client=oauth) (0.74s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_success_modify_apikey_name (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_conflict_when_compose_fails(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_creates_admin(user=user,client=oauth) (0.18s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_node_init_user_cannot_access (0.13s) SUCCESS: maasserver.tests.test_commands.TestChangePasswords.test_bad_input (0.08s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_on_size_and_tags (0.29s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=oauth,PUT) (0.17s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_GET_lists_users(user=user,client=oauth) (0.18s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_prompts_for_username_if_not_given (0.10s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_creates_user(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_password_returns_selected_password (0.06s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_treats_unknown_arch_as_bad_request(user=user,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPI.test_GET_returns_details(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_username_checks_for_empty_username (0.07s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_nodes_owned_by_others (0.27s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_400_when_invalid_url(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=user+pass,DELETE) (0.19s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_username_false(user=user,client=oauth) (0.65s) SUCCESS: maasserver.tests.test_components.PersistentErrorsUtilitiesTest.test_discard_persistent_error_discards_error (0.07s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=admin,client=user+pass) (0.10s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=oauth,PUT) (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_on_tags (0.32s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(vlan) (0.14s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_release_rejects_request_from_unauthorized_user(user=user,client=oauth) (0.20s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_strict_form_checks_unknown_constraints (0.05s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPIBasics.test_handler_path(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=user+pass,DELETE) (0.08s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_validates_not_in_zone (0.05s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(domain) (0.09s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_JUJU_ACQUIRE_FORM_FIELDS_MAPPING_fields (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_is_consistent (0.04s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_empty_list_for_full_ipv4_subnet(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerTransactional.test_allocate_new_works_under_extreme_concurrency(IPv4) (3.05s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_storage_constraints_from_string_returns_None_for_empty (0.04s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=user+pass,PUT) (0.14s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_with_fabric_deletes_vlan(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.19s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetsAPI.test_create_requires_cidr(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(dnsresource) (0.21s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_admins(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_custom_repo_with_components (0.91s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_when_logged_in_creates_machine_in_declared_state(user=user,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_authentication_is_NoAuthn(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_with_space(user=user,client=oauth) (0.18s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(subnet) (0.13s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_with_fabric(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_admins(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_DELETE_returns_410(user=user,client=oauth) (0.14s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_without_space_returns_undefined_space(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_404(user=user,client=oauth) (0.14s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_rescue_mode_does_not_include_poweroff (0.63s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(staticroute) (0.19s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_other(user=admin,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_with_space(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.api.tests.test_network.TestNetwork.test_GET_returns_404_for_unknown_network(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_allows_root_image (0.07s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestActiveDiscoveryService.test_run_calls_refreshDiscoveryConfig (0.53s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_validate_bootloader_ignores_non_bootloaders (0.10s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_other(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_400_when_bad_secondary_rack(user=user,client=oauth) (0.24s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_without_space(user=user,client=oauth) (0.19s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_prevent_resource_deletion_doesnt_remove_unknown_resource (0.07s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_self(user=admin,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_bootresources.TestSetGlobalDefaultReleases.test__sets_commissioning_release (0.18s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_self(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_undefined_space_clears_space(user=user,client=oauth) (0.25s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestGetActiveDiscoveryConfig.test__returns_expected_last_scan (0.39s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Other.test_yields_nothing(rack) (1.02s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_ignores_duplicates(user=user,client=oauth) (0.54s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_contains_keys (0.19s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_users(user=admin,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_requires_vid(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_users(user=anonymous,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_hides_invisible_nodes(user=user,client=user+pass) (0.75s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_403_when_not_admin(user=user,client=oauth) (0.57s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_with_curtin_installer_skips_apt_proxy (0.87s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_with_relay_vlan(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_with_resources (0.27s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_read(user=admin,client=oauth) (0.23s) SUCCESS: maasserver.api.tests.test_node.NodeAnonAPITest.test_node_init_user_cannot_access (0.32s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_requires_username (0.06s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_raises_ssh_key_error (0.09s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_read(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_migrates_bind_config_to_database (0.05s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestRefreshDiscoveryConfig.test__disables_discovery_if_interval_is_zero (0.65s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI_Anonymous.test_create(user=anonymous,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_all_details(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_normal_operation (0.06s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_removes_existing_dnssec_validation_config (0.06s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_empty_details_when_there_are_none(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_404_when_not_volume_group(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_image_raises_ClusterUnavailable (1.58s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_400_when_missing_id(user=user,client=oauth) (0.55s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_not_found_when_node_does_not_exist(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_region_controllers_returns_no_controllers_nonadmin(user=user,client=oauth) (0.68s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror(user=user,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_compose_preseed.TestAptProxy.test__returns_correct_url(ipv6) (0.23s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_CREATE_disabled(user=user,client=oauth) (0.12s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_calls_ensureServices (0.49s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_pressed_for_testing_reboots_when_powered_on (0.88s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_missing_partition(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharField.test_DictCharField_does_not_allow_subfield_named_skip_check (0.04s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_DELETE_deletes_node_fails_if_not_admin(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_DictCharWidget_renders_with_empty_string_as_input_data (0.05s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_propagates_NoConnectionsAvailable (0.37s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_404_when_not_volume_group(user=user,client=oauth) (0.46s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_DictCharWidget_renders_with_initial_when_no_value (0.05s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinMergedConfig.test__merges_configs_together (0.51s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_creates_logical_volume(user=user,client=oauth) (0.56s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_GET_returns_404_if_node_name_contains_invalid_characters(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_region_controllers_returns_region_controllers(user=user,client=user+pass) (0.63s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Machine.test_yields_boot_rack_addresses_when_machine_has_booted (1.54s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_all_ntp_servers_when_defined(region) (0.11s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_404_when_not_volume_group(user=user,client=oauth) (0.41s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_format_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_leaves_manual_tags(user=user,client=user+pass) (0.29s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_read_404_when_not_volume_group(user=user,client=oauth) (0.51s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__contains_routes_between_nodes_on_same_vlan (0.57s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_machine(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.22s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_all_ntp_servers_when_defined(region+rack) (0.37s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_nothing_when_no_ntp_servers_defined(none) (0.04s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_may_be_repeated(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_allows_rack_controller(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.tests.test_dhcp.TestGetDHCPConfigureFor.test__returns_for_ipv4 (0.98s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__does_not_contain_routes_between_addrs_of_diff_network_fams (0.57s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_503_when_power_already_in_progress(user=user,client=oauth) (0.20s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata_calls_compose_curtin_config_on_ubuntu (1.10s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_missing_filesystem(user=user,client=oauth) (0.24s) SUCCESS: maasserver.tests.test_dhcp.TestGetIPAddressForInterface.test__returns_None (0.23s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__creates_node (1.55s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_refuses_unidentified_rack_controller(user=user,client=oauth) (0.40s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_unmounts_filesystem_as_admin(user=user,client=oauth) (0.27s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_handler_path(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.tests.test_dhcp.TestGetBestInterface.test__returns_first_interface_when_all_vlan (0.47s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_GET_list_without_tags_returns_empty_list(user=user,client=oauth) (0.09s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine(user=user,client=user+pass) (0.51s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Selection.test_prefers_closest_addresses(device) (0.82s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_populates_nodes(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_unmounts_filesystem_as_user(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_updates_volume_group(user=user,client=user+pass) (1.26s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_no_interfaces_if_ip_empty (0.62s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_init (0.56s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_read(user=user,client=user+pass) (1.46s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_refuses_non_admin(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_GET_reads_pod(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_400_if_form_validation_fails(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_without_definition_creates_tag(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinCloudConfig.test__returns_curtin_cloud_config (0.59s) SUCCESS: maasserver.tests.test_dhcp.TestGetDHCPConfiguration.test__uses_global_ntp_servers_when_ntp_external_only_is_set (0.68s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_test_tests_machine_with_options(user=user,client=oauth) (0.63s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_deletes_user(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_409_if_not_ready(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_compose_raises_error_when_to_large_request(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinKernel.test__returns_set_kernel (0.15s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_keeps_quiet_if_user_not_found(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__returns_dict_grouped_by_space_and_address_family (0.58s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_403_when_not_admin(user=user,client=oauth) (0.52s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_authenticateCluster_rejects_non_matching_digests (0.57s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_requires_admin(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_must_be_able_to_edit(user=user,client=user+pass,machine) (0.23s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsStickyOrAuto.test__returns_correct_result(discovered) (0.06s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_updates_zone_name(user=user,client=oauth) (0.18s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinSwapSpace.test__suppresses_swap_file_when_swap_on_block_device (0.19s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_returns_404_if_user_not_found(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__init_also_accepts_no_proxy (0.07s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_removes_data(user=user,client=oauth,device) (0.15s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestAddPowerTypeParameters.test_adding_existing_types_is_a_no_op (0.05s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserDataOS.test_get_curtin_userdata(windows) (1.53s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestGetPowerTypeParametersFromJSON.test__overrides_defaults (0.06s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_shows_expected_fields(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeSettingField.test__returns_json_verifiable_dict (0.05s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_read_lists_pods(user=user,client=oauth) (0.30s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test__whoami_returns_forbidden_if_not_logged_in(user=user,client=oauth) (0.09s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__defines_IPv6_subnet (0.43s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_read_returns_limited_fields(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_404_when_not_volume_group(user=user,client=user+pass) (0.53s) SUCCESS: maasserver.tests.test_dhcp.TestGetIPAddressForRackController.test__returns_ip_address_from_best_interface_on_rack_controller (0.75s) SUCCESS: maasserver.tests.test_preseed.TestSplitSubArch.test_split_subarch_returns_list (0.38s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_403_when_not_admin_using_fabric_vid(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_updates_data(user=user,client=oauth,machine) (0.41s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_404_when_invalid_fabric_vid(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_context (0.68s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGetPreseedData.test_propagates_NotImplementedError (0.54s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__overrides_ipv6_dns_from_subnet (0.39s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update(user=user,client=oauth) (0.20s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_GET_list_boot_images(user=user,client=oauth) (0.50s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_GET_describe_power_types(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_only_interfaces_on_vlan_ipv4 (0.64s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_calls_addConnectionFor (1.18s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__passes_IP_addresses_as_strings (0.36s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_False_with_one_cluster (0.37s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_sets_relay_vlan(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_macs_returns_matching_nodes(user=user,client=oauth) (0.67s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/tagging.rst) (0.05s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_creates_with_block_devices_and_partitions(user=user,client=user+pass) (0.81s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestComposeMachine.test__calls_and_returns_correctly (0.09s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/notes/check-imports.rst) (0.06s) SUCCESS: maasserver.tests.test_preseed_network.TestDHCPNetworkLayout.test__dhcp_configurations_rendered (0.76s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(sticky_not_on_vlan_with_ip) (0.18s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_as_byte_string (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDecomposeMachine.test__raises_PodProblem_for_NotImplementedError (0.08s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_getquoted_returns_SQL_for_MAC (0.04s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_removes_zone(user=user,client=oauth) (0.11s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_empty_space_clears_space(user=user,client=oauth) (0.21s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(auto_on_vlan_without_ip) (0.11s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDecomposeMachine.test__raises_PodProblem_for_PodActionFail (0.08s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_differs_from_other (0.07s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestGetErrorMessageForException.test_returns_message_if_exception_has_none (0.06s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_does_not_equal_other (0.08s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsStickyOrAuto.test__returns_correct_result(auto) (0.10s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestGetErrorMessageForException.test_returns_message_if_exception_has_one (0.04s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_cisco_format (0.06s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_without_agent_name_does_not_filter(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_handler_path(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__single_ethernet_interface (0.32s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestDatabaseConfiguration.test_isolation_level_is_serializable (0.08s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_leading_and_trailing_whitespace (0.06s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_upper_and_lower_case (0.05s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_list_returns_zone_list(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_CREATE_disabled(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_rejects_long_octet (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__schedule_arranges_for_later_run (0.08s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_rejects_short_mac (0.05s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_validates_PPA (0.07s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_blockdevice_fails(user=user,client=user+pass) (0.83s) SKIP: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_nodes_issues_constant_number_of_queries(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_catches_bad_PPA_format (0.06s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_catches_bad_scheme (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_catches_bad_url (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_validates_URL (0.04s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_creates_new (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterNew.test__new_obtains_system_ids_for_accepted_clusters_if_not_given (0.32s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__creates_char_field_for_strings (0.05s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__listener_waits_for_notifier_to_complete (0.08s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__raises_error_if_system_handler_registered_more_than_once (0.06s) SUCCESS: maasserver.tests.test_dhcp.TestMakeHostsForSubnet.tests__returns_hosts_first_created_ip_address (0.75s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_409_when_not_ready(user=user,client=oauth) (0.68s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_logs_error (0.07s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregister_calls_unregisterChannel_when_connected (0.04s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserDataOS.test_get_curtin_userdata(suse) (1.61s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_ignores_error_outside_API (0.05s) SUCCESS: maasserver.tests.test_middleware.DebuggingLoggerMiddlewareTest.test_debugging_logger_logs_request (0.04s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_generic_500_error_is_logged (0.04s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_sets_ident (1.35s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_reports_MAASAPIException_with_appropriate_api_error (0.04s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_os_data_is_passed_through_unmolested (0.39s) SUCCESS: maasserver.tests.test_middleware.ExternalComponentsMiddlewareTest.test__checks_connectivity_of_rack_controllers (0.06s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_ignores_non_rpc_errors (0.03s) SUCCESS: maasserver.tests.test_preseed_network.TestNetworkLayoutWithRoutes.test__renders_expected_output (1.03s) SUCCESS: maasserver.tests.test_preseed.TestGetNetlocAndPath.test_get_netloc_and_path (0.48s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOff_handles_rpc_errors(TimeoutError) (0.30s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_yields_oses_known_to_a_cluster (0.38s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetControllerType.test_raises_NoSuchNode_when_node_does_not_exist (0.43s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_limited_filenames_if_node_is_None (0.08s) SUCCESS: maasserver.dns.tests.test_config.TestDNSConfigModifications.test_dns_config_has_NS_record (1.32s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.65s) SUCCESS: maasserver.tests.test_preseed_storage.TestGPTWithBootDiskWithoutPartitionsLayout.test__renders_expected_output (0.34s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedTemplate.test_get_preseed_template_returns_None_if_no_template_locations (0.07s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestWarnLoopback.test_warn_loopback_warns_about_any_IPv4_loopback (0.04s) SUCCESS: maasserver.tests.test_dhcp.TestMakeHostsForSubnet.tests__returns_hosts_interface_once_when_on_multiple_subnets (0.71s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_spare_device(user=user,client=oauth) (1.21s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_required_fields (0.11s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_parent_lookup_doesnt_include_default (0.20s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestCreatePhysicalBlockDeviceForm.test_requires_fields (0.10s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_raises_if_no_template (0.14s) SUCCESS: maasserver.tests.test_preseed_storage.TestMBRWithBootDiskWithoutPartitionsLayout.test__renders_expected_output (0.35s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning_if_already_on(NEW) (0.45s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdatePhysicalBlockDeviceForm.test_updates_physical_block_device (0.16s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_204_when_invalid_id(user=user,client=oauth) (0.42s) SUCCESS: maasserver.tests.test_proxyconfig.TestGetConfigDir.test_returns_default (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_True_with_one_cluster (0.49s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__returns_multiple_pools_with_failover_peer (0.47s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestComposeMachine.test__raises_same_exception (0.07s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RequestNodeInforByMACAddress.test_request_node_info_by_mac_address_raises_if_unknown_mac (0.58s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_rejects_invalid_system_ids (0.15s) SKIP: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEvent.test_send_event_does_not_fail_if_unknown_type (0.00s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/notes/unhandled-error-in-deferred.rst) (0.07s) SUCCESS: maasserver.tests.test_eventloop.TestDisablingDatabaseConnections.test_connections_are_all_usable_outside_the_event_loop (0.06s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_shows_all_types(user=user,client=user+pass) (1.73s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_as_unicode_string (0.07s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_new_MAC_with_None_is_None (0.06s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_cache_set_creation_with_partition (0.27s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_colon_separated_octets (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallClusters.test__with_timeout_callbacks (0.31s) SUCCESS: maasserver.rpc.tests.test_services.TestUpdateServices.test_update_services_raises_NoSuchCluster (0.34s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__yields_routes_between_nodes_on_same_space (0.48s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_agent_name_filters_by_agent_name(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_deletes_logical_volume(user=user,client=oauth) (0.67s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_change_raid_uuid(user=user,client=user+pass) (1.11s) SUCCESS: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_enlistment_preseed_url_returns_abs_link_wth_nodegrp (0.99s) SUCCESS: maasserver.tests.test_fields.TestNodeChoiceField.test_works_with_multiple_entries_in_queryset (0.67s) SUCCESS: maasserver.tests.test_fields.TestVerboseRegexField.test_VerboseRegexField_accepts_valid_value (0.07s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_409_when_not_ready(user=user,client=oauth) (0.49s) SUCCESS: maasserver.forms.tests.test_cacheset.TestUpdateCacheSetForm.test_choices_are_being_populated_correctly (0.76s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__convertChannel_raises_exception_if_not_valid_channel (0.05s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__doRead_removes_self_from_reactor_on_error (0.07s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_id_returns_matching_nodes(user=user,client=oauth) (0.65s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_logs_success (0.05s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_is_idempotent(user=user,client=oauth) (0.19s) SUCCESS: maasserver.tests.test_middleware.DebuggingLoggerMiddlewareTest.test_debugging_logger_does_not_log_response_if_info_level (0.06s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_reports_PermissionDenied_as_Forbidden (0.08s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_rejects_deletion_of_default_zone(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_spare_partition_fails(user=user,client=user+pass) (0.73s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_invalid_macs_returns_sensible_error(user=user,client=oauth) (0.32s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__yields_routes_with_lowest_metrics_first (1.18s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_POST_is_prohibited(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test__sets_power_type (0.60s) SUCCESS: maasserver.tests.test_node_action.TestPowerOffAction.test__actionable_for_non_monitored_states (1.78s) SUCCESS: maasserver.dns.tests.test_config.TestDNSConfigModifications.test_dns_update_all_zones_loads_full_dns_config (1.39s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_save_region_certificate (0.16s) SUCCESS: maasserver.dns.tests.test_config.TestDNSUtilities.test_current_zone_serial_returns_serial_of_latest_publication (0.06s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__ignores_IPv4_if_ipv4_not_set (0.05s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__fail_validation_on_create_cleans_value (0.17s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__returns_link_local_addresses_if_asked (0.06s) SUCCESS: maasserver.dns.tests.test_config.TestGetTrustedNetworks.test__returns_empty_string_if_no_networks (0.08s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors(PowerActionAlreadyInProgress) (0.51s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_value (0.08s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerHost.test_get_maas_facing_server_host_parses_IPv6_address_in_URL (0.08s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_changing_name_maintains_foreign_keys(user=user,client=oauth) (0.31s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_empty_yields_nothing (0.09s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_zone_filters_by_zone(user=user,client=user+pass) (0.62s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_list_returns_sorted_zone_list(user=user,client=oauth) (0.19s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__updates_dnsresource (0.25s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__refreshes_if_master (0.26s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPIPRangeListener.test_sends_message_for_updated_managed_dhcp_range (1.83s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_ExitRescueMode_handles_rpc_errors_for_exiting_rescue_mode(NoConnectionsAvailable) (0.33s) SUCCESS: maasserver.tests.test_preseed.TestRenderPreseed.test_render_preseed(CURTIN) (1.43s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__cannt_run_destructive_test_on_deployed_machine (0.21s) SUCCESS: maasserver.forms.tests.test_fabric.TestFabricForm.test__updates_fabric (0.08s) SUCCESS: maasserver.tests.test_node_action.TestPowerOffAction.test__non_actionable_for_monitored_states (0.82s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOff_handles_rpc_errors(ExternalProcessError) (0.27s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetBootImages.test_calls_ListBootImagesV2_before_ListBootImages (0.37s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterNew.test__new_obtains_sources_if_not_given (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporterNew.test__new_obtains_system_ids_if_not_given (0.05s) ERROR: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_supernet_inherits_rfc2317_net (0.70s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_absolute_path_empty(block-device) (0.19s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestAddPowerTypeParameters.test_subsequent_parameters_set_is_valid (0.06s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_pick_default_architecture_falls_back_to_first_option (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestGetPowerTypeParametersFromJSON.test__manual_does_not_require_power_params (0.07s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_missing_timeout_heartbeat(commissioning) (0.55s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__creates_mac_address_field_for_mac_addresses (0.05s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_stops_and_releases_node(Deploying) (0.32s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Release_handles_rpc_errors(TimeoutError) (0.36s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__sets_initial_to_default (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeSettingField.test__validates_choices (0.07s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_blockdevice(user=user,client=user+pass) (1.48s) SUCCESS: maasserver.tests.test_node_action.TestRescueModeAction.test_rescue_mode_action_for_ready (0.16s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_RescueMode_handles_rpc_errors_for_entering_rescue_mode(NoConnectionsAvailable) (0.24s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_zone_does_not_filter(user=user,client=user+pass) (1.01s) SUCCESS: maasserver.forms.tests.test_instancelistfield.TestInstanceListField.test_field_ignores_duplicates (0.51s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_with_child_domain_yields_glue_when_needed (0.62s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_combined_constraints (0.30s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_is_not_valid_if_invalid_uuid (0.11s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_missing_timeout_prefetches(testing) (0.64s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_is_actionable_if_user_has_ssh_keys (0.31s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__bond (1.13s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_does_not_affect_other_nodes(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGenAllKnownOperatingSystems.test_fixes_custom_osystem_release_titles (0.55s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_cpu_count (0.27s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_POST_set_zone_sets_zone_on_nodes(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_updated_description (1.37s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_starts_node (0.25s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdateVirtualBlockDeviceForm.test_requires_no_fields (0.29s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_zone_field_not_present_action_is_not_SetZoneBulkAction (0.06s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_rename_raid(user=user,client=oauth) (0.82s) SUCCESS: maasserver.tests.test_node_action.TestExitRescueModeAction.test_exit_rescue_mode_action_for_ready (0.13s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_shows_all_constraints (0.27s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__bridge_with_params (0.50s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_raise_NodeActionError_if_no_commissioning_results (0.16s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_with_ids_filters(user=user,client=user+pass) (0.40s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_script_overrun(commissioning) (0.61s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=admin,client=user+pass,PUT) (0.16s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_includes_inhibited_actions (0.22s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_False_when_all_clusters_fail (0.68s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test__find_best_cache_device_returns_smallest_ssd_first (0.21s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__multiple_ethernet_interfaces (0.30s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=anonymous,client=user+pass,PUT) (0.11s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__yields_nothing_when_no_nodes_given (0.06s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_choices_are_being_populated_correctly (0.55s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_form_rejects_unknown_settings (0.06s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__edits_interface_removes_parents (1.14s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_dismiss_notification_for_users(user=user,client=oauth) (0.14s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_create_cache_set_setups_up_cache_device_with_partition (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_filters_by_ip (0.57s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__creates_dhcp_snippet (0.06s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_get_region_certificate (0.16s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_admins(user=admin,client=user+pass) (0.09s) SUCCESS: maasserver.forms.tests.test_dnsdata.TestDNSDataForm.test__doesnt_require_name_on_update (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_value_to_high_for_cache_size (0.12s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_create_if_not_exists_does_not_fail_if_sequence_exists (0.07s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_enters_disk_erasing(Failed deployment) (0.39s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__error_with_invalid_bond_mode (0.21s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_drop_sequence_fails_if_sequence_does_not_exist (0.08s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_other(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_returns_empty_if_no_constraints (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestValidateLicenseKey.test_returns_True_when_only_one_cluster_returns_True (0.48s) SUCCESS: maasserver.forms.tests.test_dnsdata.TestDNSDataForm.test_accepts_ttl (0.16s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__falls_back_on_IPv6_if_ipv4_set_but_no_IPv4_address_found (0.07s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_read_notification_for_self(user=admin,client=user+pass) (0.09s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_shows_multi_constraint (0.09s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_setup_cache_device_field_doesnt_include_boot_device (0.21s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestComposeMachine.test__raises_PodProblem_for_UnknownPodType (0.10s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_admins(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.tests.test_storage_layouts.TestCalculateSizeFromPercentHelper.test__returns_correct_result(0.816112383915%) (0.05s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_other(user=anonymous,client=oauth) (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_filters_by_name (0.49s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_read_notification_for_users(user=anonymous,client=user+pass) (0.06s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__creates_dnsresource (0.23s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_uefi_defaults (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_hostname (0.26s) SUCCESS: maasserver.forms.tests.test_domain.TestDomainForm.test__doest_require_name_on_update (0.07s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_read(user=admin,client=user+pass) (0.13s) SUCCESS: maasserver.forms.tests.test_domain.TestDomainForm.test_accepts_ttl (0.08s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__creates_bridge_interface (0.47s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallClusters.test__with_failed_callbacks (0.31s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI_Anonymous.test_create(user=anonymous,client=user+pass) (0.08s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_new_staticipaddress (1.53s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__integrates_with_get_maas_facing_server_host (0.47s) SUCCESS: maasserver.forms.tests.test_fabric.TestFabricForm.test__creates_fabric (0.11s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI_Anonymous.test_read(user=anonymous,client=oauth) (0.07s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__creates_physical_interface (0.26s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test__creates_layout_with_vg_name_and_lv_name (0.37s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_create_admin_only(user=user,client=oauth) (0.15s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_requires_mount_point_when_fs_uses_mount_point(block-device) (0.19s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_pod_or_pod_type_for_pod (0.52s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallRacksSynchronously.test__gets_clients (0.39s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_6(user=user,client=oauth) (1.74s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_sets_mount_point_to_none_and_options_on_swap(partition) (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_hostname_with_domain_part (0.57s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__edits_interface_disconnected (0.26s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_memory (0.07s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountNonStorageFilesystemFormScenarios.test_creates_filesystem_with_mount_point_and_options(ramfs) (0.13s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_machine_create_form_if_admin (0.05s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_403_if_ready_and_not_admin(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_without_any_element_fails(user=user,client=oauth) (0.22s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_calculated_lv_size_returns_size_of_volume_group (0.41s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test__init__sets_node (0.10s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_first_constraint_matches_blockdevice_with_root (0.45s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__update_allows_clearing_interface_parameters (0.29s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_handler_path(user=user,client=oauth) (0.19s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_in_zone_can_exclude_multiple_zones (0.36s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_boot_size_returns_0_if_not_set (0.15s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_returns_409_if_not_allocated_or_ready(user=user,client=user+pass) (0.28s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_in_zone_must_be_zone_name (0.06s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_default_gateway_requires_subnet (0.19s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterExpiring.test__marks_all_possible_failed_status_as_failed (0.92s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_value_to_high_for_root_disk (0.12s) SUCCESS: maasserver.tests.test_third_party_drivers.TestPopulateKernelOpts.test_no_blacklist_provided (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=user+pass,id) (0.30s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_matches_disk_with_root_mount_on_partition (0.36s) SUCCESS: maasserver.tests.test_worker_user.TestNodeGroupUser.test_get_worker_user_always_returns_same_user (0.08s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_default_gateway_requires_subnet_with_gateway_ip (0.22s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__creates_acquired_bridge_interface (0.61s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_missing_filesystem(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=oauth,installation) (0.20s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestAddSwitchVendorModelTags.test_sets_wedge100_kernel_opts (0.18s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__DHCP_creates_link_to_DHCP_with_subnet (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_single_contraint_matches_all_sizes_larger (0.35s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__sets_subnet_queryset_to_subnets_on_interface_vlan (0.18s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_unmounts_filesystem_as_admin(user=user,client=user+pass) (0.33s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__adds_parent_tag(caffeine_fueled_ubuntu_classic) (0.23s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_missing_timeout_heartbeat(testing) (0.60s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET(user=user,client=user+pass,testing) (0.29s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__get_dmi_data(accton_wedge40_2) (0.07s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_GET_reads_pod(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_one_vlan_on_switch_subnet_on_same_vlan (1.67s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__get_dmi_data(accton_wedge100) (0.06s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_handler_path(user=user,client=oauth) (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestExtractRouters.test_extract_router_mac_addresses_returns_routers_list (0.05s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__sets_gateway_link_v4_on_node_when_link_id (0.21s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__rejects_when_parent_is_already_in_a_bond (0.55s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_requires_admin(user=user,client=user+pass) (0.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestParseCPUInfo.test_parse_cpuinfo (0.20s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=user+pass,commissioning) (0.39s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__creates_physical_interface_generates_name (0.23s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_script_overrun(testing) (0.48s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__sets_gateway_links_works_on_dhcp_with_gateway_ip (0.36s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetVirtualTag.test_sets_virtual_tag (0.17s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_read_lists_pods(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__requires_end_ip (0.07s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test_configure_storage_creates_flat_layout_if_no_cache_device (0.13s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_no_parents (0.20s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_includes_only_osystems_that_require_license_keys (0.04s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=oauth,installation) (0.28s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_device_returns_set_cache_device_over_find (0.10s) SUCCESS: maasserver.dns.tests.test_config.TestDNSResource.test_dnsresources_are_in_the_dns (1.95s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_read_returns_limited_fields(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_no_part_returns_boolean (0.13s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_contains_limited_set_of_fields (0.24s) SUCCESS: maasserver.tests.test_storage_layouts.TestCalculateSizeFromPercentHelper.test__returns_correct_result(10%) (0.06s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_contains_limited_set_of_fields (0.05s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(int(0)) (0.07s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test_rejects_interface_with_duplicate_name (0.35s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filter_ignores_macs_on_other_subnets (1.11s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=oauth,installation) (0.37s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestCleanupOldNonces.test_cleanup_old_nonces_cleans_up_old_nonces (0.10s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_get_time_string_ends_with_suffix (0.07s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_None.test_yields_nothing (0.04s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_GET_list_boot_images(user=user,client=user+pass) (0.47s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__legacy_model_with_extra_mac (0.71s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_invalid_osystem (0.33s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_requires_subnet (0.28s) SUCCESS: maasserver.forms.tests.test_bcache.TestUpdateBcacheForm.test_bcache_update_with_invalid_mode (0.59s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_combines_filters (1.95s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__multiple_invalid (0.07s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_calculated_lv_size_returns_set_lv_size (0.39s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_GET_describe_power_types(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_txt(user=user,client=user+pass,testing) (0.30s) SUCCESS: maasserver.forms.tests.test_notification.TestNotificationForm.test__notification_can_be_created_with_empty_fields (0.06s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_raises_error_when_percentage_to_high_for_logical_volume (0.09s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllersAPI.test_handler_path(user=user,client=oauth) (0.09s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__arches_comma_cleaning (0.08s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestCreatePhysicalBlockDeviceForm.test_creates_physical_block_device_with_id_path (0.18s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__updates_enabled (0.05s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_root_device_returns_None_if_not_set (0.08s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__DHCP_not_allowed_if_already_DHCP_without_subnet (0.27s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_requires_all_fields (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=oauth,installation) (0.25s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_percentage_to_low_for_boot_disk (0.11s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_requires_fields (0.17s) SUCCESS: maasserver.tests.test_worker_user.TestNodeGroupUser.test_get_worker_user_holds_the_worker_user (0.05s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_subnet_deleted (1.63s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Other.test_yields_nothing(machine) (0.51s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdateDeployedPhysicalBlockDeviceForm.test_requires_no_fields (0.28s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_accepts_usable_architecture (0.18s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_all_ntp_servers_when_defined(none) (0.07s) SUCCESS: maasserver.forms.tests.test_bootsource.TestBootSourceForm.test_creates_boot_source_object_with_keyring_data (0.07s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_unusable_architecture (0.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__precreate_parent(caffeine_fueled_ubuntu_core) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__get_dmi_data(accton_wedge40_1) (0.04s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_size_rounded_down_and_placed_on_alignment_boundry (0.30s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test__requires_pods_kwarg (0.04s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=user+pass,installation) (0.43s) SUCCESS: maasserver.forms.tests.test_cacheset.TestCreateCacheSetForm.test_bcache_creation_fails_with_both_set (0.28s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateHardwareDetails.test_hardware_updates_memory (0.15s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test__save_raises_AttributeError (0.17s) SUCCESS: maasserver.forms.tests.test_deploy.TestDeployForm.test_uses_live_data (0.08s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_filters_by_vlan_tag (0.92s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_when_validate_license_key_for_raise_no_connection (0.38s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__create_dhcp_snippet_defaults_to_enabled (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_invalid_constraint (0.05s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=oauth,testing) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__reassign_interfaces (1.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_rotary_and_rpm_tags (0.20s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__create_dhcp_snippet_requies_name (0.07s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__empty (0.10s) SUCCESS: maasserver.forms.tests.test_multiplechoicefield.TestValidatorMultipleChoiceField.test_field_uses_validator (0.05s) SUCCESS: maasserver.forms.tests.test_dnsdata.TestDNSDataForm.test_accepts_ttl_equal_none (0.10s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_ssd_tag (0.20s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=oauth,testing) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_without_removable_tag (0.24s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__not_allowed_in_bad_state (0.17s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_validates_domain (0.22s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_get_user_data_raises_DoesNotExist_if_not_found (0.12s) SUCCESS: maasserver.forms.tests.test_notification.TestNotificationForm.test__notification_can_be_created_with_just_message (0.06s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_custom_repo_components_dists (0.87s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__doest_require_name_on_update (0.10s) SUCCESS: metadataserver.models.tests.test_script.TestScriptManager.test_create_accepts_int_for_timeout (0.05s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__create_package_repository_requires_url (0.05s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=user+pass,id) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_devices (0.27s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__disabled_pocket_comma_cleaning (0.06s) SUCCESS: metadataserver.models.tests.test_script.TestScriptManager.test_create_accepts_str_for_script (0.07s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_spare_device(user=user,client=user+pass) (1.38s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_ignores_mount_point_when_fs_does_not_use_mount_point(block-device) (0.14s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__updates_arches (0.05s) SUCCESS: maasserver.forms.tests.test_filesystem.TestUnmountNonStorageFilesystemForm.test_will_not_unmount_filesystem_on_block_device (0.20s) SUCCESS: maasserver.forms.tests.test_partition.TestFormatPartitionForm.test_is_not_valid_if_invalid_uuid (0.21s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_delete (0.26s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__only_updates_physical_block_devices (0.28s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=user+pass,commissioning) (0.31s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_get_node_edit_form_returns_NodeForm_if_non_admin (0.09s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_get_runtime (0.19s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_node_for_key_inverts_get_token_for_node (0.18s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_both_when_secondary_cleared (1.58s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_token_for_node_inverts_get_node_for_key (0.14s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set_cleans_up_current (0.28s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_spare_device_fails(user=user,client=oauth) (0.74s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_choices_are_being_populated_correctly (0.57s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_token_for_node_returns_existing_token (0.25s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_testing_script_raises_exception_when_none_found (0.15s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_set_user_data_to_None_removes_user_data (0.17s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestGenerateUserData.test_generate_user_data_produces_poweroff_script (0.19s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_add_tag (0.09s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_disables_pockets (1.41s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_get_runtime_blank_when_missing (0.22s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_sets_status_to_passed_with_exit_code_zero (0.14s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSResourceStaticIPAddressListener.test_sends_message_for_dnsresource_staticipaddress_unlink (1.02s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_calls_sets_initial_network_config_if_OK (0.49s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_rename_raid(user=user,client=user+pass) (0.85s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_virtual_and_unused (2.15s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_invalid_spare_blockdevice_fails (2.30s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_single_contraint_allows_root_on_virtual (0.30s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_doesnt_call_sets_initial_network_config_if_FAILED (0.41s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_reports_unknown_zone_names (0.06s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_raid_creation_with_names (1.17s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestNonceCleanupService.test_interval_can_be_set (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_filters_by_type(user=user,client=user+pass) (1.94s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__allows_bridge_on_bond_with_vlan_bridges (2.08s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_sets_default_storage_layout_if_TESTING (0.53s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_status (1.25s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_uses_multiple_ppa (1.52s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__create_removes_parent_links_and_sets_link_up_on_bridge (0.51s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Region_RegionRack.test_prefers_closest_addresses(region) (0.93s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_spare_partition (1.00s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_include_output(user=user,client=oauth) (0.82s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set_adds_selected_scripts (0.37s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE(user=user,client=oauth,by_id) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentInterfaceListener.test__calls_handler_with_update_on_create (1.65s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0(user=user,client=oauth) (1.61s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_testing_script_set_cleans_up_current (0.25s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET_include_script(user=user,client=oauth,by_id) (0.19s) SUCCESS: metadataserver.tests.test_api.TestAnonymousAPI.test_anoymous_netboot_off_adds_installation_finished_event (0.23s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT(user=user,client=user+pass,by_name) (0.22s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__edits_interface_allows_disconnected (0.66s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1_with_one_element_fails_without_side_effects(user=user,client=oauth) (0.36s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_valid_spare_device (1.97s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__errors_on_reserved_name (0.07s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_admin_only(user=user,client=user+pass,by_name) (0.18s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_disallows_comma(user=user,client=user+pass,by_id) (0.12s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_prohibits_most_field_updates_on_default_script (0.14s) SUCCESS: maasserver.forms.tests.test_settings.TestGetConfigDoc.test_get_config_doc (0.05s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__rejects_when_parent_is_already_in_a_bridge (0.36s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_errors_on_unknown_revision(user=user,client=user+pass,by_name) (0.16s) SUCCESS: maasserver.forms.tests.test_staticroute.TestStaticRouteForm.test__doest_require_any_fields_on_update (0.15s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_power_type_lower_case_works (0.54s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__doesnt_overwrite_other_fields (0.11s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__rejects_parents (0.28s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_removes_apt_mirrors (1.44s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_latest_version_by_default(user=user,client=oauth,by_name) (0.23s) SUCCESS: maasserver.forms.tests.test_ubuntu.TestUbuntuForm.test_form_saves_info_db (0.10s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Region_RegionRack.test_prefers_closest_addresses(region+rack) (1.37s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__create_rejects_interface_without_vlan (0.16s) SUCCESS: maasserver.forms.tests.test_user.TestUniqueEmailForms.test_ProfileForm_validates_if_email_unchanged (0.10s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag(user=user,client=oauth,by_id) (0.19s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__requires_vid (0.09s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_all_ntp_servers_when_defined(machine) (0.16s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_admin_only(user=user,client=oauth,by_id) (0.11s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_power_type_stores_params (0.52s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_more_than_one_parent (0.26s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_prevents_reverting_default(user=user,client=user+pass,by_name) (0.11s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to(user=user,client=user+pass,by_id) (0.14s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_no_vlan (0.24s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_creates_logical_volume (0.42s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to_to_be_an_int(user=user,client=oauth,by_id) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentNetworkListener.test__calls_handler_with_update_on_subnet_update (1.79s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_is_not_valid_missing_block_devices_and_partitions (0.14s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__LINK_UP_not_allowed_default_gateway (0.21s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_doesnt_update_on_initial_BootSource_create (0.05s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinMAASReporter.test__curtin_maas_reporter_without_events_support (0.67s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_invalid_partition_fails (2.21s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_virtual_tag_on_node_if_virtual (0.60s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__errors_on_digit_name (0.05s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_image_returns_xinstall_image (1.01s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_includes_legacy_subnet_objects(user=user,client=oauth) (0.20s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__type_aliased_to_script_type (0.06s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_6(user=user,client=user+pass) (1.74s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinSwapSpace.test__returns_null_swap_size (0.17s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__LINK_UP_not_allowed_with_other_ip_addresses (0.28s) SUCCESS: maasserver.forms.tests.test_settings.TestSpecificConfigSettings.test_upstream_dns_accepts_ip_list (0.06s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinVerbose.test__returns_empty_when_false (0.08s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__clean_dns_servers_accepts_comma_separated_list (0.14s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__creates_iprange_with_user (0.17s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read(user=user,client=oauth) (0.27s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_accepts_WORKING_status (0.41s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet_in_default_vlan_in_fabric (0.14s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_files_up_to_documented_size_limit (3.20s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_with_invalid_spare_fails(user=user,client=oauth) (0.43s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read_with_no_undefined_space(user=user,client=oauth) (0.13s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__error_for_unknown_vid_in_default_fabric (0.11s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestDiscoveryConfigChanges.test_disabled_configuration_causes_interface_update (0.69s) SUCCESS: maasserver.forms.tests.test_user.TestNewUserCreationForm.test_email_is_required (0.05s) SUCCESS: maasserver.forms.tests.test_user.TestUniqueEmailForms.test_NewUserCreationForm_fails_validation_if_email_taken (0.06s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_only_shows_user_keys(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_changes_power_type (0.37s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__creates_vlan_with_default_mtu (0.09s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_without_any_element_fails(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_deletes_fabric(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_handler_path(user=user,client=user+pass) (0.15s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_clears_status_expires (0.52s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentTagListener.test__calls_handler_with_update_on_delete (1.18s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_has_ppa (0.74s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_handler_path(user=user,client=oauth) (0.20s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_verfies_secondary_rack_is_on_vlan (0.30s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_mismatch_osystem_distro_series (0.44s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_children_vlans_to_same_fabric(region-rack) (0.65s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_multiple_files (0.78s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_is_not_valid_if_partition_does_not_belong_to_node (0.30s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_update_admin_only(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_installer_url_returns_cp_for_squashfs (1.33s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_stores_exit_status (0.52s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_rejects_when_validate_license_key_for_returns_False (0.35s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateNotController.test__removes_links(device) (0.30s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_api_version_contents_list (0.09s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_create_admin_only(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_starts_with_default_architecture (0.07s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_check_version_accepts_latest (0.05s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_OK_repopulates_tags (0.44s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet(user=user,client=oauth) (0.17s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_adds_field_for_stderr (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_create_notification (0.82s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__with_mac_in_use_on_uknown_interface_passes (0.23s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_finds_script_result_by_id (0.11s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet_by_name(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_removes_block_device_by_name (0.54s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test_form_with_ip_based_hostname_generates_hostname (0.16s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_failure_makes_node_failed_Tests (0.30s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.forms.tests.test_node.TestAdminNodeForm.test_contains_limited_set_of_fields (0.15s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_local_hostname_returns_fqdn(curtin-metadata) (0.24s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPIAuth.test__unreserved_ip_ranges_fails_if_not_logged_in(user=anonymous,client=oauth) (0.11s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__update_interface_clears_parent_links(bond) (0.69s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_contains_reboot_for_precise (1.28s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_accepts_domain_by_name (0.14s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__visited_set_is_thread_local(bond) (0.07s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__create_package_repository_requires_name (0.05s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_requires_no_fields (0.42s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__creates_package_repository_defaults_main_arches (0.07s) SUCCESS: maasserver.models.signals.tests.test_keysource.TestDeleteKeySourceWhenNoMoreKeys.test_delete_keysource_deleted_when_no_more_keys (0.14s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_view_lists_fields(curtin-metadata) (0.32s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_preseed_type_for_curtin (1.10s) SUCCESS: maasserver.models.signals.tests.test_keysource.TestDeleteKeySourceWhenNoMoreKeys.test_do_not_delete_keysource_when_keys (0.14s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_bootable_is_set_on_partition (0.20s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_calls_through_to_get_vendor_data(curtin-metadata) (0.15s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_queried_node_looks_up_by_mac_if_given (0.61s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsdata_create_notification (0.87s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_creates_services_for_region_controller (0.10s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_for_node_without_owner_includes_no_system_info(metadata) (0.17s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_updates_uuid (0.57s) SUCCESS: metadataserver.tests.test_api.TestMAASScripts.test__removes_scriptless_script_result (0.30s) SUCCESS: metadataserver.tests.test_api.TestMetadataUserData.test_user_data_for_node_without_user_data_returns_not_found (0.21s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__default_parameters(user=user,client=oauth) (0.96s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_view_is_sorted(metadata) (0.21s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_erasure_failure_does_not_populate_tags (0.22s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_create_services_for_on_create (0.53s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestEnableAndDisableInterface.test__disable_interface_removes_links_on_children (0.45s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_shows_user_data_if_available(curtin-metadata) (0.23s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_actual_instance_returns_BlockDevice (0.21s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_installation_failure_leaves_node_failed (0.32s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_create_partition_if_boot_disk_raises_ValueError (0.14s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_erasure_failure_leaves_node_failed (0.27s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_invalid_spare_blockdevice_fails (1.06s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_delete_not_allowed_if_part_of_filesystem_group (0.23s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_with_quote_rack_url (1.56s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__doesnt_move_link_subnets_when_vlan_is_None(rack) (0.47s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_get_name (0.06s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_removes_virtual_tag_on_node_if_not_virtual (0.36s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_deprecated_node_summary_false(user=user,client=oauth) (0.80s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_read(user=user,client=oauth) (3.03s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_minimum_size (0.12s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_installation_result_does_not_affect_other_node (0.37s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__accounts_for_reserved_ip_address(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeSubnetListener.test__calls_handler_on_delete_notification (1.41s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__admin_raises_PermissionDenied_when_user_requests_admin (0.14s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__returns_reserved_anycast_for_empty_ipv6_subnet(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=user+pass,installation) (0.24s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_boot_disk (0.60s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata_calls_curtin_supports_custom_storage (1.74s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_prefix_lookup (0.51s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__with_include_ranges(user=user,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__edit_raises_PermissionDenied_when_user_not_owner (0.25s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_stores_virtual_tag_on_node_if_virtual (0.39s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_no_authentication_provided(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_True_when_authentication_is_provided(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_with_no_nodes(user=user,client=oauth) (0.11s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_file_bad_encoder_fails (0.22s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_file_succeeds (0.75s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=oauth,installation) (0.46s) SUCCESS: metadataserver.tests.test_vendor_data.TestGetVendorData.test_includes_system_information_if_default_user (0.14s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_rejects_normal_user(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostDelete.test__deletes_filesystem_group_when_virtual_block_device_deleted (0.50s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_updates_tag(user=user,client=oauth) (0.15s) SUCCESS: metadataserver.tests.test_vendor_data.TestGetVendorData.test_returns_dict (0.18s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_spare_device (0.70s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_include_output(user=user,client=oauth,id) (0.31s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__create_requires_script (0.05s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_results_succeeds (0.40s) SUCCESS: maasserver.forms.tests.test_settings.TestSpecificConfigSettings.test_commissioning_distro_series_config (0.05s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_delete_bmc_spares_non_orphaned_ip_address (0.27s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__updates_subnet_name_doesnt_remove_dns_server (0.11s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateSystemInfo.test_yields_nothing_when_node_has_no_owner (0.12s) SUCCESS: maasserver.tests.test_preseed.TestNodePreseedContext.test_get_node_preseed_context_contains_keys (0.86s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_node_fails(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=user+pass,installation) (0.28s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__updates_subnet_name_to_cidr (0.12s) SUCCESS: metadataserver.tests.test_vendor_data.TestGetVendorData.test_includes_ntp_server_information (0.19s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__creates_vlan (0.09s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_sshkey_deletes_key(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_create_fs_on_block_device(machine) (1.42s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=user+pass,installation) (0.33s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_sslkey_deletes_key(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestMTUParams.test__updates_parents_mtu (1.93s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_setting_both_racks_to_same_fails (0.40s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata_includes_networking_for_non_ubuntu (1.57s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=user+pass,installation) (0.24s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_GET_orders_by_name(user=user,client=user+pass) (0.26s) SUCCESS: maasserver.api.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response(user=admin,client=oauth) (0.17s) SUCCESS: maasserver.models.signals.tests.test_power.TestStatusQueryEvent.test_changing_status_of_node_emits_event (0.17s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_creates_admin(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_enlistment_preseed_url_links_to_enlistment_preseed (0.92s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test__whoami_returns_user(user=user,client=oauth) (0.13s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_turns_dhcp_on (0.46s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpersWithDatabase.test_get_oauth_token_raises_Unauthorized_for_unknown_token (0.04s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPI.test_GET_returns_details(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=oauth,testing) (0.52s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPI.test_GET_returns_details(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.api.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response(user=user,client=user+pass) (0.58s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_403_when_not_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=user+pass,testing) (0.25s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_block_devices (0.40s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_with_space(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_all_handler_on_domain_name_change(region_and_rack) (1.35s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_400_when_bad_primary_rack(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=user+pass,testing) (0.28s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionControllerProcess.test__calls_update_rackd_status_on_all_racks_on_create (1.00s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_400_when_bad_secondary_rack(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_returns_routable_racks_conn (1.97s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_partitions_by_name (0.52s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_scope_power_parameters_unknown_parameter (0.07s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_admin_only(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=oauth,installation) (0.33s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_add_tag_returns_403_when_not_admin(user=user,client=user+pass) (0.91s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_undefined_space_clears_space(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_create_services_for_on_update (0.52s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_single(user=user,client=oauth,id) (0.26s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata_skips_storage_for_non_ubuntu (1.75s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_admin_only(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_delete (0.21s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=oauth,installation) (0.21s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_update_notification(device) (0.91s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_removes_partition (0.62s) SUCCESS: maasserver.tests.test_preseed_network.TestSimpleNetworkLayout.test__renders_expected_output (1.70s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_deletes_volume_group(user=user,client=oauth) (0.51s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_returns_no_devices (0.49s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_backward_compatible_name_for_ubuntu_with_prefix (0.62s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedTemplate.test_get_preseed_template_returns_None_when_no_filenames (0.09s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_updates_name (0.54s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_deletes_device_interface(user=user,client=user+pass) (0.92s) SUCCESS: maasserver.tests.test_preseed.TestPreseedContext.test_get_preseed_context_contains_keys (0.06s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__admin_returns_device_when_admin (0.25s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_updates_machine_bmc_keeps_old_bmc (1.26s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_get_next_version_name_returns_current_date (0.06s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultsAPI.test_GET_include_output(user=user,client=user+pass) (0.86s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_changing_power_parameters_changes_ip (0.13s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_get_next_version_name_returns_later_revision (0.06s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_400_when_missing_id(user=user,client=user+pass) (0.50s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_supports_subarch_returns_True_if_subarch_in_subarches (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_validation_raises_error_on_missing_subarch (0.04s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestEnableAndDisableInterface.test__disable_interface_removes_links (0.31s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE(user=user,client=user+pass,by_id) (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_update_notification(region) (1.00s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_commissionable_resource_returns_only_for_os_series (0.15s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_409_when_not_ready_or_broken(user=user,client=user+pass) (3.50s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET_include_script(user=user,client=user+pass,by_id) (0.15s) SUCCESS: maasserver.tests.test_preseed_network.TestSingleAddrFamilyLayout.test_renders_expected_output(ipv6) (1.21s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_PUT(user=user,client=oauth,by_id) (0.18s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestUpdateChildInterfaceParents.test__updates_interface_parents(bridge) (0.42s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_commissionable_resource_returns_sorted_by_architecture (0.27s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_deleting_machine_ip_when_shared_with_bmc (0.52s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_init_sets_properties (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag_admin_only(user=user,client=oauth,by_id) (0.17s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_supported_hwe_kernel_includes_all_subarches (0.15s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_doesnt_update_zones_when_nothing_to_process (0.17s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_403_when_not_admin(user=user,client=oauth) (0.74s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetAvailableCommissioningResources.test__returns_empty_if_no_cache (0.14s) SUCCESS: maasserver.tests.test_preseed.TestRenderCurtinUserdataWithThirdPartyDrivers.test_render_curtin_preseed_with_third_party_driver(HPDSA driver) (1.01s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_errors_on_unknown_revision(user=user,client=oauth,by_id) (0.17s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_creates_services_for_rack_controller (0.33s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_updates_proxy_logs_failure (0.25s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodePreviousStatus.test_changing_status_updates_previous_status (0.17s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_latest_version_by_default(user=user,client=user+pass,by_name) (0.19s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetKpackageForNode.test__returns_kpackage (0.29s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag(user=user,client=user+pass,by_id) (0.15s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_404_when_not_volume_group(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_updates_zones (0.25s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_startProcessing_doesnt_call_start_when_looping_call_running (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_deletes_interface(user=user,client=user+pass) (0.99s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_admin_only(user=user,client=user+pass,by_id) (0.16s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_update_rackd_status_on_create (0.42s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_client_identifiers_returns_rack_controller_system_ids (0.92s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_prevents_reverting_default(user=user,client=oauth,by_id) (0.13s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_startService_registers_with_postgres_listener (0.27s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_iteration_returns_sequential_values (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_requires_to_to_be_an_int(user=user,client=user+pass,by_id) (0.13s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetUsableKernels.test__returns_usable_kernels(ubuntu/xenial) (0.53s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_set_value_sets_value (0.07s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_codename_returns_release_codename (0.06s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_read_404_when_not_volume_group(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__ignores_IPv4_if_ipv4_not_set (0.05s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters_by_script_type_commissioning(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_bootsourceselection.TestBootSourceSelection.test_can_create_selection (0.08s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__returns_v4_and_v6_addresses (0.05s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_actual_instance_returns_VirtualBlockDevice (0.34s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_fabric_update(device) (1.58s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST_gets_name_from_filename(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST_requires_admin(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSet.test_get_name (0.28s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test__returns_device_when_admin (0.27s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_create_raises_409_if_not_ready(user=user,client=user+pass) (0.35s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_handler_path(user=user,client=oauth) (0.79s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_raise_ValueError_when_unicode (0.05s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_returns_rack_controllers (0.67s) SUCCESS: maasserver.tests.test_preseed.TestRenderPreseed.test_get_preseed_uses_rack_controller_url(COMMISSIONING) (1.31s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_handler_path(user=user,client=oauth) (0.15s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_includes_legacy_subnet_objects(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__admin_returns_device_when_admin (0.26s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_updates_zone_name(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_config_name_uniqueness_enforced (0.06s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterExpiring.test__skips_those_that_have_not_expired (0.60s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(ntp_external_only) (0.06s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_new_creates_zone(user=user,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test__init_sets_up_cache_device_field (0.13s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(max_node_testing_results) (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__creates_string_field_for_passwords (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(enable_disk_erasing_on_release) (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeSettingField.test__creates_password_fields (0.06s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_read(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(default_min_hwe_kernel) (0.06s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDecomposeMachine.test__raises_PodProblem_for_UnknownPodType (0.07s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(commissioning_osystem) (0.09s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(maas_name) (0.04s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test_filter_by_tags_returns_devices_with_iterable (0.66s) SUCCESS: maasserver.api.tests.test_spaces.TestSpacesAPI.test_read_with_no_undefined_space(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_factory_make_DHCPSnippet (0.04s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerDriverCheck.test__handled (0.16s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_filter_by_id (0.04s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_get_by_id_fails_for_non_owner_as_admin(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test_configure_creates_boot_partition (0.41s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__return_block_device_by_name (0.22s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_updates_handles_unknown_subnet (0.08s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_list_only_shows_user_keys_for_admin(user=user,client=oauth) (0.17s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_large_gpt_partition (0.16s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestGetErrorMessageForException.test_returns_cluster_name_in_no_connections_error_message (0.30s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__bond_with_params (1.14s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_root_size (0.23s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(1.5%) (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_forcibly_changed(user=user,client=user+pass) (1.26s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(0.816112383915%) (0.04s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_read(user=user,client=oauth) (0.21s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_removing_bmc_ip_when_shared_with_bmc (0.36s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_fabric_update(region) (1.64s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_read_404_when_bad_id(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_lv_size_returns_lv_size_if_set (0.12s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_boot_size_returns_boot_size_if_set (0.10s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_returns_routable_racks (1.53s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.14s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_get_used_local_storage (0.25s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_scope_power_parameters (0.04s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_value_to_high_for_boot_disk (0.13s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_delete_deletes_subnet(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.tests.test_third_party_drivers.TestMatchAliasesToDriver.test_finds_no_match (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_409_when_not_ready_or_broken(user=user,client=user+pass) (4.04s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPIAuth.test__unreserved_ip_ranges_fails_if_not_logged_in(user=anonymous,client=user+pass) (0.09s) SUCCESS: maasserver.tests.test_third_party_drivers.TestNodeModaliases.test_survives_no_commissioning_data (0.15s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_get_used_memory (0.30s) SUCCESS: maasserver.tests.test_third_party_drivers.TestPopulateKernelOpts.test_blacklist_provided (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_False_if_no_resources_but_images (0.08s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_True_if_image_has_multiple_purposes (0.14s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_supports_subarch_returns_True_if_subarch_in_name_matches (0.06s) SUCCESS: maasserver.dns.tests.test_config.TestIPv6DNS.test_bind_configuration_includes_ipv6_zone (1.16s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryManagerClear.test__clear_mdns_entries (1.45s) SUCCESS: metadataserver.builtin_scripts.tests.test_builtin_scripts.TestBuiltinScripts.test_update_doesnt_revert_script (0.41s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__determine_hardware_matches(caffeine_fueled_ubuntu_classic) (0.05s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_updates_existing_machine_block_devices (0.75s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_False_if_no_images (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_usable_architectures (0.24s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_create_raises_error_on_not_unique (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_disallows_subnets_on_another_vlan(user=user,client=user+pass) (1.17s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_complete_returns_false_for_no_files (0.05s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_get_latest_set (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_requries_admin(user=user,client=oauth) (0.76s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_to_dict_handles_keyring_data (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__adds_parent_tag(ubuntu_classic) (0.20s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_split_arch (0.06s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__default_parameters(user=user,client=user+pass) (0.80s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_to_dict_with_selections_returns_dict_without_selections (0.08s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_with_many_yields_many_zones (0.46s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_generated_resource_returns_None_when_doesnt_exists (0.09s) SUCCESS: maasserver.tests.test_preseed_network.TestVLANOnBondNetworkLayout.test__renders_expected_output (1.51s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_resource_for_returns_matching_resource (0.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__precreate_parent(none_of_the_above) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModel.test__detect_switch_vendor_model_returns_none_by_default (0.04s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_zone_generator_handles_rdns_mode_equal_enabled (0.20s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_sets_for_node (0.26s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetAvailableCommissioningResources.test__returns_longest_remaining_supported_lts_first (0.17s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__detect_switch_vendor_model(accton_wedge40_1) (0.07s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetKpackageForNode.test__returns_hwe_rolling (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_ip_address_update(device) (1.70s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__return_cache_set_by_name (0.23s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_default_config_cannot_be_changed (0.04s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(default_storage_layout) (0.04s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__does_not_contain_routes_between_nodes_on_differing_spaces (0.50s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(enable_analytics) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(disk_erase_with_quick_erase) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(completed_intro) (0.04s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_on_boot_disk (0.48s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__rejects_unsaved_nodes_on_the_left (0.15s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_multiple_resource_for_hwe_resources (0.35s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(omapi_key) (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_on_device_only_allows_static(user=user,client=oauth) (0.95s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_drop_sequence (0.05s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_deprecated_node_summary_false(user=user,client=user+pass) (0.83s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(default_distro_series) (0.06s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_cleared(user=user,client=oauth) (0.98s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_will_be_created_automatically_on_first_access (0.09s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__raises_error_if_hostname_does_not_resolve (0.05s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetReservedIPRangesAPI.test__returns_reserved_anycast_for_empty_ipv6_subnet(user=user,client=user+pass) (0.15s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__deletes_virtual_interfaces_linked_to_removed_macs (0.69s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_delete_cleans_values (0.16s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryManagerClear.test__clear_mdns_entries_is_noop_if_what_to_clear_is_unspecified (1.42s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_without_backing_fails (0.32s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_get_dhcp_snippet_or_404 (0.10s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetUsableKernels.test__returns_usable_kernels(ubuntu/vivid) (0.37s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__with_include_ranges(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_dnsdata (0.20s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerHost.test_get_maas_facing_server_host_returns_rack_maas_url (0.41s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetStatisticsAPI.test__without_include_ranges(user=user,client=oauth) (0.21s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_ns (0.08s) SUCCESS: maasserver.tests.test_start_up.TestFunctions.test_regionRefresh_refreshes_a_region (0.11s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_api_hash_is_set_in_headers(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__admin_admin_returns_dnsdata (0.09s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__ignores_duplicate_macs (0.51s) SUCCESS: maasserver.models.tests.test_dnspublication.TestZoneSerial.test_parameters_in_database (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__one_mac_missing (0.58s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_True_when_authentication_is_provided(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_allows_atsign (0.05s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_rejects_address_with_cname (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_nodes_with_no_nodes(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_progress_increases_from_0_to_100 (0.61s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__does_not_call_dns_kms_setting_changed_if_not_master (0.29s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device (0.24s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_size (0.08s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__admin_view_returns_dnsresource (0.16s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__prefers_rdns_to_mdns (0.35s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_raises_error(user=user,client=user+pass) (1.00s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_adds_delegation (0.08s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSet.test_get_node (0.14s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_allows_multiple_records_unless_cname (0.11s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__does_not_call_load_builtin_scripts_if_not_master (0.24s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_can_be_deleted_if_does_not_contain_resources (0.06s) SUCCESS: maasserver.tests.test_status_monitor.TestStatusMonitorService.test_init_with_default_interval (0.05s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_cname_with_underscore (0.06s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_sata_tag (0.28s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_ip_address_update(region) (1.64s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__admin_admin_returns_domain (0.09s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_txt (0.13s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSet.test_name (0.21s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublicationManager.test_get_most_recent_crashes_when_no_publications (0.04s) SUCCESS: maasserver.forms.tests.test_bcache.TestUpdateBcacheForm.test_choices_are_being_populated_correctly (1.18s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_create_node_event_creates_event (0.16s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_allows_underscores_without_addresses (0.07s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_create_cache_set_setups_up_cache_device_without_part (0.25s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_get_default_fabric_is_idempotent (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_devices_in_order (0.25s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_invalid_name_raises_exception (0.04s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_is_not_valid_if_invalid_uuid_append_XYZ (0.15s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_rejects_addresses_if_underscore_in_name (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_mode_returns_default_if_blank (0.10s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_rack_controllers_returns_no_rack_controllers_nonadmin(user=user,client=oauth) (0.69s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__user_admin_raises_PermissionError (0.09s) SUCCESS: maasserver.tests.test_storage_layouts.TestCalculateSizeFromPercentHelper.test__returns_correct_result(100%) (0.06s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_by_id_invalid_for_mismatch_node (0.31s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_requries_admin(user=user,client=user+pass) (0.60s) SUCCESS: maasserver.forms.tests.test_bootresource.TestBootResourceForm.test_creates_boot_resoures_with_generated_rtype (0.11s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_get_user_data_retrieves_data (0.16s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_returns_tag(user=user,client=oauth) (0.08s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(1000.42%) (0.07s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__user_view_returns_fabric (0.07s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(0) (0.04s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_cannot_create_duplicate_entry (0.09s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_destructive_true_adds_tag (0.08s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_raises_error_for_missing_idx (0.13s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_creates_fannetwork (0.08s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_rebuild_rebuilds_node_mapping(user=user,client=oauth) (0.13s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_creates_boot_source_selection_object (0.05s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_cannot_save_host_backed_filesystem_if_node_missing (0.05s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_adds_nsrrset_and_glue_in_depth (0.31s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_lv_name_returns_default_if_not_set (0.19s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_runs_builtin_commissioning_hooks (0.19s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_set_zone_does_not_work_if_not_admin (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_block_size_returns_block_device_block_size (0.17s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_or_create_cache_set_for_partition_returns_previous (0.28s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_cant_be_deleted_if_contains_resources (0.21s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_percentage_to_high_for_boot_disk (0.16s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_creates_domain (0.04s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_invalid_definition(user=user,client=oauth) (0.33s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(ext2,block-device) (0.15s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_sets_script_version_to_latest_when_not_given (0.23s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_update_kms_srv_creates_srv_records (0.10s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_updates_tag(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.forms.tests.test_cacheset.TestUpdateCacheSetForm.test_save_updates_the_cache_set_with_boot_disk (0.33s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__admin_raises_PermissionDenied_when_user_requests_admin (0.26s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManager.test__default_specifier_matches_id (0.11s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(xfs,block-device) (0.18s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_cannot_create_ipv6_fannetwork (0.05s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_invalid_tag_name(user=user,client=oauth) (0.12s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set_for_controller (0.23s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningFormForm.test_commissioningform_contains_real_and_ui_choice (0.11s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_stores_dhcp (0.07s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_form_loads_initial_values_from_default_value (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_builtin_scripts.TestBuiltinScripts.test_update_script (0.38s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_from_block_device(user=user,client=user+pass) (0.84s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_stores_host_reserve (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(vfat,partition) (0.18s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__edit_raises_PermissionDenied_when_user_not_owner (0.21s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_stores_off (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__adds_parent_tag(caffeine_fueled_ubuntu_core) (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_requires_admin_privileges(user=user,client=oauth) (0.09s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__update_failure_doesnt_delete_value (0.14s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_testing_script_set (0.21s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__admin_edit_returns_fannetwork (0.08s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__update_global_snippet_resets_subnet (0.08s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(swap,partition) (0.19s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__view_returns_cache_set_when_no_owner (0.19s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_enabled (0.04s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_space_update(device) (1.50s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_get_config_not_found_in_default_config (0.05s) SUCCESS: maasserver.forms.tests.test_dnsdata.TestDNSDataForm.test__updates_dnsdata (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(maas_name) (0.04s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_sslkey_deletes_key(user=user,client=user+pass) (0.21s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestGenerateUserData.test_generate_user_data_produces_testing_script (0.24s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(commissioning_osystem) (0.06s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__handles_disconnected_interfaces (0.27s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(ntp_external_only) (0.05s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(ramfs,node) (0.21s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__accepts_string_for_ip_addresses (0.15s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_user_with_staticaddress_fails(user=user,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(enable_disk_erasing_on_release) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(default_min_hwe_kernel) (0.08s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(ext4,block-device) (0.17s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_GET_finds_user(user=user,client=oauth) (0.14s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_other_user_than_node_cannot_signal_commissioning_result (0.26s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_path (0.25s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(max_node_testing_results) (0.07s) SUCCESS: maasserver.forms.tests.test_dnsresource.TestDNSResourceForm.test__update_allows_multiple_ips (0.22s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test__whoami_returns_user(user=user,client=user+pass) (0.16s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__does_nothing_if_skip_storage (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(btrfs,partition) (0.20s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_handler_path(user=user,client=oauth) (0.07s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_can_only_set_snippet_for_node_or_subnet (0.23s) SUCCESS: maasserver.api.tests.test_version.TestVersionAPI.test_GET_returns_details(user=anonymous,client=user+pass) (0.09s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__calls_start_commissioning_with_options (0.30s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_remove_tag_returns_404_when_system_id_doesnt_match(user=user,client=user+pass) (1.00s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__handles_renamed_block_device (0.25s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(ext2,block-device) (0.28s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_handler_path(user=user,client=oauth) (0.15s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_does_not_set_default_storage_layout_if_rack (0.52s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__not_allowed_in_bad_state (0.18s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_clear_token_for_node_deletes_related_NodeKey (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_cannot_save_filesystem_if_too_much_storage (1.08s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__updates_fannetwork (0.09s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(xfs,block-device) (0.22s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.22s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__query_by_unknown_mac (0.53s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_doesnt_call_sets_initial_network_config_if_WORKING (0.30s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_srv (0.06s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_absolute_path_empty(partition) (0.23s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_parent_returns_partition (0.25s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_400_when_bad_primary_rack(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_rejects_bad_cname_target (0.05s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_token_for_node_registers_node_key (0.31s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(vfat,partition) (0.29s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(tmpfs,node) (0.11s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_invalid_absolute_path(block-device) (0.13s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__admin_view_returns_dnsdata (0.12s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_admin_only(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublicationManager.test_collect_garbage_leaves_records_older_than_specified (0.09s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create_admin_only(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(fat32,block-device) (0.16s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(swap,partition) (0.16s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublicationManager.test_get_most_recent_returns_record_with_highest_id (0.06s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_separate_fqdn_splits_srv (0.04s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_failure_does_not_populate_tags (0.36s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_invalid_absolute_path_too_long(block-device) (0.23s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_create_strips_trailing_dot (0.05s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_409_when_not_ready_or_broken(user=user,client=user+pass) (4.41s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemFormWithoutSubstrate.test_is_not_valid_if_there_is_no_filesystem (0.05s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(ramfs,node) (0.19s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__admin_view_returns_domain (0.08s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_bulk_set_user_data_with_preexisting_data (0.41s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_space_update(region) (1.70s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(tmpfs,node) (0.23s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__user_edit_raises_PermissionError (0.08s) SUCCESS: maasserver.forms.tests.test_filesystem.TestUnmountNonStorageFilesystemFormScenarios.test_unmounts_filesystem_with_mount_point(tmpfs) (0.15s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_set_user_data_to_None_when_none_exists_does_nothing (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(ext2,partition) (0.17s) SUCCESS: metadataserver.tests.test_api.TestDiskErasingAPI.test_signaling_erasing_ok_releases_node (0.34s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_add_tag_only_adds_new_tag (0.09s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_register_event_and_event_type_registers_event_with_datetime (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(ext4,partition) (0.29s) SUCCESS: maasserver.models.tests.test_eventtype.EventTypeTest.test_register (0.07s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(xfs,partition) (0.19s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_rejects_duplicate_names (0.06s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_deletes_volume_group(user=user,client=user+pass) (0.60s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test__name_returns_unknown_when_no_script_or_model_script_name (0.16s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_save_accepts_default_vlan_in_fabric (0.05s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(vfat,block-device) (0.19s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(fat32,block-device) (0.19s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__creates_bond_interface_with_default_bond_params (0.46s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_only_allows_status_running (0.16s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__admin_admin_returns_fabric (0.13s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_rejects_undersize_overlay (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(swap,block-device) (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(fat32) (0.17s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__user_admin_raises_PermissionError (0.09s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_only_allows_when_result_is_blank (0.21s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_overwrites_file (0.06s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_get_userdata_detects_request_origin (0.67s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(ext4) (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(vfat) (0.25s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_can_create_filesystem_on_partition_on_boot_disk (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_raises_error(user=user,client=oauth) (1.05s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_stores_result (0.20s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_node_returns_None_when_no_substrate (0.04s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__rejects_when_parents_already_have_children (0.45s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_403_when_not_admin(user=user,client=user+pass) (0.66s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_adds_field_for_stdout (0.26s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(swap) (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_bcache_without_backing (0.25s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_find_script_result_returns_none_when_not_found (0.20s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_node_returns_block_device_node (0.19s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_handler_path(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(fat32) (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_1_with_less_than_2_raid_devices (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_unique_on_partition_and_acquired (0.23s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodePodListener.test__calls_handler_on_delete_notification (1.40s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_success_is_idempotent (0.41s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_bond_interface(user=user,client=oauth) (2.51s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(ext4,block-device) (0.16s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set_cleans_up_past_limit (0.43s) SUCCESS: metadataserver.tests.test_api.TestAnonymousAPI.test_anonymous_get_enlist_preseed (0.06s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(btrfs,partition) (0.17s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_requries_admin(user=user,client=oauth) (0.80s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_with_script_id_ignores_not_pending (0.28s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_create_bcache_with_partitions (0.49s) SUCCESS: metadataserver.tests.test_api.TestAnonymousAPI.test_anonymous_get_preseed (0.21s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__allows_bridge_on_parent_with_vlan_bridges (0.90s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(ext2,partition) (0.20s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_lvm_allocated_size_and_get_lvm_free_space (0.63s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_raid_returns_false_for_LVM_VG (0.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=oauth,with_force) (0.50s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(xfs,partition) (0.20s) SUCCESS: metadataserver.tests.test_api.TestMAASScripts.test__only_returns_scripts_which_havnt_been_run (0.46s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_10_with_3_raid_devices_and_spares (0.47s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(ext4,block-device) (0.20s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_metadata_index_shows_latest(curtin-metadata) (0.18s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__edit_doesnt_overwrite_params (0.56s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(lvm-vg) (0.45s) SUCCESS: metadataserver.tests.test_api.TestByMACMetadataAPI.test_api_retrieves_node_userdata_by_mac (0.60s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(btrfs,partition) (0.28s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_shows_user_data_if_available(metadata) (0.17s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__rejects_no_parent (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=oauth,with_force) (0.63s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(ext4,partition) (0.19s) SUCCESS: metadataserver.tests.test_api.TestMetadataUserDataStateChanges.test_request_does_not_cause_status_change_if_not_deploying (0.21s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__edits_interface(region) (0.18s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_1_with_2_or_more_raid_devices (0.57s) SUCCESS: maasserver.forms.tests.test_interface.GetInterfaceFormTests.test_get_interface_form_returns_form(bond) (0.03s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(raid-5) (0.44s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_create(machine) (1.52s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_sets_gateway_link_ipv4_on_node(user=user,client=oauth) (1.17s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_invalid_power_parameters (0.47s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(vfat,block-device) (0.16s) SUCCESS: metadataserver.tests.test_api.TestRescueModeAPI.test_signaling_entering_rescue_mode_does_not_set_owner_to_None (0.18s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test_allows_interface_on_tagged_vlan_for_device (0.18s) SKIP: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__edits_interface (0.00s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_6_with_less_than_4_raid_devices (0.21s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(swap,block-device) (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_returns_device_when_admin(FilesystemGroup) (0.32s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_objects_is_BcacheManager (0.06s) SUCCESS: metadataserver.tests.test_api.TestRescueModeAPI.test_signaling_entering_rescue_mode_ok_changes_status (0.23s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=oauth,without_force) (0.64s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__rejects_parent_on_bond (0.30s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(raid-0) (0.32s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_file_contents (0.45s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_returns_device_when_admin(Bcache) (0.34s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__DHCP_creates_link_to_DHCP_without_subnet (0.24s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_device(VolumeGroup) (0.11s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__mode_is_case_insensitive (0.16s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_with_script_id_sets_script_to_run (0.44s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_result_does_not_affect_other_node (0.63s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(raid-10) (0.52s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_0_with_more_then_2_raid_devices (0.66s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroups.test_read(user=user,client=oauth) (2.63s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_device_physical_interface(user=user,client=oauth) (0.97s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_allows_acquired_to_be_true (0.26s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=admin,client=user+pass,with_force) (0.66s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__sets_subnet_queryset_to_all_on_interface_wihtout_vlan (0.27s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_updates_zone(user=user,client=oauth) (0.14s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__requires_subnet (0.06s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_includes_all_osystems_sorted (0.05s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_installation_success_leaves_node_deploying (0.27s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_node_handler_with_update_on_tag_rename(region_and_rack) (1.23s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_includes_only_distro_series_that_require_license_keys (0.06s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_new_creates_zone(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_volume_group_if_valid_filesystems (0.34s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_no_error_clears_existing_error (0.42s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_new_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_populates_power_type_initial (0.16s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(bcache) (0.48s) SUCCESS: maasserver.clusterrpc.tests.test_architecture.TestListSupportedArchitectures.test_sorts_results (0.06s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_adds_blank_default_when_no_arches_available (0.06s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__simple_invalid (0.05s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_rejects_unknown_status_code (0.28s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__valid (0.14s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_bcache_with_multiple_backings (0.38s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_contains_limited_set_of_fields (0.05s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=user+pass,without_force) (0.66s) SUCCESS: maasserver.forms.tests.test_notification.TestNotificationForm.test__notification_can_be_created_with_all_fields (0.08s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(lvm-vg) (0.38s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_requires_admin(user=user,client=user+pass) (0.86s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__arches_validation (0.05s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetBootImages.test_calls_ListBootImages_if_raised_UnhandledCommand (0.44s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__fail_validation_on_create_cleans_url (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestRackControllersImporter.test__init_with_multiple_ssytem_ids (0.06s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__updates_url (0.09s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_disable_all_parents_disables_the_bridge (1.01s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestGetPowerTypeParametersFromJSON.test_creates_dict_char_fields (0.06s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_0_with_spare_raid_devices (0.35s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeFormField.test__sets_properties_on_form_field (0.04s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_script_doesnt_effect_other_fields (0.10s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__volume_group_on_block_device (0.29s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestMakeSettingField.test__provides_sane_default_values (0.05s) SUCCESS: maasserver.forms.tests.test_settings.TestGetConfigForm.test_get_config_form_returns_initialized_form (0.05s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_stores_empty_script_result (0.58s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_node_for_mac_raises_404_for_unknown_mac (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(region_to_device) (1.09s) SUCCESS: maasserver.forms.tests.test_staticroute.TestStaticRouteForm.test__updates_staticroute (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__volume_group_on_two_partitions (0.27s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_delete_deletes_filesystems_not_block_devices (0.39s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__clean_dns_servers_accepts_space_separated_list (0.12s) SUCCESS: maasserver.clusterrpc.tests.test_utils.TestCallClusters.test__with_successful_callbacks (0.41s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=user+pass,normal) (0.72s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestSettingsHelpers.test_find_settings (0.05s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet_in_default_fabric_with_vid (0.10s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_warns_for_non_unique_mac_address (0.62s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestSettingsHelpers.test_import_settings (0.07s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_file_invalid_statuses_fails (1.50s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetDNSServerAddress.test_get_dns_server_address_passes_on_IPv4_IPv6_selection (0.06s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__doest_require_vlan_or_cidr_on_update (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=oauth,normal) (1.01s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_raises_PermissionDenied_when_user_requests_admin(RAID) (0.37s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestWarnLoopback.test_warn_loopback_does_not_warn_about_sensible_IPv6 (0.07s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_failure_is_idempotent (0.58s) SUCCESS: maasserver.forms.tests.test_user.TestUniqueEmailForms.test_EditUserForm_validates_if_email_unchanged (0.11s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_defaults_ttl (0.05s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateNTPConfiguration.test_yields_nothing_when_machine_has_no_boot_cluster_address (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_delete_deletes_virtual_block_device (0.48s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_sets_space_by_specifier (0.10s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_two_managed_interfaces_yields_one_forward_two_reverse_zones (0.21s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_ancestors_includes_grandparents (0.44s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_raises_PermissionDenied_when_user_not_owner(RAID) (0.41s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=user+pass,normal) (0.69s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_unsets_secondary_rack (0.36s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(device_to_region) (1.09s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_result_does_not_affect_other_node (0.60s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_node_returns_first_filesystem_node (0.54s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_discovered_returns_discovered_address_for_ipv4_and_ipv6 (0.40s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_0_if_lvm_without_filesystems (0.07s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_node(FilesystemGroup) (0.45s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_rejects_invalid_mac_address (0.17s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_instance_id_returns_system_id(metadata) (0.24s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=user+pass,normal) (1.00s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_with_node_yields_fwd_and_rev_zone (0.71s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_is_not_valid_if_free_space_less_than_min_size (0.49s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_string_representation_contains_essential_data (0.21s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_metadata_index_shows_only_known_versions(curtin-metadata) (0.23s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test__ignores_updates_if_mdns_discovery_state_is_false (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_node(Bcache) (0.60s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_disconnect_deletes_links_and_clears_vlan(user=user,client=oauth) (0.98s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_requires_no_fields (0.46s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNotificationListener.test__calls_handler_on_update_notification (0.85s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_correct_disk_size_for_raid_6 (0.83s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=oauth,without_force) (1.14s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_node_with_owner_def_user_includes_system_info(metadata) (0.50s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_cannot_have_parents (0.33s) SUCCESS: maasserver.forms.tests.test_bcache.TestUpdateBcacheForm.test_bcache_with_invalid_block_device_fails (0.67s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_boot_disk (0.29s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestCreatePhysicalBlockDeviceForm.test_creates_physical_block_device_with_model_serial (0.21s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceGetDiscoveryStateTest.test__reports_correct_parameters (0.24s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_requires_fields (0.22s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_raises_PermissionDenied_when_user_not_owner(VolumeGroup) (0.53s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_node_without_def_user_includes_no_system_info(metadata) (0.41s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_size_of_backing_device_with_bcache (0.42s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=user+pass,without_force) (1.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_handler_path(user=user,client=user+pass) (0.80s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestUpdateVirtualBlockDeviceForm.test_updates_virtual_block_device (0.45s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_success_moves_node_to_new_when_f_commiss (0.40s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_smallest_disk_size_for_raid_1 (0.40s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_owner(VolumeGroup) (0.53s) SUCCESS: maasserver.forms.tests.test_bootresource.TestBootResourceForm.test_adds_boot_resource_set_to_existing_boot_resource (0.24s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_edits_boot_source_selection_object (0.07s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_validates_if_boot_source_cache_has_arch (0.07s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=user+pass,with_force) (1.13s) SUCCESS: maasserver.forms.tests.test_bootsourceselection.TestBootSourceSelectionForm.test_validates_if_boot_source_cache_has_subarch (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPodListener.test__calls_handler_on_delete_notification (1.32s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_success_moves_node_to_previous_status (0.41s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=oauth,with_force) (0.77s) SUCCESS: maasserver.models.migrations.tests.test_create_default_storage_layout.TestClearFullStorageConfigration.test__clears_all_objects (0.98s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_rejects_if_invalid_action (0.23s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_on_BootSource_update (0.06s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_virtual_device_returns_VirtualBlockDevice_for_group (0.64s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_zone_field_present_if_data_is_empty (0.11s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_zone_field_rejects_empty_zone (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_on_device_only_allows_static(user=user,client=user+pass) (0.98s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__doesnt_move_link_subnets_when_vlan_is_None(region-rack) (0.29s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_default_matches_cidr_or_name (1.46s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_device_from_another_node_to_array_fails (0.82s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_testing_transitions_to_testing (0.66s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodePreviousStatus.test_chaning_status_doesnt_store_blacklisted_statuses (0.17s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNamePrefix.test__returns_prefix(raid-5) (0.50s) SUCCESS: maasserver.forms.tests.test_cacheset.TestUpdateCacheSetForm.test_save_updates_the_cache_set_with_block_device (0.38s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningFormForm.test_commissioningform_error_msg_lists_series_choices (0.05s) SUCCESS: maasserver.forms.tests.test_commissioning.TestCommissioningScriptForm.test_rejects_whitespace_in_name (0.05s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_allows_claiming_of_new_static_ips_for_existing_MAC(user=user,client=user+pass,with_ip_address_param) (1.02s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=user,client=user+pass,without_force) (1.21s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_commissioning_failure_clears_owner (0.51s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_device_from_array_fails (0.75s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_space_by_vlan (0.77s) SUCCESS: maasserver.forms.tests.test_controller.TestControllerForm.test___populates_power_type_initial (0.44s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupManager.test_get_available_name_for_returns_next_idx (0.61s) SUCCESS: maasserver.forms.tests.test_deploy.TestDeployForm.test_accepts_new_values (0.04s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_commissioning_failure_does_not_populate_tags (0.31s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceForm.test_changes_device_parent (0.24s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceForm.test_contains_limited_set_of_fields (0.07s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_ip_address_rejects_ip_in_dynamic_range(user=user,client=user+pass,with_ip_address_param) (0.71s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__raid_on_block_devices (0.39s) SUCCESS: maasserver.forms.tests.test_domain.TestDomainForm.test_accepts_ttl_equals_none (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_delete(rack) (1.79s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_installation_fail_leaves_node_failed (0.29s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_subnet_specifier (0.59s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionControllerProcess.test__calls_update_rackd_status_on_all_racks_on_delete (1.32s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__allows_setting_testing_scripts_to_none (0.24s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_add_tag_doesnt_duplicate (0.04s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_display_size (0.05s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_results_no_exit_status_defaults_to_zero (0.33s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_invalid_partition_from_array_fails (0.84s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__validates_commissioning_scripts (0.15s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=oauth,normal) (1.04s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_returns_device_when_admin(RAID) (0.42s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_negative_block_device_size (0.12s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateNTPConfiguration.test_external_only_yields_nothing_when_no_ntp_servers_defined (0.12s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_remove_tag_doesnt_error_on_missing_tag (0.05s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__AUTO_deletes_link (0.39s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_invalid_absolute_path(partition) (0.16s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_type_physical (0.15s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_MAC_links_MAC_to_ip_address(user=user,client=oauth,with_ip_address_param) (0.74s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_invalid_absolute_path_too_long(partition) (0.19s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_returns_device_when_user_is_owner(FilesystemGroup) (0.37s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__always_has_LINK_UP (0.38s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__raises_Http404_when_invalid_device (0.26s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_is_not_valid_if_substrate_in_filesystem_group(block-device) (0.24s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_remove_None_values_removes_None_values_in_dict (0.05s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__eui64_address_returns_correct_value (0.24s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=user+pass,normal) (0.73s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_returns_device_when_user_is_owner(Bcache) (0.39s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__rejects_no_parent (0.21s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_partition_from_array (0.92s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_bad_fqdn_fails(user=user,client=user+pass,with_ip_param) (0.62s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_moves_machine_under_pod (0.46s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_parent_cannot_be_VLAN (0.27s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_create(machine) (1.39s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroupManager.test_create_volume_group_with_name_and_uuid (0.22s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_matching_address_family (0.14s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__creates_bond_interface_with_bond_params (0.37s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_address (0.12s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read(user=user,client=oauth) (3.02s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_no_owner(FilesystemGroup) (0.54s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_subnet (0.08s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=oauth,normal) (0.62s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_parent_interfaces_must_be_physical (0.32s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__user_optional (0.09s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_requires_mac_address (0.15s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_can_overlap_discovered_ip (0.13s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_and_ip_creates_ip_with_hostname(user=user,client=oauth,with_ip_address_param) (0.63s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_duplicate_ipranges (0.11s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_overlap_end (0.09s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_no_owner(Bcache) (0.46s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_link_up_subnet_to_be_changed(user=user,client=user+pass) (1.01s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__edit_allows_zero_params (0.65s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__reserved_range_can_overlap_most_ip_types (0.14s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=user+pass,normal) (0.59s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__reserved_range_cannot_overlap_dynamic_ranges (0.11s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_pod_creates_new_machines_connected_to_default_vlan (1.08s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestISCSIBlockDevice.test_normalises_target (0.13s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_True_for_generated_resource (0.14s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_validation_raises_error_on_invalid_name_for_generated (0.05s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestISCSIBlockDeviceManager.test_total_size_of_iscsi_devices_for_returns_sum_of_size (0.11s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_disable_one_parent_doesnt_disable_the_bridge (0.71s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_delete_does_nothing_if_linked (0.10s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_hostname_creates_ip_with_hostname(user=user,client=user+pass,with_ip_address_param) (0.77s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestStaticIPAddressSubnetListener.test__calls_update_on_subnet (1.36s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_raises_error(user=user,client=user+pass) (1.08s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_already_used_device_to_array_fails (0.59s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_default_commissioning_resource_returns_amd64_second (0.16s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__edit_does_overwrite_params (0.55s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_allows_null_vlan (0.24s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_default_commissioning_resource_returns_i386_first (0.21s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_generated_resource_returns_false_when_doesnt_exists (0.05s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ipaddress(user=user,client=user+pass,with_ip_param) (0.74s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_synced_resource_returns_true_when_exists (0.07s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test__logs_updated_entry (0.23s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_allows_subnet_with_link_up(user=user,client=oauth) (0.93s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_uploaded_resource_returns_true_when_exists (0.05s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_subnet (0.51s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_empty_list_if_subarch_not_supported_by_resource (0.15s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test___adds_new_neighbour_if_neighbour_discovery_state_is_true (0.22s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid (0.69s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_one_resource_if_image_has_multiple_purposes (0.16s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__edits_interface (0.71s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_returns_error_when_MAC_exists_on_node(user=user,client=oauth,with_ip_param) (0.83s) SUCCESS: maasserver.models.tests.test_node.TestController.test__was_probably_machine_true (0.36s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test__logs_moved_binding (0.25s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_errors_for_no_matching_subnet(user=user,client=user+pass,with_ip_param) (0.57s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSubnetListener.test__calls_handler_on_update_notification (0.90s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_resource_with_wildcard_label (0.18s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_requries_admin(user=user,client=user+pass) (0.97s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_complete_returns_true_for_complete_files (0.08s) SUCCESS: maasserver.models.tests.test_node.TestGenerateNodeSystemID.test_avoids_identifiers_already_in_use (0.14s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_progress_handles_zero_division (0.06s) SUCCESS: maasserver.forms.tests.test_interface.BridgeInterfaceFormTest.test__rejects_when_parent_is_bridge (0.27s) SUCCESS: maasserver.models.tests.test_node.TestGetBMCClientConnectionInfo.test__returns_bmc_identifiers (0.11s) SUCCESS: maasserver.forms.tests.test_interface.GetInterfaceFormTests.test_get_interface_form_returns_form(vlan) (0.05s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_xinstallable_returns_true_when_filetype_present (0.08s) SUCCESS: maasserver.models.tests.test_interface.TestAllInterfacesParentsFirst.test__all_interfaces_parents_ignores_orphan_interfaces (0.26s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_0_with_a_spare_fails (0.49s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_compare_dict_without_selections_compares_True_to_self (0.07s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_or_create_cache_set_for_block_device_creates_new (0.18s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_5_with_2_elements_fails (0.21s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__edits_interface (0.32s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_get_config_not_found (0.04s) SUCCESS: maasserver.models.tests.test_interface.TestCreateAcquiredBridge.test__creates_acquired_bridge_moves_links_from_parent_to_bridge (0.37s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(active_discovery_interval) (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_link_subnet_creates_link(user=user,client=oauth) (1.20s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(commissioning_distro_series) (0.07s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test__requires_mac_address (0.24s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(boot_images_auto_import) (0.07s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(curtin_verbose) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(rpc_region_certificate) (0.04s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__creates_link_up_to_no_subnet_when_on_different_vlan (0.29s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_creates_ip_with_hostname(user=user,client=oauth,with_ip_param) (0.93s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(disk_erase_with_secure_erase) (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSubnetListener.test__calls_handler_on_update_notification_for_vlan (0.95s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_device_from_array_invalidates_array_fails (0.48s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(default_osystem) (0.06s) SUCCESS: maasserver.models.tests.test_dhcpsnippet.TestDHCPSnippet.test_factory_make_DHCPSnippet_sets_subnet (0.08s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv4_if_ipv4_with_ipv4_gateway (0.90s) SUCCESS: maasserver.forms.tests.test_interface.VLANInterfaceFormTest.test__creates_vlan_interface (0.35s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test__get_interface_dict_for_node__by_names (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_set_default_gateway_sets_gateway_link_ipv4_on_node(user=user,client=user+pass) (1.31s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__AUTO_sets_node_gateway_link_v6 (0.30s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_manager_returns_bond_interfaces (0.43s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__associates_best_subnet (0.37s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_no_parameters_fails_with_bad_request(user=user,client=oauth,with_ip_address_param) (0.57s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_cname (0.06s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__DHCP_not_allowed_default_gateway (0.18s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_interface_or_404_raises_PermissionDenied_when_user (0.31s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataManagerGetDNSDataOr404.test__admin_edit_returns_dnsdata (0.11s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_discovered_returns_None_when_empty (0.21s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublication.test_create_with_values (0.06s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublicationManager.test_collect_garbage_does_nothing_when_no_publications (0.06s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPITransactional.test_POST_start_returns_error_when_static_ips_exhausted(user=user,client=user+pass) (1.85s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserListener.test__calls_handler_on_update_notification (0.88s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv6_if_ipv6_only_with_no_gateway_v6_dns (0.74s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_picks_ip_in_subnet (0.26s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_by_specifier(user=user,client=oauth) (1.17s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test___adds_new_entry_if_mdns_discovery_state_is_true (0.28s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManager.test__default_specifier_matches_id (0.24s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_requires_subnet (0.18s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_get_default_domain_creates_default_domain (0.09s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_get_default_domain_is_idempotent (0.05s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_vid (0.54s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_without_hostname_creates_ip_without_hostname(user=user,client=user+pass,with_ip_param) (0.66s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__admin_edit_returns_domain (0.07s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__user_admin_raises_PermissionError (0.09s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_deployed_machine_interface(user=user,client=oauth) (0.91s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_node_gateway_link_ipv6 (0.32s) SUCCESS: maasserver.models.tests.test_node.TestMachineManager.test_machine_lists_node_type_machine (0.55s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__create_acquired_filesystems_calls_clear (0.14s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_vlan (0.47s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestVLANListener.test__calls_handler_on_update_notification (0.83s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_create_region_event_creates_region_event (0.36s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_read_device_interface(user=user,client=user+pass) (0.82s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_nonreserved_name_does_not_raise_exception (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_logs_user_request (0.20s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_rejects_names_with_blanks (0.05s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_reserved_name_raises_exception (0.04s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test_linking_when_no_bond_not_allowed (0.47s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_returns_error_when_MAC_exists_on_node(user=user,client=user+pass,with_ip_address_param) (0.80s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManager.test__name_specifier_matches_name (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_node_with_token (0.28s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__interface_needs_gateways (0.20s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__user_edit_raises_PermissionError (0.14s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_doesnt_include_default_osystem (0.05s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_handles_missing_osystem_in_distro_series (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_breaking_transaction(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.51s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_rejects_host_reserve_too_big (0.08s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_includes_osystem_in_choices (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface (0.20s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__get_matching_node_map (0.64s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_rejects_overlapping_networks (0.08s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_device_physical_interface(user=user,client=user+pass) (0.96s) SUCCESS: maasserver.models.tests.test_interface.TestAllInterfacesParentsFirst.test__all_interfaces_parents_first (1.40s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_form_validates_min_hwe_kernel_by_passing_invalid_config (0.12s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_cannot_create_filesystem_directly_on_boot_disk (0.10s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_ignores_failures_when_talking_to_clusters(get_all_available_boot_images) (1.67s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_interface_accepts_valid_interface (0.26s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(fat32,partition) (0.18s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_transaction(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.45s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__creates_link_up_to_discovered_subnet_on_same_vlan (0.31s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_set_distro_series_doesnt_allow_short_ubuntu_series (0.38s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(ext2,block-device) (0.18s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDiscoverPod.test__calls_DiscoverPod_on_all_clients (0.30s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_interface_displays_error_if_not_hosts_interface (0.34s) SUCCESS: maasserver.models.tests.test_interface.TestForceAutoOrDHCPLink.test__sets_to_AUTO_on_subnet (0.21s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(xfs,block-device) (0.17s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deallocates_address(user=user,client=oauth,normal) (0.65s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_discovered_ip_addresses (0.68s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__get_matching_node_map_by_tag (0.15s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_starts_with_default_osystem (0.35s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_unlink_subnet_deletes_link(user=user,client=user+pass) (1.41s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(vfat,partition) (0.21s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_releasing_lock_fails_when_lock_not_held(pg_advisory_lock/pg_advisory_unlock) (0.52s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_delete_node_deletes_related_interface (0.33s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(swap,partition) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_bios_boot_method_returns_powernv (0.14s) SUCCESS: maasserver.dns.tests.test_publication.TestDNSPublicationGarbageServiceWithDatabase.test_garbage_is_collected (0.67s) SUCCESS: maasserver.api.tests.test_machines.TestPowerState.test__returns_actual_state(user=user,client=oauth) (1.54s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(ramfs,node) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_bios_boot_method_returns_uefi (0.22s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__get_matching_node_map_with_multiple_interfaces (0.64s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__mac_in_use_on_current_node_passes (0.64s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(ext2) (0.25s) SUCCESS: maasserver.models.tests.test_interface.UnknownInterfaceTest.test_manager_returns_unknown_interfaces (0.12s) SUCCESS: maasserver.forms.tests.test_merge_error_messages.TestMergeErrorMessages.test_merge_error_messages_returns_summary_message (0.06s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_interface_returns_boot_interface_if_set (0.27s) SUCCESS: maasserver.forms.tests.test_merge_error_messages.TestMergeErrorMessages.test_merge_error_messages_with_one_more_error (0.07s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__links_interface_to_vlan_on_existing_subnet_with_logging (0.94s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_must_have_one_parent (0.11s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(xfs) (0.17s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_try_advisory_xact_lock_shared/None) (0.83s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_deletes_unknown_interface(user=admin,client=user+pass,without_force) (1.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_sees_global_config (0.21s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingMountPoints.test_uses_mount_point_is_true_for_real_filesystems(ramfs) (0.17s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_vlan_has_generated_name (0.23s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_removed_if_underlying_interface_gets_removed (0.30s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_dnsdata_inherits_global (0.80s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_uses_first_real_tag_value (0.24s) SUCCESS: maasserver.forms.tests.test_node.TestAdminNodeForm.test_changes_zone (0.42s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__change_dynamic_to_reserved (0.19s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_vlan_on_rack_has_supplied_name (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_license_key_returns_node_value (0.17s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_within_ranges (0.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestBcache.test_delete_bcache (0.39s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_releasing_lock_does_nothing(pg_try_advisory_xact_lock/None) (0.52s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__change_reserved_to_dynamic (0.23s) SUCCESS: maasserver.forms.tests.test_node.TestNodeForm.test_accepts_hostname (0.29s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__disabled_component_comma_cleaning (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_type_no_default_power_address_if_not_virsh (0.22s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_within_existing_range (0.13s) SUCCESS: maasserver.models.tests.test_keysource.TestKeySource.test_import_keys_with_keys (0.22s) SUCCESS: maasserver.forms.tests.test_packagerepository.TestPackageRepositoryForm.test__update_failure_doesnt_delete_url (0.06s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_contains_limited_set_of_fields (0.53s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_deletes_content_asynchronously (0.07s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_progress_of_empty_file (0.06s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_is_not_valid_if_size_greater_than_block_size (0.16s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_when_no_ranges_available (0.21s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_valid_returns_False_when_complete_is_False (0.05s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_domain_ttl_overrides_global (1.45s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_valid_returns_True_when_content_has_equal_sha256 (0.07s) SUCCESS: maasserver.models.tests.test_keysource.TestKeySourceManager.test_save_keys_for_user_imports_keys (0.12s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_content (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_ip_addresses_returns_dynamic_ip_if_no_static_ip (0.40s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFileManager.test_get_or_create_file_from_content_returns_new_largefile (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_releasing_lock_does_nothing(pg_advisory_xact_lock_shared/None) (0.62s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=admin,client=oauth,normal) (1.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_controller_region_controller (0.10s) SUCCESS: maasserver.api.tests.test_interfaces.TestNodeInterfaceAPI.test_update_vlan_interface(user=user,client=user+pass) (2.12s) SUCCESS: maasserver.models.tests.test_mdns.TestMDNSModel.test_accepts_invalid_hostname (0.39s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_clears_osystem_and_distro_series (0.28s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_correct_disk_size_for_raid_5 (0.95s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__sets_up_fields_based_on_pod_no_max_cpu_speed (0.56s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_subnet (0.62s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_doesnt_power_off_node_when_off (0.28s) SUCCESS: maasserver.models.tests.test_neighbour.TestNeighbourModel.test_mac_organization (0.39s) SUCCESS: maasserver.utils.tests.test_orm.TestExclusivelyConnected.test__exit_closes_open_connections (0.65s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_smallest_disk_size_for_raid_0 (0.36s) SUCCESS: maasserver.forms.tests.test_raid.TestCreateRaidForm.test_raid_creation_on_boot_disk (0.95s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_lvm_returns_true_when_LVM_VG (0.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=oauth,without_force) (0.73s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_logs_user_request (0.28s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_filters_from_nodes (0.28s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_with_null_user (0.16s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_save_doesnt_allow_changing_group_type (0.44s) SUCCESS: maasserver.utils.tests.test_orm.TestInTransaction.test__true_within_atomic_block (0.59s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=user+pass,normal) (1.25s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_discover_and_sync_existing_pod (1.70s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_spaces (0.85s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_node_that_has_power_on_and_controlled_power_type (0.70s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=admin,client=user+pass,with_force) (0.79s) SUCCESS: maasserver.models.tests.test_node.TestControllerGetDiscoveryState.test__gets_discovery_state_for_each_interface (0.57s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(raid-6) (0.55s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactionalRetries.test__resets_post_commit_hooks_when_retrying (0.65s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_invalid_partition_fails (1.21s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=user+pass,normal) (0.63s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_releases_clears_current_installation_script_set (0.35s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__volume_group_on_partition (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_storage_layout_raises_error_when_unknown_layout (0.14s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_creates_pod_with_discovered_information (1.69s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_errors_for_unconfigured_power_type (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_other_users_ip(user=user,client=user+pass,without_force) (0.68s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__bcache_on_block_devices (0.47s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactionalRetries.test__retries_upon_serialization_failures (0.71s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_blockdevice_by_name (0.71s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_adds_selected_scripts (0.38s) SUCCESS: maasserver.models.tests.test_node.TestControllerManager.test_controller_lists_node_type_rack_and_region (1.09s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_dnsresource(user=user,client=oauth,with_ip_param) (0.85s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_non_admin_hides_controllers (1.34s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_raises_exception_from_rack_controller_in_twisted (0.71s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_returns_device_when_admin(VolumeGroup) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachine.test_does_nothing_if_pre_existing_machine (0.22s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=oauth,without_force) (0.70s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_sends_signal_on_deadlock_failures (0.42s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__raises_Http404_when_invalid_device(RAID) (0.20s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_takes_over_bmc_with_pod (1.81s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_static_ip_addresses_returns_static_ip_addresses (0.68s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_does_not_change_status_if_not_off (0.21s) SUCCESS: maasserver.models.tests.test_node.TestGenerateNodeSystemID.test_crashes_after_1000_iterations (0.80s) SUCCESS: maasserver.models.tests.test_eventtype.EventTypeConcurrencyTest.test_register_is_safe_with_concurrency (0.79s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_tries_only_once (0.55s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_and_ip_creates_ip_with_hostname(user=user,client=oauth,with_ip_param) (0.82s) SUCCESS: maasserver.models.tests.test_node.TestDeviceManager.test_device_lists_node_type_devices (0.60s) SUCCESS: maasserver.models.tests.test_node.TestGenerateNodeSystemID.test_identifier_is_six_digits (0.07s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_release_interface_config_if_releasing (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=admin,client=user+pass,with_force) (0.75s) SUCCESS: maasserver.models.tests.test_node.TestGetBMCClientConnectionInfo.test__creates_event_on_error (0.14s) SUCCESS: maasserver.models.tests.test_node.TestMachineManager.test_get_available_machines_ignores_invisible_machines (0.27s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_partition_to_array (0.73s) SUCCESS: maasserver.models.tests.test_node.TestNodeErase.test_release_or_erase_erases_when_enabled (0.16s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_without_devices_fails (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__status_message_returns_none_for_new_node (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_are_stored_in_proper_scopes (0.23s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroupManager.test_create_volume_group_with_block_devices (0.29s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_default (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_calls_stop_and_import_resources (0.72s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_creates_ip_with_hostname(user=user,client=user+pass,with_ip_param) (0.77s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_remove_valid_partition (1.75s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_allows_admin_to_release_sticky_ip(user=user,client=user+pass,without_force) (0.65s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__create_with_default_values (0.07s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__errors_on_invalid_script_type (0.09s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__bond_over_physical_interface (0.76s) SUCCESS: maasserver.forms.tests.test_staticroute.TestStaticRouteForm.test__requires_source_destination_gateway_ip (0.08s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet_in_fabric_with_vid (0.07s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_can_use_parents_mac_address (0.52s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__updates_vlan (0.06s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__can_acquire_multiple_address_from_the_same_subnet (1.26s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test__vlans_already_using_relay_vlan_not_shown (0.09s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_no_parameters_fails_with_bad_request(user=user,client=user+pass,with_ip_address_param) (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_creates_device_with_dynamic_ip_assignment (0.69s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_updates_existing_pod_in_twisted (1.85s) SUCCESS: maasserver.models.tests.test_node.TestNode_Stop.test__logs_user_request (0.81s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_unsets_primary_rack (0.37s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_get_node_returns_parent_node (0.52s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_interfaces_linked_to_nodes(user=user,client=oauth,with_force) (0.89s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_finds_self_with_loopback (0.45s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv6_if_dual_stack_with_no_gateway_and_told (0.96s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateLogicalVolumeForm.test_is_not_valid_if_size_less_than_minimum_block_size (0.34s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNode.test__logs_other_errors (0.57s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__claim_fails_if_subnet_missing (0.86s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_external (0.72s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_can_use_unique_mac_address (0.49s) SUCCESS: maasserver.api.tests.test_machine.TestExitRescueMode.test_exit_rescue_mode_changes_state(user=user,client=oauth) (0.93s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultGateways.test__return_guess_ipv4_and_ipv6 (0.40s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=oauth,without_force) (0.68s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_parent_interfaces_must_belong_to_same_node (0.28s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_rack_controller_lists_node_type_rack_controller (0.65s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_disk_erasing_changes_state_and_stops_node (0.24s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_adds_block_device_by_name (0.66s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_operation_aborts_testing (0.16s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test_get_effective_mtu_considers_jumbo_vlan_children (0.32s) SUCCESS: maasserver.api.tests.test_machine.TestRescueMode.test_rescue_mode_requires_admin(user=user,client=oauth) (0.71s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_static_ip_assignment_explicit (0.84s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test_get_effective_mtu_returns_default_mtu (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_claim_auto_ips_calls_claim_auto_ips_on_all_interfaces (0.86s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_errors_if_node_is_not_commissioning (2.60s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-worker,maas-id-not-set) (0.43s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__claims_all_missing_assigned_auto_ip_addresses (1.07s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_sets_script_result_to_aborted (0.42s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_is_configured_returns_False_when_only_link_up (0.26s) SUCCESS: maasserver.forms.tests.test_volume_group.TestUpdateVolumeGroupForm.test_adds_boot_disk (0.60s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_clears_status_expires (0.23s) SUCCESS: maasserver.models.signals.tests.test_bootsources.TestBootSourceSignals.test_arranges_for_update_on_BootSource_delete (0.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=admin,client=user+pass,with_force) (0.90s) SUCCESS: maasserver.models.signals.tests.test_config.TestConfigSignals.test_changing_kms_host_triggers_update (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface_adds_interfaces (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-other,maas-id-not-set) (0.39s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test___updates_existing_neighbour (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_acquire_calls__create_acquired_filesystems (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_display_status_shows_default_status (0.15s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test__replaces_obsolete_neighbour (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_full_clean_checks_architecture_for_installable_nodes (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface_adds_interface (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_display_storage_returns_decimal_less_than_1000 (0.13s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.39s) SUCCESS: maasserver.models.tests.test_interface.PhysicalInterfaceTest.test_can_be_disabled (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_link_subnet_calls_update_link_by_id_if_link_id (0.89s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_full_clean_passes_if_status_valid_transition (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_disk_returns_None (0.17s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_does_not_delete_other_IPs_I_own(user=user,client=user+pass,without_force) (0.64s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_disk_returns_set_boot_disk (0.12s) SUCCESS: maasserver.models.tests.test_interface.TestClaimAutoIPs.test__excludes_ip_addresses_in_exclude_addresses (0.94s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_ignores_unassociated_tag_value (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_distro_series_returns_passed_default (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test__get_interface_dict_for_node (0.48s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_license_key_returns_blank (0.17s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-stale) (0.51s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_kernel_options_not_confused_by_empty_str_opts (0.22s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestEnableAndDisableInterface.test__disable_interface_doesnt_remove_links_on_enabled_children (0.99s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_set_initial_net_config_asserts_proper_status (1.37s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_license_key_returns_global (0.16s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_interface_or_404_raises_Http404_when_invalid_id (0.25s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=admin,client=oauth,with_force) (0.63s) SUCCESS: maasserver.api.tests.test_machines.TestPowerState.test__returns_actual_state(user=user,client=user+pass) (1.68s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-is-set) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_sets_local_boot_mode (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_extra_macs_returns_all_but_boot_interface_mac (0.40s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateController.test__moves_children_vlans_to_same_fabric(region) (0.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerCheckPower.test__raises_failure_for_UnknownPowerType (0.93s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_interface_or_404_returns_interface (0.27s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_sets_pxe_boot_mode (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_ifname_ignores_aliases_in_names (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_type_defaults_power_address_if_virsh (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_ifname_ignores_vlans_in_names (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-stale) (0.47s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestInterfaceVLANUpdateNotController.test__removes_links_when_goes_to_disconnected(device) (0.37s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_hostname_is_validated (0.11s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_auto_to_static (1.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_type_raises_if_not_set (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=oauth,without_force) (0.65s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_ip (0.58s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_block_device_name_ignores_different_prefix (0.25s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-worker,maas-id-not-set) (0.44s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__raises_PermissionDenied_if_user_doesnt_have_edit (1.21s) SUCCESS: maasserver.websockets.handlers.tests.test_pod.TestPodHandler.test_get (0.82s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_machine_machine (0.14s) SUCCESS: maasserver.models.signals.tests.test_services.TestRegionRackRPCConnection.test__calls_update_rackd_status_on_update (0.51s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_controller_region_rack_controller (0.51s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_device_region_controller (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_failed_updates_error_description (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_rack_controller_region_controller (0.11s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReleaseAPI.test_POST_release_rejects_invalid_ip(user=user,client=user+pass,with_force) (0.65s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-other,maas-id-not-set) (0.35s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_subnet_cidr_alias (0.53s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_region_controller_device (0.11s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_type_virtual (0.42s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_dataReceived_adds_message_to_queue (0.50s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-worker,maas-id-not-set) (0.21s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test__raises_Http404_when_invalid_device (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_region_controller_rack_controller (0.30s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__STATIC_deletes_link_in_no_subnet (0.34s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_dhcp_to_link_up (1.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-other,maas-id-not-set) (0.27s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_empty_list_when_all_clusters_fail(get_common_available_boot_images) (1.78s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_on_network_returns_true_when_connected (0.63s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images_out_of_sync (0.91s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_changes_status (0.24s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManager.test__raises_PermissionDenied_when_user_requests_admin (0.26s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__finds_ipv6_subnet_regardless_of_order (0.28s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostSaveCallsSave.test__calls_save_on_related_filesystem_groups(BlockDevice) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_sets_default_osystem_and_distro_series (0.19s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_creates_ipaddress(user=user,client=user+pass,with_ip_address_param) (0.81s) SUCCESS: maasserver.models.tests.test_node.TestReportMDNSEntries.test__calls_update_mdns_entry_for_each_entry (0.46s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_updates_error_description (0.23s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostSaveUpdatesName.test__doesnt_update_filesystem_group_name_when_volume_group (0.33s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_enable_parent_enables_vlan_interface (0.48s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_physicalblockdevice_set_returns_physicalblockdevices (0.21s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_save_extracts_ip_address (0.11s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_link_up_to_dhcp (0.89s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_mac_address_set_to_parent_mac_address (0.21s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_node_that_has_power_on_and_uncontrolled_power_type (0.85s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_errors_for_no_matching_subnet(user=user,client=user+pass,with_ip_address_param) (0.59s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_node_that_has_power_off (0.26s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_get_used_cores (0.27s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_prevents_delete_when_primary_rack (1.02s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_node_set_to_parent_node (0.32s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerQueryAll.test__handles_timeout (1.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_sets_status_expired (0.31s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_get_used_local_disks (0.29s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_end_ip_to_be_greater_or_equal_to_start_ip (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_doesnt_call__clear_networking (0.40s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_storage_layout_issues_is_valid_when_flat (0.21s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_perform_writes_writes_all_content (1.78s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__changing_end_ip_works (0.23s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_auto (0.81s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_fqdn_creates_ip_with_hostname(user=user,client=oauth,with_ip_address_param) (0.79s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_cannot_overlap_sticky_address (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_logs_user_request (0.40s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_within_existing_reserved_range (0.10s) SUCCESS: maasserver.models.tests.test_licensekey.TestLicenseKeyManager.test_errors_on_not_unique (0.05s) SUCCESS: maasserver.models.tests.test_licensekey.TestLicenseKeyManager.test_has_license_key_True (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_storage_layout_issues_returns_invalid_when_root_on_bcache (0.53s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_cleaner_removes_boot_resources_without_sets (0.56s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_by_ids_without_ids_returns_full (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_system_id_is_a_valid_znum (0.19s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_with_vlan(rack) (1.80s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_storage_layout_issues_returns_valid_with_boot_and_bcache (0.46s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_with_no_parameters_fails_with_bad_request(user=user,client=user+pass,with_ip_param) (0.61s) SUCCESS: maasserver.models.tests.test_interface.TestUpdateIPAddress.test__switch_static_to_same_subnet_with_different_ip (0.73s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_fails_exiting_rescue_mode_for_ready (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state (0.17s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__raises_error_if_node_already_exists (1.48s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_vids (0.49s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_has_env_GNUPGHOME_set (0.57s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_pod_creates_new_machines_connected_to_dhcp_vlan (1.34s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_ip_address_extracted (0.24s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_dnsresource_address_overrides_domain (1.52s) SUCCESS: maasserver.models.tests.test_node.TestNodeManager.test_node_lists_all_node_types (0.57s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_with_edit_perm_for_user_lists_owned_nodes (0.33s) SUCCESS: maasserver.models.tests.test_node.NodeTransitionsTests.test_NODE_TRANSITIONS_initial_states (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_orphaned_bmcs_are_removed (0.16s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesReserveAPI.test_POST_reserve_without_hostname_creates_ip_without_hostname(user=user,client=user+pass,with_ip_address_param) (0.76s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_all_boot_resources_calls_cancel_finalize (0.53s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachine.test_does_nothing_if_none_composable_pod (0.21s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerCycle.test_calls__power_control_node_with_power_cycle (0.54s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_blank_ip_address_tolerated (0.17s) SUCCESS: maasserver.models.tests.test_node.TestDeviceManager.test_empty_architecture_accepted_for_type_device (0.05s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test__getAddresses_including_loopback (0.69s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_updates_existing_machine_interfaces (0.62s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_supports_subarch_returns_False_if_subarches_is_missing (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_synced_resource_returns_None_when_doesnt_exists (0.05s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_get_uploaded_resource_returns_None_when_doesnt_exists (0.06s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_type_and_bmc_power_parameters_stored_in_bmc (0.21s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_empty_list_if_no_resources_but_images (0.06s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_gives_stat_when_not_applicable (0.82s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__ipv4_and_ipv6 (0.31s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetResourcesMatchingBootImages.test__returns_resource_for_generated_resource (0.14s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_all_boot_resources_calls_download_boot_resources (0.59s) SUCCESS: maasserver.models.tests.test_node.TestNode_Stop.test__doesnt_call__power_control_node_if_cant_be_stopped (0.68s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__user_reserved_ip_over_auto (0.37s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_starting_and_stopping_the_service (0.82s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNode.test__retrieves_power_state (0.58s) SUCCESS: maasserver.api.tests.test_machine.TestRescueMode.test_rescue_mode_changes_state(user=user,client=oauth) (1.11s) SUCCESS: maasserver.models.tests.test_bootresource.TestGetUsableKernels.test__returns_usable_kernels(ubuntu/trusty) (0.63s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_total_size (0.10s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_cannot_leave_keyring_data_and_filename_unset (0.04s) SUCCESS: maasserver.models.tests.test_bootsourcecache.TestBootSourceCache.test_get_release_title_returns_None_for_missing_title (0.05s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_get_accessible_by_url_returns_none_when_not_found (1.02s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__sets_to_deploying (2.19s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_by_id_or_name_raises_error_for_invalid_name (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionController.test_delete_prevented_when_running (0.08s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_boot_resources_passes_user_agent (0.86s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_cache_set_for_block_device (0.26s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_subnet_ipv4_if_ipv4_stack_with_ipv4_gateway_and_dns (0.97s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__DHCP_creates_link_to_DHCP_with_subnet (0.83s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_stopping_demotes_region (0.86s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManager.test_get_or_create_cache_set_for_partition_creates_new (0.19s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_config_changed_connect_connects (0.06s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_logs_user_request (0.21s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.56s) SUCCESS: maasserver.models.tests.test_config.ConfigTest.test_manager_config_changed_disconnect_disconnects (0.07s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__are_boot_images_available_in_the_region (0.55s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(default_distro_series) (0.06s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(completed_intro) (0.06s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_disk_erasing_logs_user_request (0.17s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(enable_analytics) (0.05s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(disk_erase_with_quick_erase) (0.10s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(omapi_key) (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface_adds_with_sequential_names (0.21s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesServiceAsync.test__does_not_import_resources_in_thread_if_not_auto (0.34s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(default_storage_layout) (0.07s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerRefresh.test_refresh_does_nothing_when_locked (1.00s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_get_accessible_by_url (1.77s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface_attached_another_node_raises_error (0.29s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test__create_acquired_bridges_doesnt_call_on_bridge (0.87s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_fallback_to_ListBootImages_on_old_clusters(get_common_available_boot_images) (1.64s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.74s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_add_physical_interface_removes_matching_unknown_interface (0.20s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__exposes_mdns_when_nothing_better_available (0.46s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_get_running_controller (0.38s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_interface_default_is_none (0.13s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.36s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_display_memory_returns_decimal_less_than_1024 (0.14s) SUCCESS: maasserver.tests.test_bootresources.TestStopImportResources.test_sends_stop_import_notification (0.77s) SUCCESS: maasserver.models.tests.test_node.TestRegionController.test_delete_converts_region_and_rack_to_rack (0.19s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_returns_system_id (1.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_display_storage_returns_value_divided_by_1000 (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_empty_architecture_rejected_for_type_node (0.08s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__is_external_dhcp (0.47s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerQuery.test__creates_node_event_with_no_power_error (0.73s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_fqdn_default_domain_if_not_given (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_fqdn_validation_failure_if_nonexistant (0.07s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerRefresh.test_refresh_logs_user_request (1.21s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_boot_images_for_one_cluster(get_common_available_boot_images) (0.95s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetProxies.test_get_proxies_is_registered (0.51s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.52s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__has_env_http_and_https_proxy_set (0.62s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__query_by_unknown_ip_and_mac__known_ip (0.46s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_full_clean_checks_status_transition_and_raises_if_invalid (0.26s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-is-set) (0.42s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_rejects_cname_with_other_data (0.13s) SUCCESS: maasserver.models.tests.test_dnspublication.TestDNSPublication.test_create_empty (0.06s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_full_clean_passes_if_status_unchanged (0.17s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-stale) (0.42s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__user_edit_raises_PermissionError (0.14s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_adds_mac_if_no_params_set (0.14s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_does_not_list_region_for_non_auth (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_adds_no_mac_if_params_set (0.16s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_is_default_detects_non_default_domain (0.08s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__returns_clears_entire_cache (0.66s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_block_device_name_names_returns_sane_default (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-stale) (0.63s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_ifname_names_returns_next_in_sequence (0.10s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_save_migrates_dnsresource (0.26s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RequestRefresh.test_calls_refresh (0.93s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManager.test__name_specifier_matches_name (0.07s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_next_ifname_names_returns_sane_default (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-is-set) (0.63s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_osystem_returns_default_osystem (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.32s) SUCCESS: maasserver.models.tests.test_event.EventTest.test_register_event_and_event_type_registers_event_for_new_type (0.19s) SUCCESS: maasserver.models.tests.test_eventtype.EventTypeTest.test_displays_event_type_description (0.04s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_django_doesnt_rename_piston_tables_if_south_not_ran_before (0.50s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__calls_power_cycle_when_cycling_allowed (1.64s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_ip_addresses_returns_static_ip_addresses_if_allocated (0.29s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerRefresh.test_refresh_sets_extra_values (1.49s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RequestRefresh.test_request_refresh_is_registered (0.52s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-not-set) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-other,maas-id-stale) (0.48s) SUCCESS: maasserver.clusterrpc.tests.test_boot_images.TestGetAvailableBootImages.test_returns_boot_images_on_all_clusters(get_common_available_boot_images) (1.65s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_region_controller_region_rack_controller (0.39s) SUCCESS: maasserver.models.tests.test_eventtype.EventTypeTest.test_level_str_returns_level_description (0.64s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.32s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_default_storage_layout_uses_default (0.13s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestRefreshDiscoveryConfig.test__stores_correct_values_and_fires_timer (0.60s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_cant_delete_fabric_if_connected_to_subnet (0.20s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_create_sets_name (0.07s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManager.test__class_specifier_matches_class (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-stale) (0.38s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManager.test__default_specifier_matches_name (0.10s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_on_vlan_interface_with_identical_macs_replacing_phy(rack) (6.85s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_is_import_images_running (0.96s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetwork.test_can_delete_fannetwork (0.06s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEventMACAddress.test_send_event_mac_address_stores_event_with_timestamp_received (0.96s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_runs_south_if_south_table_exists (1.18s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestTryLockAndScan.test__aborts_if_periodic_discovery_if_no_subnets_enabled (0.43s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_node_returns_special_filesystem_node (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-other,maas-id-is-set) (0.35s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestDiscoverPod.test__handles_timeout (1.03s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_adds_selected_scripts (0.73s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemManager.test_filter_by_node (0.22s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateInterfaces.test_update_interfaces_is_registered (0.44s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_disk_erasing_uses_global_values (0.26s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__clears_discovery_parameters(region) (0.61s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(tmpfs,node) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-other,maas-id-stale) (0.38s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_stop_rescue_mode_power_cycles_node_and_sets_status (0.20s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(fat32,block-device) (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_list_boot_images_when_disconnected (0.99s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(ext2,partition) (0.21s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_stop_rescue_mode_raises_PermissionDenied_if_no_edit (0.27s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__caches_region_model_object (0.96s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-worker,maas-id-is-set) (0.53s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(xfs,partition) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_storage_returns_size_of_physical_iscsi_blockdevices_in_mb (0.18s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__clears_discovery_parameters(region+rack) (0.66s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(tmpfs) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_clear_status_expires_if_releasing (0.22s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test_monitorServices_does_not_do_anything_in_dev_environment (0.50s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-worker,maas-id-stale) (0.43s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_auto_link(rack) (0.47s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGeneratorTTL.test_node_ttl_overrides_domain (1.62s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-other,maas-id-is-set) (0.44s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_dead_when_configuration_crashes(v1) (2.06s) SUCCESS: maasserver.regiondservices.tests.test_service_monitor_service.TestServiceMonitorService.test_updates_services_in_database (0.59s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_without_gateway(region) (0.46s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_raid_6_with_4_or_more_raid_devices_and_spares (0.87s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_raid_5_with_less_than_3_raid_devices (0.26s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-other,maas-id-stale) (0.45s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_on_vlan_interface_with_identical_macs(rack) (3.44s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionFormSave.test_gives_stat_when_action_is_inhibited (0.70s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_existing_subnet_link_without_gateway(region+rack) (0.48s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCommissionNode.test__raises_NoSuchNode_if_node_doesnt_exist (0.53s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.29s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_volume_group_if_logical_volumes_larger (0.39s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_machine (0.16s) SUCCESS: maasserver.models.tests.test_node.TestRackController.test_update_rackd_status_sets_rackd_degraded (1.96s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_dhcp_link(rack) (0.31s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_cannot_save_without_filesystems_from_different_nodes (0.34s) SKIP: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_size_returns_correct_disk_size_for_raid_10 (0.00s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_is_raid_returns_false_for_BCACHE (0.06s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_missing_interfaces(rack) (0.44s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__compose_sets_domain_and_zone (0.83s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_accessible_finds_correct_racks (2.10s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_start_up_waits_for_region_obj (0.88s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_save_calls_create_or_update_for_when_filesystems_linked (0.47s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__acquires_and_releases_lock (0.81s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(raid-0) (0.29s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForm.test__save_raises_AttributeError (0.54s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_updates_existing_bond(region) (1.07s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_and_one_parent(region) (0.68s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionLost_uses_advertiser_to_unregister (0.58s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_accessible_parses_full_url (0.71s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerRefresh.test__only_runs_on_running_region (0.54s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_with_vlan(region) (1.79s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionInsertListener.test_rebalance_the_managing_process_for_the_rack_controller (3.86s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManager.test_get_running_controller_finds_controller_via_maas_id (0.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__bcache_on_partitions (0.39s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_Authenticate.test_authenticate_is_registered (0.49s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestTryLockAndScan.test__aborts_if_passive_discovery_is_disabled (0.50s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_and_one_parent(region+rack) (0.78s) SUCCESS: maasserver.models.tests.test_notification.TestNotification.test_save_checks_that_rendering_works (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_raises_PermissionDenied_when_user_requests_admin(FilesystemGroup) (0.60s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_error_for_user) (0.07s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManager.test_region_controller_lists_node_type_region_controller (0.63s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_success_for_admins) (0.06s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_updates_existing_bond(region+rack) (1.21s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetArchiveMirrors.test_get_archive_mirrors_with_ports_archive_set (0.57s) SUCCESS: maasserver.models.tests.test_ownerdata.TestOwnerData.test_set_owner_data_adds_data (0.22s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_multiple_with_a_ppa (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__admin_raises_PermissionDenied_when_user_requests_admin(Bcache) (0.36s) SUCCESS: maasserver.regiondservices.tests.test_networks_monitoring.TestRegionNetworksMonitoringService.test_logs_error_when_running_region_controller_cannot_be_found (0.60s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_connected_rack_when_node_primary_rack_is_disconn(v1) (3.26s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_delete_partitiontable_before_partition_doesnt_raise_error (0.16s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_set_uuid_if_missing (0.16s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_subnets(rack) (0.48s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_raises_PermissionDenied_when_user_not_owner(FilesystemGroup) (0.36s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-nobody,maas-id-is-set) (0.69s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootConfig.test_get_boot_config_is_registered (0.48s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_creates_pod_with_discovered_information_in_twisted (1.77s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_by_name_invalid_table (0.23s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_with_vlan(region+rack) (1.77s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_raises_PermissionDenied_when_user_not_owner(Bcache) (0.50s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetTimeConfiguration.test_get_time_configuration_is_registered (0.50s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-match,owned-by-nobody,maas-id-stale) (0.58s) SUCCESS: maasserver.tests.test_node_action.TestAbortAction.test_Abort_aborts_deployment (0.90s) SUCCESS: maasserver.regiondservices.tests.test_reverse_dns.TestReverseDNSService.test__updates_rdns_entry (0.93s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partitions_in_filesystem_group (0.47s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_and_one_parent(region) (0.71s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_available_size_skips_partitions (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_no_message_for_dhcp_snippet_updated_when_disabled (2.21s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_mbr_for_boot_when_type_miss_match (0.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_by_name(RAID) (0.40s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-not-set) (0.46s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__set_current_entry_updates_existing_hostnames (0.17s) SUCCESS: maasserver.tests.test_proxyconfig.TestProxyUpdateConfig.test__doesnt_call_reloadService_when_reload_proxy_False (0.62s) SUCCESS: maasserver.models.tests.test_regioncontrollerprocessendpoint.TestRegionControllerProcessEndpoint.test_process_address_port_are_unique (0.17s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_for_device (0.08s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RequestNodeInforByMACAddress.test_calls_request_node_info_by_mac_address_function (0.86s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_and_one_parent(region+rack) (0.74s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_success_for_users) (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_warning_for_admins) (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_info_for_admins) (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_add_spare_partition_to_array (0.67s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-other,maas-id-not-set) (0.62s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_error_for_user) (0.10s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_coreHandler_raises_ValueError_for_unknown_action (0.48s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_for_rack_controller (0.40s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_user(error) (0.07s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateLease.test__doesnt_raises_other_errors (0.37s) SUCCESS: maasserver.forms.tests.test_pods.TestPodForm.test_doesnt_create_pod_when_discovery_fails_in_twisted (1.68s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_components_to_disable (0.04s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_rejects_duplicate_names (0.07s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_1_with_one_element_fails (0.27s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__admin_view_returns_space (0.08s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_delete (0.14s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyManagerTest.test_get_keys_for_user_no_keys (0.10s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__saves_power_parameters (1.48s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_ecdsa_curve256_public_key (0.12s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_name (0.23s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_ed25519_public_key (0.11s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_dhcpHandler_doesnt_add_to_needsDHCPUpdate (0.53s) SUCCESS: maasserver.models.signals.tests.test_power.TestUpdatePowerStateOfNode.test__traps_failure_for_Node_DoesNotExist (0.55s) SUCCESS: maasserver.models.tests.test_sslkey.GetHTMLDisplayForKeyTest.test_display_returns_cn_and_md5 (0.07s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_save_doesnt_overwrite_uuid (0.16s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_display_is_HTML_safe (0.08s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-worker,maas-id-not-set) (0.75s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_display_is_marked_as_HTML_safe (0.06s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_free_partitions_for_node (0.19s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPStaticIPAddressListener.test_sends_message_for_assigning_an_ip (1.68s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_device_from_array (0.85s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_add_partition_to_full_device (0.20s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test__getAddresses_when_rpc_down (0.65s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_process_calls_processDHCP_for_rack_controller (0.62s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_overhead_size (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-other,maas-id-not-set) (0.62s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_size_returns_block_device_size_minus_amd64_gpt (0.15s) SUCCESS: maasserver.models.tests.test_interface.TestLinkSubnet.test__STATIC_sets_ip_in_no_subnet (0.79s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestRenderJSON.test__node_summary_includes_interface_name (0.67s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_size_returns_block_device_size_minus_initial_offset (0.16s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestCoreRegionRackRPCConnectionDeleteListener.test_clears_region_process_when_no_connections (1.45s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroup.test_create_logical_volume (0.53s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.24s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_requested_IP_in_dynamic_range (0.18s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_size_returns_block_device_size_minus_ppc64el (0.19s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_stopping_waits_for_startup (0.68s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-stale) (0.21s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_no_id_path_and_no_serial (0.11s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_node_glue_correctly_generated (0.35s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-other,maas-id-is-set) (0.31s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_user_reserved_addresses_included_in_get_hostname_ip_mapping (0.23s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroup.test_update_block_devices_and_partitions (0.66s) SUCCESS: maasserver.models.tests.test_node.TestNodeNetworking.test_set_initial_networking_configuration_auto_on_managed_subnet (0.87s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionMade_drops_connection_if_service_not_running (0.52s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__get_ipranges_not_in_use_includes_free_ips (0.16s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_number_of_physical_devices_for_filters_on_node (0.59s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-do-not-match,owned-by-other,maas-id-stale) (0.30s) SUCCESS: maasserver.models.tests.test_subnet.SubnetLabelTest.test__returns_cidr_for_empty_name (0.08s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_old_and_new_primary_when_changed (1.58s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroupManager.test_create_volume_group_with_partitions (0.28s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_dns_servers(managed) (0.09s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_number_of_physical_devices_for_returns_correct_count (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-worker,maas-id-is-set) (0.29s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_handshakeFailed_does_not_log_when_connection_is_closed (0.45s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__allows_separate_observations_per_region (0.21s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startService_calls_coreHandler_with_monitoring_processes (1.63s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManager.test__default_specifier_matches_name_with_id (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_observed_neighbours(unmanaged) (0.39s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_dsa_private_key (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode_PowerQuery.test__updates_power_state (0.72s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_ecdsa_curve384_public_key (0.09s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyValidatorTest.test_does_not_validate_random_data (0.04s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-worker,maas-id-stale) (0.36s) SUCCESS: maasserver.models.tests.test_interface.BridgeInterfaceTest.test_node_is_set_to_parents_node (0.59s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(threshold=1 warns for /29) (0.20s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSDataListener.test_sends_message_for_dnsdata_delete (0.71s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_addresses_exhausted (0.11s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_alloc_type_is_not_allowed (0.05s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(threshold=0 never warns) (0.16s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPIPRangeListener.test_sends_message_for_updated_from_managed_to_other (1.77s) SUCCESS: maasserver.models.tests.test_interface.InterfaceMTUTest.test_get_effective_mtu_returns_interface_mtu (0.24s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__init__ (0.54s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-other,maas-id-is-set) (0.32s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_allows_none_mac_address (0.07s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold warns for /122 IPv6) (0.14s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_get_type_returns_None (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold doesn't warn for /123 IPv6) (0.14s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_rejects_invalid_name (0.16s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(threshold=1 warns for /125 IPv6) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-match,owned-by-other,maas-id-stale) (0.35s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test___updates_existing_entry (0.20s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__admin_admin_returns_subnet (0.13s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__processMessages_calls_processMessage_and_updateLastPing (0.50s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSResourceListener.test_sends_message_for_dnsresource_update (0.69s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_matches_name_if_requested (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_domain_head_ips (0.79s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_sets_hosts (1.29s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.29s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_takes_multiple_items (0.09s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test__replaces_obsolete_entry (0.27s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_factory_make_Tag_with_hardware_details (0.04s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__user_admin_raises_PermissionError (0.11s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_validate_traps_invalid_tag_definitions (0.07s) SUCCESS: maasserver.models.tests.test_interface.TestCreateAcquiredBridge.test__raises_ValueError_for_bridge (0.09s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_creates_subnet (0.08s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesNow.test__does_nothing_if_tag_is_not_defined (0.07s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_creates_subnet_with_default_name_if_name_is_empty (0.08s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_get_creds_tuple_integrates_with_api_client (0.09s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_contents_immutable (0.05s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_create_authorisation_token(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__start_ignores_address_compatibility_when_no_rack (1.45s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__does_nothing_if_has_link (0.28s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-worker,maas-id-not-set) (0.43s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_zero_does_nothing (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDomainListener.test_sends_message_for_domain_delete (0.70s) SUCCESS: maasserver.api.tests.test_api.AccountAPITest.test_update_authorisation_token_name_not_found(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_rejects_unknown_config_item(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_get_config_returns_config(user=user,client=oauth) (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPIPRangeListener.test_sends_message_for_updated_from_other_to_managed (1.58s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_save_doesnt_overwrite_uuid (0.39s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-other,maas-id-not-set) (0.47s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(3000) (0.07s) SUCCESS: maasserver.models.tests.test_interface.TestEnsureLinkUp.test__removes_other_link_ups_if_other_link_exists (0.53s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_is_default_returns_False_for_normal_zone (0.04s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_name_param(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.api.tests.test_api.MAASAPITest.test_set_config_requires_value_param(user=user,client=oauth) (0.12s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.35s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_queryset_returns_all_interface_types (0.35s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=admin,client=oauth) (0.13s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_register_updates_interfaces (1.38s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.api.tests.test_api.MAASAPIVersioningTest.test_get_api_version(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_nodes_only_set (0.55s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceStaticIPAddressListener.test_sends_message_for_interface_staticipaddress_link (1.07s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-stale) (0.33s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_no_connected_rack_controllers(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.models.tests.test_interface.TestReleaseAutoIPs.test__clears_only_auto_ips_with_ips (0.45s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-other,maas-id-is-set) (0.24s) SUCCESS: maasserver.models.tests.test_node.TestNode_Start.test__treats_ipv4_mapped_address_as_ipv4 (1.49s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_CreateNode.test_create_node_is_registered (0.53s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_power_type_set_with_invalid_parameters(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__defaults_to_i386_for_default (0.42s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-do-not-match,owned-by-other,maas-id-stale) (0.20s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__DHCP_deletes_link_with_subnet (0.33s) SUCCESS: maasserver.api.tests.test_api.TestStoreNodeParameters.test_unknown_power_type(user=user,client=oauth) (0.16s) SUCCESS: maasserver.api.tests.test_api.TestXSSBugs.test_invalid_signature_response_is_textplain(user=user,client=oauth) (0.10s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_creates_link_updates_parent_vlan(rack) (7.57s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetProxies.test_get_proxies_with_http_proxy_not_set (0.39s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-worker,maas-id-is-set) (0.35s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkSubnet.test__STATIC_deletes_link_in_subnet (0.29s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSNodeListener.test_sends_message_for_node_delete (0.81s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_delete_403_when_not_admin(user=user,client=oauth) (0.38s) SUCCESS: maasserver.models.tests.test_interface.UnknownInterfaceTest.test_warns_for_non_unique_unknown_mac (0.25s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-worker,maas-id-stale) (0.45s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetTimeConfiguration.test_raises_NoSuchNode_when_node_does_not_exist (0.57s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_with_existing_parents(rack) (0.67s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSStaticIPAddressListener.test_sends_message_for_staticipaddress_update (0.70s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_no_message_for_global_dhcp_snippet_inserted_when_disabled (2.27s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-other,maas-id-is-set) (0.34s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__sets_boot_interface_vlan_to_match_rack_controller (1.22s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_ip_address_on_unmanaged_subnet_with_log (0.55s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ListNodePowerParameters.test__is_registered (0.52s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__finds_ipv6_subnet (0.23s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-match,owned-by-other,maas-id-stale) (0.37s) SUCCESS: maasserver.api.tests.test_bcache.TestBcacheDeviceAPI.test_update_bcache(user=user,client=user+pass) (0.95s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_generated_name_gets_update_if_vlan_id_changes (0.30s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_256_addresses_for_ipv6_dynamic (0.09s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.28s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_MarkNodeFailed.test_mark_failed_is_registered (0.43s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSSubnetListener.test_sends_message_for_subnet_delete (0.76s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetAPI.test_update_400_when_invalid_id(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_and_end_ip_to_be_within_subnet (0.08s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.16s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_to_be_within_subnet (0.09s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_create(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__no_save_range_spanning_existing_range (0.15s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-stale) (0.19s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__reserved_range_can_overlap_dns_servers (0.12s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_handler_path(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-other,maas-id-is-set) (0.18s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__updates_boot_interface_when_changed (1.24s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_updated_node (1.34s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-do-not-match,owned-by-other,maas-id-stale) (0.14s) SUCCESS: maasserver.rpc.tests.test_configuration.TestGetProxies.test_returns_populated_dict_when_http_proxy_is_disabled (0.07s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEvent.test_send_event_stores_event_with_timestamp_received (0.74s) SUCCESS: maasserver.rpc.tests.test_configuration.TestGetProxies.test_returns_populated_dict_when_http_proxy_is_not_set (0.08s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-worker,maas-id-is-set) (0.15s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestISCSIBlockDeviceManager.test_total_size_of_iscsi_devices_for_filters_on_node (0.47s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDHCPSnippetListener.test__calls_handler_on_delete_notification (0.91s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFileManager.test_has_file (0.05s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-worker,maas-id-stale) (0.23s) SUCCESS: maasserver.api.tests.test_bcache_cacheset.TestBcacheCacheSetsAPI.test_read(user=user,client=oauth) (0.72s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-other,maas-id-is-set) (0.17s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerTransactional.test_allocate_new_works_under_extreme_concurrency(IPv6) (3.20s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEventMACAddress.test_send_event_mac_address_is_registered (0.55s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_creates_lease_for_bond_interface (0.64s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-match,owned-by-other,maas-id-stale) (0.22s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_add_tag_returns_404_when_system_id_doesnt_match(user=user,client=oauth) (0.30s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_does_nothing_if_release_for_unknown_mac (0.13s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_fabric_subnet_filter_chain (0.62s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.20s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_primary_when_turned_on (1.10s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_delete_returns_403_when_not_admin(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.regiondservices.tests.test_active_discovery.TestTryLockAndScan.test__calls_scan_all_rack_networks_if_everything_is_okay (0.49s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_device (0.14s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_SendEventMACAddress.test_send_event_mac_address_logs_if_unknown_node (0.54s) SUCCESS: maasserver.models.tests.test_node.TestTypeCastToNodeType.test_cast_to_rack_controller (0.17s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_filesystem(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_expiry_removes_lease_keeps_discovered_subnet (0.57s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_fabric_classes (0.59s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration_Scenarios.test__calls_through_to_ntp_module_returns_servers_and_peers(region) (0.12s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateLease.test_update_lease_is_registered (0.48s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_physical_interfaces_no_links(region) (0.38s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_read_returns_system_id(user=user,client=oauth) (0.24s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentInterfaceListener.test__calls_handler_with_update_on_update (1.46s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration_Scenarios.test__calls_through_to_ntp_module_returns_servers_and_peers(region+rack) (0.20s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration_Scenarios.test__calls_through_to_ntp_module_returns_servers_and_peers(device) (0.12s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_remove_tag_returns_409_when_the_nodes_not_ready(user=user,client=oauth) (0.25s) SUCCESS: maasserver.rpc.tests.test_nodes.TestUpdateNodePowerState.test__raises_NoSuchNode_if_node_doesnt_exist (0.07s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_fabrics (0.51s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_physical_interfaces_no_links(region+rack) (0.38s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_destination_user_two_real_users (0.16s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_mounted(user=user,client=user+pass) (0.37s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_destination_user_with_user_from_juju_state (0.23s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_legacy_user_creates_user (0.13s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_no_nodes (0.08s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_subnet_cidr (0.60s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_owners_no_users (0.06s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unformat_returns_400_if_not_formatted(user=user,client=oauth) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_wrong_subnet_vid(region) (0.61s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_shared_variation_when_already_share_locked(DatabaseLock) (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_shared_variation_when_already_share_locked(DatabaseXactLock) (0.07s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Release name) (0.05s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(New style kernel) (0.07s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_osystem_choices_uses_name_and_title (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_all_releases_requiring_keys (0.04s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_combines_from_nodes_with_other_filter (0.37s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDeviceAPI.test_unmount_returns_400_if_already_unmounted(user=user,client=oauth) (0.37s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices_fallsback_to_name (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_make_hwe_kernel_ui_finds_release_from_ubuntudistroinfo (0.04s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_messages_when_relay_vlan_changed (2.11s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_make_hwe_kernel_ui_returns_kernel_when_none_found (0.04s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_wrong_subnet_vid(region+rack) (0.54s) SUCCESS: maasserver.api.tests.test_blockdevice.TestBlockDevices.test_read_returns_filesystems_on_partitions(user=user,client=oauth) (0.22s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_fails_with_nongeneric_arch_and_kernel (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentNetworkListener.test__calls_handler_iface_with_update_on_vlan_update (1.51s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateOsystemAndDistroSeries.test__returns_osystem_and_release_with_license_key_stripped (0.04s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_DELETE_deletes_boot_resource(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_with_edit_perm_admin_lists_all_nodes (0.52s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceAPI.test_GET_returns_boot_resource(user=user,client=oauth) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_no_links(region) (0.33s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPListener.test_alerts_all_racks_when_ntp_server_updated (1.90s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__raid_spare (0.35s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_netboot_on (0.19s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Errors.test__tryUpdate_logs_errors_from_broken_method(_configurationApplied) (2.59s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourceFileUploadAPI.test_PUT_returns_bad_request_when_resource_file_is_complete(user=user,client=oauth) (0.18s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__unused (0.18s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteReverse.test_absolute_reverse_uses_query_string (0.08s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_GET_generated_returns_generated_boot_resources(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_dnssec_validation_update (0.75s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandlerAtomicViews.test__make_view_atomic_wraps_view_with_post_commit_savepoint (0.05s) SUCCESS: maasserver.models.tests.test_node.TestController.test__was_probably_machine_false (0.38s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__rejects_inactive_user (0.14s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_no_links(region+rack) (0.53s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__rejects_unknown_username (0.09s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_creates_boot_resource_with_empty_largefile(user=user,client=oauth) (0.31s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_existing_named_credentials (0.15s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachine.test_does_nothing_if_standard_bmc (0.35s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_POST_validates_size_matches_total_size_for_largefile(user=user,client=oauth) (0.26s) SUCCESS: maasserver.api.tests.test_boot_resources.TestBootResourcesAPI.test_is_importing_returns_import_status(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSSubnetListener.test_sends_message_for_subnet_cidr_update (0.78s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_GET_requires_admin(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentScriptSetListener.test__calls_handler_with_update_on_delete (1.48s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__managed_subnet_over_unmanaged (0.39s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_on_vlan_interface_with_identical_macs_replacing_phy(region) (6.39s) SUCCESS: maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_GET_returns_boot_source(user=user,client=oauth) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_parent(region) (0.84s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCommissionNode.test__commissions_node (1.29s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_requires_admin(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.api.tests.test_boot_sources.TestBootSourcesAPI.test_GET_requires_admin(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.views.tests.test_account.TestLoginLegacy.test_login_contains_input_tags_if_user (0.83s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_compose_feedback_deleted_uses_name_object (0.05s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_on_second_page (0.05s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPIPRangeListener.test_sends_message_for_deleting_range (1.69s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_preserves_query_string (0.07s) SUCCESS: maasserver.api.tests.test_commissioning.AdminCommissioningScriptAPITest.test_DELETE_deletes_script(user=admin,client=user+pass) (0.20s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_single_page (0.07s) SUCCESS: maasserver.api.tests.test_commissioning.CommissioningScriptAPITest.test_GET_is_forbidden(user=user,client=oauth) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestGetBestGuessForDefaultGateways.test__only_one (0.63s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__clear_acquired_filesystems_only_removes_acquired (0.18s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestEventListener.test__calls_handler_on_create_notification (0.92s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_shows_license_keys_if_OS_supporting_keys (0.33s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_parent(region+rack) (0.94s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_can_be_filtered_by_name(user=user,client=user+pass) (0.48s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyListingTest.test_settings_contains_links_to_delete (0.31s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewAdmin.test_zone_detail_contains_delete_link (0.18s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentStaticIPAddressListener.test__calls_handler_with_update_on_delete (1.66s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestFabricListener.test__calls_handler_on_create_notification_with_name (0.81s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewTest.test_zone_detail_links_to_node_list (0.27s) SUCCESS: maasserver.rpc.tests.test_nodes.TestCreateNode.test__create_node_fails_with_invalid_hostname (1.59s) SUCCESS: maasserver.views.tests.test_zones.ZoneEditAdminTest.test_zone_edit (0.17s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTestNonAdmin.test_zone_list_does_not_contain_edit_and_delete_links (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_region_import_running_False (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__clear_full_storage_configuration_removes_related_objects (1.36s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_displays_all_results(user=user,client=oauth) (1.12s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_other_images_filters_out_bootloaders (0.12s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertisingService.test_stopping_when_start_up_failed (0.58s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_maas_io_source (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_deployment_sets_script_result_to_aborted (0.34s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsdata_update_notification (0.98s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_resources_datetime_format (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_get_must_be_in_config_items (0.07s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_smallest_enclosing_sane_subnet_finds_parent_ipv4 (11.69s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_expected_fields(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_operation_aborts_deployment (0.23s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_subnets_with_ip_finds_matching_subnet (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_list_sets_loaded_pks_in_cache (0.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_no_message_for_global_dhcp_snippet_deleted_when_disabled (2.35s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_on_listen_returns_create_for_not_loaded (0.08s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_connectionLost_updates_services_connection_set (0.51s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__allocates_next_free_address(unmanaged) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_update_updates_value (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__raises_if_no_free_addresses(managed) (0.09s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetRelatedRanges.test__get_dynamic_ranges_returns_unmanaged_dynamic_range_filter (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineCachesetListener.test__calls_handler_with_update_on_create(machine) (1.48s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(region,in-full) (0.28s) SUCCESS: maasserver.api.tests.test_commissioning.NodeCommissionResultHandlerAPITest.test_list_returns_stderr(user=user,client=oauth) (0.47s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(threshold=1 warns for /125 IPv6) (0.21s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionServer.test_interfaces (0.45s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=admin,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_update_notification (0.81s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold warns for /16 IPv6) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__admin_view_returns_subnet (0.09s) SUCCESS: maasserver.api.tests.test_describe.TestDescribe.test_describe_returns_json(user=anonymous,client=user+pass) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(region+rack,in-full) (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_create (0.07s) SUCCESS: maasserver.api.tests.test_devices.TestDeviceAPI.test_GET_reads_device(user=user,client=oauth) (0.28s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetArchiveMirrors.test_get_archive_mirrors_is_registered (0.54s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_updated_subnet (1.22s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeListener.test__calls_handler_on_delete_notification (0.93s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_GetBootSources.test_get_boot_sources_returns_simplestreams_endpoint (0.49s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_testing_errors_if_node_is_not_testing (1.65s) SUCCESS: maasserver.api.tests.test_devices.TestDevicesAPI.test_read_lists_devices(user=user,client=oauth) (0.65s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_create_fs_on_partition(machine) (1.43s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_acquire_calls__create_acquired_bridges (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_discovery.TestDiscoveryHandler.test_list (0.86s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_admin_only(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__craziness_works (1.15s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetAPI.test_revert_requires_to_to_be_an_int(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_RegisterEventType.test_register_event_type_is_registered (0.44s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_disk_removes_formatable_filesystem (0.20s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_chained_filter_matches_specific_ip (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_returns_handler_name_action_and_event (0.22s) SUCCESS: maasserver.api.tests.test_dhcpsnippets.TestDHCPSnippetsAPI.test_hander_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_bond_options (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_filter_matches_specific_cidr (0.12s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__two_controllers_with_similar_configurations_bug_1563701(rack) (3.95s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_delete_node_deletes_owned_bmc (0.33s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_display_memory_returns_value_divided_by_1024 (0.20s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_UpdateInterfaces.test_calls_update_interfaces_function (0.58s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesAPI.test__by_unknown_ip_and_mac__known_ip(user=user,client=user+pass) (0.79s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_dns_servers_is_cleared (1.73s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__calls_scan_all_networks_with_specified_cidrs(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestIPRangeSubnetListener.test__calls_handler_on_update_on_old_and_new_subnet_notification (1.54s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveriesScanAPI.test__scan__with_no_cidrs_does_not_call_scan_all_networks(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__not_operators_order_independent (1.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_update_special_fs(machine) (1.53s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_add_tag_to_node (0.15s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesLater.test__populates_if_tag_is_defined (0.06s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_get_auth_tokens_finds_tokens_for_user (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_rack_controller_returns_rack_from_boot_ip (1.05s) SUCCESS: maasserver.api.tests.test_discoveries.TestDiscoveryAPI.test_read_by_specifiers(user=user,client=oauth) (0.45s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_get_auth_tokens_ignores_unapproved_tokens (0.09s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_returns_named_tuple (0.19s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_create_authorisation_token (0.11s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_profile_creation (0.06s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bridge_on_vlan_interface_with_identical_macs_replacing_phy(region+rack) (6.68s) SUCCESS: maasserver.api.tests.test_dnsresourcerecords.TestDNSResourceRecordAPI.test_delete_deletes_dnsresource_if_no_data(user=user,client=oauth) (0.27s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_update_links_previous_revision (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_parameters_returns_power_parameters (0.17s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_delete_relay_vlan_doesnt_delete_vlan (0.12s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourceAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.17s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_is_fabric_default_detects_non_default_vlan (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeEventListener.test__calls_handler_with_update_on_create(device) (0.93s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_interfaces_ignores_interface_on_other_nodes (0.36s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_auto_link(region) (0.43s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__vlans_with_alternate_naming_conventions(rack) (2.13s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_by_name_domain__id(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPConfigNTPExternalListener.test_alerts_all_racks_when_ntp_external_only_set (1.84s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_devices_only_set (0.42s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_physicalblockdevice_update(machine) (1.51s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_create_multiple_ips(user=user,client=user+pass) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_pxe_mac_vendor_returns_vendor (0.37s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSubnetListener.test_sends_message_for_vlan_when_gateway_ip_is_set (1.75s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_auto_link(region+rack) (0.40s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_links(rack) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_ip_addresses_includes_static_ipv4_addresses_by_default (0.23s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_rack_controllers_only_set (0.44s) SUCCESS: maasserver.models.tests.test_nodeprobeddetails.TestNodeDetail.test__returns_null_details_when_there_are_none (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_device_device (0.10s) SUCCESS: maasserver.models.tests.test_zone.TestZoneManager.test_get_default_zone_returns_default_zone (0.05s) SUCCESS: maasserver.api.tests.test_dnsresources.TestDNSResourcesAPI.test_read_with_type(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_static_link(rack) (0.37s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeEventListener.test__calls_handler_with_update_on_create(region) (0.92s) SUCCESS: maasserver.models.tests.test_notification.TestNotification.test_is_relevant_to_user (0.17s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_success_for_users) (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_error_for_admins) (0.07s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_warning_for_users) (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_device_rack_controller (0.33s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_info_for_users) (0.05s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_fs_host_as_cluster_controller (0.39s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_success_for_user) (0.08s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_admins(error) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_users(warning) (0.04s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_users(info) (0.04s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_additional_repositories (0.04s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_default_archive (0.08s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_machine_region_rack_controller (0.41s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_inserted_with_node (1.41s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_rack_controller_device (0.07s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_new_links(rack) (0.73s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_global_kernel_params_for_enlisting_node (0.50s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_update_fs_on_block_device(machine) (1.43s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_delete_doesnt_remove_partition_table_if_not_last_partition (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_hwe_min_kernels (3.99s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_rack_controller_rack_controller (0.39s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_osinfo (0.13s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_available_size_returns_available_size (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_version (0.07s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_primary_and_secondary_when_turned_on (1.71s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_with_links(rack) (0.56s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_mark_fixed_fails_if_node_isnt_broken (0.23s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_partition_number_returns_correct_numbering_for_mbr (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_physical_creates_interface (0.30s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_create(machine) (1.53s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_partition_number_returns_starting_at_2_for_amd64_gpt (0.18s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_dhcp_link(region) (0.31s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_turns_on_netboot (0.33s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_partition_number_returns_starting_at_2_for_ppc64el (0.18s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__new_physical_with_multiple_dhcp_link(region+rack) (0.30s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_physical_creates_link_up_with_subnet (0.45s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__updates_bios_boot_method (1.14s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPSnippetListener.test_sends_message_for_dhcp_snippet_with_subnet_deleted (1.26s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_clean_no_partition_table_on_logical_volume (0.32s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_gpt_for_2tib_boot (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_vlan_creates_vlan (0.32s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_no_id_path_and_no_model (0.12s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_missing_interfaces(region) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_ignores_other_commissioning_results (0.76s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_filesystem (0.21s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__delete_current_entry_deletes_and_logs_if_entry_deleted (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_delete_notification(device) (0.96s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachinePartitionTableListener.test__calls_handler_with_update_on_delete(machine) (1.64s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_creates_lease_for_physical_interface (0.66s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_raises_PermissionDenied_if_no_edit (0.21s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__set_current_entry_updates_existing_hostname_with_log (0.15s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_raises_LeaseUpdateError_for_ipv4_mismatch (0.07s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResourcesAPI.test_api_doc_accessibility(user=user,client=oauth) (2.83s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__set_current_entry_updates_updated_time (0.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_messages_when_relay_vlan_unset (1.52s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_missing_interfaces(region+rack) (0.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_failed_testing_node (0.40s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_for_machine (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_rescue_mode_sets_status_owner_and_power_cycles_node (0.27s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_is_default_detects_non_default_space (0.03s) SUCCESS: maasserver.api.tests.test_domains.TestDomainsAPI.test_set_serial_rejects_serials_less_than_1(user=user,client=oauth) (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_owner_empty_when_None (0.07s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_undefined_name_raises_exception (0.05s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManager.test__class_specifier_matches_attached_subnet (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set_returns_nothing_for_empty_installation (0.17s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_no_links(rack) (0.33s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManager.test__default_specifier_matches_id (0.07s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_escapes_long_key_for_html (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_sets_user_data (0.35s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_show_os_info_returns_false (0.20s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestHandleUpgrade.test_logs_migration (0.69s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyManagerTest.test_get_keys_for_user_with_keys (0.14s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_validation_fails_if_key_is_invalid (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeEventListener.test__calls_handler_with_update_on_create(machine) (0.93s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_summary_output_returns_None (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_stop_rescue_mode_logs_user_request (0.24s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestAllocTypeName.test__returns_empty_string_for_unknown_types (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSDataListener.test_sends_message_for_dnsdata_insert (0.80s) SUCCESS: maasserver.models.tests.test_nodeprobeddetails.TestNodeDetail.test__returns_all_details (0.44s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_both_when_secondary_set (1.65s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_admin_creates_machine_in_commissioning_state(user=admin,client=user+pass) (0.73s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_get_interface_link_type_returns_AUTO_for_AUTO (0.10s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_stop_rescue_mode_stops_node_and_sets_status (0.21s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_success_for_user) (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_delete_notification(region) (1.21s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_error_for_users) (0.05s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_converts_region_controller (0.44s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_stores_to_database (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_summary_output_returns_data (0.34s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_warning_for_admins) (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_doesnt_release_interface_config_if_on (0.18s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_info_for_admins) (0.06s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_returns_requested_IP_if_available (0.10s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_users(error) (0.05s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_filter_by_ip_family_ipv4 (0.11s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_fails_exiting_rescue_mode_for_broken (0.19s) SUCCESS: maasserver.models.tests.test_ownerdata.TestOwnerData.test_set_owner_data_removes_data (0.15s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_logs_finding_existing_node_when_master (0.34s) SUCCESS: maasserver.models.tests.test_packagerepository.TestPackageRepositoryManager.test_get_known_architectures (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_filesystem_deletes_blockdevice_filesystem (0.35s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_sets_status_to_ready (0.16s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDNSResourceListener.test_sends_message_for_dnsresource_delete (0.74s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_sets_power_parameters_field(user=admin,client=user+pass) (0.72s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_link_subnet_calls_nothing_if_link_id_is_deleted (0.31s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_delete_not_allowed_if_part_of_filesystem_group (0.35s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_update_notification(region_and_rack) (0.82s) SUCCESS: maasserver.api.tests.test_enlistment.AdminLoggedInEnlistmentAPITest.test_POST_updates_power_parameters_rejects_unknown_param(user=admin,client=user+pass) (0.22s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_message_for_old_primary_when_turned_off (1.05s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateForeignDHCP.test__clears_external_dhcp_when_managed_vlan (0.55s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_name (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_list_ignores_devices (0.37s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_sets_regiond_degraded_with_less_than_4_processes (0.19s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_node_returns_partition_table_node (0.15s) SUCCESS: maasserver.api.tests.test_enlistment.AnonymousEnlistmentAPITest.test_POST_returns_limited_fields(user=anonymous,client=oauth) (0.30s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_delete(rack) (1.51s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSDomainListener.test_sends_message_for_domain_insert (0.64s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_bmc_consolidation (0.76s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(ramfs) (0.17s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_with_nodes_owned_by_system_users (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_handles_dnsrr_node_collision (1.00s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_size_is_rounded_to_current_block (0.20s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestGiveFileToUser.test_file_saved (0.09s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_invalid_part_number (0.16s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestGetBootstrapNodeOwner.test_returns_None_if_no_provider_state_file (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(ramfs) (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_power_parameters_ip_address_reset (0.28s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestGetBootstrapNodeOwner.test_returns_owner_if_node_found (0.18s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_returns_valid_with_name (0.23s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=admin,client=user+pass) (0.57s) SUCCESS: maasserver.triggers.tests.test_init.TestTriggersUsed.test_all_triggers_present_and_correct (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_shared_variation_when_already_exclusively_locked(DatabaseLock) (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_shared_variation_when_already_exclusively_locked(DatabaseXactLock) (0.05s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_overhead_size_for_amd64_gpt (0.19s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDB.test_finds_by_release_first_letter (0.07s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDistroInfo.test_finds_by_version (0.05s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_all_usable_osystems_removes_os_without_releases (0.07s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_associates_mac_addresses(user=anonymous,client=user+pass) (0.35s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleaseANewerThanB.test_kernel_flavor_doesnt_make_difference (0.08s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_overhead_size_for_ppc64el (0.25s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_release_requires_key_returns_asterisk_when_required (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateOsystemAndDistroSeries.test__raises_error_of_osystem_and_distro_series_dont_match (0.08s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=admin,client=user+pass) (0.20s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_gpt_for_powernv_boot (0.12s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceListener.test_sends_message_for_interface_changing_to_new_node (1.10s) SUCCESS: maasserver.models.tests.test_node.TestNode_Stop.test__raises_PermissionDenied_if_user_doesnt_have_edit (0.81s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__can_watch_any_signal (0.08s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__can_watch_fields (0.04s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_create_fails_machine_with_double_subarchitecture(user=anonymous,client=user+pass) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManager.test_get_running_controller_crashes_when_maas_id_is_not_set (0.08s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_sets_table_type_to_gpt_for_uefi_boot (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_fabric_update(region_and_rack) (1.68s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDHCPVLANListener.test_sends_messages_when_relay_vlan_set (1.61s) SUCCESS: maasserver.api.tests.test_enlistment.EnlistmentAPITest.test_POST_invalid_architecture_returns_bad_request(user=user,client=oauth) (0.16s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_id_path_and_no_model_serial_requirements_should_save (0.18s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-matches,macs-match,owned-by-nobody,maas-id-not-set) (0.29s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_model_serial_and_no_id_path_requirements_should_save (0.12s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__bcache_backing (0.40s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__delete_current_entry_ignores_missing_entries (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_old_node_on_update(device) (1.61s) SUCCESS: maasserver.api.tests.test_enlistment.SimpleUserLoggedInEnlistmentAPITest.test_POST_accept_not_allowed(user=user,client=oauth) (0.26s) SUCCESS: maasserver.utils.tests.test_views.TestDeleteOAuthNonce.test__skips_non_oauth_request (0.07s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_ignores_bond_without_boot_interface (1.59s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__forbids_duplicate_observation_on_single_region (0.10s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_combo_redirects_if_unknown_type (0.05s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_delete_is_gentle_with_missing_objects (0.04s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.30s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_get_skips_confirmation_for_missing_objects (0.06s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__set_current_entry_asserts_for_empty_list (0.10s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSModel.test_accepts_invalid_hostname (0.12s) SUCCESS: maasserver.views.tests.test_prefs.UserPrefsViewTest.test_prefs_GET_profile (0.22s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_for_region_controller (0.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSConfigListener.test_sends_message_for_config_dnssec_validation_insert (0.73s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.31s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_get_default_space_is_idempotent (0.08s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_third_party_drivers_POST (0.11s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceListener.test_sends_message_for_interface_update_name (1.04s) SUCCESS: maasserver.models.tests.test_space.TestSpaceManagerGetSpaceOr404.test__user_admin_raises_PermissionError (0.08s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_edit_user_POST_profile_updates_attributes (0.15s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_picks_mac_with_static_address (0.69s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_edit_user_POST_updates_password (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_doesnt_list_devices(user=user,client=oauth) (0.85s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-matches,macs-match,owned-by-nobody,maas-id-not-set) (0.38s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_same_key_can_be_used_by_different_users (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(tmpfs) (2.25s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-matches,macs-match,owned-by-nobody,maas-id-not-set) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_returns_events_in_order_newest_first(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptListingTest.test_settings_contains_names_and_content_of_scripts (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(ramfs) (0.20s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_user_and_key_unique_together_db_level (0.24s) SUCCESS: maasserver.views.tests.test_zones.ZoneAddTestAdmin.test_description_is_optional (0.13s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSNodeListener.test_sends_message_for_node_update_hostname (0.74s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_non_discovered_addresses (0.58s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_ip_address_update(region_and_rack) (1.72s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_new_blockdevice_filesystem (0.27s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSInterfaceStaticIPAddressListener.test_sends_message_for_interface_staticipaddress_unlink (0.97s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_link_present_on_homepage (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_agent_name_filters_by_agent_name(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceDeleteImage.test_asserts_is_admin (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_title_pulled_from_product (0.06s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_combines_MACs_for_same_node (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_unmount_blockdevice_filesystem (0.25s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_old_node_on_update(region) (1.68s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=False;to-users=False;to-admins=False) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=False;to-users=True;to-admins=True) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=True;to-users=False;to-admins=True) (0.09s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestDNSSubnetListener.test_sends_message_for_subnet_insert (0.69s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_number_of_nodes_deployed_for_ubuntu_subarch_resource (0.45s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=True;to-users=True;to-admins=False) (0.12s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_all_mappings_for_subnet (0.76s) SUCCESS: maasserver.websockets.handlers.tests.test_space.TestSpaceHandler.test_list (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_list (0.17s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestProxySubnetListener.test_sends_message_for_subnet_delete (0.79s) SUCCESS: maasserver.websockets.handlers.tests.test_space.TestSpaceHandlerDelete.test__delete_as_non_admin_asserts (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_update_requires_value (0.09s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_does_not_return_discovered_and_auto (0.69s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_get_form_class_for_update (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_get_global (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_get (0.20s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_revert_is_admin_only (0.06s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bond_with_vlan(region) (1.48s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerDelete.test__reloads_user (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_create_notification(device) (0.98s) SUCCESS: maasserver.triggers.tests.test_system_listener.TestProxySubnetListener.test_sends_message_for_subnet_allow_proxy_update (0.83s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_space_update(region_and_rack) (1.69s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__scan_as_admin_succeeds_and_returns_user_friendly_result (0.56s) SUCCESS: maasserver.websockets.handlers.tests.test_tag.TestTagHandler.test_get (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_get_for_admin (0.09s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_default_log_level_is_info(user=user,client=oauth) (2.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_create_notification(region) (0.99s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__non_superuser_asserts (0.44s) SUCCESS: maasserver.websockets.handlers.tests.test_zone.TestZoneHandler.test_list (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentInterfaceListener.test__calls_handler_with_update_on_old_node_on_update (1.70s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_bond_with_boot_interface (1.64s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_raw_ttl (1.87s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_id_returns_matching_nodes(user=user,client=oauth) (0.41s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__finds_used_ranges_includes_allocated_ip (0.10s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_with_form_raises_HandlerValidationError (0.21s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_subnets_with_ip_finds_most_specific_ipv6_subnet (0.13s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_dns_resources_only_have_correct_domain (0.30s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_only_includes_allowed_fields (0.22s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentInterfaceListener.test__calls_handler_with_update_on_delete (1.53s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetMAASIPSetForNeighbours.test__returns_observed_neighbours (0.23s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bond_with_vlan(region+rack) (1.92s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_ids_orders_by_id_reverse(user=user,client=user+pass) (0.39s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_only_includes_list_fields_when_for_list (0.18s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_dnsrr_glue_correctly_generated (0.25s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_dns_servers(unmanaged) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_discovery.TestDiscoveryHandler.test_list_starts_after_first_seen (2.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_with_update_on_subnet_update(machine) (1.61s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_delete_notification(machine) (1.07s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_get_object_returns_object (0.26s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_user_reserved_addresses_have_default_hostnames (0.22s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(threshold=1 warns for /125 IPv6) (0.24s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_creates_cidr_from_ipv4_prefixlen (0.06s) SUCCESS: maasserver.models.tests.test_subnet.CreateCidrTest.test_raises_for_invalid_ipv4_prefixlen (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_invalid_log_level_raises_error_with_msg(user=user,client=user+pass) (0.49s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDeviceWithParentListener.test__calls_handler_on_create_notification (1.03s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(Default threshold warns for /48 IPv6) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandler.test_get (0.39s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold warns for /26) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__get_iprange_usage_includes_static_route_gateway_ip (0.22s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list (0.42s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(Default threshold doesn't warn for /27) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__get_ipranges_not_in_use_includes_discovered_ip (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_delete_notification (0.95s) SUCCESS: maasserver.models.tests.test_subnet.SubnetLabelTest.test__returns_name_and_cidr_if_name_is_different (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(threshold=1 warns for /29) (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_limit (0.31s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(threshold=0 never warns) (0.10s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_cannot_delete_with_dhcp_enabled (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_fabric.TestFabricHandler.test_list (0.17s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold warns for /122 IPv6) (0.12s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list_adds_to_loaded_pks (0.40s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_creates_subnet_with_correct_defaults (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_device_actions_for_non_admin (0.12s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_disallows_creation_with_space (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_create(device) (0.97s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_invalid_macs_returns_sensible_error(user=user,client=oauth) (0.76s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold doesn't warn for /123 IPv6) (0.15s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_updates_existing_bond(rack) (1.30s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_rack_controller_actions_for_non_admin (0.10s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__user_edit_raises_PermissionError (0.11s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__includes_dns_records (0.16s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_create(machine) (1.15s) SUCCESS: maasserver.websockets.handlers.tests.test_iprange.TestIPRangeHandler.test_list (0.18s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_list_unions_the_loaded_pks (0.41s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_raises_for_invalid_vid (0.20s) SUCCESS: maasserver.models.tests.test_subnet.TestRenderJSONForRelatedIPs.test__sorts_by_ip_address (0.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsresource_create_notification (1.10s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_space_filter (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_excluded_addresses(managed) (0.12s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_delete_removes_pk_from_loaded (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_on_dnsdata_delete_notification (0.89s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_applies_tags_to_nodes_on_save (0.09s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(threshold=0 never warns for IPv6) (0.11s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_validate_traps_invalid_tag_name (0.05s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(threshold=1 warns for /125 IPv6) (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_limit_limits_with_most_recent_events(user=user,client=user+pass) (0.70s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_action_performs_action (0.44s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_manager_all_users (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold warns for /16 IPv6) (0.07s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_StaticIPAddress_uses_vlan_for_subnet_with_cidr (0.31s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_removes_old_links(region) (0.75s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_pick_enum_returns_enum_value (0.05s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_manager_all_users_no_system_user (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetManagerGetSubnetOr404.test__admin_edit_returns_subnet (0.14s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_reload_object_reloads_object (0.20s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_create(region) (1.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(machine_to_rack_and_region) (1.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestFabricListener.test__calls_handler_on_delete_notification (0.99s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_reload_object_returns_None_for_deleted_object (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bcache_for_partition (0.76s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_removes_old_links(region+rack) (0.67s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_reload_objects_reloads_objects (0.30s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_cannot_save_if_size_larger_than_volume_group (0.83s) SUCCESS: maasserver.testing.tests.test_module.TestNoReceivers.test_leaves_some_other_signals_alone (0.04s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_no_links(region) (0.44s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__and_operator (1.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bond_creates_bond (0.54s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_edit_BlockDevice_when_not_node_owner (0.33s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_filter_matches_specific_ip (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_handler_with_update_on_delete(machine) (1.03s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_takes_single_item (0.14s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_valid_tag_names (0.07s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_get_name_returns_concat_volume_group_name (0.60s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestDomainListener.test__calls_handler_with_update_on_ip_address_update (1.81s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(region_and_rack_to_machine) (1.15s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_starts_auto_commissioning (0.42s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_no_links(region+rack) (0.54s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_admin_can_view(discovery) (0.47s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesNow.test__clears_node_set_before_populating (0.29s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_init (0.30s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(dnsresource) (0.13s) SUCCESS: maasserver.models.tests.test_template.TemplateTest.test_creates_template (0.05s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_is_default_returns_True_for_default_zone (0.05s) SUCCESS: maasserver.models.tests.test_user.AuthTokensTest.test_get_creds_tuple_returns_creds (0.07s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(subnet) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_vlan_creates_link_up_with_subnet (0.43s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_log_level_returns_that_level_and_greater(user=user,client=oauth) (2.18s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_update(machine) (1.56s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(staticroute) (0.17s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_negative_with_garbage_collection (0.22s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bridge_and_one_parent(rack) (0.53s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(space) (0.09s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_error_for_users) (0.06s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(space) (0.09s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_success_for_admins) (0.08s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_validates_bootloader (0.06s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_warning_for_admins) (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNotificationListener.test__calls_handler_on_create_notification (0.79s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_handles_bootloader (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestFabricListener.test__calls_handler_on_create_notification_with_blank_name (0.94s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_info_for_admins) (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_save_content_later_adds_to__content_to_finalize_var (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsAPI.test_GET_query_with_zone_filters_by_zone(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_admins(warning) (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(machine_to_rack) (1.18s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_admins(info) (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_download_returns_streaming_response (0.13s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDeviceManager.test_create_or_update_for_raid_updates_block_device (0.52s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_has_valid_values (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain) (0.19s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_cant_delete_default_vlan (0.06s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_get_block_size_returns_partition_table_block_size (0.19s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,mac_address) (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_item_has_valid_values (0.14s) SUCCESS: maasserver.tests.test_bootsources.TestGetOSInfoFromBootSources.test__returns_empty_sources_and_sets_when_no_os (0.05s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_commissioning_for_insane_state (1.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+level) (0.10s) SUCCESS: maasserver.tests.test_bootsources.TestGetOSInfoFromBootSources.test__returns_sources_and_sets_of_releases_and_architectures (0.08s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_test_cannot_create_mbr_partition_larger_than_2TiB (0.19s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_interfaces_are_reconnected_when_vlan_is_deleted (0.26s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_events_only_includes_lastest_50 (0.93s) SUCCESS: maasserver.tests.test_commands.TestChangePasswords.test_nonexistent_user (0.07s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+zone) (0.13s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_not_prompt_for_ssh_import_if_other_params_given (0.06s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__class_specifier_matches_attached_fabric (0.12s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_test_cannot_resize_mbr_partition_to_more_than_2TiB (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,level+limit) (0.15s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__default_specifier_matches_vid (0.14s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_validate_enough_space_for_new_partition (0.17s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__name_specifier_matches_name (0.11s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id) (0.19s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_generate_api_doc (0.29s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_enlist_config_if_no_architecture_provided (0.48s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_password_checks_for_consistent_password (0.06s) SUCCESS: maasserver.models.tests.test_partition.TestPartitionManager.test_get_partition_by_id_or_name_returns_valid_with_id (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSubnetListener.test__calls_handler_on_create_notification (1.04s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemgroupListener.test__calls_handler_with_update_on_create(machine) (1.36s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__space_specifier_matches_space_by_name (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_testing_node (0.49s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+zone) (0.13s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_installed_option_connects_to_installed_cluster (0.09s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(-23) (0.08s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_runs_dev_cluster_by_default_if_dev_fixture_exists (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+mac_address) (0.12s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_runs_installed_cluster_by_default_if_no_dev_fixture (0.05s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_add_partition_no_size (0.18s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_does_not_remove_existing_forwarders_config (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+limit+zone) (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(rack_to_machine) (1.21s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_removes_existing_dnssec_validation_config_if_migration_set (0.08s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_available_size (0.15s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+id+level) (0.10s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_removes_existing_forwarders_config_if_migrate_set (0.06s) SUCCESS: maasserver.models.tests.test_rdns.TestRDNSManager.test__get_current_entry__returns_none_if_not_found (0.10s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+id+level+limit) (0.08s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_repeat_migrations_migrate_nothing (0.09s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_virtualblockdevice_update(machine) (1.48s) SUCCESS: maasserver.tests.test_components.PersistentErrorsUtilitiesTest.test_discard_persistent_error_can_be_called_many_times (0.11s) SUCCESS: maasserver.tests.test_components.PersistentErrorsUtilitiesTest.test_register_persistent_error_stores_last_error (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+limit) (0.16s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_mark_dead_for_region_rack_controller_dead_region_only (0.19s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_is_default_detects_default_space (0.08s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+level+mac_address) (0.15s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_validates_ecdsa_curve521_public_key (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserListener.test__calls_handler_on_create_notification (0.86s) SUCCESS: maasserver.models.tests.test_sslkey.SSLKeyTest.test_sslkey_user_and_key_unique_together (0.08s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_success_for_known_node (1.01s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+mac_address+zone) (0.18s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestAllocTypeName.test__provides_human_readable_values_for_known_types (0.10s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestRenderJSON.test__excludes_username_and_node_summary_by_default (0.05s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__doesnt_update_bios_boot_method_when_same (0.97s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+level+limit+mac_address) (0.15s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_node_skips_apt_proxy (0.59s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+limit+mac_address) (0.13s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharField.test_DictCharField_init (0.04s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_deallocate_ignores_other_objects (0.21s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+mac_address+zone) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(region_and_rack_to_device) (1.07s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_compares_by_IP_not_alphabetically (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_all_space_names (1.47s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+limit+mac_address+zone) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_delete(device) (1.51s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+hostname+id+level+zone) (0.11s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_requested_IP_unavailable (0.20s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,domain+id+level+limit+zone) (0.17s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_requests_retry_when_free_address_taken (0.13s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__splits_domain_from_node_hostname (0.97s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineCachesetListener.test__calls_handler_with_update_on_update(machine) (1.47s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_returns_ip_in_correct_range (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,hostname+id+level+mac_address+zone) (0.18s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserSSHKeyListener.test__calls_handler_with_update_on_create (1.13s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_list (0.57s) SUCCESS: maasserver.tests.test_dhcp.TestGetBestInterface.test__returns_bond_over_physical (0.85s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__doesnt_update_boot_interface_when_same (1.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,id+level+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.tests.test_dhcp.TestGetOMAPIKey.test__returns_key_in_global_config (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+id+level+mac_address) (0.11s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_combines_IPv4_and_IPv6_addresses (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+hostname+level+limit+zone) (0.15s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__raises_BootConfigNoResponse_for_unknown_node (0.28s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTypeChange.test__transition_notifies(device_to_rack_and_region) (1.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+domain+id+level+limit+mac_address) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=oauth,agent_name+hostname+level+limit+mac_address+zone) (0.16s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_picks_sticky_over_auto (0.44s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_disk_for_virtual_block_device (0.70s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+level) (0.13s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__updates_boot_cluster_ip_when_changed (0.97s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRoute.test_source_cannot_be_destination (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestVLANListener.test__calls_handler_on_create_notification (0.94s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__admin_edit_returns_fabric (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_delete(region) (1.53s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_update(region_and_rack) (0.00s) SUCCESS: maasserver.tests.test_dhcp.TestMakeFailoverPeerConfig.test__renders_config_for_secondary (0.96s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+limit) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__get_iprange_usage_includes_used_and_unused_ips (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_raises_validation_error_for_invalid_architecture (0.53s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__get_ipranges_not_in_use_ignores_discovered_ip (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+mac_address) (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNotificationListener.test__calls_handler_on_delete_notification (0.86s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_create_special_fs(machine) (1.40s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_create_lock(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.47s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_creates_subnet_with_default_name_if_name_is_none (0.10s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__sets_boot_cluster_ip_when_empty (1.03s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecial.test__mount_point_must_be_absolute (0.16s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,limit+mac_address) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_validates_gateway_ip (0.11s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetControllerType_Scenarios.test__returns_node_type(rack) (0.13s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+level+zone) (0.12s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetTimeConfiguration_Scenarios.test__calls_through_to_ntp_module_returns_servers_and_peers(machine) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.TestGetBestSubnetForIP.test__returns_none_if_no_subnet_found (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+zone) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+level+limit) (0.12s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetLeastRecentlySeenUnknownNeighbour.test__returns_least_recently_seen_neighbour (0.24s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,id+limit+zone) (0.11s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_actually_locked(pg_try_advisory_lock/pg_advisory_unlock) (0.58s) SUCCESS: maasserver.tests.test_dhcp.TestMakeHostsForSubnet.tests__returns_hosts_for_bond (0.90s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__uses_rescue_mode_boot_purpose (1.22s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_domain_name_change(region_and_rack) (1.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,level+mac_address+zone) (0.18s) SUCCESS: maasserver.rpc.tests.test_nodes.TestGetControllerType.test__raises_NoSuchNode_if_node_doesnt_exist (0.08s) SUCCESS: maasserver.rpc.tests.test_nodes.TestMarkNodeFailed.test__raises_NoSuchNode_if_node_doesnt_exist (0.05s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetMAASIPSetForNeighbours.test__excludes_neighbours_with_static_ip_addresses (0.31s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id) (0.15s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__allocates_next_free_address(managed) (0.14s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+limit) (0.15s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__returns_multiple_pools (0.57s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+level+mac_address) (0.11s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__avoids_gateway_ip(unmanaged) (0.19s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(hacking.rst) (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_aborting_transaction(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.65s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_finds_existing_node_by_system_id (0.43s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_eq_punches_through_double_wrapping_on_other (0.04s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__excludes_broken_nodes (0.97s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_eq_punches_through_double_wrapping_on_self (0.04s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_delete_fs_on_block_device(machine) (1.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+mac_address) (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPodListener.test__calls_handler_on_update_same_bmc_types_notification (1.40s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_ne_punches_through_double_double_wrapping (0.06s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_register_mac_type_is_idempotent (0.05s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_dash_separated_octets (0.04s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+limit+zone) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__logs_if_suggests_previously_observed_neighbour(unmanaged) (0.41s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+limit+mac_address) (0.13s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_leaves_owner_when_owned (0.42s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+id+level+zone) (0.10s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_requires_preexisting_connection(pg_try_advisory_lock/pg_advisory_unlock) (0.54s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetNextIPForAllocation.test__uses_smallest_free_range_when_not_considering_neighbours(unmanaged) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+hostname+id+level+limit) (0.17s) SUCCESS: maasserver.tests.test_fields.TestNodeChoiceField.test_allows_selecting_by_hostname (0.47s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(threshold=1 warns for /29) (0.18s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+id+level+mac_address+zone) (0.15s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_logs_converting_region_controller (0.40s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(threshold=0 never warns) (0.12s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+mac_address+zone) (0.14s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold warns for /122 IPv6) (0.13s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_is_locked(pg_advisory_xact_lock/None) (0.45s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptListener.test__calls_handler_on_update_notification (0.89s) SUCCESS: maasserver.tests.test_fields.TestNodeChoiceField.test_raises_exception_when_not_found (0.33s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+level+limit+mac_address) (0.15s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAValidator.test_URLOrPPAValidator_catches_bad_PPA_hostname (0.05s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold doesn't warn for /123 IPv6) (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(tmpfs) (2.27s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_creates_new_link_accepts_dict (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_ip_saved(threshold=0 never warns for IPv6) (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_vlan_update(region_and_rack) (1.68s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_update_does_nothing_on_none (0.05s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+id+limit+mac_address+zone) (0.11s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_registers_with_rack_registration_lock_held (0.36s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__calls_system_handler_on_notification (0.06s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold warns for /26) (0.11s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_isSystemChannel_returns_false_for_channel_not__sys (0.06s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+limit+mac_address+zone) (0.14s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_register_adds_channel_and_handler (0.03s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__returns_unchecked_nodes_first (1.33s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_when_range_saved(Default threshold doesn't warn for /27) (0.11s) SUCCESS: maasserver.tests.test_middleware.APIErrorsMiddlewareTest.test_503_response_includes_retry_after_header (0.03s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_handles_TimeoutError (0.03s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,domain+hostname+id+level+limit+zone) (0.12s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_power_action_already_in_progress_returned_as_503 (0.05s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_filter_raises_for_invalid_cidr (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_mount_partition_filesystem (0.40s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestMachineFilesystemListener.test__calls_handler_with_update_on_update_fs_on_partition(machine) (1.43s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_obtaining_lock_fails_when_outside_of_transaction(pg_try_advisory_xact_lock_shared/None) (0.53s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_ignores_paths_outside_path_regex (0.06s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateForeignDHCP.test__clears_external_dhcp_on_vlan (0.35s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,hostname+id+level+limit+mac_address+zone) (0.12s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_renders_MAASAPIException_as_unicode (0.05s) SUCCESS: maasserver.models.tests.test_tag.TagTest.test_will_not_save_invalid_xpath (0.10s) SUCCESS: maasserver.tests.test_middleware.ExternalComponentsMiddlewareTest.test__does_not_suppress_exceptions_from_connectivity_checks (0.05s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_consumer_creation (0.07s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_always_has_current_commissioning_script_set (0.30s) SUCCESS: maasserver.api.tests.test_events.TestEventsURIsWithoutEvents.test_GET_query_prev_next_URIs_preserve_query_params(user=user,client=user+pass,agent_name+domain+hostname+id+level+limit+mac_address) (0.13s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateForeignDHCP.test__sets_external_dhcp_when_not_managed_vlan (0.34s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_delete_attached_nodes (0.27s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricAPI.test_update(user=user,client=oauth) (0.27s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_properties(pg_advisory_xact_lock/None) (0.63s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_id_with_garbage_collection (0.33s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateForeignDHCP.test__logs_warning_for_external_dhcp_on_interface_no_vlan (0.65s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_skips_updating_tags_if_tags_missing_from_parameters (0.82s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_create(user=user,client=oauth) (0.37s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_negative_without_garbage_collection (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandler.test_get (0.09s) SUCCESS: maasserver.api.tests.test_fabrics.TestFabricsAPI.test_handler_path(user=user,client=oauth) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_create_is_admin_only (0.09s) SUCCESS: maasserver.tests.test_middleware.ExternalComponentsMiddlewareTest.test__registers_error_if_any_clusters_are_disconnected (0.90s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_handles_PowerActionAlreadyInProgress (0.05s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworkAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_list (0.11s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_creates_endpoints_on_process (0.32s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_owners (0.79s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_repr(pg_advisory_xact_lock/None) (0.55s) SUCCESS: maasserver.websockets.handlers.tests.test_space.TestSpaceHandlerDelete.test__delete_as_admin_success (0.09s) SUCCESS: maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_read(user=user,client=user+pass) (0.14s) SUCCESS: maasserver.api.tests.test_filestorage.AnonymousFileStorageAPITest.test_anon_cannot_list_files(user=anonymous,client=oauth) (0.06s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Abort_handles_rpc_errors(PowerActionAlreadyInProgress) (0.24s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestGiveCredentialsToUser.test_give (0.13s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_get_parents_handles_cache_set (0.47s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_does_not_insert_endpoints_when_nothings_listening (0.26s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_fails_with_too_many_files(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_get_doesnt_work_if_not_owned (0.19s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_update(machine) (1.90s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestMigrate.test_migrate_all_files_to_single_user_when_only_one_user (0.09s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANManager.test__default_specifier_matches_name (0.10s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_destination_user_one_real_user (0.09s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_add_file_succeeds(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_create(rack) (1.82s) SUCCESS: maasserver.support.pertenant.tests.test_utils.TestExtractBootstrapNodeSystemId.test_parses_valid_provider_state_file (0.12s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_files_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_list (0.16s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(4095) (0.11s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOn_handles_rpc_errors(PowerActionAlreadyInProgress) (0.27s) SUCCESS: maasserver.models.tests.test_vlan.VLANMTUValidationTest.test_validates_mtu(552) (0.06s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_fails_with_missing_file(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.triggers.tests.test_init.TestTriggersUsed.test_register_system_triggers_does_not_introduce_more (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandler.test_get (0.13s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_unique_violation_until_successful (0.52s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_get_file_returns_owned_file(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_old_node_on_update(region_and_rack) (1.77s) SKIP: maasserver.triggers.tests.test_websocket_listener.TestNodeInterfaceListener.test__calls_handler_with_update_on_update(machine) (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__scan_fails_if_no_rack_is_configured_with_subnet (0.14s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Release_handles_rpc_errors(ExternalProcessError) (0.28s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_destination_user_with_orphaned_juju_state (0.39s) SUCCESS: maasserver.api.tests.test_filestorage.FileStorageAPITest.test_list_files_filters_by_owner(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandler.test_list (0.10s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_legacy_user_creates_user_only_once (0.06s) SUCCESS: maasserver.triggers.tests.test_init.TestTriggersUsed.test_register_websocket_triggers_does_not_introduce_more (0.33s) SUCCESS: maasserver.tests.test_node_action.TestMarkBrokenAction.test_changes_status (0.18s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_owners_no_owned_nodes (0.13s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_all_kernel_parameters (0.50s) SUCCESS: maasserver.utils.tests.test_orm.TestTotallyDisconnected.test__exit_removes_block_on_database_connections (0.42s) SUCCESS: maasserver.triggers.tests.test_system.TestTriggers.test_register_system_triggers_ensures_zone_serial (0.13s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestGiveFileToUser.test_give_unowned_file (0.08s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLockVariations.test_shared_variation (0.05s) SUCCESS: maasserver.triggers.tests.test_init.TestTriggers.test_register_trigger_doesnt_create_trigger_if_already_exists (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLockVariations.test_try_variation (0.04s) SUCCESS: maasserver.utils.tests.test_orm.TestGetModelObjectName.test__gets_model_object_name_from_queryset (0.04s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLockVariations.test_shared_variation (0.05s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDB.test_finds_by_subarch (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_delete_is_forbidden(user=user,client=user+pass,rack) (0.43s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDB.test_finds_by_version (0.04s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLockVariations.test_try_variation (0.06s) SUCCESS: maasserver.tests.test_node_action.TestMarkBrokenAction.test_updates_error_description (0.32s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(New style edge low latency kernel) (0.03s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSubnetListener.test__calls_handler_on_delete_notification (1.00s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_osystem_choices_doesnt_include_default (0.03s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_gateway_fe80_allowed (0.52s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__handle_uncaught_exception_notes_serialization_failure (0.35s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_distro_series_initial_with_key_required (0.11s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_all_usable_releases_sorts (0.04s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__uses_boot_purpose_enlistment (0.46s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_commissioning_choices_returns_commissioning_releases (0.04s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_raise_NodeActionError_if_on (0.23s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kern_sets_hwe_kern_to_min_hwe_kern_for_edge (0.06s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateMinHweKernel.test_raises_exception_when_not_found (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateMinHweKernel.test_validates_kernel (0.03s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__can_watch_config (0.03s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_maintains_order (0.19s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_creates_lease_for_unknown_interface (0.22s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_link_subnet_is_forbidden(user=user,client=oauth,region-rack) (0.49s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteReverse.test_absolute_reverse_uses_kwargs (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_with_no_parameters_disables_dhcp (0.44s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteUrlReverse.test_absolute_url_reverse_uses_query_string (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerDelete.test__delete_as_non_admin_asserts (0.09s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__rejects_GET (0.10s) SUCCESS: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_advertise_not_present (0.53s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_returns_available_actions (0.23s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_redirects_POST (0.11s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_excludes_fields (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestTagListener.test__calls_handler_on_create_notification (0.72s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_calls_final_hydrate_method (0.05s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_all_handler_on_domain_name_change(rack) (1.40s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_inhibition_caches_None (0.18s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_listen_calls_get_object_with_pk_on_other_actions (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_delete(region_and_rack) (1.74s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_github_crashes_for_user_not_found (0.93s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_set_active_clears_active_if_missing_pk (0.06s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_sets_autocomplete_on_in_debug_mode (0.18s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDistroInfo.test_finds_by_series_first_letter (0.05s) SUCCESS: maasserver.views.tests.test_combo.TestComboLoaderView.test_yui_load_css (0.05s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDistroInfo.test_returns_none_when_not_found (0.04s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_abs_location_returns_absolute_location_if_not_None (0.04s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_abs_location_returns_rel_loc_if_not_in_dev_environment (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Release version) (0.06s) SUCCESS: maasserver.tests.test_node_action.TestPowerOnAction.test_PowerOn_is_actionable_if_node_doesnt_have_an_owner (0.29s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(New style edge kernel) (0.06s) SUCCESS: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_advertise_not_running (0.52s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_all_usable_osystems (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_read(user=user,client=oauth,rack) (0.76s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_kernelopts_POST (0.22s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_distro_series_initial_works_around_conflicting_os (0.16s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_reload_objects_omits_deleted_objects (0.45s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_make_hwe_kernel_ui_text_finds_release_from_bootsourcecache (0.06s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_enters_disk_erasing(Deploying) (0.31s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateHweKernel.test_validate_hwe_kernel_returns_default_kernel (0.07s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__remove_removes_the_signal (0.06s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_ubuntu_POST (0.26s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_invalid_check_permission (0.21s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserListener.test__calls_handler_on_delete_notification (0.94s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_acquired_filesystem(Partition) (0.19s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_passes_secure_erase_and_quick_erase(Failed disk erasing) (0.31s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_view_user (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_sets_empty_selections (0.65s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_shows_arch_as_special_case (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_create_notification(region_and_rack) (1.04s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_BlockDevice_when_node_owner (0.27s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_filesystem_if_node_not_in_acquired_state(BlockDevice) (0.20s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fails_validation_for_no_matching_not_vlans (0.09s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update(user=user,client=oauth,region-rack) (0.73s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNotificationDismissalListener.test__calls_handler_on_create_notification (1.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_edit_nodes_owned_by_others (0.20s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__partitioned (0.20s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptListingTest.test_settings_contains_links_to_delete_scripts (0.37s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfaceAPIForControllers.test_update_forbidden_for_vlan_interface(user=user,client=user+pass,region-rack) (0.42s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_constraint_rejected_if_key_is_invalid (0.47s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptListingTest.test_settings_link_to_upload_script (0.33s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_admin_is_admin(discovery) (0.53s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserSSHKeyListener.test__calls_handler_with_update_on_delete (0.91s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewTest.test_zone_detail_displays_zone_detail (0.15s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPackageRepositoryListener.test__calls_handler_on_create_notification (0.68s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__raid_active (0.55s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_copes_with_mac_addresses_of_different_forms (0.87s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_acquired_bridge_not_allowed_in_ready(user=user,client=user+pass) (0.34s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_redirects_to_index_when_intro_not_completed (0.13s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeListener.test__calls_handler_on_domain_name_change(machine) (1.04s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTestNonAdmin.test_zone_listing_is_paginated (0.15s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_constraint_rejected_if_syntax_is_invalid (0.59s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_user_cannot_edit(discovery) (0.40s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bond_404_on_device(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(domain) (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceDeleteImage.test_deletes_uploaded_image (0.16s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(vlan) (0.07s) SUCCESS: maasserver.rpc.tests.test_nodes.TestListClusterNodesPowerParameters.test__returns_at_most_60kiB_of_JSON (2.71s) SUCCESS: maasserver.utils.tests.test_utils.TestFindRackController.test_returns_primary_rack_when_subnet_is_managed (0.51s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_allows_squashfs (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_validate_bootloader_allows_acceptable_bootloaders (0.06s) SUCCESS: maasserver.utils.tests.test_views.TestDeleteOAuthNonce.test__skips_missing_nonce (0.08s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_validate_ubuntu_rejects_unknown_version (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceDeleteImage.test_makes_correct_calls_for_downloading_resources (0.27s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_finalize_calls_delete_after_write_if_cancel_finalize (0.07s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_doesnt_redirect_to_logout_POST (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_raises_error_on_invalid_field (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressService.test__runs_every_three_minutes (0.04s) SUCCESS: maasserver.views.tests.test_combo.TestUtilities.test_get_combo_view_returns_callable (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_contains_keys (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_returns_releases_and_arches (0.08s) SUCCESS: maasserver.views.tests.test_general.PaginatedListViewTests.test_preserves_query_string_with_page (0.03s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_find_existing_keeps_type (0.34s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestVLANListener.test__calls_handler_on_delete_notification (0.88s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_connection_error_False (0.07s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge(user=user,client=user+pass) (0.56s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_empty_with_incomplete_resource (0.09s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_constraint_with_multiple_labels_and_values_validated (0.64s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_subnets (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_creates_device_with_static_and_external_ip (1.07s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_hides_license_keys_if_no_OS_supporting_keys (0.28s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_bridge_requires_name_and_parent(user=user,client=oauth) (0.20s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_has_valid_product_keys (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_calculates_complete_True (0.36s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPodListener.test__calls_handler_on_update_new_BMC_bmc_type_notification (1.29s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_redirects_to_index_when_intro_not_completed (0.16s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_finds_existing_node_by_mac (0.48s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_contains_multiple_versions (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_other_images_returns_images_from_cache (0.13s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptUploadTest.test_can_create_commissioning_script (0.13s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_is_locked(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.59s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_item_contains_keys (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_form_class_returns_DeviceForm_for_update (0.46s) SUCCESS: maasserver.views.tests.test_zones.ZoneAddTestNonAdmin.test_cannot_add_zone (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_resource_attributes (0.19s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_contains_keys (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_ubuntu_sources (0.11s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_physical(user=user,client=user+pass) (0.61s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_get_must_be_known_config (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_empty_with_incomplete_resource (0.16s) SUCCESS: maasserver.views.tests.test_zones.ZoneDeleteAdminTest.test_does_not_delete_nodes (0.22s) SUCCESS: maasserver.tests.test_bootsources.TestGetOSInfoFromBootSources.test__returns_empty_sources_and_sets_when_cache_empty (0.04s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeNetworkListener.test__calls_handler_iface_with_update_on_vlan_update(machine) (1.60s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_breaking_transaction(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.43s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_title_pulled_from_distro_info (0.07s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_prompts_for_password_if_not_given (0.11s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_updates_interfaces (0.65s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_ssh_import_returns_selected_creds (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(region,for-list) (0.22s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_validate_ssh_import_errors_on_incorrect_user_id (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_create_vlan_404_on_device(user=user,client=oauth) (0.32s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_validate_ssh_import_validates_user_id_with_no_protocol (0.07s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestSSHKeyListener.test__calls_handler_on_delete (0.84s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_fabric_classes_constraint (1.09s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_shows_queued_if_no_progress (0.26s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_local_run_obeys_database_option_if_given (0.06s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_exits_when_file_has_no_options_block (0.04s) SUCCESS: maasserver.tests.test_commands_get_named_conf.TestGetNamedConfCommand.test_get_named_conf_returns_snippet (0.04s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPI.test_handler_path(user=user,client=oauth) (0.18s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_transaction(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.52s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestReportNeighbours.test__calls_report_neighbours_on_rack_controller (0.42s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combines_subarch_resources_into_one_resource (0.32s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_no_ubuntu_sources (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list_returns_devices_only_viewable_by_user (1.04s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(region+rack,for-list) (0.62s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_update_is_admin_only (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_returns_ubuntu_release_version_name (0.19s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestUpdateLastImageSync.test__updates_last_image_sync (0.36s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_bond_is_forbidden(user=user,client=user+pass,rack) (0.55s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_update_handles_bad_value (0.10s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_committing_transaction(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.53s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_node_manages_etc_hosts (0.73s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_demote (0.31s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_fabrics_constraint (0.95s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_create(device) (1.39s) SUCCESS: maasserver.api.tests.test_interfaces.TestInterfacesAPIForControllers.test_create_vlan_is_forbidden(user=user,client=oauth,rack) (0.46s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_properties(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.42s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_dump (0.29s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_empty_if_no_ipaddresses(user=admin,client=oauth) (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_update_updates_node (0.85s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_returns_distinct_nodes (0.39s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_check_images (0.63s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_returns_empty_if_no_ipaddresses(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_parse_legacy_tags (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandler.test_get_form_class_for_create (0.08s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_node_produces_yaml (0.63s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_nothing_when_no_ntp_servers_defined(region) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_revert_requires_to_to_be_an_int (0.09s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestCopySSHKeys.test_copy (0.30s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_sorts_by_id(user=admin,client=user+pass) (0.16s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_destination_user_no_real_users (0.08s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_create(region_and_rack) (1.67s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_repr(pg_try_advisory_lock_shared/pg_advisory_unlock_shared) (0.49s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_owned_nodes_owners_no_nodes (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_start (0.22s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestFunctions.test_get_unowned_files_no_files (0.05s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_with_all_for_admin_returns_non_user_reserved_types(user=admin,client=oauth) (0.29s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactoryTransactional.test_onNotify_calls_handler_class_on_listen (0.59s) SUCCESS: maasserver.triggers.tests.test_system.TestTriggers.test_register_system_triggers (0.15s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Region_RegionRack_None.test_yields_nothing_when_no_ntp_servers_defined(region+rack) (0.52s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_start_and_limit (0.27s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_GET_with_all_for_admin_returns_non_user_reserved_types(user=user,client=user+pass) (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_doesnt_call_listen_for_non_create (0.06s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_create_lock(pg_try_advisory_xact_lock_shared/None) (0.44s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_handler_path(user=admin,client=oauth) (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_returns_None_if_listen_returns_None (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_machine_actions_for_admin (0.06s) SUCCESS: maasserver.api.tests.test_ipaddresses.TestIPAddressesAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_region_and_rack_controller_actions_for_admin (0.07s) SUCCESS: maasserver.utils.tests.test_keys.TestKeys.test_get_protocol_keys_crashes_on_no_keys (0.43s) SUCCESS: maasserver.utils.tests.test_orm.TestGetModelObjectName.test__gets_model_object_name_returns_none_if_not_found (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(GA kernel) (0.05s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangeAPI.test_update(user=user,client=oauth) (0.23s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(Rolling lowlatency edge kernel) (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_discovery.TestDiscoveryHandler.test_list_orders_by_creation_date (1.96s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleaseANewerThanB.test_a_equal_to_b_true (0.05s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleaseANewerThanB.test_accounts_for_edge (0.04s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_authenticate_calls_loseConnection_if_invalid_csrftoken (0.70s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_try_advisory_xact_lock/None) (0.49s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_does_not_require_subnet(user=user,client=user+pass) (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_action_performs_action_passing_extra (0.41s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_get_distro_series_initial_without_key_required (0.14s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_create(region) (1.64s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_all_usable_releases (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_default_max_days_of_30 (0.28s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_main_archive_for_custom_os (0.85s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateOsystemAndDistroSeries.test__raises_error_if_not_supported_osystem (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_raises_error_if_missing_node_id (0.10s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_create_dynamic(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.api.tests.test_ipranges.TestIPRangesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_None_when_no_filesystem(BlockDevice) (0.16s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_cache_set_for_block_device (0.35s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_POST_is_prohibited(user=user,client=oauth) (0.11s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionLost_removes_self_from_factory (0.50s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_create(rack) (1.52s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_PUT_returns_404_for_unknown_os_and_series(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_none_when_allocated_state(BlockDevice) (0.18s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKey.test_handler_path(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_partition (0.33s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_returns_newest_event_first (0.49s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_requires_admin(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_components_to_disable (0.05s) SUCCESS: maasserver.api.tests.test_licensekey.TestLicenseKeysAPI.test_GET_returns_license_keys(user=user,client=oauth) (0.13s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_sendNotify_sends_correct_json (0.43s) SUCCESS: maasserver.utils.tests.test_storage.TestUsedFor.test__lvm (0.36s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_advisory_xact_lock_shared/None) (0.98s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteReverse.test_absolute_reverse_uses_args (0.10s) SUCCESS: maasserver.api.tests.test_machine.MachineAnonAPITest.test_machine_init_user_cannot_access (0.18s) SUCCESS: maasserver.utils.tests.test_utils.TestFindRackController.test_returns_None_when_subnet_is_not_managed (0.14s) SUCCESS: maasserver.utils.tests.test_utils.TestFindRackController.test_returns_None_when_unknown_subnet (0.07s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__403_when_not_admin(user=user,client=oauth) (0.24s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_first_of_existing_named_credentials (0.18s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_releasing_lock_does_nothing(pg_advisory_xact_lock/None) (0.49s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_raid (0.72s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_with_disabled_pockets (1.27s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_deletes_root_image_if_squashfs_available (0.60s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__returns_new_named_credentials (0.13s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_doesnt_redirect_to_logout_GET (0.11s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeStaticIPAddressListener.test__calls_handler_with_update_on_delete(machine) (1.57s) SUCCESS: maasserver.views.tests.test_account.TestLogin.test_login_sets_autocomplete_off_in_production (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_volume_group (0.43s) SUCCESS: maasserver.views.tests.test_account.TestLoginLegacy.test_login_displays_createadmin_message_if_no_user (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestDefaultGateways.test__clears_default_gateways(user=user,client=user+pass) (0.64s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__adds_warning_if_boot_images_exists_on_cluster_not_region (0.44s) SUCCESS: maasserver.utils.tests.test_orm.TestDisablingDatabaseConnections.test_disable_can_be_called_multiple_times (0.56s) SUCCESS: maasserver.views.tests.test_account.TestLogout.test_loggout_uses_POST (0.12s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_delete(region_and_rack) (1.51s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_block_device_with_PhysicalBlockDevice_wo_ptable (0.26s) SUCCESS: maasserver.views.tests.test_account.TestLogout.test_logout_doesnt_redirect_when_intro_not_completed (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_filesystem_returns_None (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_GET_returns_associated_tag(user=user,client=oauth) (0.34s) SUCCESS: maasserver.views.tests.test_combo.TestComboLoaderView.test_yui_combo_no_file_returns_not_found (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesServiceAsync.test__no_auto_import_if_dev (0.37s) SUCCESS: maasserver.views.tests.test_general.HelpfulDeleteViewTest.test_get_asks_for_confirmation_and_does_nothing_yet (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set_returns_output_if_stdout_empty (0.18s) SUCCESS: maasserver.utils.tests.test_orm.TestIsUniqueViolation.test_detects_integrity_error_with_matching_cause (0.55s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_allocate_passes_comment(user=user,client=oauth) (0.29s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_installer_url_doesnt_append_on_tgz (1.17s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyListingTest.test_settings_contains_links_to_edit (0.35s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestNodeTagListener.test__calls_node_handler_with_update_on_tag_rename(rack) (1.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_cache_set (0.40s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestStaticRouteListener.test__calls_handler_on_delete_notification (0.85s) SUCCESS: maasserver.utils.tests.test_orm.TestIsUniqueViolation.test_rejects_integrity_error_without_cause (0.46s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyListingTest.test_settings_link_to_add_license_key (0.36s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_disk (0.34s) SUCCESS: maasserver.views.tests.test_zones.ZoneAddTestAdmin.test_adds_zone (0.10s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_backward_compatible_name_for_ubuntu_without_prefix (0.63s) SUCCESS: maasserver.views.tests.test_zones.ZoneDeleteAdminTest.test_deletes_zone (0.18s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_filenames (0.22s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewAdmin.test_zone_detail_contains_edit_link (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_unlink_subnet (0.37s) SUCCESS: maasserver.utils.tests.test_orm.TestIsUniqueViolation.test_rejects_non_integrity_error_with_matching_cause (0.55s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_returns_PreseedTemplate (0.17s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_stores_user_data(user=user,client=oauth) (1.11s) SUCCESS: maasserver.views.tests.test_zones.ZoneDetailViewTest.test_zone_detail_displays_node_count (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecial.test__fstype_must_be_a_non_storage_type (0.25s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestZoneListener.test__calls_handler_on_create_notification (0.90s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestPodListener.test__calls_handler_on_update_new_POD_bmc_type_notification (1.24s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(tmpfs) (0.21s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_displays_sorted_list_of_zones (0.24s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_does_not_call_reset_before_first_attempt (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test__returns_region_import_running_True (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_get_requires_name (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_hwe_kernels (3.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(tmpfs) (0.25s) SUCCESS: maasserver.websockets.handlers.tests.test_config.TestConfigHandler.test_on_listen_returns_update_for_loaded_delete (0.07s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_is_locked(pg_try_advisory_lock/pg_advisory_unlock) (0.46s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_delete_is_admin_only (0.06s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__calls_configure_for_both_ipv4_and_ipv6(v2) (2.06s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_validates_distro_series(user=user,client=oauth) (0.71s) SUCCESS: maasserver.websockets.handlers.tests.test_iprange.TestIPRangeHandler.test_update (0.21s) SUCCESS: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_preseed_url_links_to_preseed_for_node (0.78s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retries_on_deadlock_failure (0.46s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(tmpfs) (0.32s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_update (0.26s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_breaking_transaction(pg_advisory_lock/pg_advisory_unlock) (0.38s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_enable_ssh_ignored_unsupported_states (5.88s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_DictCharWidget_id_for_label_uses_first_fields_name (0.04s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_skip_check_false (0.04s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_deploy_validates_hwe_kernel_with_default_distro_series(user=user,client=oauth) (0.36s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_returns_None_if_event_node_id_not_in_cache (0.23s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_cache_set_for_partition (0.36s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptListener.test__calls_handler_on_create_notification (0.86s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_delete_blockdevice_filesystem (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_on_listen_returns_None_if_obj_no_longer_exists (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandler.test_dismiss_multiple (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListening.test_on_listen_for_dismissal_up_calls_with_delete (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_iprange.TestIPRangeHandler.test_delete (0.16s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__crashes_if_hooks_exist_before_entering_transaction (0.52s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_update_is_admin_only (0.08s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_is_held_around_transaction(pg_advisory_lock/pg_advisory_unlock) (0.49s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_delete (0.14s) SUCCESS: maasserver.tests.test_dhcp.TestGenManagedVLANsFor.test__returns_managed_vlan_with_relay_vlans (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_creates_node (0.48s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_without_form_uses_object_id (0.07s) SUCCESS: maasserver.tests.test_preseed.TestRenderEnlistmentPreseed.test_get_preseed_uses_rack_controller_maas_url(ENLIST) (0.89s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_execute_calls_method_with_params (0.08s) SUCCESS: maasserver.tests.test_preseed.TestRenderEnlistmentPreseed.test_render_enlistment_preseed_valid_yaml(ENLIST) (0.10s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_execute_only_allows_meta_allowed_methods (0.08s) SUCCESS: maasserver.utils.tests.test_orm.TestWithConnection.test__ensures_function_is_called_within_connected_context (0.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bcache_for_block_device_with_filesystem (0.53s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_calls_field_dehydrate_method_if_exists (0.12s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_committing_transaction(pg_try_advisory_lock/pg_advisory_unlock) (0.51s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_calls_fields_hydrate_method_if_present (0.06s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_only_doesnt_set_fields_not_allowed_to_change (0.06s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_interfaces_with_static_over_discovered (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_events_doesnt_include_debug (0.17s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_update_call_full_dehydrate_for_list_if_not_active (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_logical_volume (0.70s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__doesnt_convert_None_router_ip (0.30s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_update_call_full_dehydrate_not_for_list_if_active (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_interface_for_multinic_node (0.42s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_update_returns_update_action_if_obj_not_None (0.16s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_properties(pg_try_advisory_lock/pg_advisory_unlock) (0.55s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_partitions_returns_None (0.08s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_set_active_does_nothing_if_no_active_obj_and_missing_pk (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_power_parameters_returns_None_when_empty (0.07s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_catches_serialization_failures (0.83s) SUCCESS: maasserver.tests.test_preseed.TestRenderPreseed.test_render_preseed(COMMISSIONING) (0.89s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_extract_redirect_only_returns_target_path (0.06s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptResultListener.test__calls_handler_with_update_on_create(machine) (1.55s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_ntp_from_empty_dict_argument (0.34s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_physical_creates_link_auto (0.43s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_script_set (0.20s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_releasing_lock_fails_when_lock_not_held(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.42s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_fails_for_other_machine_states(user=user,client=oauth) (1.86s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_show_os_info_returns_true (0.16s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_ntp_from_list_argument (0.39s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_vlan_creates_link_up (0.36s) SUCCESS: maasserver.tests.test_dhcp.TestSplitIPv4IPv6Subnets.test_skips_unmanaged_subnets (0.09s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_restores_files_across_requests (0.53s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(enum.rst) (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_delete_interface (0.23s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/metadata.rst) (0.06s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_connected_rack_when_subnet_primary_rack_is_disconn(v1) (2.58s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_repr(pg_try_advisory_lock/pg_advisory_unlock) (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_block_device_with_PhysicalBlockDevice_with_ptable (0.21s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/philosophy.rst) (0.06s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_equals_identical_mac (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_object_returns_node_if_owner (0.22s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_passes_comment(user=user,client=oauth) (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_device (0.33s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_invalid_action_raises_error (0.21s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_up_calls_in_transaction (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_owner_username (0.07s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__bridge (1.07s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_create_lock(pg_advisory_xact_lock/None) (0.50s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_zone (0.10s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_POST_release_starts_disk_erasing(user=user,client=oauth) (0.37s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_interface_raises_ValidationError (0.27s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__calls_handler_on_notification_with_delayed_registration (0.57s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__convertChannel_raises_exception_if_not_valid_action (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_object_raises_error_if_owner_by_another_user (0.17s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_create(device) (1.37s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_adds_self_to_reactor (0.09s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregisterChannel_calls_unlisten_per_action_for_channel (0.05s) SUCCESS: maasserver.utils.tests.test_orm.TestConnected.test__ensures_connection (0.32s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecial.test__mount_point_must_be_absolute (0.23s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregister_doesnt_call_unregisterChannel_multi_handlers (0.04s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_get_object_returns_node_if_super_user (0.18s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_handles_TimeoutError (0.04s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_ignores_unknown_fields(user=user,client=oauth) (0.52s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__handle_uncaught_exception_does_not_note_other_failure (0.68s) SUCCESS: maasserver.utils.tests.test_orm.TestIsUniqueViolation.test_rejects_integrity_error_without_matching_cause (0.27s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Abort_handles_rpc_errors(TimeoutError) (0.22s) SUCCESS: maasserver.tests.test_preseed_network.TestVLANNetworkLayout.test__renders_expected_output (1.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_uses_retry_context (0.36s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors(ExternalProcessError) (0.39s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsEndToNearlyEnd.test__calls_are_made_to_all_clusters (1.55s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__init_attempts_can_be_set (0.50s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_updates_swap_size(user=user,client=oauth) (0.58s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOff_handles_rpc_errors(NoConnectionsAvailable) (0.27s) SUCCESS: maasserver.tests.test_preseed_storage.TestGPTPXELargeBootDiskLayout.test__renders_expected_output (0.36s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_PUT_zone_change_requires_admin(user=user,client=oauth) (0.28s) SUCCESS: maasserver.api.tests.test_machine.TestMachineAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__closes_connections_only_when_leaving_atomic_block (0.51s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_init_sets_properties (0.50s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOn_handles_rpc_errors(TimeoutError) (0.28s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_create(region) (1.43s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_passes_secure_erase_and_quick_erase(Deploying) (0.31s) SUCCESS: maasserver.api.tests.test_machine.TestMarkBroken.test_mark_broken_updates_error_description_compatibility(user=user,client=oauth) (0.41s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fails_validation_for_no_matching_subnets (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerCheckPower.test__logs_other_errors (0.88s) SUCCESS: maasserver.utils.tests.test_orm.TestValidateInTransaction.test__explodes_when_no_transaction_is_active (0.51s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startProcessing_doesnt_call_start_when_looping_call_running (0.50s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_cannot_unmount_on_non_ready_or_allocated_machine(ramfs) (2.12s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startService_registers_with_postgres_listener (0.48s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_is_in_retry_context_in_transaction (0.54s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecial.test__fstype_must_be_a_non_storage_type(user=user,client=oauth) (0.64s) SUCCESS: maasserver.tests.test_preseed_storage.TestMountOrdering.test__mounts_are_sorted_lexically_by_path (1.27s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=False;to-users=False;to-admins=True) (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=False;to-users=True;to-admins=False) (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerCheckPower.test__retrieves_and_updates_power_state (0.71s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=True;to-users=False;to-admins=False) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(admin,to-user=True;to-users=True;to-admins=True) (0.07s) SUCCESS: maasserver.tests.test_preseed_storage.TestPower8NoPartitionTableLayout.test__renders_expected_output (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_delete (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestMountSpecialScenarios.test__admin_mounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,ramfs) (0.46s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_filters_same_key_treated_as_OR_operation (1.06s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_stopService_handles_canceling_startup (0.53s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_delete (0.17s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_not_subnets (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_zone (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_combines_good_and_bad_names (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_import_keys_calls_save_keys_for_user (0.11s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_layout_error(user=user,client=oauth) (0.19s) SUCCESS: maasserver.tests.test_preseed_storage.TestSimpleWithEmptyDiskLayout.test__renders_expected_output (0.30s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestScriptSetListener.test__calls_handler_with_update_on_delete(machine) (1.54s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_storage_constraints_from_string_None_for_empty_tags (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_sshkey.TestSSHKeyHandler.test_import_keys_raises_HandlerError (0.09s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_create_checkpoint_nonce_creates_checkpoint_nonce (0.07s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_find_checkpoint_nonce_returns_None_if_no_checkpoint (0.04s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_stops_processing (0.16s) SUCCESS: maasserver.tests.test_service_monitor.TestProxyService.test_getExpectedState_returns_off_for_proxy_on_and_set (0.37s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_prepare_retry_context_before_each_try (0.93s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_all_ntp_servers_when_defined(region) (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_layout_not_supported(user=user,client=user+pass) (0.31s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__scan_as_admin_logs_the_fact_that_a_scan_happened (0.40s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__400_when_storage_layout_missing(user=user,client=oauth) (0.19s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_sends_error (1.06s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_all_ntp_servers_when_defined(region+rack) (0.40s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_all_ntp_servers_when_defined(device) (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_asserts_is_admin (0.53s) SUCCESS: maasserver.tests.test_service_monitor.TestProxyService.test_getExpectedState_returns_on_for_proxy_off_and_set (0.62s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestTagListener.test__calls_handler_on_update_notification (0.81s) SUCCESS: maasserver.api.tests.test_machine.TestSetStorageLayout.test__calls_set_storage_layout_on_machine(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_gateway_outside_subnet_raises (0.50s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecial.test__mount_point_is_required(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_holds_lock (0.56s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_with_relay_vlan (0.19s) SUCCESS: maasserver.tests.test_start_up.TestStartUp.test_inner_start_up_runs_in_exclusion (0.45s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinCloudConfig.test__get_curtin_cloud_config_includes_datasource_list (0.56s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__yields_routes_between_multiple_nodes_on_same_space (1.23s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinSwapSpace.test__returns_set_swap_size (0.13s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=oauth,ramfs) (0.38s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_create_sequence_fails_if_sequence_exists (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveUbuntu.test_sets_arches_on_selections (0.68s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__resolves_hostname (0.05s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerHost.test_get_maas_facing_server_host_returns_host_name (0.05s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerHost.test_get_maas_facing_server_host_returns_ip_if_ip_configured (0.05s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinSwapSpace.test__suppresses_swap_file_when_swap_on_partition (0.20s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_schedules_import_to_rack_controllers (0.54s) SUCCESS: maasserver.triggers.tests.test_websocket_listener.TestUserSSLKeyListener.test__calls_handler_with_update_on_create (0.84s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__non_superuser_reloads_user (0.52s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_hydrate_does_nothing (0.07s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__tryUpdateNodes_returns_None_when_empty_queue (0.52s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_ready_machine(user=user,client=user+pass,ramfs) (0.37s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__creates_maas_id_file (0.22s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_create_adds_pk_to_loaded (0.16s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__doesnt_call_dns_kms_setting_changed_if_not_master (0.18s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_adds_nodes (0.17s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_boot_resources_fallsback_to_no_user_agent (0.52s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_create_lock(pg_try_advisory_lock/pg_advisory_unlock) (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_create_interface_creates_with_static_ip_assignment_implicit (0.74s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_uses_main_archive_key (0.65s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_builtin_commiss_script_overrun(testing) (0.32s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_does_not_add_other_nodes (0.26s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_returns_unique_zone (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_boot_resources_syncs_repo (0.42s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test_queueMessages_processes_files_message_instantly (1.00s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_actually_locked(pg_advisory_lock/pg_advisory_unlock) (0.66s) SUCCESS: maasserver.api.tests.test_auth.TestOAuthUnauthorized.test_exception_unicode_includes_user_friendly_message (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__removes_warning_if_boot_image_process_started (0.35s) SUCCESS: maasserver.testing.tests.test_factory.TestFactoryForNodes.test_make_Node_uses_power_parameters_when_connecting_to_BMC (0.59s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(http,script-at-root) (0.07s) SUCCESS: maasserver.api.tests.test_discoveries.TestInterpretsScanAllRackNetworksRPCResults.test__scan_failed_on_at_least_one_rack (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_nested_urlpatterns_with_handler (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_urlpatterns_not_present (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_urlpatterns_with_resource (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestHandlers.test_handlers_have_section_title (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_asserts_against_None (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_rejects_other_numeric_strings (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get (0.88s) SUCCESS: maasserver.tests.test_auth.LoginLogoutTest.test_login (0.12s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_data_values_override_defaults (0.01s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestLazyDict.test_remembers_elements (0.00s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationCommon.test_gen_configuration_options (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(database_pass) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(database_host) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(maas_url) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(database_host) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(maas_url) (0.01s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_missing_timeout_prefetches(commissioning) (0.86s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(database_host) (0.03s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(maas_url) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet_DatabasePort.test__exception_when_port_is_too_high (0.01s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_setup_cache_device_field_does_nothing_if_no_boot_device (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestCalculateSizeFromPercentHelper.test__returns_correct_result(1%) (0.04s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(100%) (0.05s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_remains_held_when_aborting_transaction(pg_advisory_lock_shared/pg_advisory_unlock_shared) (0.54s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_FilesystemGroup_when_node_owner (0.35s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_raises_error_when_percentage_to_low_for_logical_volume (0.09s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__adds_release_codename_title_and_support_eol (0.62s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test__init__loads_the_physical_block_devices (0.12s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_removes_apt_proxy (1.38s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_link_subnet_calls_link_subnet_if_link_id_deleted (0.64s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForAdminRestricted.test_user_not_admin(discovery) (0.35s) SUCCESS: maasserver.tests.test_third_party_drivers.TestNodeModaliases.test_uses_commissioning_modaliases (0.22s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseLock.test_lock_requires_preexisting_connection(pg_advisory_lock/pg_advisory_unlock) (0.45s) SUCCESS: maasserver.tests.test_worker_user.TestNodeGroupUser.test_worker_user_is_system_user (0.05s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(domain) (0.07s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__determine_hardware_matches(caffeine_fueled_ubuntu_core) (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__adds_parent_tag(ubuntu_core) (0.17s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(dnsdata) (0.18s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestExtractRouters.test_extract_router_mac_addresses_returns_None_when_empty_input (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestExtractRouters.test_extract_router_mac_addresses_returns_empty_list (0.04s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(fabric) (0.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateHardwareDetails.test_hardware_updates_logs_invalid_xml (0.11s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(interface) (0.19s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_obtaining_lock_fails_when_outside_of_transaction(pg_try_advisory_xact_lock/None) (0.50s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_file_creates_resource_file (0.09s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_forbidden_to_unmount_on_non_allocated_machine(user=user,client=user+pass,tmpfs) (2.64s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_gets_resource (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_init_initializes_variables (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_link_subnet_calls_link_subnet_if_not_link_id (0.80s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__add_all_interfaces_xenial (0.33s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_runs_south_if_missing_metadataserver_last_migration (1.08s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_download_invalid_version_returns_404 (0.14s) SUCCESS: maasserver.tests.test_bootsources.TestHelpers.test_ensure_boot_source_definition_skips_if_already_present (0.08s) SUCCESS: maasserver.api.tests.test_machine.TestUnmountSpecialScenarios.test__user_unmounts_non_storage_filesystem_on_allocated_machine(user=user,client=user+pass,ramfs) (0.31s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_path_for_missing_serial (0.19s) SUCCESS: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_obtaining_lock_fails_when_outside_of_transaction(pg_advisory_xact_lock_shared/None) (0.45s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_prompts_for_ssh_import_if_not_given (0.06s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_email_checks_for_empty_email (0.03s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_username_returns_selected_username (0.04s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_with_ipv4_rack_url (1.24s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_save_stores_end_time (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_list_num_queries_is_independent_of_num_nodes (7.82s) SUCCESS: maasserver.api.tests.test_machines.MachineHostnameTest.test_GET_returns_fqdn_with_domain_name_from_node(user=admin,client=user+pass) (0.29s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_only_allows_when_stdout_is_blank (0.16s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_sets_status_to_timedout_with_timedout_true (0.18s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskServiceWithActualDatabase.test__task_can_access_database_from_other_thread (0.54s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_stores_stdout (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_interface (0.55s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_includes_auth_tokens (0.70s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_ended_returns_none_when_not_all_results_finished (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_list_ignores_nodes (1.15s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_get_runtime_blank_when_missing (0.15s) SUCCESS: maasserver.utils.tests.test_orm.TestIsSerializationFailure.test_rejects_operational_error_without_matching_cause (0.49s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_installation_script_set_cleans_up_current (0.25s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_orders_by_id(user=user,client=oauth) (0.99s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_raise_HandlerError_if_tag_has_definition (0.54s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_update_raise_permissions_error_for_non_admin (0.45s) SUCCESS: maasserver.tests.test_dhcp.TestGetDHCPConfiguration.test__finds_per_subnet_addresses_when_ntp_external_only_not_set (0.61s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestDiskErasingUserData.test_generate_user_data_produces_disk_erase_script(secure_and_quick) (0.15s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_with_name_rack_url (1.37s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestDiskErasingUserData.test_generate_user_data_produces_disk_erase_script(secure_not_quick) (0.13s) SUCCESS: maasserver.utils.tests.test_orm.TestIsUniqueViolation.test_rejects_integrity_error_with_unrelated_cause (0.48s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestDiskErasingUserData.test_generate_user_data_produces_disk_erase_script(quick_not_secure) (0.20s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_id_returns_matching_machines(user=user,client=oauth) (0.46s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestGenerateUserData.test_generate_user_data_produces_rescue_mode_script (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_GET_with_nonexistent_id_returns_empty_list(user=user,client=oauth) (0.20s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_only_interfaces_on_vlan_ipv6 (0.55s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryOnRetryableFailure.test_retry_contexts_accumulate (0.50s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__calls_configure_for_both_ipv4_and_ipv6(v1) (2.21s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_accept_fails_for_device(user=user,client=oauth) (0.18s) SUCCESS: metadataserver.tests.test_api.TestAnonymousAPI.test_anonymous_netboot_off (0.27s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerCheckPower.test__raises_failure_for_NotImplementedError (0.83s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_updates_node (0.93s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_preseed_type_for_commissioning (0.92s) SUCCESS: maasserver.utils.tests.test_orm.TestTransactional.test__fires_post_commit_hooks_when_done (0.50s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_current_power_type_mscm_does_not_store_params (0.42s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_password_required_for_required_chassis(user=user,client=oauth) (0.49s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_requires_chassis_type(user=user,client=oauth) (0.15s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionMade_doesnt_add_self_to_factory_if_auth_fails (0.62s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__constant_query_count (0.90s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__get_response_deleted_nonces_across_requests (0.35s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsStickyOrAuto.test__returns_correct_result(sticky) (0.14s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(maascli.rst) (0.08s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_success_makes_node_ready (0.56s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/notes/index.rst) (0.08s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_as_representation (0.05s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_sends_accept_all_false_when_not_true(user=user,client=oauth) (0.48s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_getMessageField_calls_loseConnection_if_key_missing (0.54s) SUCCESS: maasserver.utils.tests.test_views.TestWebApplicationHandler.test__handle_uncaught_exception_logs_other_failure (0.49s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_django_serializes_MAC_to_JSON (0.25s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_preseed_type_for_disk_erasing (1.04s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_success_does_not_clear_owner (0.37s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_does_not_differ_from_self (0.06s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_add_chassis_sends_accept_all_when_true(user=user,client=oauth) (0.28s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_new_MAC_with_other_value_types_are_rejected (0.04s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__handles_missing_system_handler_on_notification (0.08s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__listener_ignores_ENOENT_when_removing_itself_from_reactor (0.08s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__stopping_cancels_start (0.08s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregisterChannel_calls_unlisten_once_for_system_channel (0.09s) SUCCESS: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info_when_rpc_advertise_startup_failed (0.53s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_ignores_deadlock_failures (0.08s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_calls_loseConnection_if_missing_request_id (0.61s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_success_leaves_node_deploying (0.51s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerMountSpecialScenarios.test__admin_cannot_mount_on_non_ready_or_allocated_machine(ramfs) (2.00s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_arch(user=user,client=oauth) (0.78s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_no_connections_available_has_usable_cluster_name_in_msg (0.36s) SUCCESS: metadataserver.tests.test_api.TestMAASScripts.test__returns_all_scripts_when_commissioning (0.38s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(tmpfs) (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListening.test_listen_reloads_user (0.08s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_metadata_index_shows_only_known_versions(metadata) (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceSaveOther.test_clears_all_other_os_selections (0.67s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListening.test_on_listen_for_dismissal_for_other_user_does_nothing (0.12s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_calls_handleRequest_with_message (0.65s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_no_anonymous_access(curtin-metadata) (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=False;to-users=False;to-admins=True) (0.08s) SUCCESS: maasserver.tests.test_node_action.TestAcquireNodeAction.test_Acquire_uses_node_acquire_lock (0.42s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__dedups_errors(v2) (2.67s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=False;to-users=True;to-admins=False) (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=True;to-users=False;to-admins=False) (0.08s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_negated_tags(user=user,client=oauth) (0.63s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=True;to-users=True;to-admins=True) (0.09s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_listed_for_comm_node_with_ssh_enabled(curtin-metadata) (0.37s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_delete_is_admin_only (0.08s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_processMessages_calls_loseConnection_if_missing_type_field (0.45s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserDataOS.test_get_curtin_userdata(centos) (1.67s) SUCCESS: maasserver.websockets.handlers.tests.test_packagerepository.TestPackageRepositoryHandler.test_update (0.12s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors(TimeoutError) (0.47s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceStopImport.test_calls_stop_import_and_returns_poll (0.63s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_does_not_show_user_data_if_not_available(curtin-metadata) (0.26s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_zone(user=user,client=oauth) (0.45s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_ExitRescueMode_handles_rpc_errors_for_exiting_rescue_mode(PowerActionAlreadyInProgress) (0.18s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_gateway_raises_if_dynamic_range_required (0.29s) SUCCESS: metadataserver.tests.test_api.TestMetadataUserData.test_poweroff_user_data_returned_if_unexpected_status (0.19s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_RescueMode_handles_rpc_errors_for_entering_rescue_mode(PowerActionAlreadyInProgress) (0.23s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_deletes_mismatch_largefile (0.54s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_allocates_machine_by_zone_fails_if_no_machine(user=user,client=oauth) (0.25s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_generic_lookup (0.57s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_does_not_ignore_unknown_constraint(user=user,client=oauth) (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_delete_interface (0.67s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_with_script_id_ignores_not_pending (0.41s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_optionally_creates_iprange (0.53s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_excludes_list_fields_when_for_list (0.13s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_allocate_returns_a_composed_machine_constraints(user=user,client=oauth) (0.35s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning(NEW) (0.57s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_only_doesnt_set_primary_key_field (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_deletes_mismatch_largefile_keeps_other_resource_file (0.61s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_installation_failure_doesnt_clear_owner (0.34s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_hydrate_only_sets_allowed_fields (0.09s) SUCCESS: metadataserver.tests.test_fields.TestBin.test_emits_base64 (0.06s) SUCCESS: metadataserver.tests.test_fields.TestBin.test_refuses_to_construct_from_unicode (0.08s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_create_returns_update_if_pk_already_known (0.12s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_POST_new_handles_empty_str_power_parameters(user=user,client=oauth) (0.32s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateSystemInfo.test_yields_nothing_when_owner_and_no_default_user (0.14s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_set_active_returns_data_and_sets_active (0.16s) SUCCESS: maasserver.api.tests.test_machines.TestMachinesAPI.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning_if_already_on(READY) (0.43s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_uses_already_existing_largefile (0.41s) SUCCESS: maasserver.api.tests.test_discoveries.TestInterpretsScanAllRackNetworksRPCResults.test__failed_rack (0.00s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_get_object_returns_node_if_owner (0.79s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__returns_sequences_as_tuples (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__sorts_mappings_by_key_and_value (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratePowerTypesDoc.test__generate_power_types_doc_generates_describes_power_type (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratingDocs.test_generates_doc_for_handler (0.02s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_make_Zone_adds_no_nodes_by_default (0.18s) SUCCESS: maasserver.api.tests.test_doc.TestGetAPIDescriptionHash.test__caches_hash (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestHashCanonical.test__misc_digests (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestHashCanonical.test__returns_hash_object (0.02s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_pick_choice_chooses_from_django_options (0.05s) FAILURE: maasserver.api.tests.test_maas.TestForbiddenNames.test_forbidden_names (0.02s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_1_means_True (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_querydict_data_values_override_defaults (0.01s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestLazyDict.test_empty_initially (0.00s) SUCCESS: maasserver.testing.tests.test_factory.TestFactory.test_pick_enum_can_exclude_choices (0.04s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationCommon.test_gen_configuration_options_for_getting (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationCommon.test_gen_mutable_configuration_options (0.02s) SUCCESS: maasserver.tests.test_preseed_network.TestBondNetworkLayout.test__renders_expected_output (1.15s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__returns_no_errors_when_valid(v2) (2.13s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(database_name) (0.03s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(database_user) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(database_name) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(database_user) (0.01s) SUCCESS: maasserver.tests.test_node_action.TestDeleteAction.test__deletes_node (0.33s) SUCCESS: maasserver.api.tests.test_network.TestListConnectedMACs.test_excludes_MACs_for_nodes_not_visible_to_user(user=user,client=oauth) (0.38s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(database_host) (0.03s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(maas_url) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(database_name) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(database_user) (0.02s) SUCCESS: maasserver.management.commands.tests.test_generate_sample_data.TestGenerateSampleData.test__not_available_in_production (0.02s) SUCCESS: maasserver.models.tests.test_blockdevice.TestValidateISCSITarget.test__raises_no_errors_with_iscsi_prefix (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_addConnectionFor_notifies_waiters (0.01s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_GET_fails_if_filtering_by_nonexistent_node(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getConnectionFor_returns_existing_connection (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_removeConnectionFor_fires_disconnected_event (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_errors_are_logged (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_resource_cleaner_removes_extra_subarch_boot_resource (0.48s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_Identify.test_identify_is_registered (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_StartTLS.test_StartTLS_is_registered (0.01s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_is_actionable_if_user_doesnt_have_ssh_keys (0.20s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__fire_calls_hooks_in_reactor (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(EB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(YB) (0.02s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_POST_returns_410(user=user,client=oauth) (0.11s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(bytes) (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__sync_task_can_be_cancelled_when_enqueued (0.02s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_hyphen_at_end_of_label (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGenRetryIntervals.test__pulls_from_exponential_series_until_maximum_is_reached (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGetFirst.test_get_first_accepts_any_sequence (0.01s) SUCCESS: maasserver.api.tests.test_networks.TestNetworksAPI.test_handler_path(user=user,client=user+pass) (0.08s) SUCCESS: maasserver.utils.tests.test_orm.TestIsDeadlockFailure.test_rejects_operational_error_without_matching_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestMakeSerializationFailure.test__makes_a_serialization_failure (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__fire_calls_back_with_None_to_Deferred_hook (0.02s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_requires_admin_permission (0.18s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__reset_cancels_new_Deferred_hook (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitDo.test__fire_passes_only_args_to_hook (0.03s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitDo.test__rejects_other_hook_types (0.02s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_simple (0.01s) SUCCESS: maasserver.utils.tests.test_utils.TestSynchronised.test_locks_when_calling (0.01s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_view_FilesystemGroup_when_no_node_owner (0.57s) SUCCESS: maasserver.utils.tests.test_version.TestExtractVersionSubversion.test__returns_version_subversion(without ~ or +) (0.02s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASDocVersion.test__returns_just_doc_if_version_is_empty (0.02s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionSubversion.test__returns_package_version (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_device.TestDeviceHandler.test_invalid_action_raises_error (0.78s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUserAgent.test__returns_from_source_and_revno_from_branch (0.02s) SUCCESS: maasserver.utils.tests.test_views.TestLogFunctions.test_log_failed_attempt_logs_warning (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_timestampedmodel.TestTimeStampedModelHandler.test_adds_created_and_updated_to_non_changeable (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_timestampedmodel.TestTimeStampedModelHandler.test_dehydrate_created_converts_datetime_to_string (0.01s) SUCCESS: maasserver.api.tests.test_node.TestGetDetails.test_GET_returns_only_those_details_that_exist(user=user,client=user+pass) (0.25s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_getHandler_returns_MachineHandler (0.02s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_inhibition_wraps_inhibit (0.21s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_connectionLost (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_writeSequence (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderWrongUpgrade (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderWrongVersion (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__set_and_get(database_name) (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__set_and_get(database_user) (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_module_globals (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_reset_clears_factories (0.01s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_view_BlockDevice_when_not_node_owner (0.22s) SUCCESS: maasserver.tests.test_exceptions.TestMAASAPIValidationError.test_if_message_is_single_item_list_returns_only_first_message (0.02s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_comma_separated_hostnames (0.01s) SUCCESS: maasserver.tests.test_plugin.TestOptions.test_parse_minimal_options (0.02s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_GET_refuses_to_access_nonexistent_node(user=user,client=oauth) (0.15s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_actionable_checks_permission (0.17s) SUCCESS: maasserver.tests.test_plugin.TestRegionServiceMaker.test_configures_thread_pool (0.03s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_json(quote) (0.01s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__startService_starts_application (0.02s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__successful_start_installs_wsgi_resource (0.02s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_calls_functions_with_correct_parameters (0.65s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_export_p12 (0.11s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_permitted_allows_if_user_has_permission (0.19s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_generate_passphrase (0.01s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_UPDATE_disabled(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_write_cert (0.16s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest_sets_failure_on_exc_fail_status_check (0.02s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_permitted_disallows_if_user_lacks_permission (0.20s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest_waits_for_finish (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_was_successful (0.01s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_has_no_admin_permission_on_FilesystemGroup (0.49s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Separating space, not tab) (0.02s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_authenticate_calls_loseConnection_if_csrftoken_is_missing (0.68s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(ipv4) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_fail_incorrect_keys (0.02s) SUCCESS: maasserver.tests.test_preseed.TestNodeDeprecatedPreseedContext.test_get_node_deprecated_preseed_context_contains_keys (1.30s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_device(user=user,client=user+pass) (0.20s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_signals_failure (0.03s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_info (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_missing (0.01s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(dnsresource) (0.13s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_command_output_uses_C_locale (0.04s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_body_must_be_ascii (0.02s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_missing_authorization (0.01s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(subnet) (0.12s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_passes_secure_erase_and_quick_erase(Failed deployment) (0.34s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(staticroute) (0.18s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_authenticate_calls_loseConnection_if_user_is_None (0.43s) SUCCESS: maasserver.api.tests.test_node.TestNodeAPI.test_resource_uri_points_back_at_rack_controller(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(dnsdata) (0.10s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(fabric) (0.09s) SUCCESS: maasserver.tests.test_node_action.TestTest.test__starts_testing (0.33s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__are_boot_images_available_in_any_rack_v1 (1.02s) SUCCESS: maasserver.tests.test_preseed_storage.TestComplexDiskLayoutWithISCSI.test__renders_expected_output (1.95s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_checks_permission(user=user,client=oauth) (0.20s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_describe_constraints_sorts_constraints (0.06s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_processDHCP_calls_configure_dhcp (0.84s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_is_admin(interface) (0.29s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_updates_bind_and_proxy (0.26s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionLost_succeeds_if_client_hasnt_been_recorded (0.51s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_power_offs_machines(user=user,client=oauth) (0.31s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(dnsdata) (0.14s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(fabric) (0.09s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__logs_all_errors (0.49s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_updates_proxy (0.26s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_startProcessing_calls_start_when_looping_call_not_running (0.05s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startProcessing_calls_start_when_looping_call_not_running (0.41s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_current_returns_current_value (0.06s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_constraint_validated (0.62s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_cannot_edit(interface) (0.23s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_machine(user=user,client=oauth) (0.36s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_respects_increment (0.06s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_respects_minvalue (0.04s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(domain) (0.08s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__raises_error_if_hostname_does_not_resolve (0.04s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_connectionMade_adds_self_to_factory_if_auth_succeeds (0.55s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_off_returns_nothing_if_machine_was_not_stopped(user=user,client=user+pass) (0.21s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_memory (0.32s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__creates_region_controller (0.21s) SUCCESS: maasserver.tests.test_auth.TestNodeVisibility.test_admin_sees_all_nodes (0.25s) SUCCESS: maasserver.tests.test_status_monitor.TestStatusMonitorService.test_interval_can_be_set (0.05s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__deals_fine_with_whitespace_in_database_value (0.48s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test__init_sets_up_all_fields (0.11s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_single_contraint_matches_decimal_size (0.30s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_device_returns_the_best_cache_device_if_not_set (0.13s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_dataReceived_calls_processMessages (0.49s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_cache_size_and_cache_no_part_set (0.10s) SUCCESS: maasserver.tests.test_auth.TestNodeVisibility.test_user_sees_own_nodes_and_unowned_nodes (0.38s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_allows_archive_tar_xz (0.07s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_single_contraint_matches_on_tags (0.20s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_percentage_to_high_for_cache_size (0.13s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_returns_empty_if_all_OK (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_allows_bootloader (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceRepoWriter.test_insert_ignores_unknown_ftypes (0.05s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_doesnt_run_south_when_not_always_south (1.11s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_checks_ownership(user=user,client=oauth) (0.70s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_calls_prevent_resource_deletion (0.06s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__errors_when_database_value_cannot_be_decoded (0.56s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_for_arm64 (0.18s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(10%) (0.04s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resources_can_handle_duplicate_ftypes (0.14s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Other.test_yields_nothing(device) (0.30s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressService.test__calls_try_check_boot_images (0.06s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_boot_and_root_to_big (0.13s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_calls_loseConnection_if_bad_method (0.60s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_other_than_allowed_returns_404 (0.13s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_percentage_to_high_for_root_disk (0.14s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_api_key_rejects_update_without_key_name (0.07s) SUCCESS: maasserver.tests.test_third_party_drivers.TestDriversConfig.test_get_defaults_returns_empty_drivers_list (0.04s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_gets_keys (0.09s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_all_ntp_servers_when_defined(rack) (0.32s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__uses_database_secret_when_none_on_fs (0.51s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_rejects_mutually_exclusive_options (0.10s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__precreate_parent(ubuntu_core) (0.23s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_checks_permission(user=user,client=user+pass) (0.68s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_nothing_when_no_ntp_servers_defined(machine) (0.16s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__get_dmi_data(mellanox_sn2100) (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestFilterModaliases.test__filter_modaliases(wildcard_multiple_match) (0.08s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_createadmin_creates_admin_and_ssh_key (0.19s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestFilterModaliases.test__filter_modaliases(multiple_wildcard_match) (0.04s) SUCCESS: maasserver.tests.test_commands_dbshell.TestDBShell.test_installed_run_raises_errors_as_CommandError (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestFilterModaliases.test__filter_modaliases(exact_match) (0.05s) SUCCESS: maasserver.tests.test_commands_set_up_dns.TestSetUpDNSCommand.test_set_up_dns_writes_configuration (0.13s) SUCCESS: maasserver.tests.test_components.PersistentErrorsUtilitiesTest.test_register_persistent_error_registers_error (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetTagsByModalias.test__tags_node_appropriately(switch_tomahawk) (0.19s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetTagsByModalias.test__tags_node_appropriately(no_matcj) (0.11s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_POST_power_on_returns_machine(user=user,client=user+pass) (0.51s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__uses_filesystem_secret_when_none_in_database (0.64s) SUCCESS: maasserver.tests.test_compose_preseed.TestAptProxy.test__returns_correct_url(override) (0.20s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateHardwareDetails.test_hardware_updates_ignores_empty_tags (0.19s) SUCCESS: maasserver.tests.test_compose_preseed.TestAptProxy.test__returns_correct_url(disabled) (0.24s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateHardwareDetails.test_hardware_updates_memory_lenovo (0.22s) SUCCESS: maasserver.api.tests.test_node.TestPowerMixin.test_abort_passes_comment(user=user,client=user+pass) (0.41s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test__processMessageNow_fails_when_in_transaction (0.51s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketProtocol.test_handleRequest_sends_response (1.46s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_get_power_parameters(user=user,client=oauth) (0.24s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_off_when_dhcp_off(v1) (1.87s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__does_nothing_if_skip_networking (0.29s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Machine.test_yields_rack_addresses_before_first_boot (1.28s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__removes_previous_physical_block_devices (0.19s) SUCCESS: maasserver.api.tests.test_node.TestPowerParameters.test_power_parameters_requires_admin(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_creates_new_largefile (0.36s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_node_has_header (0.69s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_must_be_able_to_edit(user=user,client=user+pass,device) (0.13s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test__name_returns_script_name (0.18s) SUCCESS: maasserver.api.tests.test_node.TestSetOwnerData.test_updates_data(user=user,client=oauth,device) (0.25s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_clean_old_ignores_new_script_set (0.22s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerServiceTransactional.test_queueMessages_processes_top_level_message_instantly (0.93s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set_adds_all_user_scripts (0.23s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_doesnt_print_error_when_first_import (0.67s) SUCCESS: maasserver.api.tests.test_auth.TestOAuthUnauthorized.test_exception_unicode_includes_original_failure_message (0.01s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_id_returns_matching_nodes(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_with_curtin_installer (0.72s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestDiskErasingUserData.test_generate_user_data_produces_disk_erase_script(not_quick_not_secure) (0.19s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(http,script-below-root-2) (0.10s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__passes_True_False_and_None_through (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__recursively_calls_sequence_elements (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__rejects_other_types (0.01s) SUCCESS: maasserver.api.tests.test_support.TestOperationsHandlerMixin.test__decorate_decorates_exports (0.01s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_is_okay(admin) (0.01s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_be_non_empty(admin) (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_asserts_against_number (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpers.test_extract_oauth_key_raises_Unauthorized_if_no_key (0.01s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_returns_one_of_the_discovered (0.01s) SUCCESS: maasserver.dns.tests.test_publication.TestDNSPublicationGarbageService.test_failures_are_logged (0.02s) SUCCESS: maasserver.dns.tests.test_publication.TestDNSPublicationGarbageService.test_starting_and_stopping (0.02s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestLazyDict.test_holds_one_value_per_key (0.00s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestLazyDict.test_populates_on_demand (0.00s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Basic.test_service_uses__tryUpdate_as_periodic_function (0.01s) SUCCESS: maasserver.rpc.tests.test_module.TestFunctions.test_getAllClients (0.03s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestGetRegionID.test__getRegionID_returns_the_region_ID_when_available (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getConnectionFor_with_concurrent_waiters (0.02s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_init_sets_appropriate_instance_attributes (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_removeConnectionFor_is_okay_if_connection_is_not_there (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_Identify.test_identify_reports_event_loop_name (0.01s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_invalid_macs_returns_sensible_error(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__reset_cancels_all_hooks (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gatherCallResults_yields_call_result_tuples(asynchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gather_from_calls_with_errors(asynchronous) (0.02s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(kB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(MB) (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__arguments_are_passed_through_to_task (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__deferred_task_can_be_cancelled_when_enqueued (0.02s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__failure_in_task_is_logged (0.03s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__init_default_limit (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_dots (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_hyphen (0.02s) SUCCESS: maasserver.api.tests.test_nodes.TestFilteredNodesListFromRequest.test_node_list_with_some_matching_ids_returns_matching_nodes(user=user,client=oauth) (0.19s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_subdomain (0.03s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceTransactional.test_insert_prints_error_when_breaking_resources (0.62s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_underscore_in_domain (0.03s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_whitespace (0.01s) SUCCESS: maasserver.utils.tests.test_jsenums.TestFunctions.test_serialize_enum (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGenRetryIntervals.test__unjittered_series_begins (0.03s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_does_not_iterate_long_sequence_indefinitely (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_does_not_trigger_database_counting (0.02s) SUCCESS: metadataserver.tests.test_api.TestByMACMetadataAPI.test_api_retrieves_node_metadata_by_mac (0.64s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_returns_None_from_any_empty_sequence (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2DeadlockException.test__returns_None_for_other_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2Exception.test__returns_psycopg2_error_root_cause_for_deadlock (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2UniqueViolationException.test__returns_psycopg2_error_root_cause (0.01s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_with_osystem_compose_preseed (0.71s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_integrity_error_without_cause (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_non_database_error_with_cause_deadlock (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestMakeUniqueViolation.test__makes_a_unique_violation (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__adds_callable_as_hook (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__fire_passes_None_to_callable_hook (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestRequestTransactionRetry.test__adds_additional_contexts_to_retry_context (0.02s) SUCCESS: maasserver.utils.tests.test_utils.TestGetLocalClusterUUID.test_get_local_cluster_UUID_returns_None_if_not_set (0.02s) SUCCESS: maasserver.utils.tests.test_version.TestExtractVersionSubversion.test__returns_version_subversion(without ~) (0.01s) SUCCESS: maasserver.tests.test_dbviews.TestDatabaseViews.test_views_contain_valid_sql (0.13s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUI.test__returns_from_source_and_revno_from_branch (0.03s) SUCCESS: maasserver.tests.test_populate_tags.TestDoPopulateTags.test__makes_calls_to_each_client_given (1.78s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUserAgent.test__returns_package_version (0.01s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=admin,client=oauth) (0.36s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_copy_fields_and_excludes_to_list_fields_and_list_excludes (0.01s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_sets_handler_name_based_on_class_name (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_stopFactory_unregisters_rpc_handlers (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeNonFinFrame (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_maskNoopOdd (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseReservedFlag (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnmaskedTextFragments (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_getChildWithDefault (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderWrongConnection (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesInThread.test__logs_errors_and_does_not_errback (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__default(database_port) (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_populate_not_on_master (0.02s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_start_and_stop (0.02s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_refuses_bad_power_type (0.39s) SUCCESS: maasserver.tests.test_exceptions.TestMAASAPIValidationError.test_returns_json_response_if_message_is_a_dict (0.02s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_single_ip (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_rejects_invalid_hostname (0.02s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_separators_dont_conflict_with_ipv6_address (0.01s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_shell(plain) (0.02s) SUCCESS: maasserver.tests.test_service_monitor.TestGlobalServiceMonitor.test__includes_all_services (0.02s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=anonymous,client=oauth) (0.26s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test__init__ (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestConnectionWrapper.test_download_connection_is_not_same_as_django_connections (0.60s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__default_site_renders_starting_page (0.02s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_rsa_key (0.08s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_ssl_dir_ensures_directory_exists (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_list_supported_drives_ignores_iscsiadm_errors (0.02s) SUCCESS: maasserver.tests.test_dhcp.TestGetBestInterface.test__returns_first_interface_when_all_physical (0.44s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest_sets_failure_on_timeout_status_check (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config(bmc_user_set) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection_ppc64el(Supports LAN 1.5) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Multiple leading tabs) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestConfigureIPMIUser.test_preserves_setting_order (0.01s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_normalizes_mac_address(user=user,client=user+pass) (0.30s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagForMultipleNodes.test_updates_nodes_with_tag (0.58s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_binary (0.52s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=admin,client=oauth) (0.19s) SUCCESS: maasserver.tests.test_dhcp.TestConfigureDHCP.test__updates_service_status_running_when_dhcp_on(v1) (2.74s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_interface_with_static_ip (0.44s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=anonymous,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_exits_early_if_lock_held (0.60s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_interface_has_no_node(user=user,client=user+pass) (0.15s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_stores_timeout (0.38s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=admin,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__returns_empty_dict_for_unconnected_rack (0.31s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=anonymous,client=oauth) (0.05s) SUCCESS: maasserver.api.tests.test_nodes.TestIsRegisteredAPI.test_is_registered_returns_False_if_node_not_registered(user=user,client=user+pass) (0.09s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(sticky_on_vlan_with_ip) (0.11s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test__import_resources_has_env_http_and_https_proxy_set (0.50s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_DELETE_disabled(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config (0.81s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(auto_not_on_vlan_with_ip) (0.12s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_failure_sets_node_error (0.36s) SUCCESS: maasserver.tests.test_dhcp.TestSplitIPv4IPv6Subnets.test__separates_IPv4_from_IPv6_subnets (0.12s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(changelog.rst) (0.06s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(index.rst) (0.07s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/building-packages.rst) (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_all_boot_resources_calls_cancel_finalize_in_stop (0.50s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_success_is_idempotent (0.45s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/notifications.rst) (0.23s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_lists_nodes(user=user,client=user+pass) (0.59s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/cluster-registration.rst) (0.04s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_different_macs_hash_differently (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_identical_macs_hash_identically (0.04s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_new_MAC_with_empty_byte_string_is_None (0.04s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_accepts_short_octet (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAField.test_create_package_repository_ppa (0.04s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_with_script_id_ignores_not_pending (0.35s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_creates_new_link (0.05s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__connectionLost_does_not_log_reason_when_lost_cleanly (0.04s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__doRead_adds_notifies_to_notifications (0.04s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__handles_missing_notify_system_listener_on_notification (0.08s) SUCCESS: maasserver.tests.test_bootresources.TestImportImages.test_download_all_boot_resources_calls_finalize_on_store (0.54s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_calls_registerChannels_after_startConnection (0.05s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_agent_name_filters_with_empty_string(user=user,client=oauth) (0.48s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(dynamic6) (2.01s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_closes_connection_on_failure (0.05s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(Existing MAAS user) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_fail_missing_key (0.01s) SUCCESS: snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(ipv6) (0.01s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_from_metadata_does_nothing_on_empty (0.01s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_registerChannel_calls_listen_once_for_system_channel (0.05s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_not_supported (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_supported_not_enabled (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_wipe_quickly_if_no_secure_erase (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_sets_security_password (0.02s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_interface_finds_default_interface (0.01s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__init__ (0.01s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_queue_messages (0.01s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test_unregister_raises_error_if_handler_does_not_match (0.10s) SUCCESS: maasserver.tests.test_middleware.DebuggingLoggerMiddlewareTest.test_debugging_logger_does_not_log_request_if_info_level (0.08s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_reports_ExternalProcessError_as_ServiceUnavailable (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesProgressServiceAsync.test__adds_warning_if_boot_image_import_not_started (0.54s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network (0.01s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_image_calls_get_boot_images_for (1.60s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_does_not_require_prefix (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_includes_prefix_and_separator (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_parsed_url_asserts_with_conflicting_port_numbers (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_pick_port_returns_int (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_returns_IPs(ipv4) (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_call_count_counts_calls (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_returns_None_by_default (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__clearAll_clears_input_output_and_error (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__clearError_clears_error (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__clearOutput_clears_output (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestMAASRootFixture.test_creates_populates_and_removes_new_directory (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestProxiedDisabledFixture.test_removes_https_proxy_from_environment (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestTempDirectory.test_path_is_unicode (0.01s) SUCCESS: maastesting.tests.test_matchers.TestContainedBy.test_does_not_match_needle_not_in_haystack (0.01s) SUCCESS: maastesting.tests.test_matchers.TestContainedBy.test_matches_needle_in_haystack (0.01s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__string_representation_explains_text_match (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsCallableMock.test__returns_mismatch_when_its_a_non_callable_object (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsNonEmptyString.test_does_not_match_string_containing_only_whitespace (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMatches.test__equality (0.01s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_for_both_ipv4_and_ipv6(v1) (2.30s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnce.test_returns_mismatch_when_multiple_calls (0.00s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledWith.test_str (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelectBucket.test__prepareTestRunner_does_nothing_when_no_bucket_selected (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(maastesting) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(maas) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(metadataserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(metadataserver) (0.01s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_with_macs_returns_matching_nodes(user=user,client=user+pass) (0.76s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Commission_handles_rpc_errors(NoConnectionsAvailable) (0.42s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_GET_without_nodes_returns_empty_list(user=user,client=oauth) (0.11s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesServiceAsync.test__imports_resources_in_thread_if_auto (0.43s) SUCCESS: maasserver.api.tests.test_nodes.TestNodesAPI.test_UPDATE_disabled(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_Release_handles_rpc_errors(PowerActionAlreadyInProgress) (0.25s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_stores_files_for_any_status (1.25s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_inhibit_allows_user_without_SSH_key (0.15s) SUCCESS: maasserver.api.tests.test_nodes.TestPowersMixin.test_GET_power_parameters_without_ids_does_not_filter(user=user,client=oauth) (0.31s) SUCCESS: maasserver.api.tests.test_not_found.NotFoundHandlerTest.test_calling_bogus_handler_returns_not_found(user=user,client=oauth,POST) (0.07s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_delete_is_for_admins_only(user=admin,client=oauth) (0.09s) SUCCESS: maasserver.tests.test_bootsources.TestPrivateCacheBootSources.test__returns_adds_entries_to_cache_for_source (0.52s) SUCCESS: maastesting.tests.test_scss.TestCompiledSCSS.test_css_up_to_date (0.78s) SKIP: maastesting.tests.test_source.TestSource.test_no_yaml_load_or_dump (0.00s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_assertItemsEqual_rejects_mappings (0.01s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_sets_osystem_and_series (0.40s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_delete_is_for_admins_only(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI.test_update_is_for_admins_only(user=admin,client=user+pass) (0.12s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationAPI_Anonymous.test_update_is_for_admins_only(user=anonymous,client=oauth) (0.08s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_sets_osystem_and_series_strips_license_key_token (0.39s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_all_fields(user=admin,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_notification.TestNotificationsAPI.test_create_with_minimal_fields(user=admin,client=user+pass) (0.16s) SUCCESS: maasserver.tests.test_node_action.TestExitRescueModeAction.test_exit_rescue_mode_action_for_broken (0.20s) SUCCESS: maasserver.tests.test_preseed.TestGetCurtinUserData.test_get_curtin_userdata_includes_storage_for_windows (1.68s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_create(user=user,client=oauth) (0.29s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoriesAPI.test_handler_path(user=user,client=oauth) (0.06s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_always_runs_south_when_always_south (0.99s) SUCCESS: maasserver.tests.test_node_action.TestImportImagesAction.test_import_images (0.42s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_delete_admin_only(user=user,client=oauth) (0.14s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_add_event_to_node_event_log (1.61s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_list_without_default (0.46s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_handler_path(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_node_action.TestImportImagesAction.test_requires_rack (0.14s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__supports_empty_prefix (0.13s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_disabled_dhcp_snippet(v1) (2.15s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_404_when_bad_id(user=user,client=oauth) (0.17s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_read_by_name(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_raise_NodeActionError_if_one_commissioning_result_fails (0.29s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_add_event_to_node_event_log_logs_rack_refresh (0.42s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_admin_only(user=user,client=user+pass) (0.10s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_check_version_reports_unknown_version (0.04s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_maps_names (0.18s) SUCCESS: maasserver.tests.test_commands_dbupgrade.TestDBUpgrade.test_runs_south_if_missing_maasserver_last_migration (0.77s) SUCCESS: maasserver.api.tests.test_packagerepositories.TestPackageRepositoryAPI.test_update_ubuntu_mirror_fail_with_invalid_disabled_pockets(user=user,client=user+pass) (0.18s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_node_for_request_finds_node (0.18s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_make_text_response_presents_text_as_text_plain (0.05s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_permitted_doest_use_node_permission_if_device (0.18s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_new_entry_for_stderr (0.13s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_node_only_is_actionable_if_node_type_is_node (0.16s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_create_returns_409_if_not_ready(user=user,client=oauth) (0.30s) SUCCESS: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_preseed_url_returns_absolute_link (0.88s) SUCCESS: maasserver.tests.test_node_action.TestPowerOffAction.test__stops_Ready_node (0.23s) SUCCESS: metadataserver.tests.test_api.TestMAASScripts.test__returns_testing_scripts_when_testing (0.30s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_delete_returns_409_for_not_ready_node(user=user,client=user+pass) (0.25s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_UUID (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_does_not_include_weird_characters (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_includes_random_text (0.01s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_instance_id_returns_system_id(curtin-metadata) (0.16s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_tarball_makes_up_content_if_None (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_pick_ip_in_network_for_ipv4_slash_30 (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_obeys_network(ipv6) (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__addInput_feeds_stdin (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestImportErrorFixture.test_import_non_targeted_module_successfull (0.01s) SUCCESS: maasserver.tests.test_node_action.TestSetZoneAction.test_SetZone_sets_zone (0.20s) SUCCESS: maastesting.tests.test_fixtures.TestTempWDFixture.test_changes_dir_and_cleans_up (0.01s) SKIP: maastesting.tests.test_httpd.TestHTTPServerFixture.test_init (0.00s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_list_partitions(user=user,client=user+pass) (0.29s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_local_hostname_returns_fqdn(metadata) (0.22s) SUCCESS: maasserver.tests.test_proxyconfig.TestGetConfigDir.test_env_overrides_default (0.47s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_current_returns_correct_value (0.09s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_next_returns_sequential_values (0.07s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_can_be_owned (0.06s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_respects_start (0.05s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_sets_mount_path_on_filesystem_as_admin(user=user,client=oauth) (0.31s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_view_lists_fields(metadata) (0.38s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__calls_dns_kms_setting_changed_if_master (0.25s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_calls_through_to_get_vendor_data(metadata) (0.22s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_mount_sets_mount_path_on_filesystem_as_user(user=user,client=user+pass) (0.38s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__calls_load_builtin_scripts_if_master (0.18s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_filters_different_key_treated_as_AND_operation (1.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_address_but_not (0.02s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_missing_partition(user=user,client=oauth) (0.20s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_mac_address (0.00s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_uses_configurable_separator (0.00s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_random_leases_returns_requested_number_of_leases (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_pick_bool_returns_bool (0.00s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_pick_ip_in_network_for_ipv4_slash_31 (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_returns_IPs(ipv6) (0.00s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_has_no_calls_initially (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_records_kwargs (0.00s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__captures_stdout (0.01s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__clearInput_clears_input (0.00s) SUCCESS: maastesting.tests.test_fixtures.TestImportErrorFixture.test_import_targeted_module_unsuccessfull (0.01s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__compares_in_binary_mode_when_encoding_not_supplied (0.00s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__string_representation_explains_binary_match (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsNonEmptyString.test_matches_non_empty_string (0.00s) SUCCESS: maastesting.tests.test_matchers.TestIsUnfiredDeferred.test__does_not_match_non_deferred (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsUnfiredDeferred.test__matches_unfired_deferred (0.00s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnce.test_returns_mismatch_when_zero_calls (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnceWith.test_returns_mismatch_when_multiple_calls (0.00s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_includes_diff_of_coerced_arguments (0.02s) SUCCESS: maastesting.tests.test_noseplug.TestSelect.test__configure_scans_directories (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(metadataserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(maasserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(maascli) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(maas) (0.00s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(maas) (0.01s) SUCCESS: maastesting.tests.test_yui3.TestFunctions.test_get_failed_tests_message (0.00s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_partition_as_admin(user=user,client=user+pass) (0.24s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_updated_dhcp_snippet(v2) (2.47s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_pod_or_pod_type_for_pod_type (0.35s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_node_with_owner_def_user_includes_system_info(curtin-metadata) (0.61s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_invalid_size_constraint (0.07s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_returns_403_if_ready_and_not_admin(user=user,client=oauth) (0.24s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test_configure_storage_creates_bcache_layout_with_ssd (0.73s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__calls_validate_with_new_dhcp_snippet(v2) (2.46s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_single_contraint_size_on_virtual (0.33s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unformat_returns_409_if_not_allocated_or_ready(user=user,client=oauth) (0.35s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_node_without_def_user_includes_no_system_info(curtin-metadata) (0.55s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test_configure_storage_creates_bcache_layout_without_partition (0.48s) SUCCESS: maasserver.api.tests.test_partitions.TestPartitions.test_unmount_returns_400_if_not_formatted(user=user,client=user+pass) (0.32s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test__find_best_cache_device_returns_None_if_not_boot_disk (0.11s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__rack_not_found_raises_validation_error(v2) (0.93s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_with_named_constraints (0.52s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_size_returns_set_cache_size (0.10s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_parameters_requires_admin(user=user,client=oauth) (0.19s) SUCCESS: metadataserver.tests.test_api.TestMetadataUserDataStateChanges.test_request_causes_status_change_if_deploying (0.55s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_mbr_defaults (0.23s) SUCCESS: maasserver.api.tests.test_pods.TestPodAPI.test_parameters_returns_pod_parameters(user=user,client=oauth) (0.17s) SUCCESS: maasserver.tests.test_storage_layouts.TestFormHelpers.test_get_storage_layout_choices (0.07s) SUCCESS: maasserver.tests.test_storage_layouts.TestFormHelpers.test_get_storage_layout_for_node (0.15s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(10) (0.05s) SUCCESS: metadataserver.tests.test_api.TestRescueModeAPI.test_signaling_rescue_mode_failure_makes_failed_status (0.64s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test__creates_layout_with_lv_size (0.46s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test__init_sets_up_all_fields (0.20s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_create_duplicate_provides_nice_error(user=user,client=user+pass) (0.96s) SUCCESS: maasserver.api.tests.test_pods.TestPodsAPI.test_handler_path(user=user,client=user+pass) (0.06s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_raises_error_when_value_to_high_for_logical_volume (0.19s) SUCCESS: maasserver.tests.test_node_action.TestDeployActionTransactional.test_Deploy_returns_error_when_no_more_static_IPs (1.95s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_success_moves_node_to_ready_when_commiss (0.75s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_root_size_returns_root_size_if_set (0.27s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_POST_import_boot_images_import_to_rack_controllers(user=user,client=oauth) (0.53s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_value_to_low_for_boot_disk (0.20s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_combines_filters (1.94s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutForm.test__field_is_required (0.08s) SUCCESS: maasserver.api.tests.test_rackcontroller.TestRackControllerAPI.test_handler_path(user=user,client=user+pass) (0.11s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsInRegion.test__populate_in_region_when_no_clients (0.77s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_uses_given_name (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_parsed_url_pics_random_port (0.00s) SUCCESS: maasserver.tests.test_third_party_drivers.TestGetThirdPartyCode.test_finds_match (0.27s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_returns_low_and_high(ipv4) (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_call_count_is_zero_initially (0.02s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_returns_given_value (0.02s) SUCCESS: maastesting.tests.test_fakemethod.TestMultiFakeMethod.test_call_calls_all_given_methods (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestMultiFakeMethod.test_raises_if_called_one_time_too_many (0.01s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_updates_last_ping (0.67s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__captures_stdin (0.00s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__getError_returns_data_written_to_stderr (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__determine_hardware_matches(none_of_the_above) (0.09s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__getOutput_returns_data_written_to_stdout (0.03s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__compares_using_matcher_without_encoding (0.01s) SUCCESS: maastesting.tests.test_matchers.TestGreaterThanOrEqual.test__matches_equal_to (0.02s) SUCCESS: maastesting.tests.test_matchers.TestGreaterThanOrEqual.test__matches_greater_than (0.01s) SUCCESS: metadataserver.tests.test_nodeinituser.TestNodeInitUser.test_always_returns_same_user (0.08s) SUCCESS: maastesting.tests.test_matchers.TestHasAttribute.test__returns_none_if_attribute_exists (0.02s) SUCCESS: maastesting.tests.test_matchers.TestIsCallable.test_returns_mismatch_when_matchee_is_callable (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsFiredDeferred.test__does_not_match_unfired_deferred (0.00s) SUCCESS: maastesting.tests.test_matchers.TestIsUnfiredDeferred.test__does_not_match_fired_deferred (0.04s) SUCCESS: metadataserver.tests.test_nodeinituser.TestNodeInitUser.test_holds_node_init_user (0.06s) SUCCESS: maastesting.tests.test_matchers.TestMatches.test__string_representation (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnceWith.test_returns_none_when_matches (0.01s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_matches_equal_strings (0.00s) SUCCESS: maastesting.tests.test_noseplug.TestMain.test__sets_addplugins (0.02s) SUCCESS: maastesting.tests.test_noseplug.TestSubunit.test__options_adds_options (0.03s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(provisioningserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(maasserver) (0.00s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_invalid_spare_partition_fails(user=user,client=user+pass) (0.57s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filter_ignores_other_subnets_on_mac (0.60s) SUCCESS: maastesting.tests.test_parallel.TestSelectorArguments.test__all_scripts_are_selected_when_no_selectors (0.03s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__subprocess_count_can_be_specified (0.02s) SKIP: maastesting.tests.test_source.TestSource.test_no_conflict_markers (0.00s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_make_file_creates_file (0.02s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_make_file_uses_temporary_directory (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__precreate_parent(ubuntu_classic) (0.32s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(https,script-below-root-1) (0.10s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_resource_authenticated_resource (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_resource_authenticated_resource_with_fallback (0.03s) SUCCESS: maasserver.api.tests.test_mechanism.TestOperationDecorator.test_can_passexported_as (0.02s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_returns_QueryDict (0.02s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_raises_UnknownPodType_over_unknown (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationCommon.test_gen_configuration_options_for_setting (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(database_pass) (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetVirtualTag.test_output_not_containing_virtual_does_not_set_tag (0.18s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(database_pass) (0.02s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_process_doesnt_call_processDHCP_when_nothing_to_process (0.68s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(database_pass) (0.03s) SUCCESS: maasserver.rpc.tests.test_module.TestFunctions.test_getAllClients_service_not_running (0.02s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_addConnectionFor_adds_connection (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportNeighbours.test_calls_report_neighbours_function (0.03s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__logs_failures_from_cancellers_when_hook_already_fired (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gather_from_calls_without_errors(asynchronous) (0.02s) SUCCESS: maasserver.utils.tests.test_async.TestUseOnceIterator.test_raises_stop_iteration (0.02s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(GB) (0.02s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(kB) (0.02s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(MB) (0.02s) SUCCESS: maasserver.utils.tests.test_converters.TestRoundSizeToNearestBlock.test__round_up_doesnt_add_extra_block (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__cannot_defer_task_when_queue_is_full (0.04s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__sync_task_fires_with_service (0.02s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_maximum_valid_length (0.04s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_adjacent_dots (0.03s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_nonascii_letter (0.04s) SUCCESS: maasserver.tests.test_dhcp.TestValidateDHCPConfig.test__returns_errors_when_invalid(v1) (3.22s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_other_ascii_characters (0.04s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_underscore_in_host (0.03s) SUCCESS: maasserver.utils.tests.test_dns.TestIpBasedHostnameGenerator.test_ipv4_text (0.02s) SUCCESS: maasserver.utils.tests.test_interfaces.TestGetNameAndVlanFromClusterInterface.test_returns_name_with_alias_and_vlan_tag (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__creates_discovered_ip_address (0.48s) SUCCESS: maasserver.utils.tests.test_interfaces.TestGetNameAndVlanFromClusterInterface.test_returns_name_with_vlan_tag_and_alias (0.01s) SUCCESS: maasserver.utils.tests.test_mac.TestGetVendorForMac.test_get_vendor_survives_index_error (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2DeadlockException.test__returns_None_for_plain_psycopg2_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2SerializationException.test__returns_psycopg2_error_root_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsDeadlockFailure.test_detects_operational_error_with_matching_cause (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestIsDeadlockFailure.test_rejects_non_operational_error_with_matching_cause (0.03s) SUCCESS: maasserver.utils.tests.test_orm.TestIsDeadlockFailure.test_rejects_operational_error_without_cause (0.01s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_startService_handles_cancel (0.58s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_detects_serialization_failure (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__adds_new_Deferred_as_hook_when_called_without_args (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestPsqlArray.test__returns_params_in_array (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryContext.test_destroys_stack_on_exit_even_when_there_is_a_crash (0.02s) SUCCESS: maasserver.utils.tests.test_utils.TestStripDomain.test_strip_domain (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionSubversion.test__returns_from_source_and_revno_from_branch (0.02s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_creates_handler_with_default_meta (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePartialNoData (0.01s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_coreHandler_watch_calls_register_and_startProcessing (0.36s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePartialTruncatedLengthInt (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePong (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnknownOpcode (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnmaskedTextWithMaskNeeded (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_putChild (0.03s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_add_valid_blockdevice(user=user,client=user+pass) (1.12s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderNoConnection (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderNoProtocol (0.03s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesService.test_maybe_import_resources_does_not_error (0.02s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__default(database_name) (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__default(database_user) (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__set_and_get(database_pass) (0.02s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_NonceCleanupService (0.01s) SUCCESS: maasserver.tests.test_exceptions.TestExceptions.test_Redirect_produces_redirect_to_given_URL (0.02s) SUCCESS: maasserver.tests.test_exceptions.TestMAASAPIValidationError.test_returns_json_response_if_message_is_a_list (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_misc (0.01s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_accepts_space_separated_ips (0.03s) SUCCESS: maasserver.tests.test_plugin.TestRegionServiceMaker.test_runs_start_up (0.05s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__init_creates_site (0.01s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_delete_404_when_not_raid(user=user,client=oauth) (0.33s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_cert_details (0.11s) SUCCESS: maasserver.tests.test_rack_controller.TestRackControllerService.test_stopService_calls_unregister_for_the_process (0.61s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filters_by_multiple_not_space_arguments (1.61s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__generates_new_secret_when_none_exists (0.68s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__does_not_delete_virtual_interfaces_with_shared_mac (1.13s) SUCCESS: maasserver.tests.test_security.TestGetSharedSecret.test__errors_when_database_and_filesystem_values_differ (0.77s) SUCCESS: maasserver.tests.test_service_monitor.TestProxyService.test_getExpectedState_returns_on_for_proxy_off_and_unset (0.78s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__interface_names_changed (0.65s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(https,script-below-root-2) (0.11s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__passes_numbers_through (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__sorts_sequences (0.01s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_key_of_correct_size (1.17s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_read(user=user,client=user+pass) (1.18s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_handler (0.03s) SUCCESS: maasserver.api.tests.test_doc.TestHashCanonical.test__canonicalizes_argument (0.02s) SUCCESS: maasserver.api.tests.test_mechanism.TestOperationDecorator.test_idempotent_uses_GET (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_takes_multiple_values_in_default_parameters (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpers.test_extract_oauth_key_returns_key (0.03s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_raises_PodActionFail_over_NotImplemended (0.02s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_returns_None (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(database_port) (0.02s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_write_privatekey (0.18s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(database_pass) (0.04s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(51) (0.02s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(701) (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_run_badblocks_outputs_failure (0.06s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(51) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Word followed by comment) (0.03s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(701) (0.04s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestValidateISCSITarget.test__raises_error_when_invalid (0.05s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestValidateISCSITarget.test__raises_no_errors_without_iscsi_prefix (0.03s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_invalid_blockdevice_fails(user=user,client=oauth) (0.38s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_addConnectionFor_fires_connected_event (0.02s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getAllClients_empty (0.04s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getClientFor_returns_random_connection (0.03s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_startService_returns_Deferred (0.01s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filters_by_space (1.48s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_stopping_logs_errors_when_closing_connections (0.04s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__fire_always_consumes_all_hooks (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__mac_id_is_preserved (0.60s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__fire_calls_hooks (0.03s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__reset_suppresses_CancelledError (0.02s) SUCCESS: maasserver.tests.test_service_monitor.TestProxyService.test_getExpectedState_returns_on_for_proxy_on_but_unset (0.72s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_ascii_letters (0.04s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_domain_underscores (0.03s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_oversized_label (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGetFirst.test_get_first_returns_None_for_empty_list (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_returns_None_for_empty_list (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_removable_tag (0.20s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_integrity_error_with_unrelated_cause (0.04s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_writes_binary_contents (0.03s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__adds_Deferred_as_hook (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_address (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitDo.test__returns_actual_hook (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_avoids_network_overlapping_disjoint_from (0.04s) SUCCESS: maasserver.utils.tests.test_orm.TestPsqlArray.test__returns_params_in_tuple (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_mac_address_alternative_delimiter (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestRequestTransactionRetry.test__raises_a_retry_transaction_exception (0.03s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ipvN_range_calls_make_ip_range(ipv4) (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryContext.test_prepare_enters_pending_contexts (0.02s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__does_nothing_when_exit_status_is_not_zero (0.13s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_extract_args_returns_just_call_args (0.02s) SUCCESS: maasserver.utils.tests.test_threads.TestInstallFunctions.test__database_pool_is_connected_unpool (0.04s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__non_text_strings_are_rejected_on_stderr (0.02s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_database_pool_creates_connected_pool (0.02s) SUCCESS: maastesting.tests.test_fixtures.TestMAASRootFixture.test_updates_MAAS_ROOT_in_the_environment (0.04s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_default_pool_creates_disconnected_pool (0.03s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_different_port_and_secure (0.03s) SUCCESS: maasserver.utils.tests.test_utils.TestGetLocalClusterUUID.test_get_local_cluster_UUID_returns_cluster_UUID (0.03s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersion.test__calls_get_version_from_apt (0.03s) SUCCESS: maasserver.utils.tests.test_version.TestGetVersionFromAPT.test__returns_empty_string_if_not_current_ver_from_package (0.02s) SUCCESS: maasserver.utils.tests.test_version.TestGetVersionFromAPT.test__returns_empty_string_if_package_not_in_cache (0.04s) SUCCESS: maasserver.utils.tests.test_version.TestVersionMethodsCached.test_method_is_cached(get_maas_version_subversion) (0.07s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__doesnt_reset_boot_disk (0.33s) SUCCESS: maasserver.utils.tests.test_views.TestLogFunctions.test_log_final_failed_attempt_logs_error (0.05s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_node_for_key_raises_DoesNotExist_if_key_not_found (0.05s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_creates_handler_with_options (0.04s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_registerNotifiers_registers_all_notifiers (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeHello (0.02s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseMaskedPartialText (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnmaskedText (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolTest.test_frameReceived (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolTest.test_ping (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_render (0.03s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderProtocol (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderSecureRequest (0.04s) SUCCESS: maastesting.tests.test_httpd.TestHTTPServerFixture.test_supports_gzip (0.58s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__string_representation_explains_text_match_with_matcher (0.02s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_default_maas_url (0.03s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_set_maas_url_rejects_bare_ipv6_addresses (0.01s) SUCCESS: maastesting.tests.test_matchers.TestGreaterThanOrEqual.test__does_not_match_less_than (0.03s) SUCCESS: maastesting.tests.test_matchers.TestHasAttribute.test__returns_mismatch_if_attribute_does_not_exist (0.02s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_DatabaseTaskService (0.04s) SUCCESS: maastesting.tests.test_matchers.TestIsNonEmptyString.test_does_not_match_empty_string (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_RegionControllerService (0.02s) SUCCESS: maastesting.tests.test_matchers.TestLessThanOrEqual.test__does_not_match_greater_than (0.02s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_RegionService (0.03s) SUCCESS: maastesting.tests.test_matchers.TestMockAnyCall.test_returns_mismatch_when_call_does_not_match (0.02s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_space_separated_ips (0.04s) SUCCESS: maastesting.tests.test_matchers.TestMockAnyCall.test_returns_none_when_multiple_calls (0.02s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_accepts_comma_separated_ips (0.03s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledWith.test_returns_mismatch_when_does_not_match (0.02s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledWith.test_returns_none_when_matches (0.01s) SUCCESS: maasserver.tests.test_plugin.TestRegionServiceMaker.test_disables_database_connections_in_reactor (0.02s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_includes_diff_of_mismatch (0.03s) SUCCESS: maasserver.tests.test_webapp.TestCleanPathRequest.test_requestReceived_converts_extra_slashes_ignores_args (0.04s) SUCCESS: maastesting.tests.test_noseplug.TestResources.test_prepareTest_flattens_nested_suites (0.03s) SUCCESS: maasserver.tests.test_webapp.TestResourceOverlay.test__init__ (0.03s) SUCCESS: maastesting.tests.test_noseplug.TestSelect.test__wantDirectory_checks_dirs_and_thats_it (0.03s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__error_when_starting_changes_page_to_error (0.03s) SUCCESS: maastesting.tests.test_noseplug.TestSubunit.test__configure_opens_stream (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(maas) (0.03s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_bulk_set_user_data (0.66s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(apiclient) (0.04s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(provisioningserver) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(maascli) (0.03s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(maascli) (0.01s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_exports_p12 (0.17s) SUCCESS: maastesting.tests.test_parallel.TestEmissionArguments.test__results_can_be_specified_as_junit (0.04s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__defaults (0.03s) SUCCESS: maastesting.tests.test_scenarios.TestWithScenarios.test_scenarios_applied (0.02s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_patch_autospec_creates_autospec_from_target (0.02s) SUCCESS: maasserver.api.tests.test_raid.TestRaidAPI.test_remove_valid_spare_partition(user=user,client=user+pass) (1.80s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_get_user_data_ignores_other_nodes (0.35s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(mixed6) (2.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(One enabled blank user) (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestRunCommand.test_output_returned (0.05s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_from_metadata (0.03s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_signals_failure_on_unexecutable_script (0.04s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_has_user_data_returns_False_if_node_has_no_user_data (0.21s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_signals_failure_on_unexecutable_script_baderrno (0.03s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_list_disks_returns_only_readwrite_disks (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_failed_erase (0.03s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_locked (0.03s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_get_snippet_context (0.02s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_destructive_false_removes_tag (0.11s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filters_by_vlan_tag (2.15s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_command_output_does_not_expand_arguments (0.08s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_writes_cert (0.66s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_remove_tag (0.09s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_command_output_returns_sequence_of_lines (0.06s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_ip_address_prefers_v4_addresses_to_v6 (0.03s) SUCCESS: metadataserver.models.tests.test_script.TestScriptManager.test_create_accepts_ver_txt_file_for_script (0.10s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_cert_with_upn_name (0.14s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_403_when_not_admin(user=user,client=oauth) (0.62s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_run_destructive (0.06s) SUCCESS: metadataserver.tests.test_api.TestCurtinMetadataUserData.test_curtin_user_data_view_returns_curtin_data (2.28s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_tags (0.26s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_with_smartctl_failure (0.07s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_verify_user_settings (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestCommitIPMISettings.test_commit_ipmi_settings (0.02s) SUCCESS: maasserver.api.tests.test_discoveries.TestInterpretsScanAllRackNetworksRPCResults.test__scan_in_progress (0.01s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_only_allows_when_stderr_is_blank (0.28s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__decodes_byte_strings (0.03s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeFormOrdersResults.test_describe_constraints_orders_based_on_cost (0.32s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_0_with_one_element_fails(user=user,client=oauth) (0.44s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestRenamableFieldsForm.test_rename_field_renames_validation_method (0.05s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_detect_nonexistent_zone_names_returns_empty_if_no_names (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_storage_constraints_from_string_returns_size_in_bytes (0.03s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_api_returns_description_document (0.31s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_stores_script_version (0.33s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_delete_old_nonces_delete_nonces (0.05s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_smoke (0.05s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratingDocs.test_generates_doc_for_multiple_handlers (0.01s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_find_checkpoint_nonce_returns_most_recent_checkpoint (0.07s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestPowerTypes.test_get_power_driver_types_transforms_data_to_dict (0.03s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(database_host) (0.04s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_get_time_string_returns_comparable_string (0.06s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(maas_url) (0.04s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout(database_port) (0.04s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_yaml_to_stdout_by_default(database_port) (0.04s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_stores_stderr (0.26s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet.test__options_are_saved(database_port) (0.05s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_delete_prevents_del_of_current_installation_script_set (0.40s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_find_script_result_by_id (0.21s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_installation_script_set (0.21s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Selection.test_prefers_closest_addresses(rack) (1.09s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_testing_script_set_cleans_up_past_limit (0.48s) SUCCESS: maasserver.tests.test_populate_tags.TestDoPopulateTags.test__logs_failures (0.52s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_commissioning_scripts (0.29s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_10(user=user,client=oauth) (2.00s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsForSingleNode.test_updates_node_with_all_applicable_tags (0.18s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_creates_file (0.04s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_uses_given_dir (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_returns_network_not_in_but_not (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_random_leases_maps_ips_to_macs (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_vlan_tag_excludes_None_by_default (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_pick_ip_in_network_for_ipv6 (0.03s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_returns_low_and_high(ipv6) (0.02s) SUCCESS: maastesting.tests.test_fixtures.TestProxiedDisabledFixture.test_removes_http_proxy_from_environment (0.03s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__cannot_supply_both_contents_and_matcher (0.01s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__cannot_supply_neither_contents_nor_matcher (0.04s) SUCCESS: maastesting.tests.test_matchers.TestIsCallable.test_mismatch_passes_through_to_callable_builtin (0.03s) SUCCESS: maastesting.tests.test_matchers.TestIsCallableMock.test__returns_mismatch_when_its_a_non_callable_mock (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsFiredDeferred.test__does_not_match_non_deferred (0.02s) SUCCESS: maastesting.tests.test_matchers.TestMatches.test__representation (0.03s) SUCCESS: maastesting.tests.test_matchers.TestMockCallsMatch.test_returns_mismatch_when_calls_do_not_match (0.02s) SUCCESS: maastesting.tests.test_matchers.TestMockNotCalled.test_has_useful_string_representation (0.01s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_describes_mismatch (0.03s) SUCCESS: maastesting.tests.test_noseplug.TestResources.test_prepareTest_hoists_resources (0.03s) SUCCESS: maastesting.tests.test_noseplug.TestResources.test_prepareTest_returns_optimised_test_suite (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelect.test__options_adds_options (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(maastesting) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(apiclient) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(maasserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(maasserver) (0.01s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinCloudConfig.test__get_curtin_cloud_config_includes_cloudconfig (0.63s) SUCCESS: maastesting.tests.test_scenarios.TestWithScenarios.test_scenarios_applied_by_call (0.01s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_doesnt_call_sets_initial_network_config_if_rack (1.11s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinMAASReporter.test__returns_list_of_yaml_strings_matching_curtin (0.93s) SUCCESS: maasserver.tests.test_preseed.TestComposeCurtinVerbose.test__returns_verbosity_config (0.05s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(static6 multiple) (4.01s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_1_with_spares(user=user,client=oauth) (1.75s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_failure_is_idempotent (0.75s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_result_does_not_affect_other_node (0.97s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_uses_main_archive_for_i386 (1.31s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_requires_status_code (0.27s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_get_userdata (0.07s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_metadata_list (0.07s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_queried_node_looks_up_oauth_key_by_default (0.20s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_5(user=user,client=user+pass) (1.80s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(0.0.0.0) (2.02s) SUCCESS: snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(bogus) (0.01s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_heartbeat_with_long_sleep (0.04s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_updates_last_ping (0.41s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts (0.04s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_get_attribute_producer_supports_all_fields(metadata) (0.03s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_signals_failure_on_unexecutable_script_no_errno (0.04s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_zero_disk (0.04s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_success (0.06s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_when_buffer_not_different (0.02s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_when_still_enabled (0.06s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_list_snippets (0.02s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_interface_finds_default_tagged_interface (0.02s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_ip_address_returns_None_on_failure (0.00s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_view_is_sorted(curtin-metadata) (0.24s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_bad_authorization (0.02s) SUCCESS: maasserver.api.tests.test_raid.TestRaidsAPI.test_create_raid_6_with_3_elements_fails(user=user,client=oauth) (0.57s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_date_returns_datetime (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_may_overlap_but_not (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_respects_but_not (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_parsed_url_accepts_explicit_port (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_tarball_writes_tarball (0.07s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_vlan_tag_includes_None_if_allow_none (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ipvN_range_calls_make_ip_range(ipv6) (0.02s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_extract_kwargs_returns_just_call_kwargs (0.01s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_raises_given_failure (0.02s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_for_node_without_public_keys_returns_empty(metadata) (0.27s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_records_args (0.02s) SUCCESS: maastesting.tests.test_fixtures.TestMAASRootFixture.test_breaks_when_MAAS_ROOT_is_not_a_directory (0.04s) SUCCESS: maastesting.tests.test_fixtures.TestTempDirectory.test_path_is_decoded_using_filesystem_encoding (0.00s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_PUT_updates_region_controller(user=user,client=oauth) (0.30s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__does_not_match_if_file_does_not_exist (0.02s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__string_representation_explains_binary_match_with_matcher (0.02s) SUCCESS: maastesting.tests.test_matchers.TestIsCallable.test_match_passes_through_to_callable_builtin (0.04s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllerAPI.test_handler_path(user=user,client=oauth) (0.08s) SUCCESS: maastesting.tests.test_matchers.TestLessThanOrEqual.test__matches_equal_to (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCallsMatch.test_returns_none_when_multiple_calls (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestCrochet.test__configure_sets_up_crochet_if_enabled (0.03s) SUCCESS: maastesting.tests.test_noseplug.TestScenarios.test_makeTest_makes_tests_from_test_function (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSubunit.test__prepareTestResult_returns_subunit_client (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(maascli) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(maastesting) (0.03s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(provisioningserver) (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(provisioningserver) (0.02s) SUCCESS: maastesting.tests.test_yui3.TestFunctions.test_gen_failed_test_messages (0.02s) SUCCESS: maasserver.api.tests.test_regioncontroller.TestRegionControllersAPI.test_read_returns_limited_fields(user=user,client=user+pass) (0.30s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_listed_for_node_with_public_keys(metadata) (0.51s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_removes_power_state (1.98s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE(user=user,client=user+pass,installation) (0.19s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_not_listed_for_comm_node_with_ssh_disabled(metadata) (0.44s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_writes_textual_contents_as_utf8 (0.03s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_returns_unicode (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_random_leases_randomizes_macs (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ipvN_range_creates_random_network_if_not_supplied(ipv4) (0.03s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__captures_stderr (0.02s) SUCCESS: maastesting.tests.test_fixtures.TestImportErrorFixture.test_import_restores_original__import__ (0.03s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_DELETE_admin_only(user=user,client=user+pass,commissioning) (0.51s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_publishes_yaml(metadata) (0.24s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedFilenames.test__returns_list_with_default (0.81s) SUCCESS: metadataserver.tests.test_api.TestMetadataUserData.test_user_data_view_returns_binary_data (0.21s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedTemplate.test_get_preseed_template_find_template_in_last_location (0.15s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_file_bad_compression_fails (0.28s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_GET_filters(user=user,client=oauth,commissioning) (0.85s) SUCCESS: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_enlistment_preseed_url_returns_absolute_link (0.73s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download(user=user,client=user+pass,commissioning) (0.60s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_tar_xz(user=user,client=user+pass,commissioning) (0.57s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateNTPConfiguration.test_yields_boot_cluster_address_when_machine_has_booted (1.70s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__passes_unicode_strings_through (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__recursively_calls_mapping_keys_and_values (0.03s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratePodTypesDoc.test__generate_pod_types_doc_generates_describes_types (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_file_makes_up_contents_if_none_given (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_avoids_network_in_disjoint_from (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratePowerTypesDoc.test__generate_power_types_doc_generates_doc (0.04s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_parsed_url_can_omit_port (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestGetAPIDescriptionHash.test__calculates_hash_from_api_description (0.03s) SUCCESS: maasserver.api.tests.test_machines.TestGetStorageLayoutParams.test_sets_request_data_to_mutable (0.03s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_be_meaningful(admin) (0.02s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_not_be_None(admin) (0.03s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filetype_unknown(user=user,client=user+pass,commissioning) (0.54s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_asserts_against_raw_bytes (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpers.test_extract_oauth_key_from_auth_header_returns_None_if_missing (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpers.test_extract_oauth_key_from_auth_header_returns_key (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestOAuthHelpers.test_extract_oauth_key_raises_Unauthorized_if_no_auth_header (0.01s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestTimezoneSettings.test_etc_timezone_exists (0.00s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(database_name) (0.02s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(database_user) (0.01s) SUCCESS: maastesting.tests.test_httpd.TestHTTPServerFixture.test_use (0.53s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__compares_in_text_mode_when_encoding_supplied (0.04s) SUCCESS: maastesting.tests.test_matchers.TestIsFiredDeferred.test__matches_fired_deferred (0.03s) SUCCESS: maastesting.tests.test_matchers.TestMockNotCalled.test_returns_mismatch_when_mock_has_been_called (0.02s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_matches_equal_things (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestScenarios.test_makeTest_makes_tests_from_test_case_class_with_scenarios (0.04s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(provisioningserver) (0.03s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_ImportWarning_enabled(metadataserver) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(maastesting) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(maastesting) (0.01s) SUCCESS: maastesting.tests.test_parallel.TestEmissionArguments.test__results_are_human_readable_by_default (0.03s) SUCCESS: maastesting.tests.test_parallel.TestEmissionArguments.test__results_can_be_explicitly_specified_as_human_readable (0.02s) SUCCESS: maastesting.tests.test_parallel.TestEmissionArguments.test__results_can_be_specified_as_subunit (0.01s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_filters(user=user,client=oauth,id) (0.70s) SUCCESS: maastesting.tests.test_parallel.TestSelectorArguments.test__scripts_can_be_selected_by_module (0.03s) SUCCESS: maasserver.tests.test_preseed.TestRenderCurtinUserdataWithThirdPartyDrivers.test_render_curtin_preseed_with_third_party_driver(Cisco snic DKMS driver) (2.16s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__subprocess_count_and_per_core_cannot_both_be_specified (0.02s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_assertItemsEqual_forwards_message (0.01s) SUCCESS: maastesting.tests.test_utils.TestFunctions.test_extract_word_list (0.01s) SUCCESS: maastesting.tests.test_yui3.TestFunctions.test_extract_tests_names (0.01s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_all(user=user,client=user+pass,id) (0.41s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_combined(user=user,client=user+pass,id) (0.42s) SUCCESS: maasserver.testing.tests.test_sampledata.TestPopulates.test__runs (52.12s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_has_no_admin_permission_on_node (0.29s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stderr(user=user,client=user+pass,installation) (0.47s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForDeviceInterface.test_non_owner_cannot_edit_device_interface (0.37s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_download_output_stdout(user=user,client=oauth,commissioning) (0.33s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_edit(space) (0.11s) SUCCESS: maasserver.api.tests.test_scriptresults.TestNodeScriptResultAPI.test_hander_path(user=user,client=oauth,commissioning) (0.21s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_admin_can_view(vlan) (0.12s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_admin_only(user=user,client=oauth,by_name) (0.14s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(dnsresource) (0.18s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(subnet) (0.10s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_DELETE_prevents_deleting_default(user=user,client=user+pass,by_name) (0.18s) SUCCESS: maasserver.tests.test_preseed_network.TestSingleAddrFamilyLayout.test_renders_expected_output(ipv4) (2.24s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(staticroute) (0.21s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_GET(user=user,client=user+pass,by_id) (0.20s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_add_tag(user=user,client=oauth,by_id) (0.19s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_delete_content_to_finalize_deletes_items (0.25s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_finalize_calls_methods_with_delete_if_cancel_finalize (0.06s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_rev(user=user,client=user+pass,by_name) (0.16s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_finalize_does_nothing_if_resources_to_delete_hasnt_changed (0.07s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_file_gets_resource_file (0.08s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_download_gets_previous_revision(user=user,client=oauth,by_id) (0.17s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_set_creates_resource_set (0.12s) SKIP: maasserver.tests.test_bootresources.TestBootResourceStore.test_write_content_thread_deletes_file_on_bad_checksum (0.00s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_remove_tag_admin_only(user=user,client=oauth,by_name) (0.12s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_adds_optional_fields (0.21s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_version_contains_items (0.19s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_maas_v2_download_has_valid_values (0.07s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_api_key_update_and_generate_mutually_exclusive_options (0.09s) SUCCESS: maasserver.tests.test_commands.TestChangePasswords.test_changes_one_password (0.10s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert(user=user,client=user+pass,by_id) (0.61s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptAPI.test_revert_errors_on_invalid_id(user=user,client=user+pass,by_name) (0.15s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_GET_filters_by_script_type_testing(user=user,client=oauth) (0.18s) SUCCESS: maasserver.api.tests.test_scripts.TestScriptsAPI.test_POST(user=user,client=oauth) (0.14s) SUCCESS: maasserver.tests.test_commands.TestChangePasswords.test_changes_ten_passwords (0.58s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_ipv4_network_returns_network_disjoint_from (0.02s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_name_includes_random_text_of_requested_length (0.01s) SUCCESS: maasserver.api.tests.test_spaces.TestSpaceAPI.test_delete_404_when_invalid_id(user=user,client=user+pass) (0.12s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_names_calls_make_name_with_each_prefix (0.01s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_random_leases_randomizes_ips (0.00s) SUCCESS: maastesting.tests.test_factory.TestFactory.test_make_string_respects_size (0.01s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ip_range_obeys_network(ipv4) (0.00s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_email_returns_selected_email (0.05s) SUCCESS: maastesting.tests.test_factory.TestMakeIPRange.test_make_ipvN_range_creates_random_network_if_not_supplied(ipv6) (0.02s) SUCCESS: maastesting.tests.test_fakemethod.TestFakeMethod.test_fakemethod_records_call (0.02s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__getInput_returns_data_waiting_to_be_read (0.01s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_prompt_for_ssh_import_returns_None_for_no_user_id (0.06s) SUCCESS: maastesting.tests.test_fixtures.TestCaptureStandardIO.test__non_text_strings_are_rejected_on_stdout (0.02s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_adding_works(user=user,client=oauth) (0.09s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__compares_using_matcher_with_encoding (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsCallableMock.test__returns_none_when_its_a_callable_autospec (0.01s) SUCCESS: maastesting.tests.test_matchers.TestLessThanOrEqual.test__matches_less_than (0.00s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnceWith.test_str (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCallsMatch.test_returns_none_when_matches (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockNotCalled.test_returns_none_mock_has_not_been_called (0.01s) SUCCESS: maasserver.tests.test_commands.TestCommands.test_validate_ssh_import_errors_on_incorrect_protocol (0.04s) SUCCESS: maastesting.tests.test_matchers.TestTextEquals.test_includes_diff_of_mismatch_multiple_lines (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestCrochet.test__options_adds_options (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestResources.test_prepareTest_hoists_resources_of_nested_tests (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelectBucket.test__configure_parses_selected_bucket (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(apiclient) (0.00s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(maas) (0.01s) SUCCESS: maastesting.tests.test_lint.TestLint.test_that_imports_are_formatted (7.66s) SUCCESS: maastesting.tests.test_matchers.TestIsCallableMock.test__returns_mismatch_when_its_a_non_callable_autospec (0.01s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__subprocess_count_of_less_than_1_is_rejected (0.01s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_exits_when_cant_parse_config (0.05s) SUCCESS: maastesting.tests.test_matchers.TestIsCallableMock.test__returns_none_when_its_a_callable_mock (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_assertSequenceEqual_forwards_message (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_patch_can_mock (0.01s) SUCCESS: maasserver.api.tests.test_ssl_key.TestSSLKeyHandlers.test_delete_by_id_works(user=user,client=user+pass) (0.10s) SUCCESS: maastesting.tests.test_matchers.TestMockAnyCall.test_returns_none_when_matches (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnce.test_str (0.01s) SUCCESS: maasserver.tests.test_preseed_storage.TestComplexDiskLayout.test__renders_expected_output (2.14s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnceWith.test_returns_mismatch_when_single_call_does_not_match (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCallsMatch.test_has_useful_string_representation (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestCrochet.test__configure_does_not_set_up_crochet_if_not_enabled (0.01s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_exits_when_no_file_to_edit (0.06s) SUCCESS: maastesting.tests.test_noseplug.TestCrochet.test__configure_sets_up_crochet_with_no_setup_if_enabled (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestScenarios.test_makeTest_makes_tests_from_test_case_class (0.02s) SUCCESS: maastesting.tests.test_noseplug.TestScenarios.test_makeTest_makes_tests_from_test_function_with_scenarios (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_BytesWarning_enabled(maasserver) (0.02s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRouteAPI.test_delete_404_when_invalid_id(user=user,client=oauth) (0.11s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(metadataserver) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_package(apiclient) (0.02s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_pattern_matches_subpackage(apiclient) (0.01s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__subprocess_count_non_numeric_is_rejected (0.02s) SUCCESS: maastesting.tests.test_parallel.TestSubprocessArguments.test__subprocess_per_core_can_be_specified (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_make_dir_creates_one_directory_per_call (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_patch_autospec_really_leaves_an_autospec_behind (0.02s) SUCCESS: maasserver.tests.test_preseed_storage.TestSimpleGPTLayout.test__renders_expected_output (0.51s) SUCCESS: maasserver.api.tests.test_staticroutes.TestStaticRoutesAPI.test_read(user=user,client=user+pass) (0.42s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPI.test_read_400_when_blank_id(user=user,client=oauth) (0.10s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetAPIAuth.test__reserved_ip_ranges_fails_if_not_logged_in(user=anonymous,client=oauth) (0.07s) SUCCESS: maasserver.tests.test_preseed_storage.TestSimpleMBRLayout.test__renders_expected_output (0.54s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_markProxyForUpdate_sets_needsProxyUpdate_and_starts_process (0.03s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_stopService_handles_canceling_processing (0.04s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetIPAddressesAPI.test__with_username_false(user=user,client=user+pass) (0.69s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__does_not_contain_routes_between_addrs_of_diff_network_fams (0.37s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__accounts_for_reserved_ip_address(user=user,client=oauth) (0.14s) SUCCESS: maasserver.tests.test_routablepairs.TestFindAddressesBetweenNodes.test__rejects_unsaved_nodes_on_the_right (0.12s) SUCCESS: maasserver.api.tests.test_subnets.TestSubnetUnreservedIPRangesAPI.test__returns_full_list_for_empty_subnet(user=user,client=oauth) (0.12s) SUCCESS: maasserver.api.tests.test_support.TestOperationsResource.test_authenticated_is_False_when_authentication_is_empty(user=user,client=oauth) (0.07s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_404(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_generate_region_certificate (0.29s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_DELETE_requires_admin(user=user,client=oauth) (0.10s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_get_region_certificate_when_none_exists (0.24s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__fails_if_neither_ipv4_nor_ipv6_set (0.05s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__prefers_IPv4_if_ipv4_set (0.05s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__does_not_return_link_local_addresses (0.05s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_machines_returns_machines(user=user,client=oauth) (0.69s) SUCCESS: maasserver.tests.test_status_monitor.TestMarkNodesFailedAfterMissingScriptTimeout.test_mark_nodes_failed_after_builtin_commiss_script_overrun(commissioning) (0.42s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayout.test_configure_storage_creates_bcache_layout_with_cache_mode (0.45s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_GET_region_controllers_returns_no_controllers_nonadmin(user=user,client=user+pass) (0.61s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test__find_best_cache_device_returns_None_if_no_ssd (0.12s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_create_cache_set_setups_up_cache_device_with_cache_size (0.18s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_mode_returns_set_cache_mode (0.09s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_refuses_unidentified_rack_controller(user=user,client=user+pass) (0.44s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_value_to_low_for_cache_size (0.11s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_POST_update_nodes_unknown_tag(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_for_powernv (0.20s) SUCCESS: maasserver.api.tests.test_tag.TestTagAPI.test_PUT_refuses_non_superuser(user=user,client=oauth) (0.13s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_GET_list_without_tags_returns_empty_list(user=user,client=user+pass) (0.16s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_root_device_and_root_size (0.27s) SUCCESS: maasserver.tests.test_storage_layouts.TestIsPercentageHelper.test__returns_correct_result(1000) (0.06s) SUCCESS: maasserver.api.tests.test_tag.TestTagsAPI.test_POST_new_populates_nodes(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_admin_cannot_delete_self(user=user,client=oauth) (0.15s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test__creates_layout_with_large_gpt_partition (0.30s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_DELETE_requires_admin_privileges_with_invalid_user(user=user,client=oauth) (0.13s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_lv_name_returns_lv_name_if_set (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUser.test_handler_path(user=user,client=user+pass) (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_lv_size_returns_None_if_not_set (0.13s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test_POST_requires_admin(user=user,client=oauth) (0.12s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_vg_name_returns_default_if_not_set (0.12s) SUCCESS: maasserver.api.tests.test_user.TestUsers.test__whoami_returns_forbidden_if_not_logged_in(user=user,client=user+pass) (0.13s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_get_vg_name_returns_vg_name_if_set (0.10s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_delete_403_when_not_admin_using_fabric_vid(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_doesnt_error_if_boot_and_root_valid (0.11s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_value_to_low_for_root_disk (0.10s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update(user=user,client=user+pass) (0.20s) SUCCESS: maasserver.tests.test_third_party_drivers.TestDriversConfig.test_load_from_yaml (0.15s) SUCCESS: maasserver.api.tests.test_vlans.TestVlanAPI.test_update_with_empty_space_clears_space(user=user,client=user+pass) (0.23s) SUCCESS: maasserver.tests.test_third_party_drivers.TestGetThirdPartyCode.test_finds_no_match (0.29s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_create(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_handler_path(user=user,client=user+pass) (0.18s) SUCCESS: maasserver.tests.test_third_party_drivers.TestNodeModaliases.test_only_returns_data_from_passed_results (0.27s) SUCCESS: maasserver.api.tests.test_vlans.TestVlansAPI.test_read(user=user,client=oauth) (0.27s) SUCCESS: metadataserver.builtin_scripts.tests.test_builtin_scripts.TestBuiltinScripts.test_creates_scripts (0.32s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__adds_parent_tag(none_of_the_above) (0.19s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__retag_node_for_hardware_by_modalias__precreate_parent(caffeine_fueled_ubuntu_classic) (0.28s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetVirtualTag.test_removes_virtual_tag (0.19s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_create_logical_volume_409_when_not_ready(user=user,client=user+pass) (0.80s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateHardwareDetails.test_hardware_updates_does_nothing_when_exit_status_is_not_zero (0.14s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_with_rotary_tag (0.13s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_bulk_set_user_data_only_deletes_when_data_is_None (0.30s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_set_user_data_overwrites_existing_userdata (0.18s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_409_when_not_ready(user=user,client=oauth) (0.78s) SUCCESS: metadataserver.models.tests.test_script.TestScript.test_remove_tags_ignores_nonexistant_tag (0.07s) SUCCESS: metadataserver.models.tests.test_script.TestScriptManager.test_create_accepts_timedelta_for_timeout (0.06s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_sets_status_to_failed_with_exit_code_zero (0.14s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_delete_sets_current_testing_script_set_to_older_version (0.18s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_started (0.09s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_204_when_invalid_id(user=user,client=user+pass) (0.64s) SUCCESS: metadataserver.tests.test_api.TestByMACMetadataAPI.test_api_normally_disallows_anonymous_node_metadata_access (0.29s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_does_not_set_default_storage_layout_if_WORKING (0.18s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_sets_default_storage_layout_if_OK (0.21s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_get_hostname (0.04s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_delete_logical_volume_deletes_logical_volume(user=user,client=user+pass) (0.62s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_get_instance_id (0.04s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_new_entry_for_output (0.09s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_success_does_not_populate_tags (0.21s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_get_attribute_producer_supports_all_fields(curtin-metadata) (0.02s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_powersoff_for_all_other_statuses (9.35s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_unknown_item_is_not_found(metadata) (0.11s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_accepts_required_false (0.05s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_sets_default_value_for_subfields (0.04s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_handler_path(user=user,client=oauth) (0.58s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_for_node_returns_list_of_keys(metadata) (0.30s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__contains_routes_between_nodes_on_same_subnet (0.26s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_for_node_without_public_keys_returns_empty(curtin-metadata) (0.17s) SUCCESS: maasserver.api.tests.test_volume_groups.TestVolumeGroupAPI.test_update_409_when_not_ready(user=user,client=user+pass) (0.52s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_cannot_delete_default_zone(user=user,client=oauth) (0.11s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_listed_for_node_with_public_keys(curtin-metadata) (0.33s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_is_idempotent(user=user,client=user+pass) (0.15s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_DELETE_requires_admin(user=user,client=user+pass) (0.09s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_not_listed_for_comm_node_with_ssh_disabled(curtin-metadata) (0.35s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_changing_name_maintains_foreign_keys(user=user,client=user+pass) (0.22s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_not_listed_for_node_without_public_keys(metadata) (0.15s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_rejects_change_of_default_zone_name(user=user,client=oauth) (0.09s) SUCCESS: maasserver.tests.test_dhcp.TestGenManagedVLANsFor.test__returns_all_managed_vlans (0.97s) SUCCESS: maasserver.api.tests.test_zone.TestZoneAPI.test_PUT_requires_admin(user=user,client=oauth) (0.08s) SUCCESS: maasserver.api.tests.test_zones.TestZonesAPI.test_list_returns_sorted_zone_list(user=user,client=user+pass) (0.12s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestAddPowerTypeParameters.test_validates_new_parameters (0.04s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestGetPowerTypeParametersFromJSON.test_validates_json_power_type_parameters (0.03s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_url_with_additional_slashes(metadata) (0.31s) SUCCESS: maasserver.tests.test_dhcp.TestGetIPAddressForRackController.test__returns_ip_address_for_rack_controller_on_vlan (0.33s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_publishes_yaml(curtin-metadata) (0.19s) SUCCESS: maasserver.clusterrpc.tests.test_osystems.TestGetPreseedData.test_propagates_NoSuchOperatingSystem (0.35s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_shows_unconditional_entries(metadata) (0.21s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerNode.test__powers_single_node(PowerOn) (0.15s) SUCCESS: maasserver.clusterrpc.tests.test_power.TestPowerQuery.test__power_querys_single_node (0.13s) SUCCESS: metadataserver.tests.test_api.TestNetbootOperationAPI.test_netboot_off (0.22s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_other_user_than_node_cannot_signal_testing_result (0.17s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_failure_makes_node_failed (0.51s) SUCCESS: maasserver.dns.tests.test_config.TestDNSConfigModifications.test_dns_update_all_zones_passes_reload_retry_parameter (0.78s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_erasure_failure_doesnt_clear_owner (0.36s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_with_file_no_compression_succeeds (0.39s) SUCCESS: maasserver.dns.tests.test_config.TestDNSConfigModifications.test_dns_update_all_zones_writes_trusted_networks_parameter (0.83s) SUCCESS: maasserver.dns.tests.test_config.TestGetTrustedNetworks.test__returns_many_networks (0.08s) SUCCESS: maasserver.dns.tests.test_config.TestGetTrustedNetworks.test__returns_single_network (0.06s) SUCCESS: maasserver.dns.tests.test_config.TestGetUpstreamDNS.test__returns_list_of_one_address_if_set (0.04s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_updateLastPing_updates_script_status_last_ping (0.45s) SUCCESS: metadataserver.tests.test_fields.TestBin.test_is_basically_bytes (0.03s) SUCCESS: metadataserver.tests.test_vendor_data.TestGetVendorData.test_includes_no_system_information_if_no_default_user (0.14s) SUCCESS: maasserver.api.tests.test_api.TestResourceURIs.test_resource_uri_in_docs_matches_handlers_idea_of_resource_uri (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__returns_mappings_as_tuples (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_handler_path (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratingDocs.test_handler_without_resource_uri (0.01s) SUCCESS: maasserver.api.tests.test_mechanism.TestOperationDecorator.test_non_idempotent_uses_POST (0.01s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_be_meaningful(user) (0.01s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestGetHostnameMapping.test_get_hostname_ip_mapping_containts_both_static_and_dynamic (0.47s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_not_be_None(user) (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_fields_filter_results (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(database_port) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(database_name) (0.02s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestWarnLoopback.test_warn_loopback_warns_about_IPv4_loopback (0.05s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(database_user) (0.03s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet_DatabasePort.test__exception_when_port_is_too_low (0.01s) SUCCESS: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_accepts_default_ttl (0.06s) SUCCESS: maasserver.forms.tests.test_bcache.TestCreateBcacheForm.test_bcache_creation_on_save (0.42s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_creates_filesystem (0.16s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_is_not_valid_if_block_device_has_partition_table (0.11s) SUCCESS: maasserver.forms.tests.test_blockdevice.TestFormatBlockDeviceForm.test_is_not_valid_if_invalid_format_fstype (0.12s) SUCCESS: maasserver.forms.tests.test_bootresource.TestBootResourceForm.test_requires_fields (0.03s) SUCCESS: maasserver.forms.tests.test_bootsource.TestBootSourceForm.test_edits_boot_source_object (0.06s) SUCCESS: maasserver.forms.tests.test_bulknodeaction.TestBulkNodeActionForm.test_first_action_is_empty (0.07s) SUCCESS: maasserver.forms.tests.test_config.ConfigFormTest.test_form_valid_saves_into_db (0.05s) SUCCESS: maasserver.forms.tests.test_device.TestDeviceWithMACsForm.test_creates_device_with_macs (0.15s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__cannt_create_dhcp_snippet_with_node_and_subnet (0.17s) SUCCESS: maasserver.forms.tests.test_dhcpsnippet.TestDHCPSnippetForm.test__updates_description (0.04s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestCommissionForm.test__validates_testing_scripts (0.12s) SUCCESS: maasserver.forms.tests.test_ephemeral.TestTestForm.test__cannt_run_destructive_test_on_non_machine (0.09s) SUCCESS: maasserver.forms.tests.test_fannetwork.TestFanNetworkForm.test__requires_underlay (0.04s) SUCCESS: maasserver.forms.tests.test_filesystem.TestMountFilesystemForm.test_ignores_mount_point_when_fs_does_not_use_mount_point(partition) (0.21s) SUCCESS: maasserver.forms.tests.test_filesystem.TestUnmountNonStorageFilesystemForm.test_will_not_unmount_filesystem_on_partition (0.16s) SUCCESS: maasserver.forms.tests.test_filesystem.TestUnmountNonStorageFilesystemFormScenarios.test_unmounts_filesystem_with_mount_point(ramfs) (0.11s) SUCCESS: maasserver.forms.tests.test_helpers.TestHelpers.test_remove_None_values_leaves_empty_dict_untouched (0.04s) SUCCESS: maasserver.forms.tests.test_interface.AcquiredBridgeInterfaceFormTest.test__rejects_when_parent_is_already_in_a_bridge (0.29s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__creates_bond_interface_with_parent_mac_address (0.45s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__rejects_no_parents (0.16s) SUCCESS: maasserver.forms.tests.test_interface.BondInterfaceFormTest.test__rejects_when_parents_not_in_same_vlan (0.26s) SUCCESS: maasserver.forms.tests.test_interface.ControllerInterfaceFormTest.test__edits_interface(rack) (0.40s) SUCCESS: maasserver.forms.tests.test_interface.PhysicalInterfaceFormTest.test_rejects_interface_on_tagged_vlan (0.24s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__LINK_UP_creates_link_STICKY_with_subnet (0.29s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_not_allowed_if_ip_address_not_in_subnet (0.20s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_ip_for_unmanaged_subnet_specifier (0.24s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceLinkForm.test__STATIC_sets_ip_in_subnet (0.32s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__doesnt_require_link_id_if_only_one_gateway_per_family (0.31s) SUCCESS: maasserver.forms.tests.test_interface_link.TestInterfaceSetDefaultGatwayForm.test__link_id_fields_setup_correctly (0.39s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__requires_start_ip (0.08s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__requires_type (0.08s) SUCCESS: maasserver.forms.tests.test_iprange.TestIPRangeForm.test__updates_iprange (0.16s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_doesnt_include_default_distro_series (0.03s) SUCCESS: maasserver.forms.tests.test_licensekey.TestLicenseKeyForm.test_updates_license_key (0.04s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_changes_power_parameters_with_skip_check (0.25s) SUCCESS: maasserver.forms.tests.test_machine.TestAdminMachineForm.test_AdminMachineForm_doesnt_changes_power_parameters (0.20s) SUCCESS: maasserver.forms.tests.test_machine.TestMachineForm.test_starts_with_default_distro_series (0.30s) SUCCESS: maasserver.forms.tests.test_machinewithmacaddresses.MachineWithMACAddressesFormTest.test__save (0.11s) SUCCESS: maasserver.forms.tests.test_partition.TestAddPartitionForm.test_is_valid_if_size_a_string (0.15s) SUCCESS: maastesting.tests.test_lint.TestLint.test_that_there_is_no_lint_in_the_tree (47.12s) SUCCESS: maasserver.forms.tests.test_partition.TestFormatPartitionForm.test_creates_filesystem (0.15s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__does_not_match_when_comparing_binary_to_text (0.02s) SUCCESS: maastesting.tests.test_matchers.TestFileContains.test__does_not_match_when_comparing_text_to_binary (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsCallable.test_returns_none_when_matchee_is_callable (0.01s) SUCCESS: maastesting.tests.test_matchers.TestIsNonEmptyString.test_does_not_match_non_strings (0.01s) SUCCESS: maastesting.tests.test_matchers.TestMockCalledOnce.test_returns_none_when_matches (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelect.test__create_has_dirs (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelectBucket.test__options_adds_options (0.01s) SUCCESS: maastesting.tests.test_noseplug.TestSelectBucket.test__prepareTestRunner_wraps_given_runner_and_filters_tests (0.01s) SUCCESS: maastesting.tests.test_package.TestWarnings.test_DeprecationWarning_enabled(maascli) (0.01s) SUCCESS: maastesting.tests.test_parallel.TestSelectorArguments.test__scripts_can_be_selected_by_path (0.02s) SUCCESS: maastesting.tests.test_runtest.TestExecutors.test_catches_generator_tests(MAASRunTest) (0.01s) SUCCESS: maastesting.tests.test_runtest.TestExecutors.test_catches_generator_tests(MAASTwistedRunTest) (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_assertSequenceEqual_ignores_mappings_if_seq_type_is_set (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_assertSequenceEqual_rejects_mappings (0.01s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_make_dir_creates_directory (0.01s) SUCCESS: maasserver.forms.tests.test_partition.TestFormatPartitionForm.test_is_not_valid_if_invalid_format_fstype (0.15s) SUCCESS: maastesting.tests.test_testcase.TestTestCase.test_make_dir_creates_temporary_directory (0.01s) SUCCESS: maastesting.tests.test_yui3.TestFunctions.test_extract_tests (0.01s) SUCCESS: maasserver.forms.tests.test_pods.TestComposeMachineForPodsForm.test_clean_adds_error_for_no_matching_constraints (0.12s) SUCCESS: maasserver.forms.tests.test_raid.TestUpdateRaidForm.test_add_valid_spare_boot_disk (0.66s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update (0.08s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_requires_script_with_comment (0.05s) SUCCESS: maasserver.forms.tests.test_script.TestScriptForm.test__update_setting_default_has_no_effect (0.05s) SUCCESS: maasserver.forms.tests.test_space.TestSpaceForm.test__updates_space (0.06s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__creates_subnet_in_default_fabric_and_vlan (0.06s) SUCCESS: maasserver.forms.tests.test_subnet.TestSubnetForm.test__rejects_provided_space_on_update (0.07s) SUCCESS: maasserver.forms.tests.test_user.TestNewUserCreationForm.test_does_not_save_to_db_if_commit_is_False (0.04s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_can_delete_primary_and_set_dhcp_on_with_secondary (0.50s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_clears_relay_vlan_when_None (0.07s) SUCCESS: maasserver.forms.tests.test_vlan.TestVLANForm.test_update_sets_secondary_rack (0.27s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_creates_volume_group_with_partitions (0.25s) SUCCESS: maasserver.forms.tests.test_volume_group.TestCreateVolumeGroupForm.test_is_not_valid_if_invalid_uuid (0.12s) SUCCESS: maasserver.forms.tests.test_zone.TestZoneForm.test_creates_zone (0.04s) SUCCESS: maasserver.forms.tests.test_zone.TestZoneForm.test_update_default_zone_description_works (0.05s) SUCCESS: maasserver.models.signals.tests.test_bmc.TestCreatePodHints.test_deletes_hints_when_chassis_converted_to_bmc (0.05s) SUCCESS: maasserver.models.signals.tests.test_interfaces.TestEnableAndDisableInterface.test__enable_interface_creates_link_up (0.21s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_creates_services_when_rack_controller_becomes_just_region (0.30s) SUCCESS: maasserver.models.signals.tests.test_nodes.TestNodeCreateServices.test_doesnt_create_services_for_machine (0.09s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_minimum_block_device_size (0.09s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_negative_size (0.10s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevice.test_path (0.10s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__edit_returns_device_when_user_is_owner (0.16s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceManagerGetBlockDeviceOr404.test__view_returns_device_when_no_owner (0.13s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostSaveCallsSave.test__calls_save_on_related_filesystem_groups(PhysicalBlockDevice) (0.09s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDevicePostSaveUpdatesName.test__updates_filesystem_group_name_when_not_volume_group (0.44s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_bmc_extract_ip_address_from_url_empty_host (0.04s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_changing_bmc_ip_when_shared_with_machine_keeps_both (0.37s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__always_same_number_of_queries (15.23s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_changing_machine_ip_when_shared_with_bmc_keeps_both (0.43s) SUCCESS: maasserver.tests.test_dhcp.TestGetInterfacesWithIPOnVLAN.test__returns_interfaces_with_discovered_ips (0.47s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_get_usable_rack_controllers_updates_subnet_on_sip (0.18s) SUCCESS: maasserver.models.tests.test_bmc.TestBMC.test_is_accessible_returns_false (0.06s) SUCCESS: maasserver.models.tests.test_bmc.TestPod.test_sync_pod_deletes_missing_machines (0.28s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_True_for_uploaded_resource (0.09s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootImagesAreInSync.test__returns_True_if_both_empty (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_display_rtype (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_get_latest_complete_set (0.09s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_supports_subarch_returns_False_if_subarch_not_in_subarches (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_validation_raises_error_on_invalid_name_for_synced (0.05s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResource.test_validation_raises_error_on_invalid_name_for_uploaded (0.04s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__returned_dict_chooses_minimum_address (0.79s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_synced_resource_returns_false_when_doesnt_exists (0.04s) SUCCESS: maasserver.models.tests.test_bootresource.TestBootResourceManager.test_has_uploaded_resource_returns_false_when_doesnt_exists (0.04s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_commissionable_returns_false_when_missing_filetypes (0.07s) SUCCESS: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_commissionable_returns_true_when_all_filetypes_present (0.08s) SKIP: maasserver.models.tests.test_bootresourceset.TestBootResourceSet.test_xinstallable_returns_false_when_missing_filetypes (0.00s) SUCCESS: maasserver.models.tests.test_bootsource.TestBootSource.test_compare_dict_without_selections_ignores_selections (0.05s) SUCCESS: maasserver.tests.test_dhcp.TestIPIsOnVLAN.test__returns_correct_result(discovered) (0.38s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSet.test_get_device (0.22s) SUCCESS: maasserver.models.tests.test_cacheset.TestCacheSetManagerGetCacheSetOr404.test__raises_Http404_when_invalid_node (0.19s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(dnssec_validation) (0.04s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(active_discovery_last_scan) (0.04s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_ipv4_dns_from_arguments (0.36s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_initialised_to_None_without_crashing(rpc_shared_secret) (0.04s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(releases.rst) (0.04s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(man/maas-region.8.rst) (0.03s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(max_node_installation_results) (0.04s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/security.rst) (0.04s) SUCCESS: maasserver.models.tests.test_config.SettingConfigTest.test_can_be_modified_from_None_without_crashing(network_discovery) (0.04s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/notes/anatomy-of-recommissioning-in-maas-2.0.rst) (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_getquoted_punches_through_double_wrapping (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_mac_equals_self (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_ne_punches_through_double_wrapping_on_other (0.03s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_ne_punches_through_double_wrapping_on_self (0.03s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAField.test_cannot_create_package_repository_bad_url (0.04s) SUCCESS: maasserver.tests.test_fields.TestVerboseRegexField.test_VerboseRegexField_validation_error_includes_value (0.03s) SUCCESS: maasserver.tests.test_fields.TestVerboseRegexValidator.test_VerboseRegexValidator_validation_error_includes_value (0.03s) SUCCESS: maasserver.tests.test_fields.TestVersionedTextFileField.test_create_requires_value (0.03s) SUCCESS: maasserver.models.tests.test_discovery.TestDiscoveryModel.test__query_by_unknown_ip (0.31s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_sets_registeredChannels_to_True (0.05s) SUCCESS: maasserver.models.tests.test_dnsdata.DNSDataTest.test_creates_mx (0.05s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__tryConnection_will_retry_in_3_seconds_if_autoReconnect_set (0.05s) SUCCESS: maasserver.tests.test_middleware.APIErrorsMiddlewareTest.test_ignores_error_outside_API (0.04s) SUCCESS: maasserver.tests.test_middleware.CSRFHelperMiddlewareTest.test_sets_csrf_exception_if_no_session_cookie (0.04s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_api_500_error_is_logged (0.04s) SUCCESS: maasserver.tests.test_node_action.TestAcquireNodeAction.test_Acquire_acquires_node (0.23s) SUCCESS: maasserver.models.tests.test_dnsdata.TestDNSDataMapping.test_get_hostname_dnsdata_mapping_returns_mapping_at_domain (0.50s) SUCCESS: maasserver.models.tests.test_dnspublication.TestZoneSerial.test_parameters (0.04s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_ExitRescueMode_handles_rpc_errors_for_exiting_rescue_mode(TimeoutError) (0.17s) SUCCESS: maasserver.models.tests.test_dnsresource.DNSResourceTest.test_rejects_multiple_dnsresource_with_same_name (0.06s) SUCCESS: maasserver.models.tests.test_dnsresource.TestDNSResourceManagerGetDNSResourceOr404.test__user_admin_raises_PermissionError (0.11s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_RescueMode_handles_rpc_errors_for_entering_rescue_mode(TimeoutError) (0.17s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_add_delegations_stops_at_one_deep (0.08s) SUCCESS: maasserver.models.tests.test_domain.DomainTest.test_invalid_name_raises_exception (0.04s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_inhibit_allows_user_with_SSH_key (0.18s) SUCCESS: maasserver.models.tests.test_domain.TestDomainManagerGetDomainOr404.test__user_view_returns_domain_by_name (0.07s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_can_delete_nonconnected_fabric (0.07s) SUCCESS: maasserver.models.tests.test_fabric.TestFabric.test_is_default_detects_non_default_fabric (0.06s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManager.test__default_specifier_matches_name_with_id (0.08s) SUCCESS: maasserver.models.tests.test_fabric.TestFabricManagerGetFabricOr404.test__admin_view_returns_fabric (0.08s) SUCCESS: maasserver.tests.test_node_action.TestImportImagesAction.test_requires_admin_permission (0.31s) SUCCESS: maasserver.models.tests.test_fannetwork.TestFanNetworkManagerGetFanNetworkOr404.test__user_view_returns_fannetwork (0.07s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_key_gets_generated (0.04s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_storage_can_be_retrieved (0.04s) SUCCESS: maasserver.models.tests.test_filestorage.FileStorageTest.test_stores_binary_data (0.04s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_changes_status (0.25s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_block_size_returns_partition_block_size (0.15s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_is_permitted_uses_node_permission (0.16s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystem.test_get_size_returns_block_device_size (0.14s) SUCCESS: maasserver.tests.test_node_action.TestRescueModeAction.test_rescue_mode_action_for_deployed (0.16s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(ext2,partition) (0.13s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_in_zone_with_required_zone_yields_no_nodes (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_create_mountable_filesystem(xfs,partition) (0.14s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(ext4,partition) (0.15s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_accepts_nodes_without_subnet_connections (0.23s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(vfat,block-device) (0.15s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_tags_negates_individual_tags (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_can_mount_unacquired_and_acquired_filesystem_at_same_point(swap,block-device) (0.14s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_matches_disk_with_root_mount_on_disk (0.15s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(ext2,partition) (0.18s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_cannot_mount_two_filesystems_at_same_point(xfs,partition) (0.19s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_iscsi_and_unused (0.32s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_filesystem_is_mounted_when_mount_point_is_set(btrfs,block-device) (0.13s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemMountableTypes.test_mount_point_is_none_for_filesystems_that_do_not_use_one(fat32,partition) (0.17s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(vfat) (0.16s) SUCCESS: maasserver.models.tests.test_filesystem.TestFilesystemsUsingStorage.test_uses_mount_point_is_true_for_real_filesystems(swap) (0.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_can_save_new_filesystem_group_without_filesystems (0.05s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_get_virtual_block_device_block_size_returns_backing_for_bc (0.33s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_vlans_filters_by_multiple_not_space_arguments (1.12s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroup.test_virtual_device_raises_AttributeError_for_lvm (0.31s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetNiceName.test__returns_prefix(raid-6) (0.43s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestFilesystemGroupGetVirtualBlockDeviceBlockSize.test__returns_block_size(raid-10) (0.38s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_vlans_filters_by_space (1.14s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestRenamableFieldsForm.test_rename_field_updates_mapping (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_architecture_wildcards_aliases_armhf_as_arm (0.04s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByBlockDevice.test__bcache_on_block_devices (0.30s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__volume_group_on_block_device (0.18s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestNonceCleanupService.test_init_with_default_interval (0.46s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersFilterByNode.test__volume_group_on_two_partitions (0.27s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestUtilities.test_create_checkpoint_nonce_gets_checkpoint_if_exists (0.06s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__edit_returns_device_when_user_is_owner(RAID) (0.37s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Region_RegionRack.test_yields_peer_addresses(region) (0.39s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_by_name(VolumeGroup) (0.41s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestManagersGetObjectOr404.test__view_returns_device_when_no_owner(RAID) (0.48s) SUCCESS: maasserver.tests.test_ntp.TestGetPeersFor_Region_RegionRack.test_yields_peer_addresses(region+rack) (0.91s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_0_with_one_element_fails (0.24s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_nothing_when_no_ntp_servers_defined(rack) (0.37s) SUCCESS: maasserver.tests.test_populate_tags.TestPopulateTagsForSingleNode.test_ignores_tags_with_unrecognised_namespaces (0.19s) SUCCESS: maasserver.tests.test_preseed.TestConfiguration.test_setting_defined (0.06s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_1_with_spares (0.82s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_create_raid_6_with_3_elements_fails (0.21s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_uses_main_archive_for_amd64 (0.70s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestRAID.test_remove_partition_from_array_invalidates_array_fails (0.49s) SUCCESS: maasserver.models.tests.test_filesystemgroup.TestVolumeGroup.test_objects_is_VolumeGroupManager (0.04s) SUCCESS: maasserver.models.tests.test_interface.BondInterfaceTest.test_removed_if_underlying_interfaces_gets_removed (0.50s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_add_tag_adds_new_tag (0.17s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_installer_url_returns_url_for_tgz (1.15s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_delete_deletes_related_ip_addresses (0.36s) SUCCESS: maasserver.models.tests.test_interface.InterfaceTest.test_doesnt_allow_acquired_to_be_true (0.14s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateMDNSEntryTest.test__logs_new_entry (0.19s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_preseed_type_for_poweroff (0.65s) SUCCESS: maasserver.models.tests.test_interface.InterfaceUpdateNeighbourTest.test__ignores_updates_if_neighbour_discovery_state_is_false (0.18s) SUCCESS: maasserver.models.tests.test_interface.TestCreateAcquiredBridge.test__creates_acquired_bridge_with_default_options (0.19s) SUCCESS: maasserver.tests.test_preseed.TestGetPreseedTemplate.test_get_preseed_template_find_template_in_first_location (0.35s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test__get_interface_dict_for_node__prefetches_on_request (0.17s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_with_inherits (0.15s) SUCCESS: maasserver.tests.test_preseed.TestRenderEnlistmentPreseed.test_render_enlistment_preseed(ENLIST) (0.04s) SUCCESS: maasserver.tests.test_preseed.TestSplitSubArch.test_split_subarch_splits_sub_architecture (0.04s) SUCCESS: maasserver.tests.test_preseed_storage.TestPower8ExtraSpaceLayout.test__renders_expected_output (0.23s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_filter_by_ip (0.40s) SUCCESS: maasserver.tests.test_preseed_storage.TestSimplePower8Layout.test__renders_expected_output (0.24s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_markDNSForUpdate_sets_needsDNSUpdate_and_starts_process (0.03s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_doesnt_proxy_update_config_when_nothing_to_process (0.15s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceManager.test_get_or_create_with_parents (0.59s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_startService_calls_markDNSForUpdate (0.25s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_load_region_certificate_when_none_exists (0.03s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_create_sequence (0.05s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_current_returns_none_when_table_does_not_exist (0.04s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_cycling_can_be_prevented (0.04s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__fails_if_neither_ipv4_nor_ipv6_set (0.05s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_space_by_subnet (0.43s) SUCCESS: maasserver.tests.test_start_up.TestInnerStartUp.test__does_refresh_if_not_master (0.22s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_get_cache_size_returns_None_if_blank (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_invalid_cache_device (0.13s) SUCCESS: maasserver.models.tests.test_interface.TestInterfaceQueriesMixin.test__filter_by_specifiers_matches_type (0.29s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_for_powerkvm (0.15s) SUCCESS: maasserver.models.tests.test_interface.TestUnlinkIPAddress.test__doesnt_call_ensure_link_up_if_clearing_config (0.23s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_boot_size (0.17s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__init_sets_up_all_fields (0.08s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__creates_discovered_ip_addresses (0.28s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test__creates_layout_with_defaults (0.26s) SUCCESS: maasserver.tests.test_storage_layouts.TestLVMStorageLayout.test_raises_error_when_value_to_low_for_logical_volume (0.09s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_configure_calls_configure_storage (0.11s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_root_device_returns_root_device_if_set (0.13s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__deletes_old_sticky_ip_addresses_not_linked (0.47s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_get_root_size_returns_None_if_not_set (0.10s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_no_block_devices (0.09s) SUCCESS: maasserver.models.tests.test_interface.UpdateIpAddressesTest.test__does_not_add_eui_64_address (0.17s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutForm.test__field_is_not_required (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__determine_hardware_matches(ubuntu_classic) (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__detect_switch_vendor_model(mellanox_sn2100) (0.04s) SUCCESS: maasserver.models.tests.test_interface.VLANInterfaceTest.test_manager_returns_vlan_interfaces (0.19s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetVirtualTag.test_output_not_containing_virtual_does_not_remove_tag (0.13s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_to_not_be_ipv6_reserved_anycast (0.09s) SUCCESS: maasserver.models.tests.test_iprange.IPRangeTest.test__requires_start_ip_to_not_be_network (0.08s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_can_match_discovered_ip (0.10s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__creates_discovered_ip_address_on_xenial (0.30s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__dynamic_range_cannot_overlap_user_reserved_address (0.09s) SUCCESS: maasserver.models.tests.test_iprange.TestIPRangeSavePreventsOverlapping.test__modify_existing_performs_validation (0.17s) SUCCESS: maasserver.models.tests.test_keysource.TestKeySourceManager.test_save_keys_for_user_does_not_create_duplicate_keysource (0.07s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_progress (0.05s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFile.test_valid_returns_False_when_content_doesnt_have_equal_sha256 (0.04s) SUCCESS: maasserver.models.tests.test_largefile.TestLargeFileManager.test_get_or_create_file_from_content_returns_same_largefile (0.04s) SUCCESS: maasserver.models.tests.test_licensekey.TestLicenseKeyManager.test_get_license_key (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__does_not_delete_virtual_interfaces_with_unique_mac (0.80s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_filter_nodes_by_not_spaces (0.41s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_node_or_404_returns_proper_node_object (0.13s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__legacy_model_upgrade_preserves_interfaces (0.38s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_only_for_node (0.14s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__creates_physical_block_device_without_sata_tag (0.22s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__ignores_loop_devices (0.14s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_set_user_data_creates_new_nodeuserdata_if_needed (0.12s) SUCCESS: maasserver.models.tests.test_node.NodeManagerTest.test_get_nodes_with_admin_perm_returns_all_nodes_for_admin (0.98s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_set_user_data_leaves_data_for_other_nodes_alone (0.20s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test__name_returns_model_script_name_when_no_script (0.13s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_get_runtime (0.16s) SUCCESS: maasserver.models.tests.test_node.TestControllerUpdateDiscoveryState.test__calls_update_discovery_state_per_interface (0.40s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_save_stores_start_time (0.15s) SUCCESS: maasserver.models.tests.test_node.TestDecomposeMachine.test_does_nothing_if_machine_without_bmc (0.24s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_logs_missing_script_version (0.18s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_find_script_result_by_name (0.21s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_installation_script_set_cleans_up_past_limit (0.20s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_testing_script_set_adds_selected_scripts (0.26s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv4_if_dual_stack_with_ipv4_gateway (0.72s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_calls_sets_initial_network_config_if_TESTING (0.45s) SUCCESS: maasserver.models.tests.test_node.TestGetDefaultDNSServers.test__uses_rack_ipv4_if_ipv4_only_with_no_gateway_v4_dns (0.63s) SUCCESS: maasserver.models.tests.test_node.TestMachineManager.test_get_available_machines_finds_available_machines (0.19s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_current_power_type_rsd_does_not_store_params (0.49s) SUCCESS: maasserver.models.tests.test_node.TestNode.test__create_acquired_filesystems (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_logs_and_raises_errors_in_stopping (0.19s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_does_not_set_default_storage_layout_if_FAILED (0.34s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_reverts_to_sane_state_on_error (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_commissioning_unsets_owner (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_disk_erasing_logs_and_raises_errors_in_stopping (0.16s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_removes_virtual_tag_on_node_if_not_virtual (0.44s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_abort_disk_erasing_reverts_to_sane_state_on_error (0.13s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_refuses_if_machine_in_unexpected_state (0.18s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_metadata_bogus_is_404 (0.06s) SUCCESS: metadataserver.tests.test_api.TestEnlistViews.test_public_keys_returns_empty (0.05s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_boot_disk_displays_error_if_in_filesystem_group (0.22s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_creates_new_script_result (0.12s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_can_delete_allocated_node (0.21s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_adds_script_version_id (0.19s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_boot_purpose_known_node (0.12s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_adds_field_for_output (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_can_be_False_for_rack_controller (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_info_is_True_for_set_power_type (0.09s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_process_file_creates_new_entry_for_stdout (0.18s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_with_script_id_sets_script_to_run (0.32s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_meta_data_unknown_item_is_not_found(curtin-metadata) (0.17s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_metadata_index_shows_latest(metadata) (0.17s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_for_node_returns_list_of_keys(curtin-metadata) (0.32s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_not_listed_for_node_without_public_keys(curtin-metadata) (0.17s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_get_effective_power_type_reads_node_field (1.26s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_controller_machine (0.12s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_url_with_additional_slashes(curtin-metadata) (0.41s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_device_region_rack_controller (0.27s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_shows_unconditional_entries(curtin-metadata) (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_is_rack_controller_region_rack_controller (0.30s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_netboot_defaults_to_True (0.04s) SUCCESS: metadataserver.tests.test_api.TestNetbootOperationAPI.test_netboot_on (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_on_network_returns_false_when_not_connected (0.10s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_success_does_not_clear_owner (0.39s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusWorkerService.test_status_commissioning_failure_leaves_node_failed (0.20s) SUCCESS: metadataserver.tests.test_fields.TestBin.test_refuses_to_construct_from_None (0.04s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_calls_release_interface_config_when_node_is_off (0.61s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(http,script-below-root-1) (0.11s) SUCCESS: maasserver.api.tests.test_discoveries.TestInterpretsScanAllRackNetworksRPCResults.test__no_racks_available (0.01s) SUCCESS: maasserver.api.tests.test_discoveries.TestInterpretsScanAllRackNetworksRPCResults.test__scan_not_started_on_at_least_one_rack (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_urlpatterns_empty (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_urlpatterns_with_resource_for_incomplete_handler (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestGeneratePodTypesDoc.test__generate_pod_types_doc_generates_doc (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestHandlers.test_contains_documentation_from_handlers (0.04s) SUCCESS: maasserver.api.tests.test_mechanism.TestOperationDecorator.test_valid_decoration (0.01s) SUCCESS: maasserver.api.tests.test_mechanism.TestOperationDecorator.testexported_as_is_optional (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_rejects_empty_string (0.01s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_raises_NotImplemended_over_UnknownPodType (0.01s) SUCCESS: maasserver.clusterrpc.tests.test_pods.TestGetBestDiscoveredResult.test_raises_unknown_exception (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationCommon.test_gen_configuration_options_for_resetting (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(database_name) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_json_to_stdout(database_user) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(database_pass) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationReset.test__options_are_reset(database_port) (0.03s) SUCCESS: maasserver.rpc.tests.test_module.TestFunctions.test_getClientFor (0.01s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_release_doesnt_release_interface_config_when_node_releasing (0.63s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_save_resets_status_expires_on_non_monitored_status (0.16s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_random_hostname_checks_hostname_existence (0.20s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_set_storage_layout_logs_success (0.11s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getConnectionFor_cancels_waiter_when_it_times_out (1.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getConnectionFor_waits_for_connection (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_starting_and_stopping_the_service (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportBootImages.test_report_boot_images_can_be_called (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__add_appends_Deferred_to_queue (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestRoundSizeToNearestBlock.test__round_down_doesnt_remove_block (0.01s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_calls__clear_networking_configuration (0.25s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_hyphen_at_start_of_label (0.01s) SUCCESS: maasserver.utils.tests.test_mac.TestGetVendorForMac.test_get_vendor_for_mac_handlers_unicode_error (0.01s) SUCCESS: maasserver.utils.tests.test_mac.TestGetVendorForMac.test_get_vendor_for_mac_returns_vendor (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_returns_item_from_any_sequence_of_length_one (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2Exception.test__returns_None_for_other_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2Exception.test__returns_psycopg2_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2UniqueViolationException.test__returns_None_for_other_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsDeadlockFailure.test_rejects_operational_error_with_unrelated_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_operational_error_without_matching_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitDo.test__adds_callable_as_hook (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitHooks.test__fires_hooks_on_exit_if_no_exception (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPsqlArray.test__returns_empty_array (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryContext.test_starts_off_with_nothing (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryStack.test_add_and_enter_pending_contexts (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryStack.test_crash_entering_context_is_propagated (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryStack.test_crash_exiting_context_is_propagated (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryStack.test_each_context_entered_only_once_even_if_enter_called_twice (0.01s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_script_name_is_ignored (0.01s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_secure (0.01s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_errors_for_unconfigured_power_type (0.16s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUserAgent.test__returns_unknown_if_version_is_empty_and_not_bzr_branch (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_timestampedmodel.TestTimeStampedModelHandler.test_doesnt_overwrite_other_non_changeable_fields (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_getHandler_returns_None_on_missing_handler (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeHugeFrame (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_maskHello (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseCloseEmpty (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolTest.test_close (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolTest.test_invalidFrame (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_dataReceived (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesInThread.test__defers__import_resources_to_thread (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesInThread.tests__defaults_force_to_False (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_WebApplicationService (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_hostname (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_separators_dont_conflict_with_ipv4_address (0.01s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_accepts_single_ip (0.01s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_json(double) (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_wraps_render_wo_underlay (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_list_drives (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCListSections.test_bmc_list_sections (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(No Leading Space) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestFormatUserKey.test_format_user_key (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(bogus) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestMakeIPMIUserSettings.test_settings_ordered_correctly (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(Skip User1) (0.01s) SUCCESS: snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(link-local) (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_writes_known_data (0.02s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_successful_erase (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_wipe_quickly (0.02s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_get_snippet_always_contains_base_user_data (0.01s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_strip_name_leaves_simple_names_intact (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_interface_returns_None_on_failure (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_ip_address_returns_consistent_result_from_address_set (0.01s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_empty_authorization (0.01s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_commissioning_sets_options (0.71s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_start_testing_mode_raises_PermissionDenied_if_no_edit (0.22s) SUCCESS: maasserver.models.tests.test_node.TestNode.test_update_power_state_sets_last_updated_field (0.15s) SUCCESS: maasserver.models.tests.test_node.TestNodePowerParameters.test_orphaned_pods_are_removed (0.18s) SUCCESS: maasserver.models.tests.test_node.TestNode_Stop.test__stop_allows_no_user (0.62s) SUCCESS: maasserver.models.tests.test_node.TestRackControllerManager.test_filter_by_url_accessible_parses_host_user_pass (0.57s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-is-set) (0.48s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_removes_auth_triggers (104.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-worker,maas-id-stale) (0.53s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-other,maas-id-is-set) (0.47s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-matches,macs-do-not-match,owned-by-other,maas-id-stale) (0.50s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-worker,maas-id-is-set) (0.57s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-worker,maas-id-stale) (0.53s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-other,maas-id-is-set) (0.49s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-match,owned-by-other,maas-id-stale) (0.51s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(rack,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.41s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(region,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-worker,maas-id-is-set) (0.33s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-worker,maas-id-stale) (0.36s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-other,maas-id-is-set) (0.38s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-match,owned-by-other,maas-id-stale) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-matches,macs-do-not-match,owned-by-nobody,maas-id-not-set) (0.27s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(machine,hostname-does-not-match,macs-match,owned-by-nobody,maas-id-not-set) (0.34s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(device,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.19s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-is-set) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestRegionControllerManagerGetOrCreateRunningController.test(unknown,hostname-does-not-match,macs-do-not-match,owned-by-nobody,maas-id-stale) (0.14s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_on_vlan_interface_with_identical_macs(region) (2.47s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_bridge_on_vlan_interface_with_identical_macs(region+rack) (2.56s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__all_new_physical_interfaces_no_links(rack) (0.36s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_creates_link_updates_parent_vlan(region) (6.37s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_removes_maasserver_triggers (96.13s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(27) (0.02s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(18277) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(27) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(18277) (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestGetRegionID.test__getRegionID_fails_when_advertising_service_not_running (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getClientFor_errors_when_no_connections_for_cluster (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_removeConnectionFor_removes_connection (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_binds_first_of_real_endpoint_options (0.01s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_creates_link_updates_parent_vlan(region+rack) (6.77s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_stopping_cancels_startup (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_StartTLS.test_StartTLS_returns_nothing (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__add_cannot_be_called_in_the_reactor (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__savepoint_restores_hooks_with_new_hooks_on_clean_exit (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGather.test_gather_nothing (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(bytes) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(GB) (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__failure_in_deferred_task_does_not_crash_service (0.02s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__task_is_executed_in_other_thread (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_ascii_digits (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_maximum_label_length (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestMakeNameFromInterface.test__escapes_weird_characters (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestMakeNameFromInterface.test__makes_up_name_if_no_interface_given (0.01s) SUCCESS: maasserver.utils.tests.test_jsenums.TestFunctions.test_dump (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetFirst.test_get_first_returns_first_item (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_detects_unique_violation (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_integrity_error_without_matching_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitHooks.test__resets_hooks_on_exit_if_exception (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryContext.test_creates_stack_on_entry (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryContext.test_destroys_stack_on_exit (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestInstallFunctions.test__default_pool_is_disconnected_pool (0.01s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_preserve_two_leading_slashes (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASBranchVersion.test__returns_None_if_this_is_not_a_branch (0.13s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUI.test__returns_package_version (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetVersionFromAPT.test__creates_cache_with_None_progress (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseCloseReason (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseMaskedText (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePartialTruncatedLengthDouble (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePing (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnmaskedHugeText (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_getPeer (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_IResource (0.01s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_with_existing_parents(region) (0.48s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderIProtocol (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderRealRequest (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_set_maas_url_accepts_ipv6_addresses_with_brackets (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__set_and_get(database_port) (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_RackControllerService (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_ServiceMonitorService (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_name (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_populate_on_master (0.02s) SUCCESS: maasserver.tests.test_eventloop.TestRegionEventLoop.test_reset (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_none (0.01s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_separators_dont_conflict_with_ipv4_address (0.01s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__bond_with_existing_parents(region+rack) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_static_link(region) (0.30s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_existing_static_link(region+rack) (0.31s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_new_links(region) (0.39s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_new_links(region+rack) (0.48s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_links_new_vlan_wrong_subnet_vid(rack) (0.43s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_no_links(rack) (0.27s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_installs_plpgsql (89.97s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(26) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(53) (0.02s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(703) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(26) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(53) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(703) (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_stopping_closes_connections_cleanly (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportNeighbours.test_report_neighbours_is_registered (0.01s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_with_links(region) (0.40s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__logs_failures_from_cancellers (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__savepoint_restores_hooks_only_on_dirty_exit (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gather_from_calls_without_errors(synchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestUseOnceIterator.test_raises_iterator_reused (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(TB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(PB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(ZB) (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__cannot_add_task_to_stopped_service (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__startup_creates_queue_with_previously_defined_limit (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__tasks_are_all_run_before_shutdown_completes (0.08s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_leading_dot (0.02s) SUCCESS: maasserver.utils.tests.test_jsenums.TestFunctions.test_get_enums (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_returns_single_list_item (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2SerializationException.test__returns_None_for_plain_psycopg2_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__fire_calls_back_with_None_to_new_Deferred_hook (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__reset_cancels_Deferred_hook (0.03s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__reset_passes_Failure_to_callable_hook (0.02s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitDo.test__reset_does_not_call_hook (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestRetryStack.test_each_context_entered_only_once_even_if_added_twice (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_database_unpool_creates_unpool (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASBranchVersion.test__returns_None_if_bzr_emits_something_thats_not_a_number (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASDocVersion.test__returns_doc_version_with_equal_to_1_decimals (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASDocVersion.test__returns_doc_version_with_greater_than_1_decimals (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionUI.test__returns_unknown_if_version_is_empty_and_not_bzr_branch (0.01s) SUCCESS: maasserver.utils.tests.test_views.TestResetRequest.test__clears_messages_from_cookies (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_timestampedmodel.TestTimeStampedModelHandler.test_dehydrate_updated_converts_datetime_to_string (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_startFactory_registers_rpc_handlers (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeLargeFrame (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_controlFrames (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_loseConnection (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_write (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesService.test__is_a_TimerService (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_set_maas_url_accepts_very_short_hostnames (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_RegionAdvertisingService (0.01s) SUCCESS: maasserver.tests.test_exceptions.TestExceptions.test_MAASAPIException_produces_http_response (0.01s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_accepts_none (0.01s) SUCCESS: maasserver.tests.test_plugin.TestRegionServiceMaker.test_init (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_does_wrapper_render_not_wrapped (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_returns_no_resource_wo_underlay (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_returns_resource_from_underlay (0.01s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__existing_physical_with_no_links_new_vlan_with_links(region+rack) (0.55s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_writes_privatekey (0.09s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_list_supported_drives_ignores_iscsiadm_timeout (0.03s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_failure (0.03s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest (0.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection(Supports LAN 1.5) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Gunk) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(none) (0.01s) SUCCESS: maasserver.tests.test_js.YUIUnitTestsLocal.test_YUI3_unit_tests(src/maasserver/static/js/tests/test_shortpoll.html)#local:Chrome (0.80s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test__removes_one_bond_parent(rack) (0.72s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_no_links(region) (0.25s) SUCCESS: maasserver.models.tests.test_node.TestUpdateInterfaces.test_registers_bridge_with_no_parents_and_no_links(region+rack) (0.24s) SUCCESS: maasserver.models.tests.test_notification.TestFindingAndDismissingNotifications.test_find_and_dismiss_notifications_for_users (0.09s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_warning_for_user) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_context(create_info_for_user) (0.06s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_ident(create_error_for_users) (0.03s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_with_reused_ident(create_success_for_users) (0.05s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationManagerCreateMethods.test_create_new_notification_without_context(create_error_for_user) (0.07s) SUCCESS: maasserver.models.tests.test_notification.TestNotificationRepresentation.test_for_users(success) (0.04s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_path (0.15s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_validate_can_save_gpt_larger_than_2TiB (0.17s) SUCCESS: maasserver.models.tests.test_partition.TestPartition.test_validate_enough_space_will_round_down_a_block (0.14s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(static6) (2.01s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_add_partition_no_size_sets_mbr_max (0.14s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestListUserNumbers.test_matching (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumber.test_fail_raise_exception (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumber.test_pick_user_number (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(One blank user) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(Username is (Empty User)) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestRunCommand.test_exception_on_failure (0.03s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_heartbeat (0.02s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_wipe_quickly (0.02s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_get_block_size_returns_block_device_block_size (0.14s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_zero_disk (0.03s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_read_snippet_reads_snippet_file (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_guess_server_host_returns_hostname_as_last_ditch_guess (0.01s) SUCCESS: maasserver.models.tests.test_partitiontable.TestPartitionTable.test_save_allows_gpt_on_2tib_boot_disk_pxe (0.09s) SUCCESS: maasserver.models.tests.test_physicalblockdevice.TestPhysicalBlockDeviceManager.test_total_size_of_physical_devices_for_returns_sum_of_size (0.11s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_create_services_replaces_services (0.14s) SUCCESS: maasserver.models.tests.test_service.TestServiceManager.test_mark_dead_for_region_rack_controller_region_and_rack_dead (0.21s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_create_does_not_override_name (0.05s) SUCCESS: maasserver.models.tests.test_space.SpaceTest.test_sets_null_if_contains_vlan (0.08s) SUCCESS: maasserver.models.tests.test_sshkey.GetHTMLDisplayForKeyTest.test_display_returns_unchanged_if_unknown_and_small (0.03s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyTest.test_sshkey_validation_with_valid_key (0.09s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_random_data (0.03s) SUCCESS: maasserver.models.tests.test_sshkey.SSHKeyValidatorTest.test_does_not_validate_wrongly_padded_data (0.06s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_invalid_address_raises_validation_error (0.04s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddress.test_repr_with_invalid_type (0.08s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_raises_when_requested_IP_out_of_network (0.05s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_allocate_new_with_reserved_type_requires_a_user (0.10s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManager.test_filter_by_subnet_cidr_family_ipv4 (0.14s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_boot_interface (0.58s) SUCCESS: maasserver.tests.test_js.YUIUnitTestsLocal.test_YUI3_unit_tests(src/maasserver/static/js/tests/test_reveal.html)#local:Chrome (0.79s) SUCCESS: maasserver.tests.test_webapp.TestResourceOverlay.test_getChild (0.01s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__error_when_starting_is_logged (0.03s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_cert_with_extensions (0.17s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_ssl_dir_returns_home_ssl_dir (0.01s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_load_pem_file_returns_cert_and_contents (0.19s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_prefers_physical_interfaces_to_vlan (0.55s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest_sets_failure_on_timeout_of_test_start (0.01s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_fqdn_and_other (0.65s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_timedout (1.03s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_preserves_settings_order (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestApplyIpmiUserSettings.test_use_username (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config(bmc_set) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config(bmc_user_get) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Single word) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(One character value) (0.01s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_mapping (0.51s) SUCCESS: maasserver.models.tests.test_staticipaddress.TestUserReservedStaticIPAddress.test_user_reserved_IP_on_node_or_default_domain_not_both (0.33s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__admin_admin_returns_fabric (0.12s) SUCCESS: maasserver.models.tests.test_staticroute.TestStaticRouteManagerGetStaticRouteOr404.test__user_view_returns_staticroute (0.10s) SUCCESS: maasserver.models.tests.test_subnet.SubnetIPRangeTest.test__finds_used_ranges_includes_discovered_ip (0.08s) SUCCESS: maasserver.models.tests.test_subnet.SubnetLabelTest.test__returns_cidr_for_null_name (0.03s) SUCCESS: maasserver.models.tests.test_subnet.SubnetLabelTest.test__returns_cidr_if_name_is_cidr (0.04s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_denies_fe80_gateway_for_ipv4 (0.05s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(dynamic6 multiple) (4.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(Empty user list) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestVerifyIpmiUserSettings.test_accept_some_missing_keys (0.01s) SUCCESS: snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(ipv4) (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_supported_enabled (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_try_secure_erase_for_all_disks (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_main_calls_zero_disk_if_no_secure_erase (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_frozen (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_not_supported (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_interface_finds_default_aliased_interface (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_tagged_interface_makes_a_guess_if_no_default (0.01s) SUCCESS: maasserver.models.tests.test_subnet.SubnetTest.test_get_smallest_enclosing_sane_subnet_finds_parent_ipv6 (9.37s) SUCCESS: maasserver.models.tests.test_subnet.TestGetBestSubnetForIP.test__returns_most_specific_ipv4_subnet___ipv4_mapped_ipv6_addr (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetGetLeastRecentlySeenUnknownNeighbour.test__returns_least_recently_seen_neighbour_handles_unmanaged (0.27s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_on_next_save_if_threshold_changes(Default threshold warns for /48 IPv6) (0.10s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_ip_deleted(Default threshold warns for /16 IPv6) (0.13s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetIPExhaustionNotifications.test__notification_cleared_when_range_deleted(threshold=0 never warns for IPv6) (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_ip_filter_raises_for_invalid_ip (0.08s) SUCCESS: maasserver.models.tests.test_subnet.TestSubnetQueriesMixin.test__filter_by_specifiers_takes_multiple_cidr_or_name (0.07s) SUCCESS: maasserver.models.tests.test_tag.TestTagIsDefined.test_is_defined(empty) (0.04s) SUCCESS: maasserver.models.tests.test_tag.TestTagIsDefined.test_is_defined(whitespace) (0.04s) SUCCESS: maasserver.models.tests.test_tag.TestTagIsDefined.test_is_defined(defined) (0.37s) SUCCESS: maasserver.models.tests.test_tag.TestTagPopulateNodesLater.test__later_is_the_default (0.04s) SUCCESS: maasserver.models.tests.test_userprofile.UserProfileTest.test_token_creation (0.06s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_removes_metadataserver_triggers (89.11s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_deletes_all_upstream_revisions_from_oldest_parent (0.09s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_deletes_upstream_revisions (0.07s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_previous_versions (0.07s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_id_raises_value_error_when_id_not_in_history (0.07s) SUCCESS: maasserver.models.tests.test_versionedtextfile.VersionedTextFileTest.test_revert_by_negative_raises_value_error_when_too_far_back (0.09s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_get_parents_finds_devices (0.34s) SUCCESS: maasserver.models.tests.test_virtualblockdevice.TestVirtualBlockDevice.test_node_is_set_to_same_node_from_filesystem_group (0.28s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_creates_vlan (0.06s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.test_get_name_for_unnamed_vlan (0.05s) SUCCESS: maasserver.models.tests.test_vlan.TestVLAN.tests_deletes_notification_once_there_is_dhcp (0.06s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(12) (0.06s) SUCCESS: maasserver.models.tests.test_vlan.TestVLANVidValidation.test_validates_vid(4094) (0.07s) SUCCESS: maasserver.models.tests.test_vlan.VLANMTUValidationTest.test_validates_mtu(551) (0.05s) SUCCESS: maasserver.models.tests.test_vlan.VLANMTUValidationTest.test_validates_mtu(65536) (0.05s) SUCCESS: maasserver.models.tests.test_zone.TestZone.test_delete_deletes_zone (0.05s) SUCCESS: maasserver.models.tests.test_zone.TestZoneManager.test_get_default_zone_ignores_other_zones (0.05s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetBootFilenames.test_allows_no_boot_dtb (0.09s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__commissioning_node_uses_min_hwe_kernel (0.87s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__enlistment_checks_default_min_hwe_kernel (0.29s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__returns_extra_kernel_options (0.38s) SUCCESS: maasserver.rpc.tests.test_boot.TestGetConfig.test__sets_boot_interface_when_empty (0.93s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_raises_LeaseUpdateError_for_ipv6_mismatch (0.08s) SUCCESS: maasserver.rpc.tests.test_leases.TestUpdateLease.test_release_removes_lease_keeps_discovered_subnet (0.47s) SUCCESS: maasserver.rpc.tests.test_nodes.TestUpdateNodePowerState.test__updates_node_power_state (0.13s) SUCCESS: maasserver.rpc.tests.test_packagerepository.TestGetArchiveMirrors.test_returns_populated_dict_when_main_and_port_is_set (0.06s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_creates_new_rackcontroller (0.36s) SUCCESS: maasserver.rpc.tests.test_rackcontrollers.TestRegisterRackController.test_sets_interfaces (0.36s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test__adds_connection_and_removes_connection (0.43s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionAdvertising.test_update_removes_dead_sibling_processes (0.21s) SUCCESS: maasserver.support.pertenant.tests.test_migration.TestGiveFileToUser.test_give_owned_file (0.08s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_variation_when_already_share_locked(DatabaseLock) (0.04s) SUCCESS: maasserver.utils.tests.test_dblocks.TestTryingToAcquireLockedLock.test_try_variation_when_already_share_locked(DatabaseXactLock) (0.05s) SUCCESS: maasserver.utils.tests.test_orm.TestGetModelObjectName.test__gets_model_object_name_from_manager (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseFromDB.test_finds_by_release (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestGetReleaseVersionFromString.test_get_release_version_from_string(New style low latency kernel) (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestOsystems.test_list_all_usable_osystems_sorts_title (0.03s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleaseANewerThanB.test_a_newer_than_b_true (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_commissioning_choices_returns_sorted (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestReleases.test_list_release_choices_includes_requires_key_asterisk (0.04s) SUCCESS: maasserver.utils.tests.test_osystems.TestValidateOsystemAndDistroSeries.test__raises_error_if_not_supported_release (0.04s) SUCCESS: maasserver.utils.tests.test_signals.TestSignalsManager.test__disable_disables_all_signals (0.03s) SUCCESS: maasserver.utils.tests.test_storage.TestGetEffectiveFilesystem.test__returns_non_mountable_filesystem(Partition) (0.13s) SUCCESS: maasserver.utils.tests.test_threads.TestDeferToDatabase.test__defers_to_database_threadpool (0.04s) SUCCESS: maasserver.utils.tests.test_utils.TestAbsoluteUrlReverse.test_absolute_url_reverse_uses_path_from_maas_url (0.04s) SUCCESS: maasserver.views.tests.test_account.TestAuthenticate.test__rejects_incorrect_password (0.07s) SUCCESS: maasserver.views.tests.test_prefs.UserPrefsViewTest.test_prefs_POST_password (0.09s) SUCCESS: maasserver.views.tests.test_prefs.UserPrefsViewTest.test_prefs_POST_profile (0.09s) SKIP: maasserver.views.tests.test_settings.SettingsTest.test_settings_maas_POST (0.00s) SUCCESS: maasserver.views.tests.test_settings.SettingsTest.test_settings_network_POST (0.12s) SUCCESS: maasserver.views.tests.test_settings.UserManagementTest.test_delete_user_GET (0.17s) SUCCESS: maasserver.views.tests.test_settings_commissioning_scripts.CommissioningScriptListingTest.test_settings_contains_commissioning_scripts_slot_anchor (0.25s) SUCCESS: maasserver.views.tests.test_settings_license_keys.LicenseKeyListingTest.test_settings_contains_commissioning_scripts_slot_anchor (0.23s) SUCCESS: maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_displays_links_to_zone_query (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_asserts_is_admin (0.05s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourceFetch.test_raises_error_on_node_ubuntu_images (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_calculates_unique_size (0.17s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_combined_subarch_resource_shows_waiting_for_cluster_to_sync (0.26s) SUCCESS: maasserver.websockets.handlers.tests.test_bootresource.TestBootResourcePoll.test_shows_ubuntu_architecture_options (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_controller.TestControllerHandlerScenarios.test_fully_dehydrated_controller_contains_essential_fields(rack,for-list) (0.39s) SUCCESS: maasserver.websockets.handlers.tests.test_dhcpsnippet.TestDHCPSnippetHandler.test_revert_errors_on_invalid_id (0.07s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandler.test_create_raises_validation_error_for_missing_name (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_domain.TestDomainHandlerDelete.test__delete_default_domain_fails (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_event.TestEventHandler.test_list_raises_error_if_node_doesnt_exist (0.24s) SUCCESS: maasserver.websockets.handlers.tests.test_fabric.TestFabricHandler.test_get_default_vlan_is_first (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_general.TestGeneralHandler.test_architectures (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_bond_raises_ValidationError (0.19s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_partition_with_filesystem (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_create_raid_with_filesystem (0.50s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_dehydrate_cache_set (0.70s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_missing_action_raises_error (0.14s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandler.test_update_removes_tag_from_node (0.79s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUnmountSpecialScenarios.test__admin_unmounts_non_storage_filesystem_on_allocated_machine(ramfs) (0.15s) SUCCESS: maasserver.websockets.handlers.tests.test_machine.TestMachineHandlerUpdateFilesystem.test_change_blockdevice_filesystem (0.26s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandler.test_list_for_admin (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListening.test_on_listen_for_notification_up_calls (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=Other;to-users=False;to-admins=True) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_notification.TestNotificationHandlerListeningScenarios.test_on_listen(user,to-user=Other;to-users=True;to-admins=False) (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_script.TestScriptHandler.test_list (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_service.TestServiceHandler.test_get (0.29s) SUCCESS: maasserver.websockets.handlers.tests.test_space.TestSpaceHandlerDelete.test__reloads_user (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_list (0.22s) SUCCESS: maasserver.websockets.handlers.tests.test_staticroute.TestStaticRouteHandler.test_update_admin_only (0.11s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerCreate.test__create_reloads_user (0.09s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__reloads_user (0.10s) SUCCESS: maasserver.websockets.handlers.tests.test_subnet.TestSubnetHandlerScan.test__scan_as_non_admin_asserts (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_tag.TestTagHandler.test_list (0.06s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_list_for_admin (0.08s) SUCCESS: maasserver.websockets.handlers.tests.test_user.TestUserHandler.test_list_for_standard_user (0.12s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_gateway_inside_range_raises (0.30s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_optionally_defines_gateway (0.41s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerConfigureDHCP.test__configure_dhcp_with_one_parameter (0.37s) SUCCESS: maasserver.websockets.handlers.tests.test_vlan.TestVLANHandlerDelete.test__delete_as_admin_success (0.10s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_with_form_passes_request_with_user_set (0.17s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_create_with_form_uses_form_from_get_form_class (0.17s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_full_dehydrate_calls_final_dehydrate_method (0.12s) SUCCESS: maasserver.websockets.tests.test_base.TestHandler.test_on_listen_update_returns_delete_action_if_obj_is_None (0.12s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_extract_redirect_errors_out_helpfully_if_not_a_redirect (0.04s) SUCCESS: maasserver.testing.tests.test_module.TestHelpers.test_extract_redirect_extracts_redirect_location (0.03s) SUCCESS: maasserver.tests.test_auth.LoginLogoutTest.test_logout (0.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_owned_status (0.12s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_can_edit_VirtualBlockDevice_when_node_owner (0.26s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_edit_unowned_node (0.13s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackend.test_user_cannot_view_FilesystemGroup_when_not_node_owner (0.27s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForDeviceInterface.test_owner_can_edit_device_interface (0.19s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_can_view(space) (0.06s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(dnsdata) (0.09s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(fabric) (0.07s) SUCCESS: maasserver.tests.test_auth.TestMAASAuthorizationBackendForUnrestrictedRead.test_user_not_admin(interface) (0.17s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_get_or_create_boot_resource_file_captures_extra_fields (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestBootResourceStore.test_prevent_resource_deletion_removes_resource (0.05s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_download_invalid_boot_resource_returns_404 (0.06s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_download_invalid_filename_returns_404 (0.10s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_download_product_has_valid_values (0.14s) SUCCESS: maasserver.tests.test_bootresources.TestSimpleStreamsHandler.test_streams_product_index_index_has_maas_v2_download (0.05s) SUCCESS: maasserver.tests.test_bootsources.TestHelpers.test_get_boot_sources (0.06s) SUCCESS: maasserver.tests.test_commands.TestApikeyCommand.test_api_key_rejects_update_of_nonexistent_key (0.09s) SUCCESS: maasserver.tests.test_commands_edit_named_options.TestEditNamedOptionsCommand.test_migrate_combines_with_existing_forwarders (0.06s) SUCCESS: maasserver.tests.test_commands_get_named_conf.TestGetNamedConfCommand.test_get_named_conf_appends_to_config_file (0.03s) SUCCESS: maasserver.tests.test_commands_set_up_dns.TestSetUpDNSCommand.test_set_up_dns_does_not_overwrite_config (0.07s) SUCCESS: maasserver.tests.test_compose_preseed.TestAptProxy.test__returns_correct_url(ipv4) (0.16s) SUCCESS: maasserver.tests.test_compose_preseed.TestAptProxy.test__returns_correct_url(name) (0.15s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_commissioning_includes_metadata_status_url (0.44s) SUCCESS: maasserver.tests.test_compose_preseed.TestComposePreseed.test_compose_preseed_for_enable_ssh_does_not_include_poweroff (0.63s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_DictCharWidget_renders_fieldset_with_label_and_field_names (0.04s) SUCCESS: maasserver.tests.test_config_forms.TestDictCharWidget.test_DictCharWidget_value_from_datadict_values_from_data (0.03s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_honors_field_constraint (0.03s) SUCCESS: maasserver.tests.test_config_forms.TestFormWithDictCharField.test_DictCharField_processes_QueryDict_into_a_dict (0.04s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__contains_routes_between_nodes_on_same_space (0.34s) SUCCESS: maasserver.tests.test_dbviews.TestRoutablePairs.test__contains_routes_between_nodes_via_null_space (0.37s) SUCCESS: maasserver.tests.test_dhcp.TestGetBestInterface.test__returns_physical_over_vlan (0.32s) SUCCESS: maasserver.tests.test_dhcp.TestGetIPAddressForInterface.test__returns_ip_address_on_vlan (0.21s) SUCCESS: maasserver.tests.test_dhcp.TestGetNTPServerAddressesForRack.test__handles_blank_subnet (0.37s) SUCCESS: maasserver.tests.test_dhcp.TestGetOMAPIKey.test__sets_new_omapi_key_in_global_config (0.05s) SUCCESS: maasserver.tests.test_dhcp.TestMakeFailoverPeerConfig.test__renders_config_for_primary (0.73s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__defines_IPv4_subnet (0.32s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__includes_all_parameters (0.29s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__overrides_ipv4_dns_from_subnet (0.34s) SUCCESS: maasserver.tests.test_dhcp.TestMakeSubnetConfig.test__sets_other_items_from_subnet_and_interface (0.35s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/cluster-bootstrap.rst) (0.06s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/rpc.rst) (0.06s) SUCCESS: maasserver.tests.test_docs.TestDoc.test(development/transactions.rst) (0.06s) SUCCESS: maasserver.tests.test_fields.TestMAC.test_get_raw_punches_through_double_wrapping (0.04s) SUCCESS: maasserver.tests.test_fields.TestMACAddressField.test_mac_address_is_stored_normalized_and_loaded (0.20s) SUCCESS: maasserver.tests.test_fields.TestNodeChoiceField.test_allows_selecting_by_system_id (0.30s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_catches_bad_PPA_format (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_catches_bad_scheme (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_catches_bad_url (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_URLOrPPAFormField_validates_URL (0.04s) SUCCESS: maasserver.tests.test_fields.TestURLOrPPAFormField.test_rejects_none (0.04s) SUCCESS: maasserver.tests.test_listener.TestPostgresListenerService.test__multiple_stops_return_same_Deferred (0.04s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_ignores_non_rpc_errors (0.04s) SUCCESS: maasserver.tests.test_middleware.APIRPCErrorsMiddlewareTest.test_no_connections_available_returned_as_503 (0.04s) SUCCESS: maasserver.tests.test_middleware.CSRFHelperMiddlewareTest.test_doesnt_set_csrf_exception_if_session_cookie (0.05s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_reports_ValidationError_as_Bad_Request (0.04s) SUCCESS: maasserver.tests.test_middleware.ExceptionMiddlewareTest.test_unknown_exception_generates_internal_server_error (0.04s) SUCCESS: maasserver.tests.test_middleware.ExternalComponentsMiddlewareTest.test__removes_error_once_all_clusters_are_connected (0.47s) SUCCESS: maasserver.tests.test_middleware.RPCErrorsMiddlewareTest.test_ignores_error_on_API (0.04s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_ExitRescueMode_handles_rpc_errors_for_exiting_rescue_mode(ExternalProcessError) (0.18s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_PowerOff_handles_rpc_errors(PowerActionAlreadyInProgress) (0.18s) SUCCESS: maasserver.tests.test_node_action.TestActionsErrorHandling.test_RescueMode_handles_rpc_errors_for_entering_rescue_mode(ExternalProcessError) (0.17s) SUCCESS: maasserver.tests.test_node_action.TestCommissionAction.test_Commission_starts_commissioning(READY) (0.30s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_doesnt_set_osystem_and_series_if_os_missing (0.23s) SUCCESS: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_raises_NodeActionError_for_invalid_os (0.18s) SUCCESS: maasserver.tests.test_node_action.TestExitRescueModeAction.test_exit_rescue_mode_action_for_deployed (0.13s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_not_enabled_if_not_broken (0.13s) SUCCESS: maasserver.tests.test_node_action.TestMarkFixedAction.test_raise_NodeActionError_if_multi_commissioning_result_fails (0.24s) SUCCESS: maasserver.tests.test_node_action.TestNodeAction.test_compile_node_actions_checks_node_status (0.12s) SUCCESS: maasserver.tests.test_node_action.TestPowerOffAction.test__stops_deployed_node (0.17s) SUCCESS: maasserver.tests.test_node_action.TestPowerOnAction.test_PowerOn_is_actionable_if_node_does_have_an_owner (0.17s) SUCCESS: maasserver.tests.test_node_action.TestReleaseAction.test_Release_stops_and_releases_node(Failed disk erasing) (0.25s) SUCCESS: maasserver.tests.test_node_action.TestRescueModeAction.test_rescue_mode_action_for_broken (0.13s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_fails_validation_for_no_matching_not_subnets (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_interfaces_filters_work_with_multiple_labels (0.88s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_combined_constraints (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_invalid_cpu_count (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_no_constraints (0.22s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_strict_check_unknown_constraints (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_not_subnets_exclude_node_with_any_interface (0.49s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_storage_multi_contraint_matches_large_disk_count (0.41s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filters_by_ip (1.11s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_filters_by_name (1.17s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_subnets_ignores_other_subnets (0.28s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestAcquireNodeForm.test_zone (0.31s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestRenamableFieldsForm.test_rename_field_renames_field (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_generate_architecture_wildcards (0.04s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_architecture_wildcards_does_not_overwrite_existing_arm (0.05s) SUCCESS: maasserver.tests.test_node_constraint_filter_forms.TestUtils.test_get_storage_constraints_from_string_sorts_more_tags_first (0.05s) SUCCESS: maasserver.tests.test_nonces_cleanup.TestCleanupOldNonces.test_cleanup_old_nonces_returns_0_if_no_checkpoint (0.05s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Device.test_yields_rack_addresses (0.74s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_nothing_when_no_ntp_servers_defined(region) (0.08s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_nothing_when_no_ntp_servers_defined(region+rack) (0.29s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_ExternalOnly.test_yields_nothing_when_no_ntp_servers_defined(device) (0.08s) SUCCESS: maasserver.tests.test_ntp.TestGetServersFor_Rack.test_yields_region_addresses (0.67s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_has_custom_repository (0.50s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_compose_curtin_archive_config_ports_archive_for_other_arch (0.86s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_config_with_ipv6_rack_url (1.05s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_image_raises_MissingBootImage (0.63s) SUCCESS: maasserver.tests.test_preseed.TestCurtinUtilities.test_get_curtin_installer_url_fails_if_no_boot_image (1.03s) SUCCESS: maasserver.tests.test_preseed.TestLoadPreseedTemplate.test_load_preseed_template_node_specific_lookup (0.35s) SUCCESS: maasserver.tests.test_preseed.TestNodePreseedContext.test_context_contains_third_party_drivers (0.65s) SUCCESS: maasserver.tests.test_preseed.TestRenderCurtinUserdataWithThirdPartyDrivers.test_render_curtin_preseed_with_third_party_driver(HPVSA driver) (1.11s) SUCCESS: maasserver.tests.test_preseed.TestRenderPreseed.test_get_preseed_uses_rack_controller_url(CURTIN) (0.95s) SUCCESS: maasserver.tests.test_preseed_network.TestBridgeNetworkLayout.test__renders_expected_output (1.23s) SUCCESS: maasserver.tests.test_preseed_network.TestNetplan.test__bridged_bond (0.75s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_process_updates_zones_logs_failure (0.24s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_startService_calls_markProxyForUpdate (0.25s) SUCCESS: maasserver.tests.test_region_controller.TestRegionControllerService.test_stopService_calls_unregister_on_the_listener (0.04s) SUCCESS: maasserver.tests.test_security.TestCertificateFunctions.test_load_region_certificate (0.39s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_current_returns_none_when_no_current_value (0.04s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_drop_if_exists_does_not_fail_if_sequence_does_not_exist (0.04s) SUCCESS: maasserver.tests.test_sequence.TestSequence.test_sequence_respects_maxvalue_and_cycles (0.04s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__prefers_global_IPv6_over_link_local_IPv6 (0.04s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddress.test__resolves_hostname (0.03s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__falls_back_on_IPv6_if_ipv4_set_but_no_IPv4_address_found (0.04s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerAddresses.test__integrates_with_get_maas_facing_server_host (0.24s) SUCCESS: maasserver.tests.test_server_address.TestGetMAASFacingServerHost.test_get_maas_facing_server_host_strips_out_port (0.04s) SUCCESS: maasserver.tests.test_storage_layouts.TestBcacheStorageLayoutBase.test_raises_error_when_percentage_to_low_for_cache_size (0.11s) SUCCESS: maasserver.tests.test_storage_layouts.TestCalculateSizeFromPercentHelper.test__returns_correct_result(5%) (0.03s) SUCCESS: maasserver.tests.test_storage_layouts.TestFlatStorageLayout.test__creates_layout_with_boot_size_and_root_size (0.18s) SUCCESS: maasserver.tests.test_storage_layouts.TestStorageLayoutBase.test_raises_error_when_percentage_to_low_for_root_disk (0.09s) SUCCESS: maasserver.tests.test_third_party_drivers.TestMatchAliasesToDriver.test_finds_first_match (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestAddSwitchVendorModelTags.test_sets_wedge40_kernel_opts (0.13s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectHardware.test__determine_hardware_matches(ubuntu_core) (0.06s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__detect_switch_vendor_model(accton_wedge40_2) (0.05s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestDetectSwitchVendorModelDMIScenarios.test__detect_switch_vendor_model(accton_wedge100) (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestSetTagsByModalias.test__tags_node_appropriately(switch_trident2) (0.15s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__add_all_interfaces (0.31s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__disconnects_previously_connected_interface (0.31s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInformation.test__reassign_mac (0.45s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodeNetworkInterfaceTags.test_set_sriov_interface_tag (0.29s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__clears_boot_disk (0.21s) SUCCESS: metadataserver.builtin_scripts.tests.test_hooks.TestUpdateNodePhysicalBlockDevices.test__ignores_min_block_device_size_devices (0.17s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_node_for_key_finds_node (0.16s) SUCCESS: metadataserver.models.tests.test_nodekey.TestNodeKeyManager.test_get_token_for_node_creates_token (0.12s) SUCCESS: metadataserver.models.tests.test_nodeuserdata.TestNodeUserDataManager.test_has_user_data_returns_True_if_node_has_user_data (0.10s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_allows_controllers_to_overwrite (0.14s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_only_allows_when_output_is_blank (0.13s) SUCCESS: metadataserver.models.tests.test_scriptresult.TestScriptResult.test_store_result_stores_output (0.12s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_delete_prevents_del_of_current_commissioning_script_set (0.20s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSet.test_ended (0.12s) SUCCESS: metadataserver.models.tests.test_scriptset.TestScriptSetManager.test_create_commissioning_script_set (0.18s) SUCCESS: metadataserver.user_data.tests.test_generate_user_data.TestGenerateUserData.test_generate_user_data_produces_commissioning_script (0.12s) SUCCESS: metadataserver.tests.test_api.TestAnonymousAPI.test_anonymous_get_enlist_preseed_detects_request_origin (0.37s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signal_leaves_untagged_physical_node_unaltered (0.36s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_WORKING_keeps_owner (0.30s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_accepts_non_machine_results (0.31s) SUCCESS: metadataserver.tests.test_api.TestCommissioningAPI.test_signaling_commissioning_updates_last_ping (0.29s) SUCCESS: metadataserver.tests.test_api.TestDiskErasingAPI.test_signaling_erasing_failure_makes_node_failed_erasing (0.25s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_node_for_mac_finds_node_by_mac (0.42s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_node_for_mac_refuses_if_anonymous_access_disabled (0.05s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_get_node_for_request_reports_missing_auth_header (0.04s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_make_list_response_presents_list_as_newline_separated_text (0.04s) SUCCESS: metadataserver.tests.test_api.TestHelpers.test_stores_script_version (0.12s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_other_user_than_node_cannot_signal_installation_result (0.16s) SUCCESS: metadataserver.tests.test_api.TestInstallingAPI.test_signaling_installation_failure_makes_node_failed (0.35s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_no_anonymous_access(metadata) (0.05s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_public_keys_listed_for_comm_node_with_ssh_enabled(metadata) (0.34s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_vendor_data_for_node_without_owner_includes_no_system_info(curtin-metadata) (0.19s) SUCCESS: metadataserver.tests.test_api.TestMetadataCommon.test_version_index_does_not_show_user_data_if_not_available(metadata) (0.19s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_resets_status_expires (0.41s) SUCCESS: metadataserver.tests.test_api.TestTestingAPI.test_signaling_testing_with_script_id_sets_script_to_run (0.32s) SUCCESS: metadataserver.tests.test_nodeinituser.TestNodeInitUser.test_node_init_user_has_no_profile (0.04s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateNTPConfiguration.test_external_only_yields_all_ntp_servers_when_defined (0.11s) SUCCESS: metadataserver.tests.test_vendor_data.TestGenerateSystemInfo.test_yields_basic_system_info_when_node_owned_with_default_user (0.14s) SUCCESS: maasserver.api.tests.test_describe.TestDescribeAbsoluteURIs.test_handler_uris_are_absolute(https,script-at-root) (0.07s) SUCCESS: maasserver.api.tests.test_doc.TestDescribeCanonical.test__sorts_mappings (0.01s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_handler_with_maas_handler (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestDescribingAPI.test_describe_resource_anonymous_resource (0.02s) SUCCESS: maasserver.api.tests.test_doc.TestFindingResources.test_urlpatterns_with_resource_hidden (0.01s) SUCCESS: maasserver.api.tests.test_support.TestOperationsHandlerMixin.test__decorate_decorates_anonymous_exports (0.01s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_is_okay(user) (0.01s) SUCCESS: maasserver.api.tests.test_support.TestRestrictedResources.test_authentication_must_be_non_empty(user) (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestExtractBool.test_0_means_False (0.01s) SUCCESS: maasserver.api.tests.test_utils.TestGetOverridedQueryDict.test_expands_dict_fields (0.01s) SUCCESS: maasserver.clusterrpc.tests.test_driver_parameters.TestPowerTypes.test_get_power_driver_types_passes_args_through (0.01s) SUCCESS: maasserver.djangosettings.tests.test_settings.TestTimezoneSettings.test_read_timezone (0.00s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(database_host) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationGet.test__dumps_plain_string_to_stdout(maas_url) (0.01s) SUCCESS: maasserver.management.commands.tests.test_config.TestConfigurationSet_DatabasePort.test__exception_when_port_is_not_an_integer (0.01s) SUCCESS: maasserver.management.commands.tests.test_generate_sample_data.TestGenerateSampleData.test__exists_and_calls_populate (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(25) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(52) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(702) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(25) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(52) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(702) (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_binds_first_successful_of_endpoint_options (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_stopping_when_start_up_failed (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportBootImages.test_report_boot_images_is_registered (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__reset_cancels_in_reactor (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gatherCallResults_returns_use_once_iterator(synchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestUseOnceIterator.test_returns_correct_items_for_list (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(EB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(YB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestMachineReadableBytes.test_suffixes (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestRoundSizeToNearestBlock.test__round_down_removes_block (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestXMLToYAML.test_xml_to_yaml_converts_xml (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__cannot_add_task_to_unstarted_service (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__deferred_task_cannot_be_cancelled_when_running (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__init (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_oversized_hostname (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestIpBasedHostnameGenerator.test_ipv4_numeric (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestIpBasedHostnameGenerator.test_ipv6_text (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestMakeNameFromInterface.test__makes_up_unique_name_if_no_interface_given (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestMakeNameFromInterface.test__passes_name_unchanged (0.01s) SUCCESS: maasserver.utils.tests.test_mac.TestGetVendorForMac.test_get_vendor_for_mac_returns_error_message_if_unknown_mac (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_raises_generic_error_if_other_sequence_is_too_big (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetOne.test_get_one_raises_model_error_if_query_result_is_too_big (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_non_database_error_with_cause_unique_violation (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_operational_error_with_unrelated_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestMakeDeadlockFailure.test__makes_a_deadlock_failure (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPsqlArray.test__returns_cast_to_type (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestInstallFunctions.test__install_database_pool_will_not_work_now (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestInstallFunctions.test__install_default_pool_will_not_work_now (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_database_pool_accepts_max_threads_setting (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_default_pool_accepts_max_threads_setting (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestExtractVersionSubversion.test__returns_version_subversion(with ~) (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASBranchVersion.test__returns_None_if_bzr_crashes (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersion.test__uses_snappy_get_snap_version (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestVersionMethodsCached.test_method_is_cached(get_maas_version) (0.01s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_sets_object_class_based_on_queryset (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_buildProtocol_returns_WebSocketProtocol (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeAcceptRFC (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePartialNoLength (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parseUnmaskedLargeText (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsProtocolWrapperTest.test_getHost (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderNoUpgrade (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesInThread.test__logs_subprocess_output_on_error (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__default(database_pass) (0.01s) SUCCESS: maasserver.tests.test_exceptions.TestMAASAPIValidationError.test_returns_http_response (0.01s) SUCCESS: maasserver.tests.test_exceptions.TestMAASAPIValidationError.test_returns_textual_response_if_message_is_a_string (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_comma_separated_ips (0.01s) SUCCESS: maasserver.tests.test_fields.IPListFormFieldTest.test_rejects_invalid_input (0.01s) SUCCESS: maasserver.tests.test_js.YUIUnitTestsLocal.test_YUI3_unit_tests(src/maasserver/static/js/tests/test_os_distro_select.html)#local:Chrome (0.76s) SUCCESS: maasserver.tests.test_plugin.TestOptions.test_defaults (0.01s) SUCCESS: maasserver.tests.test_plugin.TestRegionServiceMaker.test_makeService (0.03s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_json(plain) (0.01s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_shell(quote) (0.01s) SUCCESS: maasserver.tests.test_webapp.TestCleanPathRequest.test_requestReceived_converts_extra_slashes_to_single (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_doesnt_wrapper_render_if_already_wrapped (0.01s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_raises_error_on_export_p12_error (0.14s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_cert_with_issuer_set_from_subject (0.11s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_load_pem_file_raises_error_on_invalid_cert (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_list_supported_drives_ignores_iscsiadm_timeout (0.01s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_run_badblocks (0.03s) SUCCESS: metadataserver.builtin_scripts.tests.test_badblocks.TestSmartCTL.test_run_nondestructive (0.03s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCKeyPairMethods.test_runs_bmc_config(bmc_get) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection_ppc64el(Supports LAN 2.0) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Leading space, not tab) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Blank line) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Word followed by two spaces) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Two words followed by space) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(ipv4-ipv6) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(dynamic6 with link-local) (4.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(Multiple blank users) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestPickUserNumberFromList.test_user_choice(One not blank user) (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_get_disk_security_info_all_true (0.02s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_is_snippet (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_ip_address_returns_v6_address_if_no_v4_available (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_guess_server_host_finds_IP_address (0.04s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_body_must_be_valid_json (0.02s) SUCCESS: metadataserver.tests.test_api_twisted.TestStatusHandlerResource.test__render_POST_validates_required_keys (0.02s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_with_always_south (111.95s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_block_name_from_idx(0) (0.01s) SUCCESS: maasserver.models.tests.test_blockdevice.TestBlockDeviceBlockNameIdx.test__get_idx_from_block_name(0) (0.01s) SUCCESS: maasserver.models.tests.test_iscsiblockdevice.TestValidateISCSITarget.test__raises_no_errors_with_iscsi_prefix (0.01s) SUCCESS: maasserver.regiondservices.tests.test_ntp.TestRegionNetworkTimeProtocolService_Basic.test_service_iterates_every_30_seconds (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getAllClients (0.02s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_getClientFor_errors_when_no_connections (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_StartTLS.test_get_tls_parameters_returns_parameters (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__fire_propagates_error_from_hook (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__logs_failures_from_cancelled_hooks (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__savepoint_saves_and_restores_hooks (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_without_suffix(TB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestRoundSizeToNearestBlock.test__round_up_adds_extra_block (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__cannot_sync_task_when_queue_is_full (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_accepts_leading_digits (0.01s) SUCCESS: maasserver.utils.tests.test_dns.TestHostnameValidator.test_rejects_trailing_dot (0.01s) SUCCESS: maasserver.utils.tests.test_forms.TestComposeInvalidChoiceText.test_map_enum_includes_all_enum_values (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestGetNameAndVlanFromClusterInterface.test_returns_simple_name_unaltered (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetFirst.test_get_first_does_not_retrieve_beyond_first_item (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2DeadlockException.test__returns_psycopg2_error_root_cause (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_detects_deadlock_failure (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_operational_error_without_cause (0.01s) SUCCESS: maasserver.utils.tests.test_utils.TestBuildAbsoluteURI.test_different_port (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASVersionSubversion.test__returns_unknown_if_version_is_empty_and_not_bzr_branch (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestVersionMethodsCached.test_method_is_cached(get_maas_doc_version) (0.01s) SUCCESS: maasserver.websockets.handlers.tests.test_timestampedmodel.TestTimeStampedModelHandler.test_has_abstract_set_to_true (0.01s) SUCCESS: maasserver.websockets.tests.test_base.TestHandlerMeta.test_copy_fields_and_excludes_doesnt_overwrite_lists_if_set (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_getHandler_returns_DeviceHandler (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_get_SessionEngine_calls_import_module_with_SESSION_ENGINE (0.01s) SUCCESS: maasserver.websockets.tests.test_protocol.TestWebSocketFactory.test_loads_all_handlers (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_maskNoop (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_maskNoopLong (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderNoKey (0.00s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsResourceTest.test_renderPOST (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesService.test__runs_once_an_hour (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__set_and_get(database_host) (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_StatusMonitorService (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_StatusWorkerService (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_accepts_space_separated_hostnames (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_rejects_invalid_ipv4_address (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_separators_dont_conflict_with_ipv6_address (0.01s) SUCCESS: maasserver.tests.test_js.YUIUnitTestsLocal.test_YUI3_unit_tests(src/maasserver/static/js/tests/test_enums.html)#local:Chrome (0.45s) SUCCESS: maasserver.tests.test_security.TestGetSerial.test_that_it_works_eh (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_calls_render_on_underlay_when_no_method (0.01s) SUCCESS: maasserver.tests.test_webapp.TestWebApplicationService.test__stopService_stops_the_service (0.02s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_calls_print_cert_details (0.09s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_get_key_and_cert_returns_cert_with_valid_serial_number (0.31s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_list_supported_drives_ignores_iscsiadm_errors (0.03s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Normal line.) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(Comment line) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestMakeIPMIUserSettings.test_uses_username_and_password (0.01s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_download_and_extract_tar (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_list_disks_calls_lsblk (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_aliased_interface_makes_a_guess_if_no_default (0.01s) SUCCESS: maasserver.management.commands.tests.test_dbupgrade.TestDBUpgrade.test_dbupgrade_without_south (80.86s) SUCCESS: maasserver.rpc.tests.test_module.TestFunctions.test_getClientFor_service_not_running (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_binds_first_of_endpoint_options (0.01s) SUCCESS: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_can_be_cancelled (0.01s) SKIP: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_logs_failure_if_all_endpoint_options_fail (0.00s) SUCCESS: maasserver.rpc.tests.test_regionservice_calls.TestRegionProtocol_ReportBootImages.test_report_boot_images_with_real_things_to_report (0.03s) SUCCESS: maasserver.utils.tests.test_async.TestDeferredHooks.test__is_thread_local (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gatherCallResults_returns_use_once_iterator(asynchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gatherCallResults_yields_call_result_tuples(synchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_async.TestGatherScenarios.test_gather_from_calls_with_errors(synchronous) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(PB) (0.01s) SUCCESS: maasserver.utils.tests.test_converters.TestHumanReadableBytes.test__returns_size_with_suffix(ZB) (0.01s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__cannot_add_task_when_queue_is_full (0.02s) SUCCESS: maasserver.utils.tests.test_dbtasks.TestDatabaseTaskService.test__failure_in_added_task_does_not_crash_service (0.02s) SUCCESS: maasserver.utils.tests.test_interfaces.TestGetNameAndVlanFromClusterInterface.test_returns_with_vlan_tag (0.01s) SUCCESS: maasserver.utils.tests.test_interfaces.TestGetNameAndVlanFromClusterInterface.test_substitutes_colon (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2Exception.test__returns_psycopg2_error_root_cause_for_serialization (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2SerializationException.test__returns_None_for_other_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestGetPsycopg2UniqueViolationException.test__returns_None_for_plain_psycopg2_error (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestIsRetryableFailure.test_rejects_non_database_error_with_cause_serialization (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommit.test__rejects_other_hook_types (0.01s) SUCCESS: maasserver.utils.tests.test_orm.TestPostCommitHooks.test__crashes_on_enter_if_hooks_exist (0.01s) SUCCESS: maasserver.utils.tests.test_threads.TestMakeFunctions.test__make_database_unpool_accepts_max_threads_setting (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestGetMAASBranchVersion.test__returns_None_if_bzr_not_found (0.01s) SKIP: maasserver.utils.tests.test_version.TestGetMAASBranchVersion.test__returns_revno_for_this_branch (0.00s) SUCCESS: maasserver.utils.tests.test_version.TestGetVersionFromAPT.test__returns_ver_str_from_package (0.01s) SUCCESS: maasserver.utils.tests.test_version.TestVersionMethodsCached.test_method_is_cached(get_maas_version_ui) (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_makeMaskedFrame (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.TestFrameHelpers.test_parsePartialTruncatedData (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsTransportTest.test_loseConnection (0.01s) SUCCESS: maasserver.websockets.tests.test_websockets.WebSocketsTransportTest.test_loseConnectionCodeAndReason (0.01s) SUCCESS: maasserver.tests.test_bootresources.TestImportResourcesService.test__calls__maybe_import_resources (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_set_and_get_maas_url (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfiguration.test_set_maas_url_accepts_hostnames (0.01s) SUCCESS: maasserver.tests.test_config.TestRegionConfigurationDatabaseOptions.test__default(database_host) (0.01s) SUCCESS: maasserver.tests.test_eventloop.TestFactories.test_make_ImportResourcesService (0.01s) SUCCESS: maasserver.tests.test_fields.HostListFormFieldTest.test_rejects_invalid_ipv6_address (0.01s) SUCCESS: maasserver.tests.test_js.YUIUnitTestsLocal.test_YUI3_unit_tests(src/maasserver/static/js/tests/test_prefs.html)#local:Chrome (0.73s) SUCCESS: maasserver.tests.test_preseed.TestPreseedTemplate.test_escape_shell(double) (0.01s) SUCCESS: maasserver.tests.test_webapp.TestOverlaySite.test_getResourceFor_wraps_render_wo_underlay_raises_no_method (0.01s) SUCCESS: maasserver.tests.test_x509.TestWinRMX509.test_create_cert_raises_error_on_file_already_exists (0.08s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_list_supported_drives (0.04s) SUCCESS: metadataserver.builtin_scripts.tests.test_smartctl.TestSmartCTL.test_run_smartctl_selftest_sets_failure_on_exec_fail_test_start (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCSupportsLANPlus.test_support_detection(Supports LAN 2.0) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestBMCUserGet.test_matching(More than two words) (0.01s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(link-local) (4.02s) SUCCESS: snippets.tests.test_maas_ipmi_autodetect.TestListUserNumbers.test_empty (0.01s) SUCCESS: snippets.tests.test_maas_moonshot_autodetect.TestGetIPMIIPAddress.test_get_ipmi_ip_address(none) (0.01s) SUCCESS: snippets.tests.test_maas_run_remote_scripts.TestMaasRunRemoteScripts.test_run_scripts_signals_timeout (0.01s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_secure_erase_fails_if_not_enabled (0.02s) SUCCESS: snippets.tests.test_maas_wipe.TestMAASWipe.test_try_secure_erase_enabled (0.01s) SUCCESS: metadataserver.user_data.tests.test_snippets.TestSnippets.test_strip_name_replaces_dots (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_find_default_interface_makes_a_guess_if_no_default (0.01s) SUCCESS: metadataserver.tests.test_address.TestAddress.test_get_command_output_executes_command (0.02s) SKIP: metadataserver.tests.test_address.TestAddress.test_get_ip_address_finds_IP_address_of_interface (0.00s) ====================================================================== ERROR: maasserver.dns.tests.test_zonegenerator.TestZoneGenerator.test_supernet_inherits_rfc2317_net ---------------------------------------------------------------------- Traceback (most recent call last): testtools.testresult.real._StringException: Empty attachments: Twisted logs Traceback (most recent call last): File "/tmp/tarmac/branch.sjD8b6/src/maastesting/runtest.py", line 134, in _run_user result = function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.5.egg/testtools/testcase.py", line 719, in _run_test_method return self._get_test_method()() File "/tmp/tarmac/branch.sjD8b6/src/maasserver/dns/tests/test_zonegenerator.py", line 490, in test_supernet_inherits_rfc2317_net factory.make_StaticIPAddress(interface=boot_iface, subnet=subnet1) File "/tmp/tarmac/branch.sjD8b6/src/maasserver/testing/factory.py", line 884, in make_StaticIPAddress ipaddress.save() File "/tmp/tarmac/branch.sjD8b6/src/maasserver/models/cleansave.py", line 29, in save return super(CleanSave, self).save(*args, **kwargs) File "/tmp/tarmac/branch.sjD8b6/src/maasserver/models/timestampedmodel.py", line 85, in save return super(TimestampedModel, self).save(*args, **kwargs) File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 734, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 771, in save_base update_fields=update_fields, raw=raw, using=using) File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 189, in send response = receiver(signal=self, sender=sender, **named) File "/tmp/tarmac/branch.sjD8b6/src/maasserver/models/signals/staticipaddress.py", line 129, in post_save_check_range_utilization instance.subnet.update_allocation_notification() File "/tmp/tarmac/branch.sjD8b6/src/maasserver/models/subnet.py", line 870, in update_allocation_notification statistics = IPRangeStatistics(full_iprange) File "/tmp/tarmac/branch.sjD8b6/src/provisioningserver/utils/network.py", line 257, in __init__ self.suggested_dynamic_range = self.get_recommended_dynamic_range() File "/tmp/tarmac/branch.sjD8b6/src/provisioningserver/utils/network.py", line 331, in get_recommended_dynamic_range purpose=IPRANGE_TYPE.PROPOSED_DYNAMIC) File "/tmp/tarmac/branch.sjD8b6/src/provisioningserver/utils/network.py", line 118, in __init__ super(MAASIPRange, self).__init__(start, end, flags=flags) File "/usr/lib/python3/dist-packages/netaddr/ip/__init__.py", line 1355, in __init__ raise AddrFormatError('lower bound IP greater than upper bound!') netaddr.core.AddrFormatError: lower bound IP greater than upper bound! ====================================================================== FAIL: maasserver.api.tests.test_maas.TestForbiddenNames.test_forbidden_names ---------------------------------------------------------------------- Traceback (most recent call last): testtools.testresult.real._StringException: Empty attachments: Twisted logs Traceback (most recent call last): File "/tmp/tarmac/branch.sjD8b6/src/maastesting/runtest.py", line 134, in _run_user result = function(*args, **kwargs) File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.5.egg/testtools/testcase.py", line 719, in _run_test_method return self._get_test_method()() File "/tmp/tarmac/branch.sjD8b6/src/maasserver/api/tests/test_maas.py", line 54, in test_forbidden_names Equals(FORBIDDEN_NAMES)) File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.5.egg/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = {'active_discovery_last_scan', 'commissioning_osystem', 'omapi_key', 'rpc_region_certificate', 'rpc_shared_secret'} actual = {'active_discovery_last_scan', 'commissioning_osystem', 'omapi_key', 'rpc_region_certificate', 'rpc_shared_secret', 'subnet_ip_exhaustion_threshold_count'} Ran 15572 tests in 699.393s FAILED (failures=2) Makefile:230: recipe for target 'test' failed sudo: unable to resolve host juju-prod-cdo-maas-machine-6 sudo: unable to resolve host juju-prod-cdo-maas-machine-6 sudo: unable to resolve host juju-prod-cdo-maas-machine-6 Makefile:435: 'distclean' is deprecated; use 'clean' no previously-included directories found matching 'doc' no previously-included directories found matching 'old-tutorial' bzr: ERROR: Not a branch: "/tmp/tarmac/branch.sjD8b6/". make: *** [test] Error 2