[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1020832: openmsx-catapult: flaky autopkgtest: "local variable 'done' referenced before assignment"

Source: openmsx-catapult
Version: 18.0-1
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: flaky

The autopkgtest for openmsx-catapult seems to be intermittently failing
like this:

> Traceback (most recent call last):
>   File "/tmp/autopkgtest-lxc.7f56s1c5/downtmp/build.0aM/src/debian/tests/run.py", line 83, in <module>
>     test_detect()
>   File "/tmp/autopkgtest-lxc.7f56s1c5/downtmp/build.0aM/src/debian/tests/run.py", line 60, in test_detect
>     done.click()
> UnboundLocalError: local variable 'done' referenced before assignment

for example in

When testing a proposed update to a package it depends on (such as dbus
and gcc-12, in this case), a test failure like this is assumed to be a
regression in the updated package, which can delay or prevent testing

Please look into whether this test can be made reliable, or if it cannot,
mark the test with "Restrictions: flaky" so that it doesn't disrupt other

In this case I suspect this is a bug in the test script rather than the
upstream code.


Reply to: