StarlingX Fault Management
f9ae82009b
issue: in ~/fm-doc/fm_doc/check_missing_alarms.py, there is a for-loop iterating the dict "events", however inside this loop, some elements are being popped out, and elements with new keys are being added dynamically. This is not safe and would bring unpredictable behavior with different versions of Python and "Collections". check_missing_alarms.py is triggered to run at Build stage (defined in fm-doc.spec) when generating "fm-doc.*.tis.rpm". Test for fix: 1. rebuild on "fm-doc.*.tis.rpm" by "# build-pkgs fm-doc" 2. check the rpm build log and assure the code be executed correctly with expected check results. 3. run this script with different Python versions on other Linux hosts and assure it works well. Closes-Bug: 1809064 Change-Id: Ieb07ae944037c2eb33dda414e870702a9d248d83 Signed-off-by: yhu6 <yong.hu@intel.com> |
||
---|---|---|
api-ref/source | ||
devstack | ||
doc | ||
fm-api | ||
fm-common | ||
fm-doc | ||
fm-mgr | ||
fm-rest-api | ||
python-fmclient | ||
releasenotes | ||
snmp-audittrail | ||
snmp-ext | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
centos_iso_image.inc | ||
centos_pike_wheels.inc | ||
centos_pkg_dirs | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
stx-fault
StarlingX Fault Management