Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subprocess_reaper failing to run #1081

Open
tfoote opened this issue Jan 23, 2025 · 0 comments
Open

subprocess_reaper failing to run #1081

tfoote opened this issue Jan 23, 2025 · 0 comments
Labels

Comments

@tfoote
Copy link
Member

tfoote commented Jan 23, 2025

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'
@tfoote tfoote added the bug label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant