Source: pytango Version: 10.0.0-2 Severity: serious User: [email protected] Usertags: flaky
Dear maintainer(s),I looked at the results of the autopkgtest of your package because it was blocking gcc-14. I noticed that it regularly fails.
Because the unstable-to-testing migration software now blocks on regressions in testing, flaky tests, i.e. tests that flip between passing and failing without changes to the list of installed packages, are causing people unrelated to your package to spend time on these tests. Don't hesitate to reach out if you need help and some more information from our infrastructure. Paul https://ci.debian.net/packages/p/pytango/testing/amd64/55919644/224s =================================== FAILURES =================================== 224s _________________ test_push_event_with_event_callback[Asyncio] _________________
224s event_device = EventDevice(test/nodb/eventdevice) 224s 224s def test_push_event_with_event_callback(event_device): 224s string = StringIO() 224s ec = EventCallback(fd=string) 224s 224s if event_device.get_green_mode() == GreenMode.Asyncio: 224s with pytest.warns(DeprecationWarning):224s > __test_push_event_with_timestamp(event_device, ec, string)
224s 224s tests/test_event.py:505:224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
224s 224s event_device = EventDevice(test/nodb/eventdevice) 224s cb = <tango.utils.EventCallback object at 0x7f70876d7620> 224s string = <_io.StringIO object at 0x7f708799fb80> 224s 224s def __test_push_event_with_timestamp(event_device, cb, string): 224s # to reduce tests amount here we test only change event224s eid = event_device.subscribe_event("attr", EventType.CHANGE_EVENT, cb, wait=True)
224s # trigger an event224s event_device.command_inout("send_events", EventType.CHANGE_EVENT, wait=True)
224s # wait for tango event
224s for retry_count in range(MAX_RETRIES):
224s event_device.read_attribute("state", wait=True)
224s if len(cb.get_events()) > 5:
224s break
224s time.sleep(DELAY_PER_RETRY)
224s if retry_count + 1 >= MAX_RETRIES:
224s timeout_seconds = retry_count * DELAY_PER_RETRY
224s > pytest.fail(
224s f"Timeout, waiting for event, after
{timeout_seconds}sec over {MAX_RETRIES} retries. "
224s f"Occasionally happens, probably due to CI test
runtime environment"
224s )224s E Failed: Timeout, waiting for event, after 39.800000000000004sec over 200 retries. Occasionally happens, probably due to CI test runtime environment
224s 224s tests/test_event.py:473: Failed
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
