[SERVER-27524] Add log message at the beginning and end of each test hook Created: 27/Dec/16  Updated: 31/Jan/18  Resolved: 10/Jan/17

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

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: DO NOT USE - Backlog - Test Infrastructure Group (TIG)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-26485 Refactor initial sync passthroughs to... Closed
is related to SERVER-26522 CleanEveryN output should be written ... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Normal tests log messages in the task logs that show the beginning and end of each test:

[2016/12/27 11:00:42.461] [executor:js_test:job1] 2016-12-27T16:00:42.461+0000 Running profile_geonear.js...
...
[2016/12/27 11:00:45.048] [executor:js_test:job1] 2016-12-27T16:00:45.047+0000 profile_geonear.js ran in 2.59 seconds.

This makes it easy to see which test did not finish when there is a task timeout. The hooks however, do not have log messages at their beginning and end. CleanEveryN has one at the beginning but not at the end, and the rest do not have any. We should add log messages at the beginning and end to every hook to easily diagnose hangs in them.



 Comments   
Comment by Judah Schvimer [ 05/Jan/17 ]

This will likely be fixed by a combination of SERVER-26522 and SERVER-26485.

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