==> Building on r ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-yaspin ./ PKGBUILD 1,000 100% 0.00kB/s 0:00:00 1,000 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-yaspin-2.2.0-1.log 241 100% 235.35kB/s 0:00:00 241 100% 235.35kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 911 bytes received 102 bytes 2,026.00 bytes/sec total size is 1,188 speedup is 1.17 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix6 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] -> [felix6]...done ==> Making package: python-yaspin 2.2.0-1 (Fri Dec 23 18:24:36 2022) ==> Retrieving sources...  -> Downloading python-yaspin-2.2.0.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 384k 0 384k 0 0 523k 0 --:--:-- --:--:-- --:--:-- 523k ==> Validating source files with sha512sums... python-yaspin-2.2.0.tar.gz ... Passed ==> Making package: python-yaspin 2.2.0-1 (Fri Dec 23 18:24:48 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.8-3 81.34 MiB community/python-termcolor 2.1.1-1 0.02 MiB 0.01 MiB Total Download Size: 0.01 MiB Total Installed Size: 81.43 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 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-termcolor... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (17) New Version Net Change extra/python-attrs 22.1.0-1 0.43 MiB community/python-exceptiongroup 1.0.4-1 0.09 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-jsonschema 4.17.3-1 0.95 MiB community/python-lark-parser 1.1.5-1 0.90 MiB extra/python-packaging 21.3-1 0.26 MiB extra/python-pep517 0.13.0-1 0.13 MiB community/python-pluggy 1.0.0-1 0.10 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB community/python-pyrsistent 0.19.2-1 0.48 MiB extra/python-tomli 2.0.1-1 0.08 MiB community/python-tomlkit 0.11.6-1 0.39 MiB community/python-typing_extensions 4.4.0-1 0.22 MiB community/python-build 0.9.0-1 1.06 MiB community/python-installer 0.6.0-1 1.20 MiB community/python-poetry-core 1.4.0-1 4.90 MiB community/python-pytest 7.2.0-4 2.79 MiB Total Installed Size: 14.96 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-tomli... installing python-pep517... 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-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-attrs... installing python-pyrsistent... installing python-typing_extensions... installing python-jsonschema... Optional dependencies for python-jsonschema python-isoduration: for duration format python-fqdn: for hostname format python-idna: for idn-hostname format python-jsonpointer: for json-pointer & relative-json-pointer format python-rfc3339-validator: for date-time format python-rfc3987: for iri, iri-reference, uri & uri-reference format python-uri-template: for uri-template format python-webcolors: for color format installing python-lark-parser... installing python-tomlkit... installing python-poetry-core... installing python-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found python-yaspin-2.2.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-yaspin-2.2.0.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built yaspin-2.2.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0 rootdir: /build/python-yaspin/src/yaspin-2.2.0 collected 1983 items tests/test_attrs.py .................................................... [ 2%] ................................s [ 4%] tests/test_in_out.py sssssss...ss.ss.....ss..ss.......ss...ss.........ss [ 6%] ....ss...........ss.....ss.............ss......ss........sssssssssssssss [ 10%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%] ssssssssssssssssssssssssssssssssssssssssssssssssss [ 16%] tests/test_attrs.py . [ 16%] tests/test_properties.py . [ 16%] tests/test_in_out.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 19%] sssssssssssssssssssssssssssssssssssssss [ 21%] tests/test_properties.py . [ 21%] tests/test_in_out.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 23%] ssssssssssssssssssssssssssssss [ 25%] tests/test_attrs.py . [ 25%] tests/test_properties.py . [ 25%] tests/test_in_out.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 28%] sssssssssssssssssssss [ 29%] tests/test_attrs.py . [ 29%] tests/test_properties.py . [ 29%] tests/test_in_out.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 31%] sssssssssssssssssssss [ 32%] tests/test_properties.py . [ 32%] tests/test_in_out.py ......ss............ss..........ss........ss......s [ 35%] s....ss..ssss [ 36%] tests/test_attrs.py . [ 36%] tests/test_properties.py . [ 36%] tests/test_in_out.py ............ss..........ss........ss......ss....ss. [ 38%] .ssss [ 39%] tests/test_attrs.py . [ 39%] tests/test_properties.py . [ 39%] tests/test_in_out.py .....ss.....ss....ss....ss...ss...ss..ss..ss.ss.sss [ 41%] sssss [ 42%] tests/test_properties.py . [ 42%] tests/test_in_out.py .....ss..........ss........ss......ss....ss..ssss [ 44%] tests/test_attrs.py . [ 44%] tests/test_properties.py . [ 44%] tests/test_in_out.py ..........ss........ss......ss....ss..ssss [ 46%] tests/test_attrs.py . [ 46%] tests/test_properties.py . [ 46%] tests/test_in_out.py ....ss....ss...ss...ss..ss..ss.ss.ssssssss [ 48%] tests/test_properties.py . [ 49%] tests/test_in_out.py ....ss........ss......ss....ss..ssss [ 50%] tests/test_attrs.py . [ 50%] tests/test_properties.py . [ 50%] tests/test_in_out.py ........ss......ss....ss..ssss [ 52%] tests/test_attrs.py . [ 52%] tests/test_properties.py . [ 52%] tests/test_in_out.py ...ss...ss..ss..ss.ss.ssssssss [ 54%] tests/test_properties.py . [ 54%] tests/test_in_out.py ...ss......ss....ss..ssss [ 55%] tests/test_attrs.py . [ 55%] tests/test_properties.py . [ 55%] tests/test_in_out.py ......ss....ss..ssss [ 56%] tests/test_attrs.py . [ 56%] tests/test_properties.py . [ 56%] tests/test_in_out.py ..ss..ss.ss.ssssssss [ 57%] tests/test_properties.py . [ 57%] tests/test_in_out.py ..ss....ss..ssss [ 58%] tests/test_attrs.py . [ 58%] tests/test_properties.py . [ 58%] tests/test_in_out.py ....ss..ssss [ 59%] tests/test_attrs.py . [ 59%] tests/test_properties.py . [ 59%] tests/test_in_out.py .ss.ssssssss [ 59%] tests/test_properties.py . [ 59%] tests/test_in_out.py .ss..ssss [ 60%] tests/test_attrs.py . [ 60%] tests/test_properties.py . [ 60%] tests/test_in_out.py ..ssss [ 60%] tests/test_attrs.py . [ 60%] tests/test_properties.py . [ 60%] tests/test_in_out.py ssssss [ 61%] tests/test_properties.py . [ 61%] tests/test_in_out.py ssss [ 61%] tests/test_attrs.py . [ 61%] tests/test_properties.py . [ 61%] tests/test_in_out.py ss [ 61%] tests/test_attrs.py . [ 61%] tests/test_properties.py . [ 61%] tests/test_in_out.py ss [ 61%] tests/test_properties.py . [ 61%] tests/test_in_out.py s [ 61%] tests/test_attrs.py s [ 61%] tests/test_properties.py . [ 62%] tests/test_attrs.py s [ 62%] tests/test_properties.py .. [ 62%] tests/test_attrs.py s [ 62%] tests/test_properties.py .. [ 62%] tests/test_attrs.py .............. [ 63%] tests/test_finalizers.py ................................ [ 64%] tests/test_in_out.py ..................... [ 65%] tests/test_pipes.py . [ 65%] tests/test_in_out.py ........... [ 66%] tests/test_pipes.py . [ 66%] tests/test_in_out.py ............. [ 67%] tests/test_pipes.py . [ 67%] tests/test_in_out.py ......... [ 67%] tests/test_pipes.py . [ 67%] tests/test_in_out.py ........... [ 68%] tests/test_pipes.py . [ 68%] tests/test_in_out.py ......... [ 68%] tests/test_pipes.py . [ 68%] tests/test_in_out.py ............... [ 69%] tests/test_pipes.py . [ 69%] tests/test_in_out.py ... [ 69%] tests/test_pipes.py . [ 69%] tests/test_properties.py .. [ 69%] tests/test_in_out.py ......... [ 70%] tests/test_pipes.py . [ 70%] tests/test_in_out.py ......... [ 70%] tests/test_pipes.py . [ 70%] tests/test_in_out.py ............... [ 71%] tests/test_pipes.py . [ 71%] tests/test_in_out.py ... [ 71%] tests/test_pipes.py . [ 71%] tests/test_properties.py .. [ 71%] tests/test_in_out.py ......... [ 72%] tests/test_pipes.py . [ 72%] tests/test_in_out.py ......... [ 72%] tests/test_pipes.py . [ 72%] tests/test_in_out.py ............... [ 73%] tests/test_pipes.py . [ 73%] tests/test_in_out.py ... [ 73%] tests/test_pipes.py . [ 73%] tests/test_properties.py .. [ 74%] tests/test_in_out.py ......... [ 74%] tests/test_pipes.py . [ 74%] tests/test_in_out.py ......... [ 74%] tests/test_pipes.py . [ 75%] tests/test_in_out.py ............... [ 75%] tests/test_pipes.py . [ 75%] tests/test_in_out.py ... [ 75%] tests/test_pipes.py . [ 76%] tests/test_properties.py .. [ 76%] tests/test_in_out.py ......... [ 76%] tests/test_pipes.py . [ 76%] tests/test_in_out.py ......... [ 77%] tests/test_pipes.py . [ 77%] tests/test_in_out.py ............... [ 77%] tests/test_pipes.py . [ 77%] tests/test_in_out.py ... [ 78%] tests/test_pipes.py . [ 78%] tests/test_properties.py .. [ 78%] tests/test_in_out.py ......... [ 78%] tests/test_pipes.py . [ 78%] tests/test_in_out.py ......... [ 79%] tests/test_pipes.py . [ 79%] tests/test_in_out.py ............... [ 80%] tests/test_pipes.py . [ 80%] tests/test_in_out.py ... [ 80%] tests/test_pipes.py . [ 80%] tests/test_properties.py .. [ 80%] tests/test_in_out.py ......... [ 80%] tests/test_pipes.py . [ 80%] tests/test_in_out.py ......... [ 81%] tests/test_pipes.py . [ 81%] tests/test_in_out.py ............... [ 82%] tests/test_pipes.py . [ 82%] tests/test_in_out.py ... [ 82%] tests/test_pipes.py . [ 82%] tests/test_properties.py .. [ 82%] tests/test_in_out.py ......... [ 82%] tests/test_pipes.py . [ 83%] tests/test_in_out.py ......... [ 83%] tests/test_pipes.py . [ 83%] tests/test_in_out.py ............... [ 84%] tests/test_pipes.py . [ 84%] tests/test_in_out.py ... [ 84%] tests/test_pipes.py . [ 84%] tests/test_properties.py .. [ 84%] tests/test_in_out.py ......... [ 85%] tests/test_pipes.py . [ 85%] tests/test_in_out.py ......... [ 85%] tests/test_pipes.py . [ 85%] tests/test_in_out.py ............... [ 86%] tests/test_pipes.py . [ 86%] tests/test_in_out.py ... [ 86%] tests/test_pipes.py . [ 86%] tests/test_properties.py .. [ 86%] tests/test_in_out.py ....... [ 87%] tests/test_pipes.py . [ 87%] tests/test_in_out.py .F.......................... [ 88%] tests/test_properties.py .. [ 88%] tests/test_in_out.py ........... [ 89%] tests/test_pipes.py . [ 89%] tests/test_in_out.py ... [ 89%] tests/test_pipes.py . [ 89%] tests/test_properties.py .. [ 89%] tests/test_in_out.py ....... [ 89%] tests/test_pipes.py . [ 89%] tests/test_properties.py .. [ 90%] tests/test_in_out.py ........... [ 90%] tests/test_pipes.py . [ 90%] tests/test_in_out.py ... [ 90%] tests/test_pipes.py . [ 90%] tests/test_properties.py .. [ 90%] tests/test_in_out.py ...... [ 91%] tests/test_properties.py .. [ 91%] tests/test_in_out.py .. [ 91%] tests/test_properties.py . [ 91%] tests/test_in_out.py . [ 91%] tests/test_pipes.py . [ 91%] tests/test_properties.py .. [ 91%] tests/test_in_out.py . [ 91%] tests/test_pipes.py . [ 91%] tests/test_properties.py ....... [ 92%] tests/test_in_out.py .... [ 92%] tests/test_properties.py ........................... [ 93%] tests/test_signals.py .ss....................... [ 95%] tests/test_spinners.py ................................................. [ 97%] .................................... [ 99%] tests/test_timer.py ...... [ 99%] tests/test_yaspin.py ....... [100%] =================================== FAILURES =================================== _______________ test_hide_show['non-ascii unicode str'-terminal] _______________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x4004e1e890> capsys = <_pytest.capture.CaptureFixture object at 0x4004e1e830> text = 'Загрузка' request = > isatty_fixture = True def test_hide_show(monkeypatch, capsys, text, request, isatty_fixture): # Setup monkeypatch.setattr(sys.stdout, "isatty", lambda: isatty_fixture) sp = yaspin() sp.start() # Ensure that sp.stop() will be executed def teardown(): sp.stop() request.addfinalizer(teardown) # # Actual test # sp.hide() # ensure that hidden spinner flag was set assert sp._hide_spin.is_set() out, _ = capsys.readouterr() # ensure that text was cleared with the hide method if isatty_fixture: assert out[-4:] == "\r\033[K" else: assert out[-1:] == "\r" # ``\n`` is required to flush stdout during # the hidden state of the spinner sys.stdout.write(f"{text}\n") out, _ = capsys.readouterr() # cleans stdout from _clear_line if isatty_fixture: out = out.replace("\r\033[K", "") else: out = out.replace("\r", "") assert isinstance(out, (str, bytes)) assert out[-1] == "\n" if text: > assert out[:-1] == text E AssertionError: assert '\r⠋\x1b[0m Загрузка' == 'Загрузка' E - Загрузка E + E + ⠋ Загрузка tests/test_in_out.py:158: AssertionError --------------------------- Captured stdout teardown --------------------------- =========================== short test summary info ============================ FAILED tests/test_in_out.py::test_hide_show['non-ascii unicode str'-terminal] ================= 1 failed, 1268 passed, 714 skipped in 49.44s ================= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix6/build receiving incremental file list python-yaspin-2.2.0-1-riscv64-build.log python-yaspin-2.2.0-1-riscv64-check.log python-yaspin-2.2.0-1-riscv64-prepare.log sent 81 bytes received 2,364 bytes 1,630.00 bytes/sec total size is 19,653 speedup is 8.04