To fix the devel env, you need to merge trunk and then "make distclean". The following tests are all broken in your branch: ====================================================================== ERROR: maasserver.tests.test_preseed.TestPreseedMethods.test_get_preseed_returns_default_preseed ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 525, in test_get_preseed_returns_default_preseed preseed = get_preseed(node) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestPreseedProxy.test_preseed_uses_configured_proxy ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 513, in test_preseed_uses_configured_proxy factory.make_node(), PRESEED_TYPE.DEFAULT, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestPreseedProxy.test_preseed_uses_default_proxy ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 502, in test_preseed_uses_default_proxy factory.make_node(), PRESEED_TYPE.DEFAULT, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestPreseedURLs.test_compose_preseed_url_links_to_preseed_for_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 557, in test_compose_preseed_url_links_to_preseed_for_node (httplib.OK, get_preseed(node)), File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestRenderPreseed.test_get_preseed_uses_nodegroup_maas_url ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 441, in test_get_preseed_uses_nodegroup_maas_url preseed = render_preseed(node, self.preseed, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestRenderPreseed.test_render_preseed ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 429, in test_render_preseed preseed = render_preseed(node, self.preseed, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestRenderPreseedArchives.test_render_preseed_uses_default_archives_arm ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 488, in test_render_preseed_uses_default_archives_arm preseed = render_preseed(node, PRESEED_TYPE.DEFAULT, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_preseed.TestRenderPreseedArchives.test_render_preseed_uses_default_archives_intel ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 479, in test_render_preseed_uses_default_archives_intel preseed = render_preseed(node, PRESEED_TYPE.DEFAULT, "precise") File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ====================================================================== ERROR: maasserver.tests.test_views_nodes.NodePreseedViewTest.test_preseedview_node_displays_link_to_view_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_views_nodes.py", line 694, in test_preseedview_node_displays_link_to_view_node response = self.client.get(node_preseed_link) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 439, in get response = super(Client, self).get(path, data=data, **extra) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 244, in get return self.request(**r) File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall -------------------- >> begin captured logging << -------------------- maas.maasserver: ERROR: ################################ Exception: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ################################ maas.maasserver: ERROR: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall django.request: ERROR: Internal Server Error: /nodes/node-7ba93558-a7f3-11e2-8b9a-002215205ce8/preseedview/ Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: maasserver.tests.test_views_nodes.NodePreseedViewTest.test_preseedview_node_displays_preseed_data ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_views_nodes.py", line 678, in test_preseedview_node_displays_preseed_data response = self.client.get(node_preseed_link) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 439, in get response = super(Client, self).get(path, data=data, **extra) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 244, in get return self.request(**r) File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall -------------------- >> begin captured logging << -------------------- maas.maasserver: ERROR: ################################ Exception: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall ################################ maas.maasserver: ERROR: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall django.request: ERROR: Internal Server Error: /nodes/node-7c424fd6-a7f3-11e2-8b9a-002215205ce8/preseedview/ Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 48, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/detail.py", line 99, in get context = self.get_context_data(object=self.object) File "/home/ed/canonical/maas/sandbox/src/maasserver/views/nodes.py", line 222, in get_context_data context['preseed'] = mark_safe(get_preseed(node)) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 80, in get_preseed release=node.get_distro_series()) File "/home/ed/canonical/maas/sandbox/src/maasserver/preseed.py", line 306, in render_preseed return template.substitute(**context) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 177, in substitute result = self._interpret_inherit(result, defs, inherit, ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 204, in _interpret_inherit return templ.substitute(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 173, in substitute result, defs, inherit = self._interpret(ns) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 184, in _interpret self._interpret_codes(self._parsed, ns, out=parts, defs=defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 212, in _interpret_codes self._interpret_code(item, ns, out, defs) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 218, in _interpret_code self._exec(code[2], ns, pos) File "/usr/lib/python2.7/dist-packages/tempita/__init__.py", line 312, in _exec exec code in self.default_namespace, ns File "", line 12, in TypeError: coercing to Unicode: need string or buffer, NoneType found at line 1 column 3 in file /home/ed/canonical/maas/sandbox/contrib/preseeds_v2/preseed_xinstall --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: maasserver.tests.test_preseed.TestPreseedContext.test_preseed_context_null_cluster_host_if_unmanaged ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/maasserver/tests/test_preseed.py", line 381, in test_preseed_context_null_cluster_host_if_unmanaged self.assertIsNone(context["cluster_host"]) MismatchError: None is not '181.71.90.77' ====================================================================== ERROR: provisioningserver.pxe.tests.test_install_image.TestInstallPXEImage.test_install_dir_moves_dir_into_place ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/provisioningserver/pxe/tests/test_install_image.py", line 159, in test_install_dir_moves_dir_into_place install_dir(download_image, published_image) TypeError: install_dir() takes exactly 3 arguments (2 given) ====================================================================== ERROR: provisioningserver.pxe.tests.test_install_image.TestInstallPXEImage.test_install_dir_normalises_permissions ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/provisioningserver/pxe/tests/test_install_image.py", line 205, in test_install_dir_normalises_permissions install_dir(new_dir.path, target_dir.path) TypeError: install_dir() takes exactly 3 arguments (2 given) ====================================================================== ERROR: provisioningserver.pxe.tests.test_install_image.TestInstallPXEImage.test_install_dir_replaces_existing_dir ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/provisioningserver/pxe/tests/test_install_image.py", line 171, in test_install_dir_replaces_existing_dir install_dir(download_image, published_image) TypeError: install_dir() takes exactly 3 arguments (2 given) ====================================================================== ERROR: provisioningserver.pxe.tests.test_install_image.TestInstallPXEImage.test_install_dir_sweeps_aside_dot_new_and_dot_old_if_any ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ed/canonical/maas/sandbox/src/provisioningserver/pxe/tests/test_install_image.py", line 189, in test_install_dir_sweeps_aside_dot_new_and_dot_old_if_any install_dir(download_image, published_image) TypeError: install_dir() takes exactly 3 arguments (2 given)