Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
3.5.10
-
None
-
None
-
Fully Compatible
-
ALL
-
TIG 2017-07-31
Description
While collecting resource usage information from the Evergreen status endpoint, the buildscripts/collect_resource_info.py script may encounter a KeyError exception while trying to read parentPid or numThreads property from a process info document in ps_info. The missing properties is due to an error encountered by gopsutil while reading from /proc. This prevents us from collecting the full set of resource usage info for the duration of the test suite.
This error is seen in the system logs:
[2017/07/21 11:43:48.918] Traceback (most recent call last):
|
[2017/07/21 11:43:48.918] File "buildscripts/collect_resource_info.py", line 98, in <module>
|
[2017/07/21 11:43:48.918] main()
|
[2017/07/21 11:43:48.918] File "buildscripts/collect_resource_info.py", line 84, in main
|
[2017/07/21 11:43:48.918] sys_res_dict["ppid"] = process["parentPid"]
|
[2017/07/21 11:43:48.918] KeyError: 'parentPid'
|
Attachments
Issue Links
- is related to
-
SERVER-29367 Add buildscripts/collect_resource_info.py script to collect system resource information in Evergreen
-
- Closed
-