-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Description
The problem
This happened a lot the past few weeks when running CI. Already asked one of the code owners on discord, but let's formalise it here.
Reference: https://github.com/home-assistant/core/actions/runs/16727295211/job/47346877184
Original text: I got side-tracked in PR updates with CI failing, unfortunately roborock being one of them - most likely due to paho.mqtt fixtures. Is this something already looked in to? I was tempted to do a PR, but the mqtt thing seems a bit deeper. Fwiw, easy fix is the below one for another occuring issue (but that's not whats threading the waters).
And no tests pass, but some exceptions hinder CI apparently (we had the same in Plugwise).
async def test_options_flow_drawables(
hass: HomeAssistant, mock_roborock_entry: MockConfigEntry
hass: HomeAssistant, bypass_api_fixture, mock_roborock_entry: MockConfigEntry
) -> None:
I can PR just that one if you like, but I would hate trying to fix the mqtt parts if you are already aware
What version of Home Assistant Core has the issue?
n/a
What was the last working version of Home Assistant Core?
n/a
What type of installation are you running?
Home Assistant OS
Integration causing the issue
roborock
Link to integration documentation on our website
https://www.home-assistant.io/integrations/roborock/
Diagnostics information
See example output of the action https://github.com/home-assistant/core/actions/runs/16727295211/job/47346877184
ERROR tests/components/roborock/test_config_flow.py::test_reauth_flow - AssertionError: assert (False or False or '_run_safe_shutdown_loop' in 'paho-mqtt-client-')
- where False = isinstance(<Thread(paho-mqtt-client-, started daemon 140680630134464)>, <class 'threading._DummyThread'>)
- where <class 'threading._DummyThread'> = threading._DummyThread
- and False = <built-in method startswith of str object at 0x7ff348efa7b0>('waitpid-')
- where <built-in method startswith of str object at 0x7ff348efa7b0> = 'paho-mqtt-client-'.startswith
-
where 'paho-mqtt-client-' = <Thread(paho-mqtt-client-, started daemon 140680630134464)>.name
- and 'paho-mqtt-client-' = <Thread(paho-mqtt-client-, started daemon 140680630134464)>.name
Error: Process completed with exit code 1.
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response