test_rescue_preserve_disk_on_failure unittest broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Soren Hansen | ||
oslo-incubator |
Fix Released
|
High
|
Soren Hansen |
Bug Description
One of following commits broke unittests. I am not quite sure how it's related, but they are broken ever since these changes were merged.
https:/
https:/
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests
=======
FAIL: nova.tests.
tags: worker-0
-------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
Loading network driver 'nova.network.
Loading network driver 'nova.network.
Loading network driver 'nova.network.
glance.upload_vhd attempt 1/1
}}}
Traceback (most recent call last):
File "nova/tests/
lambda *args, **kwargs: None)
File "/home/
self.
File "/home/
raise MismatchError(
MismatchError: <bound method XenAPIDriver.
=======
FAIL: nova.tests.
tags: worker-0
-------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
Loading network driver 'nova.network.
Loading network driver 'nova.network.
Loading network driver 'nova.network.
glance.download_vhd attempt 1/1
glance.download_vhd attempt 1/1
Failed to spawn, rolling back
Traceback (most recent call last):
File "nova/virt/
boot_
File "nova/virt/
rv = f(*args, **kwargs)
File "nova/virt/
self.
File "nova/tests/
raise test.TestingExc
TestingException: Start Error
VM already halted, skipping shutdown...
['HANDLE_INVALID', 'VDI', '8c985bc1-
Traceback (most recent call last):
File "nova/virt/
session.
File "nova/virt/
return session.
File "nova/virt/
return meth(*full_params)
File "nova/virt/
return lambda *params: self._destroy(name, params)
File "nova/virt/
raise Failure(
Failure: ['HANDLE_INVALID', 'VDI', '8c985bc1-
Unable to destroy VDI 8c985bc1-
}}}
Traceback (most recent call last):
File "nova/tests/
self.
File "/home/
self.
File "/home/
raise MismatchError(
MismatchError: !=:
reference = '62ba4799-
actual = '8a4dcae5-
=======
FAIL: process-returncode
tags: worker-0
-------
Binary content:
traceback (test/plain; charset="utf8")
Ran 19145 tests in 2223.014s
FAILED (id=0, failures=3, skips=12)
error: testr failed (1)
ERROR: InvocationError: '/home/
Changed in oslo: | |
status: | New → In Progress |
importance: | Undecided → Critical |
importance: | Critical → High |
assignee: | nobody → Soren Hansen (soren) |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-1 → 2014.1 |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
Change https:/ /github. com/openstack/ nova/commit/ eaf5636544a9b2a e1e87f74d0cdb98 9f8a41b008 is broken (but the code before was broken too). There's bug 1239890 open for it with a fix.
It doesn't look likely that it's got anything to do with this failure unfortunately :(