Source: python-lsp-server Version: 1.12.0-3 Severity: important User: [email protected] Usertags: timeout
Dear maintainer(s),Your package has an autopkgtest, great. However, it fails regularly on riscv64. What's worse, it occasionally fails because it seems to hang after reporting failure. The tests seem to have finished, so probably some cleanup isn't happening as it should. Eventually it times out after more than 5 hours due to the autopkgtest timeout. Can you please investigate the situation and fix it? I copied some of the output at the bottom of this report. It seems that the first issue is that the timeout is too short for our (slow) riscv64 hardware, but the problematic issue is the hang.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul [1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html https://ci.debian.net/packages/p/python-lsp-server/testing/riscv64/64699843/2364s ==================================== ERRORS ==================================== 2364s _ ERROR at teardown of test_autoimport_code_actions_and_completions_for_notebook_document _
2364s 2364s > lambda: ihook(item=item, **kwds), when=when, reraise=reraise 2364s ^^^^^^^^^^^^^^^^^^^^^^^^ 2364s ) 2364s 2364s /usr/lib/python3/dist-packages/flaky/flaky_pytest_plugin.py:146:2364s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2364s test/fixtures.py:177: in client_server_pair 2364s ).result(timeout=CALL_TIMEOUT_IN_SECONDS) 2364s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2364s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2364s 2364s self = None, timeout = 60 2364s 2364s def result(self, timeout=None): 2364s """Return the result of the call that the future represents. 2364s 2364s Args:2364s timeout: The number of seconds to wait for the result if the future 2364s isn't done. If None, then there is no limit on the wait time.
2364s 2364s Returns: 2364s The result of the call that the future represents. 2364s 2364s Raises: 2364s CancelledError: If the future was cancelled.2364s TimeoutError: If the future didn't finish executing before the given
2364s timeout.2364s Exception: If the call raised then that exception will be raised.
2364s """ 2364s try: 2364s with self._condition: 2364s if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]: 2364s raise CancelledError() 2364s elif self._state == FINISHED: 2364s return self.__get_result() 2364s 2364s self._condition.wait(timeout) 2364s 2364s if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]: 2364s raise CancelledError() 2364s elif self._state == FINISHED: 2364s return self.__get_result() 2364s else: 2364s > raise TimeoutError() 2364s E TimeoutError 2364s 2364s /usr/lib/python3.13/concurrent/futures/_base.py:458: TimeoutError [...] 2416s ===Flaky Test Report=== 2416s 2416s test_initialize passed 1 out of the required 1 times. Success! 2416s test_missing_message passed 1 out of the required 1 times. Success! 2416s test_debounce passed 1 out of the required 1 times. Success! 2416s test_debounce_keyed_by passed 1 out of the required 1 times. Success! 2416s 2416s ===End Flaky Test Report===2416s =========================== short test summary info ============================ 2416s FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 2416s ERROR test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 2416s = 1 failed, 186 passed, 9 skipped, 2 deselected, 17 warnings, 1 error in 1360.83s (0:22:40) = 20993s autopkgtest [17:14:34]: ERROR: timed out on command "su -s /bin/bash debci -c set -e; exec /tmp/autopkgtest-lxc.ucfwbprf/downtmp/wrapper.sh --artifacts=/tmp/autopkgtest-lxc.ucfwbprf/downtmp/pybuild-autopkgtest-artifacts --chdir=/tmp/autopkgtest-lxc.ucfwbprf/downtmp/build.2Bu/src --env=AUTOPKGTEST_TESTBED_ARCH=riscv64 --env=AUTOPKGTEST_TEST_ARCH=riscv64 --env=DEB_BUILD_OPTIONS=parallel=4 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest-lxc.ucfwbprf/downtmp/pybuild-autopkgtest-stderr --stdout=/tmp/autopkgtest-lxc.ucfwbprf/downtmp/pybuild-autopkgtest-stdout --tmp=/tmp/autopkgtest-lxc.ucfwbprf/downtmp/autopkgtest_tmp -- bash -ec pybuild-autopkgtest" (kind: test)
OpenPGP_signature.asc
Description: OpenPGP digital signature

