==> Building on aurorus ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-test2ref ./ .SRCINFO 643 100% 0.00kB/s 0:00:00 643 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 97 100% 94.73kB/s 0:00:00 97 100% 94.73kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 941 100% 918.95kB/s 0:00:00 941 100% 918.95kB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-test2ref-1.2.3-1.log 737 100% 719.73kB/s 0:00:00 737 100% 719.73kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 2,451 bytes received 191 bytes 1,056.80 bytes/sec total size is 2,906 speedup is 1.10 ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building python-test2ref  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building python-test2ref for [extra] (riscv64) ]3008;start=3d56608fc3e5404289c7513b5f04746f;user=root;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=5561438502524b5595f11cbba000a2ef;pid=2442349;comm=systemd-nspawn;container=arch-nspawn-2442349;type=container\]11;?\]2;🔵 Container arch-nspawn-2442349 on aurorus.felixc.at\[?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/hwdata 0.409-1 0.410-1 0.03 MiB 1.69 MiB Total Download Size: 1.69 MiB Total Installed Size: 10.02 MiB Net Upgrade Size: 0.03 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... hwdata-0.410-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading hwdata... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h[!p]104\[?7h]3008;end=3d56608fc3e5404289c7513b5f04746f\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: python-test2ref 1.2.3-1 (Wed Aug 5 22:30:11 2026) ==> Retrieving sources...  -> Cloning python-test2ref git repo... Cloning into bare repository '/home/felix/packages/python-test2ref/python-test2ref'... remote: Enumerating objects: 420, done. remote: Counting objects: 0% (1/113) remote: Counting objects: 1% (2/113) remote: Counting objects: 2% (3/113) remote: Counting objects: 3% (4/113) remote: Counting objects: 4% (5/113) remote: Counting objects: 5% (6/113) remote: Counting objects: 6% (7/113) remote: Counting objects: 7% (8/113) remote: Counting objects: 8% (10/113) remote: Counting objects: 9% (11/113) remote: Counting objects: 10% (12/113) remote: Counting objects: 11% (13/113) remote: Counting objects: 12% (14/113) remote: Counting objects: 13% (15/113) remote: Counting objects: 14% (16/113) remote: Counting objects: 15% (17/113) remote: Counting objects: 16% (19/113) remote: Counting objects: 17% (20/113) remote: Counting objects: 18% (21/113) remote: Counting objects: 19% (22/113) remote: Counting objects: 20% (23/113) remote: Counting objects: 21% (24/113) remote: Counting objects: 22% (25/113) remote: Counting objects: 23% (26/113) remote: Counting objects: 24% (28/113) remote: Counting objects: 25% (29/113) remote: Counting objects: 26% (30/113) remote: Counting objects: 27% (31/113) remote: Counting objects: 28% (32/113) remote: Counting objects: 29% (33/113) remote: Counting objects: 30% (34/113) remote: Counting objects: 31% (36/113) remote: Counting objects: 32% (37/113) remote: Counting objects: 33% (38/113) remote: Counting objects: 34% (39/113) remote: Counting objects: 35% (40/113) remote: Counting objects: 36% (41/113) remote: Counting objects: 37% (42/113) remote: Counting objects: 38% (43/113) remote: Counting objects: 39% (45/113) remote: Counting objects: 40% (46/113) remote: Counting objects: 41% (47/113) remote: Counting objects: 42% (48/113) remote: Counting objects: 43% (49/113) remote: Counting objects: 44% (50/113) remote: Counting objects: 45% (51/113) remote: Counting objects: 46% (52/113) remote: Counting objects: 47% (54/113) remote: Counting objects: 48% (55/113) remote: Counting objects: 49% (56/113) remote: Counting objects: 50% (57/113) remote: Counting objects: 51% (58/113) remote: Counting objects: 52% (59/113) remote: Counting objects: 53% (60/113) remote: Counting objects: 54% (62/113) remote: Counting objects: 55% (63/113) remote: Counting objects: 56% (64/113) remote: Counting objects: 57% (65/113) remote: Counting objects: 58% (66/113) remote: Counting objects: 59% (67/113) remote: Counting objects: 60% (68/113) remote: Counting objects: 61% (69/113) remote: Counting objects: 62% (71/113) remote: Counting objects: 63% (72/113) remote: Counting objects: 64% (73/113) remote: Counting objects: 65% (74/113) remote: Counting objects: 66% (75/113) remote: Counting objects: 67% (76/113) remote: Counting objects: 68% (77/113) remote: Counting objects: 69% (78/113) remote: Counting objects: 70% (80/113) remote: Counting objects: 71% (81/113) remote: Counting objects: 72% (82/113) remote: Counting objects: 73% (83/113) remote: Counting objects: 74% (84/113) remote: Counting objects: 75% (85/113) remote: Counting objects: 76% (86/113) remote: Counting objects: 77% (88/113) remote: Counting objects: 78% (89/113) remote: Counting objects: 79% (90/113) remote: Counting objects: 80% (91/113) remote: Counting objects: 81% (92/113) remote: Counting objects: 82% (93/113) remote: Counting objects: 83% (94/113) remote: Counting objects: 84% (95/113) remote: Counting objects: 85% (97/113) remote: Counting objects: 86% (98/113) remote: Counting objects: 87% (99/113) remote: Counting objects: 88% (100/113) remote: Counting objects: 89% (101/113) remote: Counting objects: 90% (102/113) remote: Counting objects: 91% (103/113) remote: Counting objects: 92% (104/113) remote: Counting objects: 93% (106/113) remote: Counting objects: 94% (107/113) remote: Counting objects: 95% (108/113) remote: Counting objects: 96% (109/113) remote: Counting objects: 97% (110/113) remote: Counting objects: 98% (111/113) remote: Counting objects: 99% (112/113) remote: Counting objects: 100% (113/113) remote: Counting objects: 100% (113/113), done. remote: Compressing objects: 1% (1/57) remote: Compressing objects: 3% (2/57) remote: Compressing objects: 5% (3/57) remote: Compressing objects: 7% (4/57) remote: Compressing objects: 8% (5/57) remote: Compressing objects: 10% (6/57) remote: Compressing objects: 12% (7/57) remote: Compressing objects: 14% (8/57) remote: Compressing objects: 15% (9/57) remote: Compressing objects: 17% (10/57) remote: Compressing objects: 19% (11/57) remote: Compressing objects: 21% (12/57) remote: Compressing objects: 22% (13/57) remote: Compressing objects: 24% (14/57) remote: Compressing objects: 26% (15/57) remote: Compressing objects: 28% (16/57) remote: Compressing objects: 29% (17/57) remote: Compressing objects: 31% (18/57) remote: Compressing objects: 33% (19/57) remote: Compressing objects: 35% (20/57) remote: Compressing objects: 36% (21/57) remote: Compressing objects: 38% (22/57) remote: Compressing objects: 40% (23/57) remote: Compressing objects: 42% (24/57) remote: Compressing objects: 43% (25/57) remote: Compressing objects: 45% (26/57) remote: Compressing objects: 47% (27/57) remote: Compressing objects: 49% (28/57) remote: Compressing objects: 50% (29/57) remote: Compressing objects: 52% (30/57) remote: Compressing objects: 54% (31/57) remote: Compressing objects: 56% (32/57) remote: Compressing objects: 57% (33/57) remote: Compressing objects: 59% (34/57) remote: Compressing objects: 61% (35/57) remote: Compressing objects: 63% (36/57) remote: Compressing objects: 64% (37/57) remote: Compressing objects: 66% (38/57) remote: Compressing objects: 68% (39/57) remote: Compressing objects: 70% (40/57) remote: Compressing objects: 71% (41/57) remote: Compressing objects: 73% (42/57) remote: Compressing objects: 75% (43/57) remote: Compressing objects: 77% (44/57) remote: Compressing objects: 78% (45/57) remote: Compressing objects: 80% (46/57) remote: Compressing objects: 82% (47/57) remote: Compressing objects: 84% (48/57) remote: Compressing objects: 85% (49/57) remote: Compressing objects: 87% (50/57) remote: Compressing objects: 89% (51/57) remote: Compressing objects: 91% (52/57) remote: Compressing objects: 92% (53/57) remote: Compressing objects: 94% (54/57) remote: Compressing objects: 96% (55/57) remote: Compressing objects: 98% (56/57) remote: Compressing objects: 100% (57/57) remote: Compressing objects: 100% (57/57), done. Receiving objects: 0% (1/420) Receiving objects: 1% (5/420) Receiving objects: 2% (9/420) Receiving objects: 3% (13/420) Receiving objects: 4% (17/420) Receiving objects: 5% (21/420) Receiving objects: 6% (26/420) Receiving objects: 7% (30/420) Receiving objects: 8% (34/420) Receiving objects: 9% (38/420) Receiving objects: 10% (42/420) Receiving objects: 11% (47/420) Receiving objects: 12% (51/420) Receiving objects: 13% (55/420) Receiving objects: 14% (59/420) Receiving objects: 15% (63/420) Receiving objects: 16% (68/420) Receiving objects: 17% (72/420) Receiving objects: 18% (76/420) Receiving objects: 19% (80/420) Receiving objects: 20% (84/420) Receiving objects: 21% (89/420) Receiving objects: 22% (93/420) Receiving objects: 23% (97/420) Receiving objects: 24% (101/420) Receiving objects: 25% (105/420) Receiving objects: 26% (110/420) Receiving objects: 27% (114/420) Receiving objects: 28% (118/420) Receiving objects: 29% (122/420) Receiving objects: 30% (126/420) Receiving objects: 31% (131/420) Receiving objects: 32% (135/420) Receiving objects: 33% (139/420) Receiving objects: 34% (143/420) Receiving objects: 35% (147/420) Receiving objects: 36% (152/420) Receiving objects: 37% (156/420) Receiving objects: 38% (160/420) Receiving objects: 39% (164/420) Receiving objects: 40% (168/420) Receiving objects: 41% (173/420) Receiving objects: 42% (177/420) Receiving objects: 43% (181/420) Receiving objects: 44% (185/420) Receiving objects: 45% (189/420) Receiving objects: 46% (194/420) Receiving objects: 47% (198/420) Receiving objects: 48% (202/420) Receiving objects: 49% (206/420) Receiving objects: 50% (210/420) Receiving objects: 51% (215/420) Receiving objects: 52% (219/420) Receiving objects: 53% (223/420) Receiving objects: 54% (227/420) Receiving objects: 55% (231/420) Receiving objects: 56% (236/420) Receiving objects: 57% (240/420) Receiving objects: 58% (244/420) Receiving objects: 59% (248/420) Receiving objects: 60% (252/420) Receiving objects: 61% (257/420) Receiving objects: 62% (261/420) Receiving objects: 63% (265/420) Receiving objects: 64% (269/420) Receiving objects: 65% (273/420) Receiving objects: 66% (278/420) Receiving objects: 67% (282/420) Receiving objects: 68% (286/420) Receiving objects: 69% (290/420) Receiving objects: 70% (294/420) Receiving objects: 71% (299/420) Receiving objects: 72% (303/420) Receiving objects: 73% (307/420) Receiving objects: 74% (311/420) Receiving objects: 75% (315/420) Receiving objects: 76% (320/420) Receiving objects: 77% (324/420) Receiving objects: 78% (328/420) Receiving objects: 79% (332/420) Receiving objects: 80% (336/420) Receiving objects: 81% (341/420) Receiving objects: 82% (345/420) Receiving objects: 83% (349/420) Receiving objects: 84% (353/420) Receiving objects: 85% (357/420) Receiving objects: 86% (362/420) Receiving objects: 87% (366/420) Receiving objects: 88% (370/420) Receiving objects: 89% (374/420) Receiving objects: 90% (378/420) Receiving objects: 91% (383/420) Receiving objects: 92% (387/420) Receiving objects: 93% (391/420) Receiving objects: 94% (395/420) Receiving objects: 95% (399/420) Receiving objects: 96% (404/420) Receiving objects: 97% (408/420) Receiving objects: 98% (412/420) Receiving objects: 99% (416/420) remote: Total 420 (delta 45), reused 74 (delta 34), pack-reused 307 (from 1) Receiving objects: 100% (420/420) Receiving objects: 100% (420/420), 184.65 KiB | 590.00 KiB/s, done. Resolving deltas: 0% (0/178) Resolving deltas: 1% (2/178) Resolving deltas: 2% (4/178) Resolving deltas: 3% (6/178) Resolving deltas: 4% (8/178) Resolving deltas: 5% (9/178) Resolving deltas: 6% (12/178) Resolving deltas: 7% (14/178) Resolving deltas: 8% (15/178) Resolving deltas: 9% (17/178) Resolving deltas: 10% (18/178) Resolving deltas: 11% (20/178) Resolving deltas: 12% (22/178) Resolving deltas: 13% (24/178) Resolving deltas: 14% (25/178) Resolving deltas: 15% (27/178) Resolving deltas: 16% (29/178) Resolving deltas: 17% (31/178) Resolving deltas: 18% (33/178) Resolving deltas: 19% (35/178) Resolving deltas: 20% (36/178) Resolving deltas: 21% (38/178) Resolving deltas: 22% (40/178) Resolving deltas: 23% (42/178) Resolving deltas: 24% (43/178) Resolving deltas: 25% (45/178) Resolving deltas: 26% (47/178) Resolving deltas: 28% (50/178) Resolving deltas: 30% (55/178) Resolving deltas: 31% (56/178) Resolving deltas: 32% (57/178) Resolving deltas: 33% (59/178) Resolving deltas: 34% (61/178) Resolving deltas: 36% (65/178) Resolving deltas: 37% (66/178) Resolving deltas: 39% (70/178) Resolving deltas: 40% (72/178) Resolving deltas: 41% (74/178) Resolving deltas: 42% (75/178) Resolving deltas: 43% (78/178) Resolving deltas: 44% (80/178) Resolving deltas: 45% (81/178) Resolving deltas: 46% (82/178) Resolving deltas: 47% (85/178) Resolving deltas: 48% (86/178) Resolving deltas: 49% (88/178) Resolving deltas: 50% (89/178) Resolving deltas: 51% (92/178) Resolving deltas: 52% (93/178) Resolving deltas: 53% (95/178) Resolving deltas: 54% (97/178) Resolving deltas: 55% (98/178) Resolving deltas: 56% (100/178) Resolving deltas: 57% (102/178) Resolving deltas: 58% (105/178) Resolving deltas: 60% (107/178) Resolving deltas: 61% (109/178) Resolving deltas: 62% (111/178) Resolving deltas: 63% (113/178) Resolving deltas: 64% (114/178) Resolving deltas: 65% (116/178) Resolving deltas: 66% (119/178) Resolving deltas: 67% (120/178) Resolving deltas: 68% (122/178) Resolving deltas: 69% (123/178) Resolving deltas: 70% (125/178) Resolving deltas: 71% (128/178) Resolving deltas: 72% (129/178) Resolving deltas: 73% (130/178) Resolving deltas: 74% (132/178) Resolving deltas: 75% (134/178) Resolving deltas: 76% (136/178) Resolving deltas: 78% (139/178) Resolving deltas: 79% (142/178) Resolving deltas: 82% (146/178) Resolving deltas: 83% (148/178) Resolving deltas: 84% (150/178) Resolving deltas: 85% (152/178) Resolving deltas: 88% (157/178) Resolving deltas: 89% (159/178) Resolving deltas: 91% (162/178) Resolving deltas: 92% (164/178) Resolving deltas: 93% (166/178) Resolving deltas: 94% (168/178) Resolving deltas: 95% (170/178) Resolving deltas: 96% (171/178) Resolving deltas: 97% (173/178) Resolving deltas: 98% (176/178) Resolving deltas: 99% (177/178) Resolving deltas: 100% (178/178) Resolving deltas: 100% (178/178), done. ==> Validating source files with b2sums... python-test2ref ... Passed ]3008;start=31d4f26acf50489e9fda4781cece82f6;user=root;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=5561438502524b5595f11cbba000a2ef;pid=2443892;comm=systemd-nspawn;container=arch-nspawn-2443892;type=container\]11;?\]2;🔵 Container arch-nspawn-2443892 on aurorus.felixc.at\]3008;start=6de4c561dda44ceb963b0c4008024329;user=root;hostname=arch-nspawn-2443892;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=85270f8733004e5bbf2adf3ae3bef97a;pid=14;comm=sudo;targetuser=builduser;type=session\==> Making package: python-test2ref 1.2.3-1 (Wed Aug 5 22:30:43 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... ]3008;start=aba3bca3c03f4520a1a86be433f6b1f1;user=builduser;hostname=arch-nspawn-2443892;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=85270f8733004e5bbf2adf3ae3bef97a;pid=887;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/python-binaryornot 0.6.0-1 0.10 MiB Total Installed Size: 0.10 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-binaryornot... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=aba3bca3c03f4520a1a86be433f6b1f1\==> Checking buildtime dependencies... ==> Installing missing dependencies... ]3008;start=5e4e28a4c15244edbe7f3a5a0af778e7;user=builduser;hostname=arch-nspawn-2443892;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=85270f8733004e5bbf2adf3ae3bef97a;pid=925;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (18) New Version Net Change Download Size extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/python-coverage 7.13.5-1 2.25 MiB 0.40 MiB extra/python-iniconfig 2.3.0-1 0.07 MiB extra/python-packaging 26.2-1 1.23 MiB extra/python-pluggy 1.6.0-3.1 0.23 MiB extra/python-pygments 2.20.0-1 15.36 MiB extra/python-pyproject-hooks 1.2.0-6 0.11 MiB extra/python-pyproject-metadata 0.9.0-3 0.19 MiB extra/python-tomli-w 1.2.0-2 0.04 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/git 2.55.0-1 29.92 MiB extra/python-build 1.4.3-1 0.26 MiB extra/python-installer 1.0.0-1 0.20 MiB extra/python-pdm-backend 2.4.9-1 0.37 MiB 0.08 MiB extra/python-pytest 1:8.4.2-3 4.69 MiB extra/python-pytest-cov 7.1.0-1 0.16 MiB 0.04 MiB Total Download Size: 0.51 MiB Total Installed Size: 55.61 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-coverage-7.13.5-1-riscv64 downloading... python-pdm-backend-2.4.9-1-any downloading... python-pytest-cov-7.1.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing python-pyproject-metadata... installing python-tomli-w... installing python-pdm-backend... Optional dependencies for python-pdm-backend python-setuptools: for setuptools support python-editables: for editables backend support installing python-iniconfig... installing python-pluggy... installing python-pygments... installing python-pytest... installing python-coverage... installing python-pytest-cov... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Checking for old perl modules... [?25h]3008;end=5e4e28a4c15244edbe7f3a5a0af778e7\==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of python-test2ref git repo... Cloning into 'python-test2ref'... done. Switched to a new branch 'makepkg' ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... - Adding .pdm-build/test2ref-1.2.3.dist-info/METADATA -> test2ref-1.2.3.dist-info/METADATA - Adding .pdm-build/test2ref-1.2.3.dist-info/WHEEL -> test2ref-1.2.3.dist-info/WHEEL - Adding .pdm-build/test2ref-1.2.3.dist-info/entry_points.txt -> test2ref-1.2.3.dist-info/entry_points.txt - Adding .pdm-build/test2ref-1.2.3.dist-info/licenses/LICENSE -> test2ref-1.2.3.dist-info/licenses/LICENSE - Adding src/test2ref/__init__.py -> test2ref/__init__.py - Adding test2ref-1.2.3.dist-info/RECORD -> test2ref-1.2.3.dist-info/RECORD Successfully built test2ref-1.2.3-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/python-test2ref/src/python-test2ref configfile: pyproject.toml plugins: cov-7.1.0 collected 36 items src/test2ref/__init__.py . [ 2%] tests/test_main.py ..................................F [100%] =================================== FAILURES =================================== __________________________________ test_known __________________________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_known0') def test_known(tmp_path): """Known Reference.""" known_path = tmp_path / "known" ref_path = tmp_path / "ref" gen_path = tmp_path / "gen" known_path.mkdir() ref_path.mkdir() gen_path.mkdir() # Some known (known_path / "sub0").mkdir() (known_path / "sub1").mkdir() (known_path / "sub2").mkdir() (known_path / "sub3" / "sub2").mkdir(parents=True) with (known_path / "file0.txt").open("w") as file: file.write("line0\n") with (known_path / "file1.txt").open("w") as file: file.write("line1\n") with (known_path / "sub0" / "file0.txt").open("w") as file: file.write("line0\n") with (known_path / "sub0" / "file1.txt").open("w") as file: file.write("line0\n") with (known_path / "sub1" / "file0.txt").open("w") as file: file.write("line0\n") with (known_path / "sub2" / "file0.txt").open("w") as file: file.write("line0\n") with (known_path / "sub2" / "file0.txt").open("w") as file: file.write("line0\n") with (known_path / "sub3" / "sub2" / "file0.txt").open("w") as file: file.write("line0\n") # Some gen (gen_path / "sub0").mkdir() (gen_path / "sub1").mkdir() (gen_path / "sub2").mkdir() with (gen_path / "file0.txt").open("w") as file: file.write("line1\n") with (gen_path / "sub0" / "file0.txt").open("w") as file: file.write("line0\n") with (gen_path / "sub0" / "file1.txt").open("w") as file: file.write("line1\n") with (gen_path / "sub1" / "file0.txt").open("w") as file: file.write("line0\n") # Some ref (ref_path / "sub0").mkdir() with (ref_path / "file0.txt").open("w") as file: file.write("line1\n") with (ref_path / "sub0" / "file1.txt").open("w") as file: file.write("line1\n") with (ref_path / "missing.txt").open("w") as file: file.write("file1.txt\n") file.write("sub3\n") file.write("sub2/file0.txt\n") > assert_refdata(ref_path, gen_path, known=known_path) tests/test_main.py:495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/test2ref/__init__.py:266: in assert_refdata assert_paths(ref_path, gen_path, excludes=excludes) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ref_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_known0/ref') gen_path = PosixPath('/tmp/tmpaif5ogyx'), excludes = None def assert_paths(ref_path: Path, gen_path: Path, excludes: Iterable[str] | None = None) -> None: """ Compare Output of `ref_path` with `gen_path`. Args: ref_path: Path with reference files to be compared. gen_path: Path with generated files to be compared. Keyword Args: excludes: Files and directories to be excluded. """ diff_excludes: Excludes = (*CONFIG["excludes"], *(excludes or [])) try: cmd = ["diff", "-ru", "--strip-trailing-cr", str(ref_path), str(gen_path)] for exclude in diff_excludes: cmd.extend(("--exclude", exclude)) if CONFIG["ignore_spaces"]: cmd.append("-b") subprocess.run(cmd, check=True, capture_output=True) # noqa: S603 except subprocess.CalledProcessError as error: > raise AssertionError(error.stdout.decode("utf-8")) from None E AssertionError: Only in /tmp/pytest-of-builduser/pytest-0/test_known0/ref: file0.txt E Only in /tmp/pytest-of-builduser/pytest-0/test_known0/ref: sub0 src/test2ref/__init__.py:289: AssertionError -- generated xml file: /build/python-test2ref/src/python-test2ref/report.xml --- ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.6-final-0 ________________ Name Stmts Miss Cover ---------------------------------------------- src/test2ref/__init__.py 169 7 96% ---------------------------------------------- TOTAL 169 7 96% Coverage HTML written to dir htmlcov =========================== short test summary info ============================ FAILED tests/test_main.py::test_known - AssertionError: Only in /tmp/pytest-o... ========================= 1 failed, 35 passed in 4.98s ========================= ==> ERROR: A failure occurred in check().  Aborting... ]3008;end=6de4c561dda44ceb963b0c4008024329\[!p]104\[?7h]3008;end=31d4f26acf50489e9fda4781cece82f6\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list python-test2ref-1.2.3-1-riscv64-build.log python-test2ref-1.2.3-1-riscv64-check.log sent 62 bytes received 1,769 bytes 1,220.67 bytes/sec total size is 6,018 speedup is 3.29