==> Building on larvesta ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-sh ./ .SRCINFO 797 100% 0.00kB/s 0:00:00 797 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,396 100% 1.33MB/s 0:00:00 1,396 100% 1.33MB/s 0:00:00 (xfr#2, to-chk=1/4) python-sh-2.0.6-1.log 364 100% 355.47kB/s 0:00:00 364 100% 355.47kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,754 bytes received 117 bytes 3,742.00 bytes/sec total size is 2,388 speedup is 1.28 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root3 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change Download Size core/gnutls 3.8.3-1 3.8.4-1 0.02 MiB 2.75 MiB Total Download Size: 2.75 MiB Total Installed Size: 5.21 MiB Net Upgrade Size: 0.02 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gnutls-3.8.4-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading gnutls... :: Running post-transaction hooks... (1/1) Updating the info directory file... [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root3]...done ==> Making package: python-sh 2.0.6-1 (Sat Mar 23 09:08:36 2024) ==> Retrieving sources...  -> Downloading sh-2.0.6.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 122 100 122 0 0 425 0 --:--:-- --:--:-- --:--:-- 426 100 264 100 264 0 0 375 0 --:--:-- --:--:-- --:--:-- 375 100 264 100 264 0 0 374 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 337k 100 337k 0 0 240k 0 0:00:01 0:00:01 --:--:-- 240k ==> Validating source files with sha512sums... sh-2.0.6.tar.gz ... Passed ==> Validating source files with b2sums... sh-2.0.6.tar.gz ... Passed ==> Making package: python-sh 2.0.6-1 (Sat Mar 23 09:09:27 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libnsl 2.0.1-1 0.07 MiB core/python 3.11.8-1 107.82 MiB Total Installed Size: 107.89 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (28) New Version Net Change Download Size extra/python-annotated-types 0.6.0-1 0.11 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.19.1-1 0.30 MiB extra/python-inflect 7.0.0-3 0.39 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 4.0.0-1 0.07 MiB extra/python-jaraco.text 3.12.0-1.1 0.09 MiB extra/python-lark-parser 1.1.9-1 1.34 MiB extra/python-more-itertools 10.2.0-1 0.64 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-platformdirs 4.2.0-1 0.24 MiB extra/python-pluggy 1.4.0-2 0.21 MiB extra/python-pydantic 2.6.4-1 4.89 MiB 0.72 MiB extra/python-pydantic-core 1:2.16.3-1 4.82 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2024.3.3-1 0.11 MiB extra/python-typing_extensions 4.10.0-1 0.39 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/lsof 4.99.3-2 0.30 MiB 0.15 MiB extra/python-build 1.1.1-2 0.69 MiB extra/python-installer 0.7.0-4 0.19 MiB extra/python-poetry-core 1.9.0-3 1.36 MiB 0.23 MiB extra/python-pytest 1:8.1.1-1 4.18 MiB 0.70 MiB extra/python-setuptools 1:69.0.3-4 4.68 MiB extra/python-wheel 0.43.0-1 0.28 MiB 0.06 MiB Total Download Size: 1.85 MiB Total Installed Size: 26.52 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pydantic-2.6.4-1-any downloading... python-pytest-1:8.1.1-1-any downloading... python-poetry-core-1.9.0-3-any downloading... lsof-4.99.3-2-riscv64 downloading... python-wheel-0.43.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-annotated-types... installing python-typing_extensions... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-lark-parser... Optional dependencies for python-lark-parser python-atomicwrites: for atomic_cache python-regex: for regex support python-js2py: for nearley support installing python-poetry-core... installing lsof... installing python-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found sh-2.0.6.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting sh-2.0.6.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built sh-2.0.6-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0 rootdir: /build/python-sh/src/sh-2.0.6 configfile: pyproject.toml collected 179 items / 1 deselected / 178 selected tests/sh_test.py ........F....................................s......... [ 30%] ........................................................................ [ 71%] ................................................... [100%] =================================== FAILURES =================================== ________________ FunctionalTests.test_done_callback_no_deadlock ________________ self = def test_done_callback_no_deadlock(self): import time py = create_tmp_test( """ from sh import sleep def done(cmd, success, exit_code): print(cmd, success, exit_code) sleep('1', _done=done) """ ) p = python(py.name, _bg=True, _timeout=2) # do a little setup to prove that a command with a _done callback is run # in the background wait_start = time.time() > p.wait() tests/sh_test.py:2703: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = True 0 , timeout = None def wait(self, timeout=None): """waits for the running command to finish. this is called on all running commands, eventually, except for ones that run in the background if timeout is a number, it is the number of seconds to wait for the process to resolve. otherwise block on wait. this function can raise a TimeoutException, either because of a `_timeout` on the command itself as it was launched, or because of a timeout passed into this method. """ if not self._waited_until_completion: # if we've been given a timeout, we need to poll is_alive() if timeout is not None: waited_for = 0 sleep_amt = 0.1 alive = False exit_code = None if timeout < 0: raise RuntimeError("timeout cannot be negative") # while we still have time to wait, run this loop # notice that alive and exit_code are only defined in this loop, but # the loop is also guaranteed to run, defining them, given the # constraints that timeout is non-negative while waited_for <= timeout: alive, exit_code = self.process.is_alive() # if we're alive, we need to wait some more, but let's sleep # before we poll again if alive: time.sleep(sleep_amt) waited_for += sleep_amt # but if we're not alive, we're done waiting else: break # if we've made it this far, and we're still alive, then it means we # timed out waiting if alive: raise TimeoutException(None, self.ran) # if we didn't time out, we fall through and let the rest of the code # handle exit_code. notice that we set _waited_until_completion here, # only if we didn't time out. this allows us to re-wait again on # timeout, if we catch the TimeoutException in the parent frame self._waited_until_completion = True else: exit_code = self.process.wait() self._waited_until_completion = True if self.process.timed_out: # if we timed out, our exit code represents a signal, which is # negative, so let's make it positive to store in our # TimeoutException > raise TimeoutException(-exit_code, self.ran) E sh.TimeoutException sh.py:796: TimeoutException =============================== warnings summary =============================== tests/sh_test.py::FunctionalTests::test_done_callback_no_deadlock /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1147 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /usr/bin/python /tmp/tmpl7x46l_o STDOUT: True 0 STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_fg_alternative /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 1252 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2591, in input_thread done = stdin.write() ^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 2904, in write chunk = self.get_chunk() ^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 2845, in fn chunk = stdin.read(bufsize) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/_pytest/capture.py", line 207, in read raise OSError( OSError: pytest: reading from stdin while output is captured! Consider using `-s`. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1327 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /usr/bin/python /tmp/tmp1u5xzm9m STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_signal_exception /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1368 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.SignalException_SIGTERM: RAN: /usr/bin/python /tmp/tmpz88ul3w6 STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1396 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.SignalException_SIGTERM: RAN: /usr/bin/python -u /tmp/tmpdo9gy_tp STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_stdout_callback_kill /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1534 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /usr/bin/python -u /tmp/tmph_nmvx9m STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_piped_exception1 /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1609 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /usr/bin/python /tmp/tmp2pyl0eiv STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_piped_exception2 /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1660 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /usr/bin/python /tmp/tmpbgo8sew2 STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1737 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /usr/bin/python /tmp/tmpp0kmm3n1 STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1815 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_3: RAN: /usr/bin/python /tmp/tmpmo92km4t STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_signal_group /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1948 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /usr/bin/python /tmp/tmpycvkds4y STDOUT: 1952 1948 STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_done_cb_exc /usr/lib/python3.11/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1985 Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 1639, in wrap fn(*rgs, **kwargs) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2641, in background_thread handle_exit_code(exit_code) File "/build/python-sh/src/sh-2.0.6/sh.py", line 2332, in fn return self.command.handle_command_exit_code(exit_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-sh/src/sh-2.0.6/sh.py", line 826, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /usr/bin/python /tmp/tmp0tcj8aa8 STDOUT: STDERR: warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/sh_test.py::FunctionalTests::test_done_callback_no_deadlock - sh... = 1 failed, 176 passed, 1 skipped, 1 deselected, 12 warnings in 93.15s (0:01:33) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root3/build [?25h[?25hreceiving incremental file list python-sh-2.0.6-1-riscv64-build.log python-sh-2.0.6-1-riscv64-check.log sent 62 bytes received 2,858 bytes 5,840.00 bytes/sec total size is 18,542 speedup is 6.35