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

Bug#984894: python-azure: flaky autopkgtest: You need to call 'result' or 'wait' on all LROPoller you have created

Source: python-azure
Version: 20201208+git-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: flaky

Dear maintainer(s),

Your package has an autopkgtest, great. However, I looked into
the history of your autopkgtest [1] (because it is blocking
sphinx) and I noticed it fails regularly, while a rerun passes. I
copied some of the output at the bottom of this report.

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



=================================== FAILURES
____________________ MgmtResourceLinksTest.test_application
pylib/devtools_testutils/mgmt_testcase.py:97: in tearDown
    return super(AzureMgmtTestCase, self).tearDown()
pylib/devtools_testutils/azure_testcase.py:193: in tearDown
    return super(AzureTestCase, self).tearDown()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _

self = <test_mgmt_resource_managed_application.MgmtResourceLinksTest

    def tearDown(self):
        os.environ = self.original_env
        # Autorest.Python 2.x
        assert not [t for t in threading.enumerate() if
t.name.startswith("AzureOperationPoller")], \
            "You need to call 'result' or 'wait' on all
AzureOperationPoller you have created"
        # Autorest.Python 3.x
>       assert not [t for t in threading.enumerate() if
t.name.startswith("LROPoller")], \
            "You need to call 'result' or 'wait' on all LROPoller you
have created"
E       AssertionError: You need to call 'result' or 'wait' on all
LROPoller you have created

pylib/azure_devtools/scenario_tests/base.py:158: AssertionError
------------------------------ Captured log call

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: