Source: pytango Version: 9.5.0-5 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 the migration of glibc. I noticed that it regularly fails, the two logs I checked and copied below show different issues.
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/51094511/111s =================================== FAILURES =================================== 111s ______________ test_nested_single_device_in_same_process_failure _______________
111s :-1: running the test CRASHED with signal 11 https://ci.debian.net/packages/p/pytango/testing/armhf/51094505/256s =================================== FAILURES =================================== 256s ___________________ test_subscribe_change_event[Synchronous] ___________________
256s event_device = EventDevice(test/nodb/eventdevice)
256s
256s def test_subscribe_change_event(event_device):
256s results_change_event = []
256s
256s def callback_change(evt):
256s results_change_event.append(evt.attr_value.value)
256s
256s # Subscribe to change event
256s eid_change = event_device.subscribe_event(
256s "attr", EventType.CHANGE_EVENT, callback_change, wait=True
256s )
256s assert eid_change == 1
256s
256s # Trigger an event
256s event_device.command_inout("send_change_event", wait=True)
256s # Wait for tango event
256s for retry_count in range(MAX_RETRIES):
256s event_device.read_attribute("state", wait=True)
256s if len(results_change_event) > 1:
256s break
256s time.sleep(DELAY_PER_RETRY)
256s if retry_count + 1 >= MAX_RETRIES:
256s timeout_seconds = retry_count * DELAY_PER_RETRY
256s > pytest.fail(
256s f"Timeout, waiting for event, after
{timeout_seconds}sec over {MAX_RETRIES} retries. Occasionally happens,
probably due to CI test runtime environment"
256s )256s E Failed: Timeout, waiting for event, after 39.800000000000004sec over 200 retries. Occasionally happens, probably due to CI test runtime environment
256s 256s tests/test_event.py:121: Failed
OpenPGP_signature.asc
Description: OpenPGP digital signature

