Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32609

update_test_lifecycle fails when a test group does not have historical data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      TIG 2018-1-29
    • Linked BF Score:
      0

      Description

      A ValueError: min() arg is an empty sequence exception is raised when a Report (from test_failures.py) is created with an empty list of report entries.
      In update_test_lifecycle.py, a Report is created for each test group. If the test group does not have historical data for the period, the report entries list will be empty, triggering the error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yves.duhem Yves Duhem
              Reporter:
              yves.duhem Yves Duhem
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: