Failing unit test in Jenkins (test_excepthook_logs_exception)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
New
|
Undecided
|
Unassigned |
Bug Description
With this code submission:
https:/
The following unit test is failing in Jenkins:
10:39:24 =======
10:39:24 FAIL: test_excepthook
10:39:24 -------
10:39:24 Traceback (most recent call last):
10:39:24 File "/home/
test_excepthook
10:39:24 msg="Exception is not logged")
10:39:24 AssertionError: Exception is not logged
10:39:24 'Exception is not logged' = self._formatMes
10:39:24 >> raise self.failureExc
Reproducing on my desktop, and adding some debug gives:
=======
FAIL: test_excepthook
-------
Traceback (most recent call last):
File "/home/
msg="Exception is not logged")
AssertionError: Exception is not logged
'Exception is not logged' = self._formatMes
> > raise self.failureExc
-------
XXX err is: Traceback (most recent call last): <<<
File "<stdin>", line 3, in <module> <<<
ImportError: No module named common <<<
If, as suggested by Mark McLoughlin, I remove the openstack nose plugin on my desktop the
test runs ok.
affects: | openstack-common → oslo |
I'm pretty sure this will be fixed by https:/ /review. openstack. org/16752
i.e. we won't notice the openstack. nose_plugin anymore
If you try this out, make sure to blow away your .tox before testing