tempestmail.py appears to have been failing for quite some time (weeks to months)
Example (but any job in rdo2 will have this...)
https://thirdparty.logs.rdoproject.org/jenkins-periodic-master-rdo_trunk-featureset020-1ctlr_1comp_64gb-50/console.txt.gz#_2018-05-19_04_53_03_527
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": "LOG_PATH='https://thirdparty-logs.rdoproject.org/jenkins-periodic-master-rdo_trunk-featureset020-1ctlr_1comp_64gb-50' ./tempestmail.py -c config.yaml --job \"periodic-master-rdo_trunk-featureset020-1ctlr_1comp_64gb\" --file \"/home/stack/tempest_output.log\" --log-url \"http://logs.openstack.org\" --skip-file \"/home/stack/tempestmail/tempest_skip_master.yml\"", "delta": "0:00:00.459670", "end": "2018-05-19 04:53:03.174685", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-05-19 04:53:02.715015", "stderr": "2018-05-19 04:53:03,074 DEBUG tempestmail.TempestMail: Loading configuration
Traceback (most recent call last):
File \"./tempestmail.py\", line 406, in <module>
sys.exit(main())
File \"./tempestmail.py\", line 402, in main
tmc.checkJobs()
File \"./tempestmail.py\", line 335, in checkJobs
d = self.get_data(console, date, link)
File \"./tempestmail.py\", line 295, in get_data
fails, ok, errors = get_tests_results(console)
File \"./tempestmail.py\", line 74, in get_tests_results
for l in console.splitlines() if OK in l]
AttributeError: 'NoneType' object has no attribute 'group'", "stderr_lines": ["2018-05-19 04:53:03,074 DEBUG tempestmail.TempestMail: Loading configuration", "Traceback (most recent call last):", " File \"./tempestmail.py\", line 406, in <module>", " sys.exit(main())", " File \"./tempestmail.py\", line 402, in main", " tmc.checkJobs()", " File \"./tempestmail.py\", line 335, in checkJobs", " d = self.get_data(console, date, link)", " File \"./tempestmail.py\", line 295, in get_data", " fails, ok, errors = get_tests_results(console)", " File \"./tempestmail.py\", line 74, in get_tests_results", " for l in console.splitlines() if OK in l]", "AttributeError: 'NoneType' object has no attribute 'group'"], "stdout": "", "stdout_lines": []}
Fix proposed to branch: master /review. openstack. org/581695
Review: https:/