==> Building on nidoking ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-pytest-mypy ./ PKGBUILD 1,052 100% 0.00kB/s 0:00:00 1,052 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-pytest-mypy-0.10.3-4.log 195 100% 190.43kB/s 0:00:00 195 100% 190.43kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 889 bytes received 107 bytes 1,992.00 bytes/sec total size is 1,247 speedup is 1.25 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root14 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] -> [root14]...done ==> Making package: python-pytest-mypy 0.10.3-4 (Tue May 9 20:26:07 2023) ==> Retrieving sources...  -> Cloning pytest-mypy git repo... Cloning into bare repository '/home/felix/packages/python-pytest-mypy/pytest-mypy'... remote: Enumerating objects: 872, done. remote: Counting objects: 0% (1/203) remote: Counting objects: 1% (3/203) remote: Counting objects: 2% (5/203) remote: Counting objects: 3% (7/203) remote: Counting objects: 4% (9/203) remote: Counting objects: 5% (11/203) remote: Counting objects: 6% (13/203) remote: Counting objects: 7% (15/203) remote: Counting objects: 8% (17/203) remote: Counting objects: 9% (19/203) remote: Counting objects: 10% (21/203) remote: Counting objects: 11% (23/203) remote: Counting objects: 12% (25/203) remote: Counting objects: 13% (27/203) remote: Counting objects: 14% (29/203) remote: Counting objects: 15% (31/203) remote: Counting objects: 16% (33/203) remote: Counting objects: 17% (35/203) remote: Counting objects: 18% (37/203) remote: Counting objects: 19% (39/203) remote: Counting objects: 20% (41/203) remote: Counting objects: 21% (43/203) remote: Counting objects: 22% (45/203) remote: Counting objects: 23% (47/203) remote: Counting objects: 24% (49/203) remote: Counting objects: 25% (51/203) remote: Counting objects: 26% (53/203) remote: Counting objects: 27% (55/203) remote: Counting objects: 28% (57/203) remote: Counting objects: 29% (59/203) remote: Counting objects: 30% (61/203) remote: Counting objects: 31% (63/203) remote: Counting objects: 32% (65/203) remote: Counting objects: 33% (67/203) remote: Counting objects: 34% (70/203) remote: Counting objects: 35% (72/203) remote: Counting objects: 36% (74/203) remote: Counting objects: 37% (76/203) remote: Counting objects: 38% (78/203) remote: Counting objects: 39% (80/203) remote: Counting objects: 40% (82/203) remote: Counting objects: 41% (84/203) remote: Counting objects: 42% (86/203) remote: Counting objects: 43% (88/203) remote: Counting objects: 44% (90/203) remote: Counting objects: 45% (92/203) remote: Counting objects: 46% (94/203) remote: Counting objects: 47% (96/203) remote: Counting objects: 48% (98/203) remote: Counting objects: 49% (100/203) remote: Counting objects: 50% (102/203) remote: Counting objects: 51% (104/203) remote: Counting objects: 52% (106/203) remote: Counting objects: 53% (108/203) remote: Counting objects: 54% (110/203) remote: Counting objects: 55% (112/203) remote: Counting objects: 56% (114/203) remote: Counting objects: 57% (116/203) remote: Counting objects: 58% (118/203) remote: Counting objects: 59% (120/203) remote: Counting objects: 60% (122/203) remote: Counting objects: 61% (124/203) remote: Counting objects: 62% (126/203) remote: Counting objects: 63% (128/203) remote: Counting objects: 64% (130/203) remote: Counting objects: 65% (132/203) remote: Counting objects: 66% (134/203) remote: Counting objects: 67% (137/203) remote: Counting objects: 68% (139/203) remote: Counting objects: 69% (141/203) remote: Counting objects: 70% (143/203) remote: Counting objects: 71% (145/203) remote: Counting objects: 72% (147/203) remote: Counting objects: 73% (149/203) remote: Counting objects: 74% (151/203) remote: Counting objects: 75% (153/203) remote: Counting objects: 76% (155/203) remote: Counting objects: 77% (157/203) remote: Counting objects: 78% (159/203) remote: Counting objects: 79% (161/203) remote: Counting objects: 80% (163/203) remote: Counting objects: 81% (165/203) remote: Counting objects: 82% (167/203) remote: Counting objects: 83% (169/203) remote: Counting objects: 84% (171/203) remote: Counting objects: 85% (173/203) remote: Counting objects: 86% (175/203) remote: Counting objects: 87% (177/203) remote: Counting objects: 88% (179/203) remote: Counting objects: 89% (181/203) remote: Counting objects: 90% (183/203) remote: Counting objects: 91% (185/203) remote: Counting objects: 92% (187/203) remote: Counting objects: 93% (189/203) remote: Counting objects: 94% (191/203) remote: Counting objects: 95% (193/203) remote: Counting objects: 96% (195/203) remote: Counting objects: 97% (197/203) remote: Counting objects: 98% (199/203) remote: Counting objects: 99% (201/203) remote: Counting objects: 100% (203/203) remote: Counting objects: 100% (203/203), done. remote: Compressing objects: 1% (1/96) remote: Compressing objects: 2% (2/96) remote: Compressing objects: 3% (3/96) remote: Compressing objects: 4% (4/96) remote: Compressing objects: 5% (5/96) remote: Compressing objects: 6% (6/96) remote: Compressing objects: 7% (7/96) remote: Compressing objects: 8% (8/96) remote: Compressing objects: 9% (9/96) remote: Compressing objects: 10% (10/96) remote: Compressing objects: 11% (11/96) remote: Compressing objects: 12% (12/96) remote: Compressing objects: 13% (13/96) remote: Compressing objects: 14% (14/96) remote: Compressing objects: 15% (15/96) remote: Compressing objects: 16% (16/96) remote: Compressing objects: 17% (17/96) remote: Compressing objects: 18% (18/96) remote: Compressing objects: 19% (19/96) remote: Compressing objects: 20% (20/96) remote: Compressing objects: 21% (21/96) remote: Compressing objects: 22% (22/96) remote: Compressing objects: 23% (23/96) remote: Compressing objects: 25% (24/96) remote: Compressing objects: 26% (25/96) remote: Compressing objects: 27% (26/96) remote: Compressing objects: 28% (27/96) remote: Compressing objects: 29% (28/96) remote: Compressing objects: 30% (29/96) remote: Compressing objects: 31% (30/96) remote: Compressing objects: 32% (31/96) remote: Compressing objects: 33% (32/96) remote: Compressing objects: 34% (33/96) remote: Compressing objects: 35% (34/96) remote: Compressing objects: 36% (35/96) remote: Compressing objects: 37% (36/96) remote: Compressing objects: 38% (37/96) remote: Compressing objects: 39% (38/96) remote: Compressing objects: 40% (39/96) remote: Compressing objects: 41% (40/96) remote: Compressing objects: 42% (41/96) remote: Compressing objects: 43% (42/96) remote: Compressing objects: 44% (43/96) remote: Compressing objects: 45% (44/96) remote: Compressing objects: 46% (45/96) remote: Compressing objects: 47% (46/96) remote: Compressing objects: 48% (47/96) remote: Compressing objects: 50% (48/96) remote: Compressing objects: 51% (49/96) remote: Compressing objects: 52% (50/96) remote: Compressing objects: 53% (51/96) remote: Compressing objects: 54% (52/96) remote: Compressing objects: 55% (53/96) remote: Compressing objects: 56% (54/96) remote: Compressing objects: 57% (55/96) remote: Compressing objects: 58% (56/96) remote: Compressing objects: 59% (57/96) remote: Compressing objects: 60% (58/96) remote: Compressing objects: 61% (59/96) remote: Compressing objects: 62% (60/96) remote: Compressing objects: 63% (61/96) remote: Compressing objects: 64% (62/96) remote: Compressing objects: 65% (63/96) remote: Compressing objects: 66% (64/96) remote: Compressing objects: 67% (65/96) remote: Compressing objects: 68% (66/96) remote: Compressing objects: 69% (67/96) remote: Compressing objects: 70% (68/96) remote: Compressing objects: 71% (69/96) remote: Compressing objects: 72% (70/96) remote: Compressing objects: 73% (71/96) remote: Compressing objects: 75% (72/96) remote: Compressing objects: 76% (73/96) remote: Compressing objects: 77% (74/96) remote: Compressing objects: 78% (75/96) remote: Compressing objects: 79% (76/96) remote: Compressing objects: 80% (77/96) remote: Compressing objects: 81% (78/96) remote: Compressing objects: 82% (79/96) remote: Compressing objects: 83% (80/96) remote: Compressing objects: 84% (81/96) remote: Compressing objects: 85% (82/96) remote: Compressing objects: 86% (83/96) remote: Compressing objects: 87% (84/96) remote: Compressing objects: 88% (85/96) remote: Compressing objects: 89% (86/96) remote: Compressing objects: 90% (87/96) remote: Compressing objects: 91% (88/96) remote: Compressing objects: 92% (89/96) remote: Compressing objects: 93% (90/96) remote: Compressing objects: 94% (91/96) remote: Compressing objects: 95% (92/96) remote: Compressing objects: 96% (93/96) remote: Compressing objects: 97% (94/96) remote: Compressing objects: 98% (95/96) remote: Compressing objects: 100% (96/96) remote: Compressing objects: 100% (96/96), done. Receiving objects: 0% (1/872) Receiving objects: 1% (9/872) Receiving objects: 2% (18/872) Receiving objects: 3% (27/872) Receiving objects: 4% (35/872) Receiving objects: 5% (44/872) Receiving objects: 6% (53/872) Receiving objects: 7% (62/872) Receiving objects: 8% (70/872) Receiving objects: 9% (79/872) Receiving objects: 10% (88/872) Receiving objects: 11% (96/872) Receiving objects: 12% (105/872) Receiving objects: 13% (114/872) Receiving objects: 14% (123/872) Receiving objects: 15% (131/872) Receiving objects: 16% (140/872) Receiving objects: 17% (149/872) Receiving objects: 18% (157/872) Receiving objects: 19% (166/872) Receiving objects: 20% (175/872) Receiving objects: 21% (184/872) Receiving objects: 22% (192/872) Receiving objects: 23% (201/872) Receiving objects: 24% (210/872) Receiving objects: 25% (218/872) Receiving objects: 26% (227/872) Receiving objects: 27% (236/872) Receiving objects: 28% (245/872) Receiving objects: 29% (253/872) Receiving objects: 30% (262/872) Receiving objects: 31% (271/872) Receiving objects: 32% (280/872) Receiving objects: 33% (288/872) Receiving objects: 34% (297/872) Receiving objects: 35% (306/872) Receiving objects: 36% (314/872) Receiving objects: 37% (323/872) Receiving objects: 38% (332/872) Receiving objects: 39% (341/872) Receiving objects: 40% (349/872) Receiving objects: 41% (358/872) Receiving objects: 42% (367/872) Receiving objects: 43% (375/872) Receiving objects: 44% (384/872) Receiving objects: 45% (393/872) Receiving objects: 46% (402/872) Receiving objects: 47% (410/872) Receiving objects: 48% (419/872) Receiving objects: 49% (428/872) Receiving objects: 50% (436/872) Receiving objects: 51% (445/872) Receiving objects: 52% (454/872) Receiving objects: 53% (463/872) Receiving objects: 54% (471/872) Receiving objects: 55% (480/872) Receiving objects: 56% (489/872) Receiving objects: 57% (498/872) Receiving objects: 58% (506/872) Receiving objects: 59% (515/872) Receiving objects: 60% (524/872) Receiving objects: 61% (532/872) Receiving objects: 62% (541/872) Receiving objects: 63% (550/872) Receiving objects: 64% (559/872) Receiving objects: 65% (567/872) Receiving objects: 66% (576/872) Receiving objects: 67% (585/872) Receiving objects: 68% (593/872) Receiving objects: 69% (602/872) Receiving objects: 70% (611/872) Receiving objects: 71% (620/872) Receiving objects: 72% (628/872) Receiving objects: 73% (637/872) Receiving objects: 74% (646/872) Receiving objects: 75% (654/872) Receiving objects: 76% (663/872) Receiving objects: 77% (672/872) Receiving objects: 78% (681/872) Receiving objects: 79% (689/872) Receiving objects: 80% (698/872) Receiving objects: 81% (707/872) Receiving objects: 82% (716/872) Receiving objects: 83% (724/872) Receiving objects: 84% (733/872) Receiving objects: 85% (742/872) Receiving objects: 86% (750/872) remote: Total 872 (delta 91), reused 196 (delta 89), pack-reused 669 Receiving objects: 87% (759/872) Receiving objects: 88% (768/872) Receiving objects: 89% (777/872) Receiving objects: 90% (785/872) Receiving objects: 91% (794/872) Receiving objects: 92% (803/872) Receiving objects: 93% (811/872) Receiving objects: 94% (820/872) Receiving objects: 95% (829/872) Receiving objects: 96% (838/872) Receiving objects: 97% (846/872) Receiving objects: 98% (855/872) Receiving objects: 99% (864/872) Receiving objects: 100% (872/872) Receiving objects: 100% (872/872), 289.41 KiB | 17.02 MiB/s, done. Resolving deltas: 0% (0/426) Resolving deltas: 1% (5/426) Resolving deltas: 2% (9/426) Resolving deltas: 3% (13/426) Resolving deltas: 4% (18/426) Resolving deltas: 5% (23/426) Resolving deltas: 6% (27/426) Resolving deltas: 7% (30/426) Resolving deltas: 8% (36/426) Resolving deltas: 9% (40/426) Resolving deltas: 10% (44/426) Resolving deltas: 11% (47/426) Resolving deltas: 12% (52/426) Resolving deltas: 13% (56/426) Resolving deltas: 14% (60/426) Resolving deltas: 15% (64/426) Resolving deltas: 16% (69/426) Resolving deltas: 17% (73/426) Resolving deltas: 18% (78/426) Resolving deltas: 19% (81/426) Resolving deltas: 20% (86/426) Resolving deltas: 22% (94/426) Resolving deltas: 23% (98/426) Resolving deltas: 24% (103/426) Resolving deltas: 25% (107/426) Resolving deltas: 26% (111/426) Resolving deltas: 27% (116/426) Resolving deltas: 28% (120/426) Resolving deltas: 29% (124/426) Resolving deltas: 30% (129/426) Resolving deltas: 31% (133/426) Resolving deltas: 32% (137/426) Resolving deltas: 33% (141/426) Resolving deltas: 34% (145/426) Resolving deltas: 35% (150/426) Resolving deltas: 36% (154/426) Resolving deltas: 37% (158/426) Resolving deltas: 38% (162/426) Resolving deltas: 39% (167/426) Resolving deltas: 40% (171/426) Resolving deltas: 41% (175/426) Resolving deltas: 42% (180/426) Resolving deltas: 43% (184/426) Resolving deltas: 44% (190/426) Resolving deltas: 45% (192/426) Resolving deltas: 46% (196/426) Resolving deltas: 47% (201/426) Resolving deltas: 48% (205/426) Resolving deltas: 49% (209/426) Resolving deltas: 50% (213/426) Resolving deltas: 51% (219/426) Resolving deltas: 52% (222/426) Resolving deltas: 53% (227/426) Resolving deltas: 54% (231/426) Resolving deltas: 55% (235/426) Resolving deltas: 56% (241/426) Resolving deltas: 57% (243/426) Resolving deltas: 58% (248/426) Resolving deltas: 59% (253/426) Resolving deltas: 60% (256/426) Resolving deltas: 61% (260/426) Resolving deltas: 62% (265/426) Resolving deltas: 63% (269/426) Resolving deltas: 64% (273/426) Resolving deltas: 65% (277/426) Resolving deltas: 66% (282/426) Resolving deltas: 67% (288/426) Resolving deltas: 68% (290/426) Resolving deltas: 69% (294/426) Resolving deltas: 70% (300/426) Resolving deltas: 71% (305/426) Resolving deltas: 72% (309/426) Resolving deltas: 73% (311/426) Resolving deltas: 74% (317/426) Resolving deltas: 75% (320/426) Resolving deltas: 76% (325/426) Resolving deltas: 77% (329/426) Resolving deltas: 78% (333/426) Resolving deltas: 79% (337/426) Resolving deltas: 80% (341/426) Resolving deltas: 81% (347/426) Resolving deltas: 82% (350/426) Resolving deltas: 83% (354/426) Resolving deltas: 84% (358/426) Resolving deltas: 85% (363/426) Resolving deltas: 86% (368/426) Resolving deltas: 87% (371/426) Resolving deltas: 88% (375/426) Resolving deltas: 89% (380/426) Resolving deltas: 90% (384/426) Resolving deltas: 91% (388/426) Resolving deltas: 92% (392/426) Resolving deltas: 93% (397/426) Resolving deltas: 94% (402/426) Resolving deltas: 95% (405/426) Resolving deltas: 96% (409/426) Resolving deltas: 97% (414/426) Resolving deltas: 98% (418/426) Resolving deltas: 99% (422/426) Resolving deltas: 100% (426/426) Resolving deltas: 100% (426/426), done. ==> Validating source files with sha512sums... pytest-mypy ... Skipped ==> Making package: python-pytest-mypy 0.10.3-4 (Tue May 9 20:26:19 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (13) 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-iniconfig 2.0.0-4 0.04 MiB community/python-mypy_extensions 1.0.0-3 0.03 MiB 0.01 MiB extra/python-packaging 23.0-3 0.43 MiB community/python-pluggy 1.0.0-4 0.13 MiB community/python-psutil 5.9.5-1 3.35 MiB extra/python-tomli 2.0.1-3 0.11 MiB community/python-typing_extensions 4.5.0-4 0.29 MiB community/mypy 1.2.0-1 20.07 MiB 3.03 MiB extra/python-attrs 22.2.0-3 0.55 MiB community/python-filelock 3.12.0-2 0.07 MiB community/python-pytest 7.3.1-4 3.97 MiB Total Download Size: 3.04 MiB Total Installed Size: 133.79 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... mypy-1.2.0-1-any downloading... python-mypy_extensions-1.0.0-3-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-attrs... installing python-filelock... installing python-iniconfig... installing python-packaging... installing python-pluggy... installing python-pytest... installing python-psutil... installing python-mypy_extensions... installing python-typing_extensions... installing python-tomli... installing mypy... Optional dependencies for mypy python-lxml: for reports python-pip: for installing missing types [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (22) New Version Net Change Download Size extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB 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-ptyprocess 0.7.0-5 0.08 MiB 0.03 MiB community/python-pydantic 1.10.7-4 6.36 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB extra/python-trove-classifiers 2023.4.22-1 0.11 MiB extra/python-validate-pyproject 0.12.2-4 0.29 MiB extra/git 2.40.1-1 33.31 MiB community/python-pexpect 4.8.0-7 0.38 MiB 0.09 MiB community/python-pytest-xdist 3.2.1-3 0.45 MiB community/python-setuptools-scm 7.1.0-4 0.36 MiB Total Download Size: 0.12 MiB Total Installed Size: 48.54 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pexpect-4.8.0-7-any downloading... python-ptyprocess-0.7.0-5-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui 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-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https 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] installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... 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-execnet... installing python-pytest-xdist... installing python-ptyprocess... installing python-pexpect... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of pytest-mypy git repo... Cloning into 'pytest-mypy'... done. Switched to a new branch 'makepkg' ==> Starting build()... /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. running build running build_py creating build creating build/lib copying src/pytest_mypy.py -> build/lib ==> Starting check()... /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py running install_lib creating /build/python-pytest-mypy/src/pytest-mypy/tmp_install creating /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr creating /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib creating /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib/python3.11 creating /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib/python3.11/site-packages copying build/lib/pytest_mypy.py -> /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib/python3.11/site-packages byte-compiling /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib/python3.11/site-packages/pytest_mypy.py to pytest_mypy.cpython-311.pyc writing byte-compilation script '/tmp/tmpyqeiut51.py' /usr/bin/python /tmp/tmpyqeiut51.py removing /tmp/tmpyqeiut51.py running install_egg_info running egg_info creating src/pytest_mypy.egg-info writing src/pytest_mypy.egg-info/PKG-INFO writing dependency_links to src/pytest_mypy.egg-info/dependency_links.txt writing entry points to src/pytest_mypy.egg-info/entry_points.txt writing requirements to src/pytest_mypy.egg-info/requires.txt writing top-level names to src/pytest_mypy.egg-info/top_level.txt writing manifest file 'src/pytest_mypy.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_mypy.egg-info/SOURCES.txt' Copying src/pytest_mypy.egg-info to /build/python-pytest-mypy/src/pytest-mypy/tmp_install/usr/lib/python3.11/site-packages/pytest_mypy-0.10.3-py3.11.egg-info running install_scripts ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /build/python-pytest-mypy/src/pytest-mypy configfile: tox.ini testpaths: tests plugins: mypy-0.10.3, xdist-3.2.1 collected 56 items tests/test_pytest_mypy.py .......................................xxxxxx. [ 82%] ......F... [100%] =================================== FAILURES =================================== __________________________ test_looponfail[test_demo] __________________________ testdir = module_name = 'test_demo' @pytest.mark.parametrize("module_name", ["__init__", "test_demo"]) def test_looponfail(testdir, module_name): """Ensure that the plugin works with --looponfail.""" pass_source = textwrap.dedent( """\ def pyfunc(x: int) -> int: return x * 2 """, ) fail_source = textwrap.dedent( """\ def pyfunc(x: int) -> str: return x * 2 """, ) pyfile = testdir.makepyfile(**{module_name: fail_source}) looponfailroot = testdir.mkdir("looponfailroot") looponfailroot_pyfile = looponfailroot.join(pyfile.basename) pyfile.move(looponfailroot_pyfile) pyfile = looponfailroot_pyfile testdir.makeini( textwrap.dedent( """\ [pytest] looponfailroots = {looponfailroots} """.format( looponfailroots=looponfailroot, ), ), ) child = testdir.spawn_pytest( "--mypy --looponfail " + str(pyfile), expect_timeout=60.0, ) num_tests = 2 if module_name == "__init__" and Version("3.10") <= PYTEST_VERSION < Version("6.2"): # https://github.com/pytest-dev/pytest/issues/8016 # Pytest had a bug where it assumed only a Package would have a basename of # __init__.py. In this test, Pytest mistakes MypyFile for a Package and # returns after collecting only one object (the MypyFileItem). num_tests = 1 def _expect_session(): child.expect("==== test session starts ====") def _expect_failure(): _expect_session() child.expect("==== FAILURES ====") child.expect(pyfile.basename + " ____") child.expect("2: error: Incompatible return value") # if num_tests == 2: # # These only show with mypy>=0.730: # child.expect("==== mypy ====") # child.expect("Found 1 error in 1 file (checked 1 source file)") child.expect(str(num_tests) + " failed") child.expect("#### LOOPONFAILING ####") _expect_waiting() def _expect_waiting(): child.expect("#### waiting for changes ####") child.expect("Watching") def _fix(): pyfile.write(pass_source) _expect_changed() _expect_success() def _expect_changed(): child.expect("MODIFIED " + str(pyfile)) def _expect_success(): for _ in range(2): _expect_session() # if num_tests == 2: # # These only show with mypy>=0.730: # child.expect("==== mypy ====") # child.expect("Success: no issues found in 1 source file") try: child.expect(str(num_tests) + " passed") except pexpect.exceptions.TIMEOUT: if module_name == "__init__" and ( Version("6.0") <= PYTEST_VERSION < Version("6.2") ): # MypyItems hit the __init__.py bug too when --looponfail # re-collects them after the failing file is modified. # Unlike MypyFile, MypyItem is not a Collector, so this used # to cause an AttributeError until a workaround was added # (MypyItem.collect was defined to yield itself). # Mypy probably noticed the __init__.py problem during the # development of Pytest 6.0, but the error was addressed # with an isinstance assertion, which broke the workaround. # Here, we hit that assertion: child.expect("AssertionError") child.expect("1 error") pytest.xfail("https://github.com/pytest-dev/pytest/issues/8016") raise _expect_waiting() def _break(): pyfile.write(fail_source) _expect_changed() _expect_failure() > _expect_failure() /build/python-pytest-mypy/src/pytest-mypy/tests/test_pytest_mypy.py:504: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-pytest-mypy/src/pytest-mypy/tests/test_pytest_mypy.py:448: in _expect_failure child.expect("==== FAILURES ====") /usr/lib/python3.11/site-packages/pexpect/spawnbase.py:343: in expect return self.expect_list(compiled_pattern_list, /usr/lib/python3.11/site-packages/pexpect/spawnbase.py:372: in expect_list return exp.expect_loop(timeout) /usr/lib/python3.11/site-packages/pexpect/expect.py:181: in expect_loop return self.timeout(e) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = err = TIMEOUT('Timeout exceeded.') def timeout(self, err=None): spawn = self.spawn spawn.before = spawn._before.getvalue() spawn.after = TIMEOUT index = self.searcher.timeout_index if index >= 0: spawn.match = TIMEOUT spawn.match_index = index return index else: spawn.match = None spawn.match_index = None msg = str(spawn) msg += '\nsearcher: %s' % self.searcher if err is not None: msg = str(err) + '\n' + msg exc = TIMEOUT(msg) exc.__cause__ = None # in Python 3.x we can use "raise exc from None" > raise exc E pexpect.exceptions.TIMEOUT: Timeout exceeded. E E command: /usr/bin/python E args: ['/usr/bin/python', '-mpytest', '--basetemp=/tmp/pytest-of-builduser/pytest-0/test_looponfail1/temp-pexpect', '--mypy', '--looponfail', '/tmp/pytest-of-builduser/pytest-0/test_looponfail1/looponfailroot/test_demo.py'] E buffer (last 100 chars): b'gins: mypy-0.10.3, xdist-3.2.1\r\ncollected 2 items\r\ncollected 2 items\r\n\r\nlooponfailroot/test_demo.py ' E before (last 100 chars): b'gins: mypy-0.10.3, xdist-3.2.1\r\ncollected 2 items\r\ncollected 2 items\r\n\r\nlooponfailroot/test_demo.py ' E after: E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 4680 E child_fd: 14 E closed: False E timeout: 60.0 E delimiter: E logfile: <_io.BufferedWriter name='/tmp/pytest-of-builduser/pytest-0/test_looponfail1/spawn.out'> E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'==== FAILURES ====') /usr/lib/python3.11/site-packages/pexpect/expect.py:144: TIMEOUT =========================== short test summary info ============================ FAILED tests/test_pytest_mypy.py::test_looponfail[test_demo] - pexpect.except... ============= 1 failed, 49 passed, 6 xfailed in 1982.93s (0:33:02) ============= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root14/build receiving incremental file list python-pytest-mypy-0.10.3-4-riscv64-build.log python-pytest-mypy-0.10.3-4-riscv64-check.log sent 62 bytes received 3,653 bytes 2,476.67 bytes/sec total size is 11,780 speedup is 3.17