==> Building on shinx ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,413 75% 0.00kB/s 0:00:00 1,878 100% 454.10kB/s 0:00:00 (xfr#1, to-chk=2/4) python-pytest-html-3.2.0-3.log 315 100% 307.62kB/s 0:00:00 315 100% 307.62kB/s 0:00:00 (xfr#2, to-chk=1/4) python-pytest-html-3.2.0-build_system.patch 700 76% 683.59kB/s 0:00:00 921 100% 899.41kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 890 bytes received 106 bytes 664.00 bytes/sec total size is 2,991 speedup is 3.00 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix30 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] -> [felix30]...done ==> Making package: python-pytest-html 3.2.0-3 (Mon May 8 17:21:33 2023) ==> Retrieving sources...  -> Found pytest-html-3.2.0.tar.gz  -> Found python-pytest-html-3.2.0-build_system.patch ==> Validating source files with sha512sums... pytest-html-3.2.0.tar.gz ... Passed python-pytest-html-3.2.0-build_system.patch ... Passed ==> Validating source files with b2sums... pytest-html-3.2.0.tar.gz ... Passed python-pytest-html-3.2.0-build_system.patch ... Passed ==> Making package: python-pytest-html 3.2.0-3 (Mon May 8 17:21:43 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (9) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-1 104.68 MiB community/python-apipkg 3.0.1-3 0.05 MiB community/python-iniconfig 2.0.0-4 0.04 MiB extra/python-packaging 23.0-3 0.43 MiB community/python-pluggy 1.0.0-4 0.13 MiB community/python-py 1.11.0-4 1.05 MiB 0.20 MiB community/python-pytest 7.3.1-4 3.97 MiB community/python-pytest-metadata 2.0.4-2 0.04 MiB 0.01 MiB Total Download Size: 0.21 MiB Total Installed Size: 110.46 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-py-1.11.0-4-any downloading... python-pytest-metadata-2.0.4-2-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-apipkg... installing python-iniconfig... installing python-py... Optional dependencies for python-py python-pytest: for py.test module [pending] installing python-packaging... installing python-pluggy... installing python-pytest... installing python-pytest-metadata... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (25) New Version Net Change Download Size community/python-autocommand 2.2.2-4 0.08 MiB community/python-execnet 1.9.0-6 0.46 MiB community/python-fastjsonschema 2.16.3-4 0.29 MiB community/python-inflect 6.0.4-2 0.38 MiB community/python-jaraco.context 4.3.0-3 0.04 MiB community/python-jaraco.functools 3.6.0-3 0.06 MiB community/python-jaraco.text 3.11.1-3 0.09 MiB community/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-platformdirs 3.5.0-2 0.20 MiB community/python-pydantic 1.10.7-4 6.36 MiB community/python-pyproject-hooks 1.0.0-4 0.09 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.4.22-1 0.11 MiB community/python-typing_extensions 4.5.0-4 0.29 MiB extra/python-validate-pyproject 0.12.2-4 0.29 MiB community/python-ansi2html 1.8.0-3 0.10 MiB 0.03 MiB community/python-build 0.10.0-3 0.68 MiB community/python-installer 0.7.0-3 0.82 MiB community/python-pytest-mock 3.10.0-3 0.08 MiB community/python-pytest-rerunfailures 11.1.2-2 0.11 MiB 0.03 MiB community/python-pytest-xdist 3.2.1-3 0.45 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB community/python-setuptools-scm 7.1.0-3 0.36 MiB community/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 0.05 MiB Total Installed Size: 17.10 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-ansi2html-1.8.0-3-any downloading... python-pytest-rerunfailures-11.1.2-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-tomli... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... 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-platformdirs... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-setuptools-scm... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-ansi2html... installing python-pytest-mock... installing python-pytest-rerunfailures... Optional dependencies for python-pytest-rerunfailures python-pytest-xdist: for recovering from crashes [pending] installing python-execnet... installing python-pytest-xdist... [?25h==> Retrieving sources...  -> Found pytest-html-3.2.0.tar.gz  -> Found python-pytest-html-3.2.0-build_system.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pytest-html-3.2.0.tar.gz with bsdtar ==> Starting prepare()... patching file pyproject.toml patching file setup.py ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pytest_html copying src/pytest_html/__init__.py -> build/lib/pytest_html copying src/pytest_html/__version.py -> build/lib/pytest_html copying src/pytest_html/extras.py -> build/lib/pytest_html copying src/pytest_html/hooks.py -> build/lib/pytest_html copying src/pytest_html/html_report.py -> build/lib/pytest_html copying src/pytest_html/outcome.py -> build/lib/pytest_html copying src/pytest_html/plugin.py -> build/lib/pytest_html copying src/pytest_html/result.py -> build/lib/pytest_html copying src/pytest_html/util.py -> build/lib/pytest_html creating build/lib/pytest_html/resources copying src/pytest_html/resources/main.js -> build/lib/pytest_html/resources copying src/pytest_html/resources/style.css -> build/lib/pytest_html/resources installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/__init__.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/__version.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/extras.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/hooks.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/html_report.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/outcome.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/plugin.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/result.py -> build/bdist.linux-riscv64/wheel/pytest_html copying build/lib/pytest_html/util.py -> build/bdist.linux-riscv64/wheel/pytest_html creating build/bdist.linux-riscv64/wheel/pytest_html/resources copying build/lib/pytest_html/resources/main.js -> build/bdist.linux-riscv64/wheel/pytest_html/resources copying build/lib/pytest_html/resources/style.css -> build/bdist.linux-riscv64/wheel/pytest_html/resources running install_egg_info running egg_info writing src/pytest_html.egg-info/PKG-INFO writing dependency_links to src/pytest_html.egg-info/dependency_links.txt writing entry points to src/pytest_html.egg-info/entry_points.txt writing requirements to src/pytest_html.egg-info/requires.txt writing top-level names to src/pytest_html.egg-info/top_level.txt reading manifest file 'src/pytest_html.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_html.egg-info/SOURCES.txt' Copying src/pytest_html.egg-info to build/bdist.linux-riscv64/wheel/pytest_html-3.2.0-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/pytest_html-3.2.0.dist-info/WHEEL creating '/build/python-pytest-html/src/pytest-html-3.2.0/dist/.tmp-3cvwqx1t/pytest_html-3.2.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'pytest_html/__init__.py' adding 'pytest_html/__version.py' adding 'pytest_html/extras.py' adding 'pytest_html/hooks.py' adding 'pytest_html/html_report.py' adding 'pytest_html/outcome.py' adding 'pytest_html/plugin.py' adding 'pytest_html/result.py' adding 'pytest_html/util.py' adding 'pytest_html/resources/main.js' adding 'pytest_html/resources/style.css' adding 'pytest_html-3.2.0.dist-info/LICENSE' adding 'pytest_html-3.2.0.dist-info/METADATA' adding 'pytest_html-3.2.0.dist-info/WHEEL' adding 'pytest_html-3.2.0.dist-info/entry_points.txt' adding 'pytest_html-3.2.0.dist-info/top_level.txt' adding 'pytest_html-3.2.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built pytest_html-3.2.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache metadata: {'Python': '3.11.3', 'Platform': 'Linux-6.2.10-arch1-1-riscv64-with-glibc2.37', 'Packages': {'pytest': '7.3.1', 'pluggy': '1.0.0'}, 'Plugins': {'html': '3.2.0', 'metadata': '2.0.4', 'mock': '3.10.0', 'rerunfailures': '11.1.2', 'xdist': '3.2.1'}} rootdir: /build/python-pytest-html/src/pytest-html-3.2.0 configfile: tox.ini testpaths: testing plugins: html-3.2.0, metadata-2.0.4, mock-3.10.0, rerunfailures-11.1.2, xdist-3.2.1 collecting ... collected 87 items testing/test_pytest_html.py::TestHTML::test_durations PASSED [ 1%] testing/test_pytest_html.py::TestHTML::test_can_format_duration_column[%f-\\d{2}] PASSED [ 2%] testing/test_pytest_html.py::TestHTML::test_can_format_duration_column[%S.%f-\\d{2}\\.\\d{2}] PASSED [ 3%] testing/test_pytest_html.py::TestHTML::test_can_format_duration_column[ABC%H %M %S123-ABC\\d{2} \\d{2} \\d{2}123] PASSED [ 4%] testing/test_pytest_html.py::TestHTML::test_pass PASSED [ 5%] testing/test_pytest_html.py::TestHTML::test_skip PASSED [ 6%] testing/test_pytest_html.py::TestHTML::test_fail PASSED [ 8%] testing/test_pytest_html.py::TestHTML::test_rerun PASSED [ 9%] testing/test_pytest_html.py::TestHTML::test_no_rerun PASSED [ 10%] testing/test_pytest_html.py::TestHTML::test_conditional_xfails PASSED [ 11%] testing/test_pytest_html.py::TestHTML::test_setup_error PASSED [ 12%] testing/test_pytest_html.py::TestHTML::test_xfail PASSED [ 13%] testing/test_pytest_html.py::TestHTML::test_xpass PASSED [ 14%] testing/test_pytest_html.py::TestHTML::test_create_report_path PASSED [ 16%] testing/test_pytest_html.py::TestHTML::test_report_title[-False] PASSED [ 17%] testing/test_pytest_html.py::TestHTML::test_report_title[-True] PASSED [ 18%] testing/test_pytest_html.py::TestHTML::test_report_title[directory-False] PASSED [ 19%] testing/test_pytest_html.py::TestHTML::test_report_title_addopts_env_var PASSED [ 20%] testing/test_pytest_html.py::TestHTML::test_resources_inline_css PASSED [ 21%] testing/test_pytest_html.py::TestHTML::test_resources PASSED [ 22%] testing/test_pytest_html.py::TestHTML::test_stdout[pass] PASSED [ 24%] testing/test_pytest_html.py::TestHTML::test_stdout[fail] PASSED [ 25%] testing/test_pytest_html.py::TestHTML::test_custom_content_in_summary PASSED [ 26%] testing/test_pytest_html.py::TestHTML::test_extra_html PASSED [ 27%] testing/test_pytest_html.py::TestHTML::test_extra_text[u'\x81'-woE=] PASSED [ 28%] testing/test_pytest_html.py::TestHTML::test_extra_text['foo'-Zm9v] PASSED [ 29%] testing/test_pytest_html.py::TestHTML::test_extra_text[b'\\xe2\\x80\\x93'-4oCT] PASSED [ 31%] testing/test_pytest_html.py::TestHTML::test_extra_json PASSED [ 32%] testing/test_pytest_html.py::TestHTML::test_extra_url PASSED [ 33%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/png-png] PASSED [ 34%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/png-image] PASSED [ 35%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/jpeg-jpg] PASSED [ 36%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/svg+xml-svg] PASSED [ 37%] testing/test_pytest_html.py::TestHTML::test_extra_image_windows PASSED [ 39%] testing/test_pytest_html.py::TestHTML::test_extra_video[video/mp4-mp4] PASSED [ 40%] testing/test_pytest_html.py::TestHTML::test_extra_video_windows PASSED [ 41%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated[u'\x81'] PASSED [ 42%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated['foo'] PASSED [ 43%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated[b'\\xe2\\x80\\x93'] PASSED [ 44%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[png-image] PASSED [ 45%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[png-png] PASSED [ 47%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[svg-svg] PASSED [ 48%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[jpg-jpg] PASSED [ 49%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[png-image] PASSED [ 50%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[png-png] PASSED [ 51%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[svg-svg] PASSED [ 52%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[jpg-jpg] PASSED [ 54%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[https://] PASSED [ 55%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[file://] PASSED [ 56%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[image.png] PASSED [ 57%] testing/test_pytest_html.py::TestHTML::test_very_long_test_name[10] PASSED [ 58%] testing/test_pytest_html.py::TestHTML::test_very_long_test_name[100] PASSED [ 59%] testing/test_pytest_html.py::TestHTML::test_extra_fixture PASSED [ 60%] testing/test_pytest_html.py::TestHTML::test_no_invalid_characters_in_filename PASSED [ 62%] testing/test_pytest_html.py::TestHTML::test_no_environment PASSED [ 63%] testing/test_pytest_html.py::TestHTML::test_environment PASSED [ 64%] testing/test_pytest_html.py::TestHTML::test_environment_xdist PASSED [ 65%] testing/test_pytest_html.py::TestHTML::test_environment_xdist_reruns PASSED [ 66%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content0-123Go, Hello, fzWZP6vKRv, garAge, hello] PASSED [ 67%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content1-1, 2, 2, 4, 54] PASSED [ 68%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content2-400, 5.4, Yes] PASSED [ 70%] testing/test_pytest_html.py::TestHTML::test_environment_unordered_dict_value[unordered_dict0-content\\n\\s+{"123Go": 5, "Hello": 5, "fzWZP6vKRv": 10, "garAge": 6, "hello": 5}] PASSED [ 71%] testing/test_pytest_html.py::TestHTML::test_environment_unordered_dict_value[unordered_dict1-content\\n\\s+{"First Link": "W3Schools", "Second Link": "W2Schools", "Third Link": "W4Schools"}] PASSED [ 72%] testing/test_pytest_html.py::TestHTML::test_environment_ordered PASSED [ 73%] testing/test_pytest_html.py::TestHTML::test_xdist_crashing_worker PASSED [ 74%] testing/test_pytest_html.py::TestHTML::test_utf8_surrogate PASSED [ 75%] testing/test_pytest_html.py::TestHTML::test_ansi_color[True] FAILED [ 77%] testing/test_pytest_html.py::TestHTML::test_ansi_color[False] PASSED [ 78%] testing/test_pytest_html.py::TestHTML::test_ansi_escape_sequence_removed PASSED [ 79%] testing/test_pytest_html.py::TestHTML::test_utf8_longrepr['foo'] PASSED [ 80%] testing/test_pytest_html.py::TestHTML::test_utf8_longrepr[u'\x81'] PASSED [ 81%] testing/test_pytest_html.py::TestHTML::test_collect_error PASSED [ 82%] testing/test_pytest_html.py::TestHTML::test_css[colors0] PASSED [ 83%] testing/test_pytest_html.py::TestHTML::test_css[colors1] PASSED [ 85%] testing/test_pytest_html.py::TestHTML::test_css_invalid_no_html PASSED [ 86%] testing/test_pytest_html.py::TestHTML::test_report_display_utf8 PASSED [ 87%] testing/test_pytest_html.py::TestHTML::test_collapsed[True] PASSED [ 88%] testing/test_pytest_html.py::TestHTML::test_collapsed[False] PASSED [ 89%] testing/test_pytest_html.py::TestHTML::test_setup_and_teardown_in_html PASSED [ 90%] testing/test_pytest_html.py::TestHTML::test_setup_failures_are_errors PASSED [ 91%] testing/test_pytest_html.py::TestHTML::test_teardown_failures_are_errors PASSED [ 93%] testing/test_pytest_html.py::TestHTML::test_extra_log_reporting_respects_capture_no[-s-False] PASSED [ 94%] testing/test_pytest_html.py::TestHTML::test_extra_log_reporting_respects_capture_no[--capture=no-False] PASSED [ 95%] testing/test_pytest_html.py::TestHTML::test_extra_log_reporting_respects_capture_no[--capture=sys-True] PASSED [ 96%] testing/test_pytest_html.py::TestHTML::test_extra_log_reporting_respects_show_capture_no[--show-capture=no-False] PASSED [ 97%] testing/test_pytest_html.py::TestHTML::test_extra_log_reporting_respects_show_capture_no[--show-capture=all-True] PASSED [ 98%] testing/test_pytest_html.py::TestHTML::test_environment_table_redact_list PASSED [100%] =================================== FAILURES =================================== ________________________ TestHTML.test_ansi_color[True] ________________________ self = testdir = mocker = with_ansi = True @pytest.mark.parametrize( "with_ansi", [True, False], ) def test_ansi_color(self, testdir, mocker, with_ansi): if not with_ansi: mock_ansi_support = mocker.patch("pytest_html.html_report.ansi_support") mock_ansi_support = mocker.patch("pytest_html.result.ansi_support") mock_ansi_support.return_value = None pass_content = [ 'RCOLOR', 'GCOLOR', 'YCOLOR', ] testdir.makepyfile( r""" def test_ansi(): colors = ['\033[31mRCOLOR\033[0m', '\033[32mGCOLOR\033[0m', '\033[33mYCOLOR\033[0m'] for color in colors: print(color) """ ) result, html = run(testdir, "report.html", "--self-contained-html") assert result.ret == 0 for content in pass_content: if with_ansi: > assert content in html E assert 'RCOLOR' in '\n\n \n \n report.html\n