[testrail] Reporter fails while uploading results of template based tests: "KeyError: 'details'"

Bug #1521516 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Panchenko

Bug Description

Reporter script fails while uploading tests results of template based cases to TestRail:

Traceback (most recent call last):
  File "fuelweb_test/testrail/report.py", line 699, in <module>
    main()
  File "fuelweb_test/testrail/report.py", line 605, in main
    tests_results[os].extend(get_tests_results(systest_build, os))
  File "fuelweb_test/testrail/report.py", line 112, in wrapper
    return func(*args, **kwargs)
  File "fuelweb_test/testrail/report.py", line 304, in get_tests_results
    stack=step['errorStackTrace'])
KeyError: 'details'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Panchenko (apanchenko-8)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/251705
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=91c39342ee25711e398b2132d01d4d27f59194aa
Submitter: Jenkins
Branch: master

commit 91c39342ee25711e398b2132d01d4d27f59194aa
Author: Artem Panchenko <email address hidden>
Date: Tue Dec 1 10:38:06 2015 +0200

    Fix key error in string formatting

    Change-Id: Ib8ba3d69e9911db475a17e65623227dcb79e64fe
    Closes-bug: #1521516

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
Changed in fuel:
status: Fix Committed → Fix Released
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.