==> Building on shellder ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 700 75% 0.00kB/s 0:00:00 929 100% 223.63kB/s 0:00:00 (xfr#1, to-chk=1/3) python-whatthepatch-1.0.3-1.log 207 100% 202.15kB/s 0:00:00 207 100% 202.15kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 347 bytes received 75 bytes 168.80 bytes/sec total size is 1,124 speedup is 2.66 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root16 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] -> [root16]...done ==> Making package: python-whatthepatch 1.0.3-1 (Tue Mar 7 02:40:45 2023) ==> Retrieving sources...  -> Found whatthepatch-1.0.3.tar.gz ==> Validating source files with sha256sums... whatthepatch-1.0.3.tar.gz ... Passed ==> Making package: python-whatthepatch 1.0.3-1 (Tue Mar 7 02:40:58 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.9-1 81.37 MiB Total Installed Size: 81.43 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 [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (26) New Version Net Change community/cython 0.29.33-1 7.53 MiB extra/python-attrs 22.2.0-1 0.44 MiB community/python-autocommand 2.2.2-1 0.07 MiB community/python-exceptiongroup 1.1.0-1 0.09 MiB community/python-fastjsonschema 2.16.3-1 0.20 MiB community/python-inflect 6.0.2-1 0.28 MiB community/python-iniconfig 2.0.0-2 0.03 MiB community/python-jaraco.context 4.3.0-1 0.03 MiB community/python-jaraco.functools 3.6.0-1 0.05 MiB community/python-jaraco.text 3.11.1-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 23.0-1 0.32 MiB extra/python-platformdirs 3.0.0-1 0.12 MiB community/python-pluggy 1.0.0-2 0.10 MiB community/python-pydantic 1.10.4-1 5.81 MiB community/python-pyproject-hooks 1.0.0-1 0.07 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2023.2.20-1 0.11 MiB community/python-typing_extensions 4.5.0-1 0.23 MiB extra/python-validate-pyproject 0.12.1-1 0.22 MiB community/python-build 0.10.0-1 1.08 MiB community/python-installer 0.6.0-1 1.20 MiB community/python-pytest 7.2.2-1 2.80 MiB extra/python-setuptools 1:67.4.0-1 3.33 MiB community/python-wheel 0.38.4-1 0.16 MiB Total Installed Size: 24.95 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... 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 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-platformdirs... installing python-fastjsonschema... 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... [?25h==> Retrieving sources...  -> Found whatthepatch-1.0.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting whatthepatch-1.0.3.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running egg_info writing src/whatthepatch.egg-info/PKG-INFO writing dependency_links to src/whatthepatch.egg-info/dependency_links.txt writing top-level names to src/whatthepatch.egg-info/top_level.txt reading manifest file 'src/whatthepatch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/whatthepatch.egg-info/SOURCES.txt' * Building wheel... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/whatthepatch copying src/whatthepatch/__init__.py -> build/lib/whatthepatch copying src/whatthepatch/apply.py -> build/lib/whatthepatch copying src/whatthepatch/exceptions.py -> build/lib/whatthepatch copying src/whatthepatch/patch.py -> build/lib/whatthepatch copying src/whatthepatch/snippets.py -> build/lib/whatthepatch running egg_info writing src/whatthepatch.egg-info/PKG-INFO writing dependency_links to src/whatthepatch.egg-info/dependency_links.txt writing top-level names to src/whatthepatch.egg-info/top_level.txt reading manifest file 'src/whatthepatch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/whatthepatch.egg-info/SOURCES.txt' 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/whatthepatch copying build/lib/whatthepatch/__init__.py -> build/bdist.linux-riscv64/wheel/whatthepatch copying build/lib/whatthepatch/apply.py -> build/bdist.linux-riscv64/wheel/whatthepatch copying build/lib/whatthepatch/exceptions.py -> build/bdist.linux-riscv64/wheel/whatthepatch copying build/lib/whatthepatch/patch.py -> build/bdist.linux-riscv64/wheel/whatthepatch copying build/lib/whatthepatch/snippets.py -> build/bdist.linux-riscv64/wheel/whatthepatch running install_egg_info Copying src/whatthepatch.egg-info to build/bdist.linux-riscv64/wheel/whatthepatch-1.0.3-py3.10.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/whatthepatch-1.0.3.dist-info/WHEEL creating '/build/python-whatthepatch/src/whatthepatch-1.0.3/dist/.tmp-ndf8oxtb/whatthepatch-1.0.3-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'whatthepatch/__init__.py' adding 'whatthepatch/apply.py' adding 'whatthepatch/exceptions.py' adding 'whatthepatch/patch.py' adding 'whatthepatch/snippets.py' adding 'whatthepatch-1.0.3.dist-info/LICENSE' adding 'whatthepatch-1.0.3.dist-info/METADATA' adding 'whatthepatch-1.0.3.dist-info/WHEEL' adding 'whatthepatch-1.0.3.dist-info/top_level.txt' adding 'whatthepatch-1.0.3.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built whatthepatch-1.0.3-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-whatthepatch/src/whatthepatch-1.0.3 collecting ... collected 50 items tests/test_apply.py::ApplyTestSuite::test_diff_context PASSED [ 2%] tests/test_apply.py::ApplyTestSuite::test_diff_default PASSED [ 4%] tests/test_apply.py::ApplyTestSuite::test_diff_ed PASSED [ 6%] tests/test_apply.py::ApplyTestSuite::test_diff_rcs PASSED [ 8%] tests/test_apply.py::ApplyTestSuite::test_diff_unified PASSED [ 10%] tests/test_apply.py::ApplyTestSuite::test_diff_unified2 PASSED [ 12%] tests/test_apply.py::ApplyTestSuite::test_diff_unified2_patchutil PASSED [ 14%] tests/test_apply.py::ApplyTestSuite::test_diff_unified_bad PASSED [ 16%] tests/test_apply.py::ApplyTestSuite::test_diff_unified_bad2 PASSED [ 18%] tests/test_apply.py::ApplyTestSuite::test_diff_unified_bad_backward PASSED [ 20%] tests/test_apply.py::ApplyTestSuite::test_diff_unified_bad_empty_source PASSED [ 22%] tests/test_apply.py::ApplyTestSuite::test_diff_unified_patchutil PASSED [ 24%] tests/test_apply.py::ApplyTestSuite::test_truth PASSED [ 26%] tests/test_patch.py::PatchTestSuite::test_apache_attachment_2241 PASSED [ 28%] tests/test_patch.py::PatchTestSuite::test_context_diff PASSED [ 30%] tests/test_patch.py::PatchTestSuite::test_context_diff_issue39 PASSED [ 32%] tests/test_patch.py::PatchTestSuite::test_context_header PASSED [ 34%] tests/test_patch.py::PatchTestSuite::test_cvs_header PASSED [ 36%] tests/test_patch.py::PatchTestSuite::test_default_diff PASSED [ 38%] tests/test_patch.py::PatchTestSuite::test_diff_context_with_does_not_include_extra_lines PASSED [ 40%] tests/test_patch.py::PatchTestSuite::test_diff_default_with_does_not_include_extra_lines PASSED [ 42%] tests/test_patch.py::PatchTestSuite::test_diff_unified_with_does_not_include_extra_lines PASSED [ 44%] tests/test_patch.py::PatchTestSuite::test_dos_unified_cvs PASSED [ 46%] tests/test_patch.py::PatchTestSuite::test_ed_diff PASSED [ 48%] tests/test_patch.py::PatchTestSuite::test_embedded_diff_in_comment PASSED [ 50%] tests/test_patch.py::PatchTestSuite::test_git_binary_files PASSED [ 52%] tests/test_patch.py::PatchTestSuite::test_git_header PASSED [ 54%] tests/test_patch.py::PatchTestSuite::test_git_header_long PASSED [ 56%] tests/test_patch.py::PatchTestSuite::test_git_new_empty_file PASSED [ 58%] tests/test_patch.py::PatchTestSuite::test_git_oneline_add PASSED [ 60%] tests/test_patch.py::PatchTestSuite::test_git_oneline_change PASSED [ 62%] tests/test_patch.py::PatchTestSuite::test_git_oneline_rm PASSED [ 64%] tests/test_patch.py::PatchTestSuite::test_git_patch PASSED [ 66%] tests/test_patch.py::PatchTestSuite::test_huge_patch FAILED [ 68%] tests/test_patch.py::PatchTestSuite::test_mozilla_252983_versionless PASSED [ 70%] tests/test_patch.py::PatchTestSuite::test_mozilla_527452_5_comment PASSED [ 72%] tests/test_patch.py::PatchTestSuite::test_old_style_cvs PASSED [ 74%] tests/test_patch.py::PatchTestSuite::test_rcs_diff PASSED [ 76%] tests/test_patch.py::PatchTestSuite::test_space_in_path_header PASSED [ 78%] tests/test_patch.py::PatchTestSuite::test_svn_context_patch PASSED [ 80%] tests/test_patch.py::PatchTestSuite::test_svn_default_patch PASSED [ 82%] tests/test_patch.py::PatchTestSuite::test_svn_git_patch PASSED [ 84%] tests/test_patch.py::PatchTestSuite::test_svn_header PASSED [ 86%] tests/test_patch.py::PatchTestSuite::test_svn_mixed_line_ends PASSED [ 88%] tests/test_patch.py::PatchTestSuite::test_svn_rcs_patch PASSED [ 90%] tests/test_patch.py::PatchTestSuite::test_svn_unified_patch PASSED [ 92%] tests/test_patch.py::PatchTestSuite::test_unified2_diff PASSED [ 94%] tests/test_patch.py::PatchTestSuite::test_unified_diff PASSED [ 96%] tests/test_patch.py::PatchTestSuite::test_unified_header PASSED [ 98%] tests/test_patch.py::PatchTestSuite::test_unified_header_notab PASSED [100%] =================================== FAILURES =================================== ________________________ PatchTestSuite.test_huge_patch ________________________ self = def test_huge_patch(self): start_time = time.time() text = """diff --git a/huge.file b/huge.file index 0000000..1111111 100644 --- a/huge.file +++ a/huge.file @@ -3,13 +3,1000007 @@ 00000000 11111111 22222222 -33333333 -44444444 +55555555 +66666666 """ for n in range(0, 1000000): text += "+" + hex(n) + "\n" result = list(wtp.patch.parse_patch(text)) self.assertEqual(1, len(result)) self.assertEqual(1000007, len(result[0].changes)) # This is 2x the usual time for CI to allow for some slow tests # Really all we care about is that this parses faster than it used to (200s+) > self.assertGreater(20, time.time() - start_time) E AssertionError: 20 not greater than 22.14237070083618 tests/test_patch.py:1450: AssertionError =========================== short test summary info ============================ FAILED tests/test_patch.py::PatchTestSuite::test_huge_patch - AssertionError: 20 not greater than 22.14237070083618 ======================== 1 failed, 49 passed in 23.33s ========================= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root16/build receiving incremental file list python-whatthepatch-1.0.3-1-riscv64-build.log python-whatthepatch-1.0.3-1-riscv64-check.log sent 62 bytes received 2,282 bytes 937.60 bytes/sec total size is 10,044 speedup is 4.28