Public bug reported: Test has been failing arbitrarily over autopkgtest for lektor 3.3.12-1
e.g. https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest- questing/questing/amd64/l/lektor/20260119_220617_3904b@/log.gz 87s =================================== FAILURES =================================== 87s _ Test_make_image_thumbnail.test_scale[512-512-ThumbnailMode.CROP-None-expect5] _ 87s 87s cls = <class '_pytest.runner.CallInfo'> 87s func = <function call_and_report.<locals>.<lambda> at 0x7a3198524ae0> 87s when = 'call' 87s reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) 87s 87s @classmethod 87s def from_call( 87s cls, 87s func: Callable[[], TResult], 87s when: Literal["collect", "setup", "call", "teardown"], 87s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 87s ) -> CallInfo[TResult]: 87s """Call func, wrapping the result in a CallInfo. 87s 87s :param func: 87s The function to call. Called without arguments. 87s :type func: Callable[[], _pytest.runner.TResult] 87s :param when: 87s The phase in which the function is called. 87s :param reraise: 87s Exception or exceptions that shall propagate if raised by the 87s function, instead of being wrapped in the CallInfo. 87s """ 87s excinfo = None 87s start = timing.time() 87s precise_start = timing.perf_counter() 87s try: 87s > result: TResult | None = func() 87s 87s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 87s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda> 87s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 87s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 87s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 87s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 87s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call 87s yield from thread_exception_runtest_hook() 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook 87s yield 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call 87s yield from unraisable_exception_runtest_hook() 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 87s 87s def unraisable_exception_runtest_hook() -> Generator[None]: 87s with catch_unraisable_exception() as cm: 87s try: 87s yield 87s finally: 87s if cm.unraisable: 87s if cm.unraisable.err_msg is not None: 87s err_msg = cm.unraisable.err_msg 87s else: 87s err_msg = "Exception ignored in" 87s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 87s msg += "".join( 87s traceback.format_exception( 87s cm.unraisable.exc_type, 87s cm.unraisable.exc_value, 87s cm.unraisable.exc_traceback, 87s ) 87s ) 87s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 87s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7a3198794f40> 87s E 87s E Traceback (most recent call last): 87s E File "/usr/lib/python3/dist-packages/lektor/imagetools.py", line 546, in make_image_thumbnail 87s E def make_image_thumbnail( 87s E 87s E ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7a3198794f40> 87s 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning ** Affects: lektor (Ubuntu) Importance: Undecided Status: New ** Description changed: Test has been failing arbitrarily over autopkgtest for lektor 3.3.12-1 - 87s =================================== FAILURES =================================== - 87s _ Test_make_image_thumbnail.test_scale[512-512-ThumbnailMode.CROP-None-expect5] _ - 87s - 87s cls = <class '_pytest.runner.CallInfo'> - 87s func = <function call_and_report.<locals>.<lambda> at 0x7a3198524ae0> - 87s when = 'call' - 87s reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) - 87s - 87s @classmethod - 87s def from_call( - 87s cls, - 87s func: Callable[[], TResult], - 87s when: Literal["collect", "setup", "call", "teardown"], - 87s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, - 87s ) -> CallInfo[TResult]: - 87s """Call func, wrapping the result in a CallInfo. - 87s - 87s :param func: - 87s The function to call. Called without arguments. - 87s :type func: Callable[[], _pytest.runner.TResult] - 87s :param when: - 87s The phase in which the function is called. - 87s :param reraise: - 87s Exception or exceptions that shall propagate if raised by the - 87s function, instead of being wrapped in the CallInfo. - 87s """ - 87s excinfo = None - 87s start = timing.time() - 87s precise_start = timing.perf_counter() - 87s try: - 87s > result: TResult | None = func() - 87s - 87s /usr/lib/python3/dist-packages/_pytest/runner.py:341: - 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - 87s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda> - 87s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise - 87s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ - 87s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) - 87s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec - 87s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) - 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call - 87s yield from thread_exception_runtest_hook() - 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook - 87s yield - 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call - 87s yield from unraisable_exception_runtest_hook() - 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - 87s - 87s def unraisable_exception_runtest_hook() -> Generator[None]: - 87s with catch_unraisable_exception() as cm: - 87s try: - 87s yield - 87s finally: - 87s if cm.unraisable: - 87s if cm.unraisable.err_msg is not None: - 87s err_msg = cm.unraisable.err_msg - 87s else: - 87s err_msg = "Exception ignored in" - 87s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" - 87s msg += "".join( - 87s traceback.format_exception( - 87s cm.unraisable.exc_type, - 87s cm.unraisable.exc_value, - 87s cm.unraisable.exc_traceback, - 87s ) - 87s ) - 87s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) - 87s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7a3198794f40> - 87s E - 87s E Traceback (most recent call last): - 87s E File "/usr/lib/python3/dist-packages/lektor/imagetools.py", line 546, in make_image_thumbnail - 87s E def make_image_thumbnail( - 87s E - 87s E ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7a3198794f40> - 87s - 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning + e.g. + https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest- + questing/questing/amd64/l/lektor/20260119_220617_3904b@/log.gz + + + 87s =================================== FAILURES =================================== + 87s _ Test_make_image_thumbnail.test_scale[512-512-ThumbnailMode.CROP-None-expect5] _ + 87s + 87s cls = <class '_pytest.runner.CallInfo'> + 87s func = <function call_and_report.<locals>.<lambda> at 0x7a3198524ae0> + 87s when = 'call' + 87s reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) + 87s + 87s @classmethod + 87s def from_call( + 87s cls, + 87s func: Callable[[], TResult], + 87s when: Literal["collect", "setup", "call", "teardown"], + 87s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, + 87s ) -> CallInfo[TResult]: + 87s """Call func, wrapping the result in a CallInfo. + 87s + 87s :param func: + 87s The function to call. Called without arguments. + 87s :type func: Callable[[], _pytest.runner.TResult] + 87s :param when: + 87s The phase in which the function is called. + 87s :param reraise: + 87s Exception or exceptions that shall propagate if raised by the + 87s function, instead of being wrapped in the CallInfo. + 87s """ + 87s excinfo = None + 87s start = timing.time() + 87s precise_start = timing.perf_counter() + 87s try: + 87s > result: TResult | None = func() + 87s + 87s /usr/lib/python3/dist-packages/_pytest/runner.py:341: + 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + 87s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda> + 87s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise + 87s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ + 87s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + 87s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec + 87s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call + 87s yield from thread_exception_runtest_hook() + 87s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook + 87s yield + 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call + 87s yield from unraisable_exception_runtest_hook() + 87s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + 87s + 87s def unraisable_exception_runtest_hook() -> Generator[None]: + 87s with catch_unraisable_exception() as cm: + 87s try: + 87s yield + 87s finally: + 87s if cm.unraisable: + 87s if cm.unraisable.err_msg is not None: + 87s err_msg = cm.unraisable.err_msg + 87s else: + 87s err_msg = "Exception ignored in" + 87s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" + 87s msg += "".join( + 87s traceback.format_exception( + 87s cm.unraisable.exc_type, + 87s cm.unraisable.exc_value, + 87s cm.unraisable.exc_traceback, + 87s ) + 87s ) + 87s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) + 87s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7a3198794f40> + 87s E + 87s E Traceback (most recent call last): + 87s E File "/usr/lib/python3/dist-packages/lektor/imagetools.py", line 546, in make_image_thumbnail + 87s E def make_image_thumbnail( + 87s E + 87s E ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7a3198794f40> + 87s + 87s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2138686 Title: flaky autopkgtests on questing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lektor/+bug/2138686/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
