[SERVER-28286] burn_in_tests.py can break compile when find_last_activated_task returns None Created: 13/Mar/17  Updated: 23/Mar/17  Resolved: 13/Mar/17

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

Type: Bug Priority: Blocker - P1
Reporter: Ramon Fernandez Marina Assignee: Max Hirschhorn
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-27683 burn_in_tests.py script doesn't handl... Closed
Operating System: ALL
Participants:

 Description   

burn_in_tests.py has a function called find_last_activated_task that gets called here, but find_last_activated_task can return None producing:

[2017/03/12 20:51:22.994] python buildscripts/burn_in_tests.py --branch=master --buildVariant=enterprise-rhel-67-s390x --testListOutfile=jstests/new_tests.json --noExec $burn_in_args
 [2017/03/12 20:52:07.552] Comparing current branch against None
 [2017/03/12 20:52:07.553] Traceback (most recent call last):
 [2017/03/12 20:52:07.553]   File "buildscripts/burn_in_tests.py", line 468, in <module>
 [2017/03/12 20:52:07.553]     main()
 [2017/03/12 20:52:07.553]   File "buildscripts/burn_in_tests.py", line 431, in main
 [2017/03/12 20:52:07.553]     values.check_evergreen)
 [2017/03/12 20:52:07.553]   File "buildscripts/burn_in_tests.py", line 206, in find_changed_tests
 [2017/03/12 20:52:07.553]     revisions = callo(["git", "rev-list", base_commit + "..." + last_activated]).splitlines()
 [2017/03/12 20:52:07.553] TypeError: cannot concatenate 'str' and 'NoneType' objects
 [2017/03/12 20:52:07.588] Command failed: exit status 1
 [2017/03/12 20:52:07.588] Task completed - FAILURE.

This breaks the compile task.


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