Undesirable LOG in tests output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sirushti Murugesan | ||
Liberty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Heat tests job for py34 passes with strange output:
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/
msg = self.format(record)
File "/usr/lib/
return fmt.format(record)
File "/usr/lib/
record.exc_text = self.formatExce
File "/usr/lib/
traceback.
File "/usr/lib/
for line in _format_
File "/usr/lib/
for value, tb in values:
File "/usr/lib/
context = exc.__context__
AttributeError: 'NoneType' object has no attribute '__context__'
After investigation, I can say, that it happens only for two tests:
test_delete_
test_update_
in test_resource module.
It happens only for LOG.exception line. If use another type error, warn, etc it will not report any strange logs, but I don't think, that it's right solution.
Changed in heat: | |
status: | New → Triaged |
Changed in heat: | |
importance: | Low → Medium |
tags: | added: convergence-bugs |
Changed in heat: | |
milestone: | none → mitaka-1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/232315
Review: https:/