Open
Description
I was looking in the rosindex logs and noticed that there's a traceback from the subprocess reaper where there should be cached process data.
It looks like the import is failing now.
$ cat docker_rosindex.log
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 130, in _get_module_details
spec = importlib.util.find_spec(mod_name)
File "/usr/lib/python3.8/importlib/util.py", line 94, in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
ModuleNotFoundError: No module named 'ros_buildfarm'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jenkins-agent/workspace/doc_rosindex/ros_buildfarm/scripts/subprocess_reaper.py", line 24, in <module>
run_module('ros_buildfarm.scripts.subprocess_reaper', run_name='__main__')
File "/usr/lib/python3.8/runpy.py", line 203, in run_module
mod_name, mod_spec, code = _get_module_details(mod_name)
File "/usr/lib/python3.8/runpy.py", line 136, in _get_module_details
raise error(msg.format(mod_name, type(ex).__name__, ex)) from ex
ImportError: Error while finding module specification for 'ros_buildfarm.scripts.subprocess_reaper' (ModuleNotFoundError: No module named 'ros_buildfarm')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jenkins-agent/workspace/doc_rosindex/ros_buildfarm/scripts/subprocess_reaper.py", line 30, in <module>
run_module('ros_buildfarm.scripts.subprocess_reaper', run_name='__main__')
File "/usr/lib/python3.8/runpy.py", line 210, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/jenkins-agent/workspace/doc_rosindex/ros_buildfarm/ros_buildfarm/scripts/subprocess_reaper.py", line 31, in <module>
import psutil
ModuleNotFoundError: No module named 'psutil'