==> Building on c ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,004 100% 0.00kB/s 0:00:00 1,004 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-vistir-0.7.5-1.log 200 100% 195.31kB/s 0:00:00 200 100% 195.31kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 916 bytes received 69 bytes 656.67 bytes/sec total size is 1,192 speedup is 1.21 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix10 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix10]...done ==> Making package: python-vistir 0.7.5-1 (Tue Dec 6 00:12:55 2022) ==> Retrieving sources...  -> Downloading python-vistir-0.7.5.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161k 0 161k 0 0 273k 0 --:--:-- --:--:-- --:--:-- 273k 100 358k 0 358k 0 0 584k 0 --:--:-- --:--:-- --:--:-- 8554k ==> Validating source files with sha512sums... python-vistir-0.7.5.tar.gz ... Passed ==> Making package: python-vistir 0.7.5-1 (Tue Dec 6 00:13:21 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.8-3 81.34 MiB community/python-colorama 0.4.6-1 0.17 MiB Total Installed Size: 81.58 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 python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-colorama... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (33) New Version Net Change Download Size community/cython 0.29.32-2 7.52 MiB extra/python-appdirs 1.4.4-7 0.07 MiB extra/python-attrs 22.1.0-1 0.43 MiB community/python-autocommand 2.2.2-1 0.07 MiB extra/python-chardet 5.1.0-1 2.49 MiB community/python-exceptiongroup 1.0.4-1 0.09 MiB community/python-hypothesis 6.59.0-1 2.88 MiB extra/python-idna 3.4-1 0.67 MiB community/python-inflect 6.0.2-1 0.28 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-jaraco.context 4.2.0-1 0.03 MiB community/python-jaraco.functools 3.5.2-1 0.05 MiB community/python-jaraco.text 3.11.0-1 0.07 MiB community/python-more-itertools 9.0.0-1 0.49 MiB extra/python-ordered-set 4.1.0-1 0.06 MiB extra/python-packaging 21.3-1 0.26 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-pydantic 1.10.2-1 5.79 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB community/python-sortedcontainers 2.4.0-3 0.33 MiB community/python-termcolor 2.1.1-1 0.02 MiB 0.01 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2022.12.1-1 0.11 MiB community/python-typing_extensions 4.4.0-1 0.22 MiB extra/python-urllib3 1.26.7-5 0.69 MiB extra/python-validate-pyproject 0.10.1-1 0.41 MiB community/python-hypothesis-fspaths 0.1.0-8 0.01 MiB community/python-pytest 7.2.0-4 2.79 MiB community/python-pytest-timeout 2.1.0-1 0.06 MiB extra/python-requests 2.28.1-1 0.45 MiB extra/python-setuptools 1:65.6.3-1 3.31 MiB community/python-wheel 0.38.4-1 0.16 MiB community/python-yaspin 2.1.0-4 0.08 MiB Total Download Size: 0.01 MiB Total Installed Size: 31.05 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-termcolor-2.1.1-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-appdirs... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing cython... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-tomli... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-attrs... installing python-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-sortedcontainers... installing python-hypothesis... Optional dependencies for python-hypothesis python-pytz: for datetime and django module python-faker: for fakefactory and django module python-django: for django module python-numpy: for numpy module python-pytest: for pytest module [installed] python-lark-parser: for lark module python-libcst: for codemods module installing python-hypothesis-fspaths... installing python-pytest-timeout... installing python-urllib3... Optional dependencies for python-urllib3 python-pysocks: SOCKS support python-brotli: Brotli support python-pyopenssl: security support python-idna: security support [pending] installing python-chardet... installing python-idna... installing python-requests... Optional dependencies for python-requests python-pysocks: SOCKS proxy support installing python-termcolor... installing python-yaspin... [?25h==> Retrieving sources...  -> Found python-vistir-0.7.5.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-vistir-0.7.5.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/vistir copying src/vistir/__init__.py -> build/lib/vistir copying src/vistir/_winconsole.py -> build/lib/vistir copying src/vistir/cmdparse.py -> build/lib/vistir copying src/vistir/contextmanagers.py -> build/lib/vistir copying src/vistir/cursor.py -> build/lib/vistir copying src/vistir/misc.py -> build/lib/vistir copying src/vistir/path.py -> build/lib/vistir copying src/vistir/spin.py -> build/lib/vistir copying src/vistir/termcolors.py -> build/lib/vistir ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0 rootdir: /build/python-vistir/src/vistir-0.7.5, configfile: setup.cfg, testpaths: tests/ plugins: hypothesis-6.59.0, timeout-2.1.0 timeout: 300.0s timeout method: signal timeout func_only: False collected 65 items tests/test_contextmanagers.py .............. [ 21%] tests/test_misc.py ..........F............. [ 58%] tests/test_path.py .....x........x.... [ 87%] tests/test_spinner.py ........ [100%] =================================== FAILURES =================================== ___________________________ test_get_stream_results ____________________________ def test_get_stream_results(): class MockCmd(object): def __init__(self, stdout, stderr): self.stdout = stdout self.stderr = stderr def poll(self): return 0 def wait(self): return 0 stdout_buffer = io.StringIO() stderr_buffer = io.StringIO() test_line = ( u"this is a test line that goes on for many characters and will eventually be " "truncated because it is far too long to display on a normal terminal so we will" " use an ellipsis to break it\n" ) stdout_buffer.write(test_line) stdout_buffer.seek(0) cmd_instance = MockCmd(stdout=stdout_buffer, stderr=stderr_buffer) instance = vistir.misc.attach_stream_reader( cmd_instance, False, 50, spinner=None, stdout_allowed=False ) > assert instance.text_stdout_lines == [test_line.strip()], "\n".join( ["{}: {}".format(k, v) for k, v in instance.__dict__.items()] ) E AssertionError: stdout_encoding: utf-8 E stderr_encoding: utf-8 E stdout_lines: [] E text_stdout_lines: [] E stderr_lines: [] E text_stderr_lines: [] E display_line: E display_line_loops_displayed: 0 E display_line_shown_for_loops: 20 E display_line_max_len: 50 E spinner: None E stdout_allowed: False E verbose: False E _iterated_stdout: None E _iterated_stderr: None E _subprocess: .MockCmd object at 0x4005e90580> E _queues: {'streams': , 'lines': } E _threads: {'stdout': , 'stderr': , 'watcher': } E assert [] == ['this is a t... to break it'] E Right contains one more item: 'this is a test line that goes on for many characters and will eventually be truncated because it is far too long to display on a normal terminal so we will use an ellipsis to break it' E Use -v to get more diff tests/test_misc.py:121: AssertionError =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294 /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: flake8-ignore self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") ../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294 /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: plugins self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") ../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294 /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: strict self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") tests/test_misc.py:149 /build/python-vistir/src/vistir-0.7.5/tests/test_misc.py:149: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.flaky(reruns=5) tests/test_misc.py:162 /build/python-vistir/src/vistir-0.7.5/tests/test_misc.py:162: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.flaky(reruns=5) tests/test_misc.py:195 /build/python-vistir/src/vistir-0.7.5/tests/test_misc.py:195: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.flaky(reruns=5) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ XFAIL tests/test_path.py::test_mkdir_p_fails_when_path_exists XFAIL tests/test_path.py::test_is_file_url_raises_valueerror_when_no_url_attribute_found FAILED tests/test_misc.py::test_get_stream_results - AssertionError: stdout_e... ======== 1 failed, 62 passed, 2 xfailed, 6 warnings in 67.69s (0:01:07) ======== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix10/build receiving incremental file list python-vistir-0.7.5-1-riscv64-build.log python-vistir-0.7.5-1-riscv64-check.log sent 62 bytes received 2,015 bytes 1,384.67 bytes/sec total size is 6,186 speedup is 2.98