Skip to content

`Pool not running' error #1588

Description

@jacob720

After deleting the blueapi environment on i15-1, we get the following error:

ERROR blueapi.service.runner Pool not running
Traceback (most recent call last):
  File "/app/.venv/lib/python3.11/site-packages/blueapi/service/runner.py", line 96, in stop
    self.run(teardown)
  File "/app/.venv/lib/python3.11/site-packages/observability_utils/tracing/decorators.py", line 151, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/blueapi/service/runner.py", line 136, in run
    return self._subprocess.apply(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/multiprocessing/pool.py", line 360, in apply
    return self.apply_async(func, args, kwds).get()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/multiprocessing/pool.py", line 458, in apply_async
    self._check_running()
  File "/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/multiprocessing/pool.py", line 353, in _check_running
    raise ValueError("Pool not running")
ValueError: Pool not running

This seems to be red herring, everything still works after seeing this

Steps To Reproduce

Steps to reproduce the behavior:

  1. Delete blueapi env
  2. Check logs

Acceptance Criteria

  • This error is handled

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions