[SERVER-32609] update_test_lifecycle fails when a test group does not have historical data Created: 09/Jan/18  Updated: 30/Oct/23  Resolved: 12/Jan/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.3, 3.7.1

Type: Bug Priority: Major - P3
Reporter: Yves Duhem Assignee: Yves Duhem
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-32632 Update test_lifecycle needs to handle... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: TIG 2018-1-29
Participants:
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.



 Comments   
Comment by Githook User [ 19/Jan/18 ]

Author:

{'name': 'Yves Duhem', 'username': 'syev', 'email': 'yves.duhem@mongodb.com'}

Message: SERVER-32609 Skip reports with no historical data

(cherry picked from commit 427d09d191ba7fd6187eff01ab522ed5b0714f28)
Branch: v3.6
https://github.com/mongodb/mongo/commit/9f1572968e8874c65a9054175fe3a953f09a68b6

Comment by Githook User [ 12/Jan/18 ]

Author:

{'email': 'yves.duhem@mongodb.com', 'name': 'Yves Duhem', 'username': 'syev'}

Message: SERVER-32609 Skip reports with no historical data
Branch: master
https://github.com/mongodb/mongo/commit/427d09d191ba7fd6187eff01ab522ed5b0714f28

Generated at Thu Feb 08 04:30:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.