Traceback (most recent call last):
File "/run/build/maas/src/maasserver/node_action.py", line 490, in _execute
self.node.distro_series)
File "/run/build/maas/src/maasserver/utils/osystems.py", line 565, in validate_hwe_kernel
raise ValidationError('%s has no kernels available.' % distro_series)
django.core.exceptions.ValidationError: ['bionic has no kernels available.']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/run/build/maas/src/maastesting/runtest.py", line 138, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/testcase.py", line 719, in _run_test_method
return self._get_test_method()()
File "/run/build/maas/src/maasserver/tests/test_node_action.py", line 602, in test_Deploy_starts_node
Deploy(node, user, request).execute()
File "/run/build/maas/src/maasserver/node_action.py", line 172, in execute
self._execute(*args, **kwargs)
File "/run/build/maas/src/maasserver/node_action.py", line 493, in _execute
raise NodeActionError(e)
maasserver.exceptions.NodeActionError: bionic has no kernels available.
======================================================================
ERROR: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_allocates_node_if_node_not_already_allocated
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
Twisted logs
Traceback (most recent call last):
File "/run/build/maas/src/maasserver/node_action.py", line 490, in _execute
self.node.distro_series)
File "/run/build/maas/src/maasserver/utils/osystems.py", line 565, in validate_hwe_kernel
raise ValidationError('%s has no kernels available.' % distro_series)
django.core.exceptions.ValidationError: ['bionic has no kernels available.']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/run/build/maas/src/maastesting/runtest.py", line 138, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/testcase.py", line 719, in _run_test_method
return self._get_test_method()()
File "/run/build/maas/src/maasserver/tests/test_node_action.py", line 836, in test_Deploy_allocates_node_if_node_not_already_allocated
action.execute()
File "/run/build/maas/src/maasserver/node_action.py", line 172, in execute
self._execute(*args, **kwargs)
File "/run/build/maas/src/maasserver/node_action.py", line 493, in _execute
raise NodeActionError(e)
maasserver.exceptions.NodeActionError: bionic has no kernels available.
-------------------- >> begin captured logging << --------------------
maas.node: info: HUt2wpeBTOj3udHe6Sq0: Status transition from READY to ALLOCATED
maas.node: info: HUt2wpeBTOj3udHe6Sq0: allocated to user +a-OeoOSfi
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_doesnt_set_osystem_and_series_if_os_missing
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
Twisted logs
Traceback (most recent call last):
File "/run/build/maas/src/maastesting/runtest.py", line 138, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/runtest.py", line 224, in _raise_force_fail_error
raise AssertionError("Forced Test Failure")
AssertionError: Forced Test Failure
======================================================================
FAIL: maasserver.tests.test_node_action.TestDeployAction.test_Deploy_raises_NodeActionError_for_no_curtin_config
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
Twisted logs
Traceback (most recent call last):
File "/run/build/maas/src/maastesting/runtest.py", line 138, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/testcase.py", line 719, in _run_test_method
return self._get_test_method()()
File "/run/build/maas/src/maasserver/tests/test_node_action.py", line 624, in test_Deploy_raises_NodeActionError_for_no_curtin_config
"Failed to retrieve curtin config: error", str(error))
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/ubuntu/.buildout/eggs/testtools-2.2.0-py3.6.egg/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = 'Failed to retrieve curtin config: error'
actual = 'bionic has no kernels available.'
Ran 19215 tests in 1706.597s
FAILED (failures=5)
Makefile:275: recipe for target 'test' failed
make: *** [test] Error 2
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ node_action. TestDeployActio n.test_ Deploy_ starts_ node ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Empty attachments:
ERROR: maasserver.
-------
Traceback (most recent call last):
testtools.
Twisted logs
Traceback (most recent call last): maas/src/ maasserver/ node_action. py", line 490, in _execute node.distro_ series) maas/src/ maasserver/ utils/osystems. py", line 565, in validate_hwe_kernel core.exceptions .ValidationErro r: ['bionic has no kernels available.']
File "/run/build/
self.
File "/run/build/
raise ValidationError('%s has no kernels available.' % distro_series)
django.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): maas/src/ maastesting/ runtest. py", line 138, in _run_user ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /testcase. py", line 719, in _run_test_method test_method( )() maas/src/ maasserver/ tests/test_ node_action. py", line 602, in test_Deploy_ starts_ node maas/src/ maasserver/ node_action. py", line 172, in execute _execute( *args, **kwargs) maas/src/ maasserver/ node_action. py", line 493, in _execute exceptions. NodeActionError : bionic has no kernels available. ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ node_action. TestDeployActio n.test_ Deploy_ allocates_ node_if_ node_not_ already_ allocated ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Empty attachments:
File "/run/build/
result = function(*args, **kwargs)
File "/home/
return self._get_
File "/run/build/
Deploy(node, user, request).execute()
File "/run/build/
self.
File "/run/build/
raise NodeActionError(e)
maasserver.
=======
ERROR: maasserver.
-------
Traceback (most recent call last):
testtools.
Twisted logs
Traceback (most recent call last): maas/src/ maasserver/ node_action. py", line 490, in _execute node.distro_ series) maas/src/ maasserver/ utils/osystems. py", line 565, in validate_hwe_kernel core.exceptions .ValidationErro r: ['bionic has no kernels available.']
File "/run/build/
self.
File "/run/build/
raise ValidationError('%s has no kernels available.' % distro_series)
django.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): maas/src/ maastesting/ runtest. py", line 138, in _run_user ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /testcase. py", line 719, in _run_test_method test_method( )() maas/src/ maasserver/ tests/test_ node_action. py", line 836, in test_Deploy_ allocates_ node_if_ node_not_ already_ allocated execute( ) maas/src/ maasserver/ node_action. py", line 172, in execute _execute( *args, **kwargs) maas/src/ maasserver/ node_action. py", line 493, in _execute exceptions. NodeActionError : bionic has no kernels available.
File "/run/build/
result = function(*args, **kwargs)
File "/home/
return self._get_
File "/run/build/
action.
File "/run/build/
self.
File "/run/build/
raise NodeActionError(e)
maasserver.
------- ------- ------ >> begin captured logging << ------- ------- ------ e6Sq0: Status transition from READY to ALLOCATED e6Sq0: allocated to user +a-OeoOSfi ------- ------- >> end captured logging << ------- ------- ------- ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ node_action. TestDeployActio n.test_ Deploy_ doesnt_ set_osystem_ and_series_ if_os_missing ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Empty attachments:
maas.node: info: HUt2wpeBTOj3udH
maas.node: info: HUt2wpeBTOj3udH
-------
=======
FAIL: maasserver.
-------
Traceback (most recent call last):
testtools.
Twisted logs
Failed expectation: {{{MismatchError: 'ubuntu' != ''}}}
Failed expectation-1: {{{MismatchError: 'bionic' != ''}}}
Traceback (most recent call last): maas/src/ maastesting/ runtest. py", line 138, in _run_user ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /runtest. py", line 224, in _raise_ force_fail_ error "Forced Test Failure") ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ node_action. TestDeployActio n.test_ Deploy_ doesnt_ set_osystem_ and_series_ if_series_ missing ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Empty attachments:
File "/run/build/
result = function(*args, **kwargs)
File "/home/
raise AssertionError(
AssertionError: Forced Test Failure
=======
FAIL: maasserver.
-------
Traceback (most recent call last):
testtools.
Twisted logs
Failed expectation: {{{MismatchError: 'ubuntu' != ''}}}
Failed expectation-1: {{{MismatchError: 'bionic' != ''}}}
Traceback (most recent call last): maas/src/ maastesting/ runtest. py", line 138, in _run_user ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /runtest. py", line 224, in _raise_ force_fail_ error "Forced Test Failure") ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ node_action. TestDeployActio n.test_ Deploy_ raises_ NodeActionError _for_no_ curtin_ config ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Empty attachments:
File "/run/build/
result = function(*args, **kwargs)
File "/home/
raise AssertionError(
AssertionError: Forced Test Failure
=======
FAIL: maasserver.
-------
Traceback (most recent call last):
testtools.
Twisted logs
Traceback (most recent call last): maas/src/ maastesting/ runtest. py", line 138, in _run_user ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /testcase. py", line 719, in _run_test_method test_method( )() maas/src/ maasserver/ tests/test_ node_action. py", line 624, in test_Deploy_ raises_ NodeActionError _for_no_ curtin_ config ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) ubuntu/ .buildout/ eggs/testtools- 2.2.0-py3. 6.egg/testtools /testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: !=:
File "/run/build/
result = function(*args, **kwargs)
File "/home/
return self._get_
File "/run/build/
"Failed to retrieve curtin config: error", str(error))
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
reference = 'Failed to retrieve curtin config: error'
actual = 'bionic has no kernels available.'
Ran 19215 tests in 1706.597s
FAILED (failures=5)
Makefile:275: recipe for target 'test' failed
make: *** [test] Error 2