tempestmail.py fails in rdo phase 2 jobs

Bug #1772522 reported by Matt Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Arx Cruz

Bug Description

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": []}

Tags: ci quickstart
Matt Young (halcyondude)
Changed in tripleo:
importance: Undecided → Medium
Changed in tripleo:
milestone: rocky-2 → rocky-3
wes hayutin (weshayutin)
Changed in tripleo:
assignee: nobody → Arx Cruz (arxcruz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.openstack.org/581695

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/581695
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=8968a530f5c37959445b1731b4beae1db422a173
Submitter: Zuul
Branch: master

commit 8968a530f5c37959445b1731b4beae1db422a173
Author: Arx Cruz <email address hidden>
Date: Wed Jul 11 08:39:32 2018 -0300

    Fix tempestmail regex

    Before, all the tests were in tempest, and so the patch were always
    tempest.x.y.tests, now that each project has their own tempest tests,
    the regex needs to be updated, since we can have now
    project_tempest_tests.x.y.tests.

    Change-Id: If1df89e577b93267905f6ca9ca9bd4aab647c8a1
    Closes-Bug: 1772522

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.