new version of construct lib breaks exception handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic Inspector |
Fix Released
|
Undecided
|
Bob Fournier |
Bug Description
Version 2.8.22 of construct has introduced a change to the core exception handling. The FieldError exception is no longer supported. As ironic-inspector was handling this exception explicitly it results in the following ironic-inspector test failures.
ironic_
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/
return func(*args, **keywargs)
File "ironic_
File "ironic_
nv = self._parse_
File "ironic_
if parser.
File "ironic_
except (core.RangeError, core.FieldError, core.MappingError,
AttributeError: 'module' object has no attribute 'FieldError'
The explicit exception handling on parsing the lldp data is not required and this should be replaced by a general exception handler.
Changed in ironic-inspector: | |
assignee: | nobody → Bob Fournier (bfournie) |
Fix proposed to branch: master /review. openstack. org/537627
Review: https:/