[SERVER-30872] "List index out of range" error on test timeout in resmoke.py + tests showing up twice on EVG sidebar Created: 29/Aug/17  Updated: 30/Oct/23  Resolved: 09/Oct/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.5.12
Fix Version/s: 3.6.0-rc0

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

Issue Links:
Duplicate
is duplicated by SERVER-31220 Resmoke can crash if an interrupt hap... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2017-10-02, TIG 2017-10-23
Participants:

 Description   

Resmoke.py can throw this error on test timeout:

[2017/08/29 01:29:48.774] [resmoke] 2017-08-29T01:29:48.774+0000 ================================================================================
[2017/08/29 01:29:48.908] Traceback (most recent call last):
[2017/08/29 01:29:48.908]   File "buildscripts/resmoke.py", line 186, in <module>
[2017/08/29 01:29:48.908]     main()
[2017/08/29 01:29:48.908]   File "buildscripts/resmoke.py", line 165, in main
[2017/08/29 01:29:48.908]     suite.get_name(), _summarize_suite(suite))
[2017/08/29 01:29:48.908]   File "buildscripts/resmoke.py", line 80, in _summarize_suite
[2017/08/29 01:29:48.909]     suite.summarize(sb)
[2017/08/29 01:29:48.909]   File "/data/mci/3147ad9331dc28c186e673e05925bd73/src/buildscripts/resmokelib/testing/suite.py", line 176, in summarize
[2017/08/29 01:29:48.909]     summary = self._summarize_repeated(sb)
[2017/08/29 01:29:48.909]   File "/data/mci/3147ad9331dc28c186e673e05925bd73/src/buildscripts/resmokelib/testing/suite.py", line 227, in _summarize_repeated
[2017/08/29 01:29:48.909]     summary = self._summarize_execution(iteration, bulleter_sb)
[2017/08/29 01:29:48.909]   File "/data/mci/3147ad9331dc28c186e673e05925bd73/src/buildscripts/resmokelib/testing/suite.py", line 245, in _summarize_execution
[2017/08/29 01:29:48.909]     self._test_start_times[iteration],
[2017/08/29 01:29:48.909] IndexError: list index out of range

See this test as an example.

Additionally, tests show up twice on the side bar when they have only been run once.

This failure occurs simultaneously with another issue on the Evergreen side (EVG-2019) that causes timeouts to to show up purple. Although it's not clear how behavior in resmoke could be related to this.



 Comments   
Comment by Githook User [ 09/Oct/17 ]

Author:

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

Message: SERVER-30872 Avoid modifying suite from signal handler
Branch: master
https://github.com/mongodb/mongo/commit/11704779713e962e7756291960104d517adac16c

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