>>> py3-pytest-subtests: Building community/py3-pytest-subtests 0.11.0-r1 (using abuild 3.12.0-r5) started Fri, 12 Apr 2024 19:38:36 +0000 >>> py3-pytest-subtests: Checking sanity of /home/buildozer/aports/community/py3-pytest-subtests/APKBUILD... >>> py3-pytest-subtests: Analyzing dependencies... >>> py3-pytest-subtests: Installing for build: build-base python3 py3-attrs py3-pytest py3-setuptools py3-setuptools_scm py3-gpep517 py3-wheel py3-installer py3-pytest-xdist (1/43) Installing libbz2 (1.0.8-r6) (2/43) Installing libffi (3.4.6-r0) (3/43) Installing gdbm (1.23-r1) (4/43) Installing xz-libs (5.6.1-r3) (5/43) Installing mpdecimal (4.0.0-r0) (6/43) Installing libpanelw (6.4_p20240330-r0) (7/43) Installing readline (8.2.10-r0) (8/43) Installing sqlite-libs (3.45.2-r0) (9/43) Installing python3 (3.12.2-r1) (10/43) Installing python3-pycache-pyc0 (3.12.2-r1) (11/43) Installing pyc (3.12.2-r1) (12/43) Installing python3-pyc (3.12.2-r1) (13/43) Installing py3-attrs (23.2.0-r1) (14/43) Installing py3-attrs-pyc (23.2.0-r1) (15/43) Installing py3-iniconfig (2.0.0-r1) (16/43) Installing py3-iniconfig-pyc (2.0.0-r1) (17/43) Installing py3-parsing (3.1.2-r1) (18/43) Installing py3-parsing-pyc (3.1.2-r1) (19/43) Installing py3-packaging (24.0-r1) (20/43) Installing py3-packaging-pyc (24.0-r1) (21/43) Installing py3-pluggy (1.4.0-r1) (22/43) Installing py3-pluggy-pyc (1.4.0-r1) (23/43) Installing py3-py (1.11.0-r3) (24/43) Installing py3-py-pyc (1.11.0-r3) (25/43) Installing py3-pytest (8.1.1-r1) (26/43) Installing py3-pytest-pyc (8.1.1-r1) (27/43) Installing py3-setuptools (69.2.0-r2) (28/43) Installing py3-setuptools-pyc (69.2.0-r2) (29/43) Installing py3-setuptools_scm (8.0.4-r2) (30/43) Installing py3-setuptools_scm-pyc (8.0.4-r2) (31/43) Installing py3-installer (0.7.0-r2) (32/43) Installing py3-installer-pyc (0.7.0-r2) (33/43) Installing py3-gpep517 (15-r2) (34/43) Installing py3-gpep517-pyc (15-r2) (35/43) Installing py3-wheel (0.42.0-r1) (36/43) Installing py3-wheel-pyc (0.42.0-r1) (37/43) Installing py3-apipkg (2.1.0-r3) (38/43) Installing py3-apipkg-pyc (2.1.0-r3) (39/43) Installing py3-execnet (1.9.0-r3) (40/43) Installing py3-execnet-pyc (1.9.0-r3) (41/43) Installing py3-pytest-xdist (3.5.0-r1) (42/43) Installing py3-pytest-xdist-pyc (3.5.0-r1) (43/43) Installing .makedepends-py3-pytest-subtests (20240412.193837) Executing busybox-1.36.1-r25.trigger OK: 402 MiB in 150 packages >>> py3-pytest-subtests: Cleaning up srcdir >>> py3-pytest-subtests: Cleaning up pkgdir >>> py3-pytest-subtests: Cleaning up tmpdir >>> py3-pytest-subtests: Fetching https://distfiles.alpinelinux.org/distfiles/edge//pytest-subtests-0.11.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 100 12763 100 12763 0 0 38440 0 --:--:-- --:--:-- --:--:-- 38558 >>> py3-pytest-subtests: Fetching https://distfiles.alpinelinux.org/distfiles/edge//pytest-subtests-0.11.0.tar.gz >>> py3-pytest-subtests: Checking sha512sums... pytest-subtests-0.11.0.tar.gz: OK >>> py3-pytest-subtests: Unpacking /var/cache/distfiles/edge/pytest-subtests-0.11.0.tar.gz... 2024-04-12 19:38:38,519 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-04-12 19:38:38,557 root INFO running bdist_wheel 2024-04-12 19:38:38,572 root INFO running build 2024-04-12 19:38:38,572 root INFO running build_py 2024-04-12 19:38:38,574 root INFO creating build 2024-04-12 19:38:38,575 root INFO creating build/lib 2024-04-12 19:38:38,575 root INFO copying src/pytest_subtests.py -> build/lib 2024-04-12 19:38:38,579 wheel INFO installing to build/bdist.linux-s390x/wheel 2024-04-12 19:38:38,579 root INFO running install 2024-04-12 19:38:38,587 root INFO running install_lib 2024-04-12 19:38:38,589 root INFO creating build/bdist.linux-s390x 2024-04-12 19:38:38,589 root INFO creating build/bdist.linux-s390x/wheel 2024-04-12 19:38:38,589 root INFO copying build/lib/pytest_subtests.py -> build/bdist.linux-s390x/wheel 2024-04-12 19:38:38,589 root INFO running install_egg_info 2024-04-12 19:38:38,593 root INFO running egg_info 2024-04-12 19:38:38,594 root INFO writing src/pytest_subtests.egg-info/PKG-INFO 2024-04-12 19:38:38,595 root INFO writing dependency_links to src/pytest_subtests.egg-info/dependency_links.txt 2024-04-12 19:38:38,595 root INFO writing entry points to src/pytest_subtests.egg-info/entry_points.txt 2024-04-12 19:38:38,595 root INFO writing requirements to src/pytest_subtests.egg-info/requires.txt 2024-04-12 19:38:38,595 root INFO writing top-level names to src/pytest_subtests.egg-info/top_level.txt 2024-04-12 19:38:39,988 root INFO reading manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 19:38:39,989 root INFO adding license file 'LICENSE' 2024-04-12 19:38:39,989 root INFO writing manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 19:38:39,990 root INFO Copying src/pytest_subtests.egg-info to build/bdist.linux-s390x/wheel/pytest_subtests-0.11.0-py3.12.egg-info 2024-04-12 19:38:39,990 root INFO running install_scripts 2024-04-12 19:38:39,992 wheel INFO creating build/bdist.linux-s390x/wheel/pytest_subtests-0.11.0.dist-info/WHEEL 2024-04-12 19:38:39,992 wheel INFO creating '/home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/.dist/.tmp-napx0l6t/pytest_subtests-0.11.0-py3-none-any.whl' and adding 'build/bdist.linux-s390x/wheel' to it 2024-04-12 19:38:39,992 wheel INFO adding 'pytest_subtests.py' 2024-04-12 19:38:39,992 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/LICENSE' 2024-04-12 19:38:39,992 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/METADATA' 2024-04-12 19:38:39,993 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/WHEEL' 2024-04-12 19:38:39,993 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/entry_points.txt' 2024-04-12 19:38:39,993 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/top_level.txt' 2024-04-12 19:38:39,993 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/RECORD' 2024-04-12 19:38:39,993 wheel INFO removing build/bdist.linux-s390x/wheel 2024-04-12 19:38:39,993 gpep517 INFO The backend produced .dist/pytest_subtests-0.11.0-py3-none-any.whl pytest_subtests-0.11.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0 configfile: pytest.ini testpaths: tests plugins: subtests-0.11.0, xdist-3.5.0 collected 29 items tests/test_subtests.py ...............xxxxx......... [100%] ================================== XFAILURES =================================== _____________________ TestSubTest.test_skip[pytest-normal] _____________________ self = testdir = runner = 'pytest-normal' @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) def test_skip(self, testdir, runner): p = testdir.makepyfile( """ from unittest import TestCase, main class T(TestCase): def test_foo(self): for i in range(5): with self.subTest(msg="custom", i=i): if i % 2 == 0: self.skipTest('even number') if __name__ == '__main__': main() """ ) if runner == "unittest": result = testdir.runpython(p) result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) else: > pytest.xfail("Not producing the expected results (#5)") E _pytest.outcomes.XFailed: Not producing the expected results (#5) /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/tests/test_subtests.py:242: XFailed _____________________ TestSubTest.test_skip[pytest-xdist] ______________________ self = testdir = runner = 'pytest-xdist' @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) def test_skip(self, testdir, runner): p = testdir.makepyfile( """ from unittest import TestCase, main class T(TestCase): def test_foo(self): for i in range(5): with self.subTest(msg="custom", i=i): if i % 2 == 0: self.skipTest('even number') if __name__ == '__main__': main() """ ) if runner == "unittest": result = testdir.runpython(p) result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) else: > pytest.xfail("Not producing the expected results (#5)") E _pytest.outcomes.XFailed: Not producing the expected results (#5) /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/tests/test_subtests.py:242: XFailed _______________________ TestSubTest.test_xfail[unittest] _______________________ self = testdir = runner = 'unittest' @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) @pytest.mark.xfail(reason="Not producing the expected results (#5)") def test_xfail(self, testdir, runner): p = testdir.makepyfile( """ import pytest from unittest import expectedFailure, TestCase, main class T(TestCase): @expectedFailure def test_foo(self): for i in range(5): with self.subTest(msg="custom", i=i): if i % 2 == 0: raise pytest.xfail('even number') if __name__ == '__main__': main() """ ) if runner == "unittest": result = testdir.runpython(p) > result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) E Failed: nomatch: 'Ran 1 test in *' E and: 'x' E and: '----------------------------------------------------------------------' E fnmatch: 'Ran 1 test in *' E with: 'Ran 1 test in 0.000s' E nomatch: 'OK (expected failures=3)' E and: '' E and: 'OK (expected failures=1)' E remains unmatched: 'OK (expected failures=3)' /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/tests/test_subtests.py:270: Failed ----------------------------- Captured stdout call ----------------------------- running: /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/.testenv/bin/python3 /tmp/pytest-of-buildozer/pytest-74/test_xfail2/test_xfail.py in: /tmp/pytest-of-buildozer/pytest-74/test_xfail2 ----------------------------- Captured stderr call ----------------------------- x ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (expected failures=1) ____________________ TestSubTest.test_xfail[pytest-normal] _____________________ self = testdir = runner = 'pytest-normal' @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) @pytest.mark.xfail(reason="Not producing the expected results (#5)") def test_xfail(self, testdir, runner): p = testdir.makepyfile( """ import pytest from unittest import expectedFailure, TestCase, main class T(TestCase): @expectedFailure def test_foo(self): for i in range(5): with self.subTest(msg="custom", i=i): if i % 2 == 0: raise pytest.xfail('even number') if __name__ == '__main__': main() """ ) if runner == "unittest": result = testdir.runpython(p) result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) else: result = testdir.runpytest(p) > result.stdout.fnmatch_lines( ["collected 1 item", "* 3 xfailed, 1 passed in *"] ) E Failed: nomatch: 'collected 1 item' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0' E and: 'rootdir: /tmp/pytest-of-buildozer/pytest-74/test_xfail3' E and: 'plugins: subtests-0.11.0, xdist-3.5.0' E exact match: 'collected 1 item' E nomatch: '* 3 xfailed, 1 passed in *' E and: '' E and: 'test_xfail.py x [100%]' E and: '' E and: '============================== 1 xfailed in 0.01s ==============================' E remains unmatched: '* 3 xfailed, 1 passed in *' /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/tests/test_subtests.py:273: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /tmp/pytest-of-buildozer/pytest-74/test_xfail3 plugins: subtests-0.11.0, xdist-3.5.0 collected 1 item test_xfail.py x [100%] ============================== 1 xfailed in 0.01s ============================== _____________________ TestSubTest.test_xfail[pytest-xdist] _____________________ self = testdir = runner = 'pytest-xdist' @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) @pytest.mark.xfail(reason="Not producing the expected results (#5)") def test_xfail(self, testdir, runner): p = testdir.makepyfile( """ import pytest from unittest import expectedFailure, TestCase, main class T(TestCase): @expectedFailure def test_foo(self): for i in range(5): with self.subTest(msg="custom", i=i): if i % 2 == 0: raise pytest.xfail('even number') if __name__ == '__main__': main() """ ) if runner == "unittest": result = testdir.runpython(p) result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) else: result = testdir.runpytest(p) > result.stdout.fnmatch_lines( ["collected 1 item", "* 3 xfailed, 1 passed in *"] ) E Failed: nomatch: 'collected 1 item' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0' E and: 'rootdir: /tmp/pytest-of-buildozer/pytest-74/test_xfail4' E and: 'plugins: subtests-0.11.0, xdist-3.5.0' E exact match: 'collected 1 item' E nomatch: '* 3 xfailed, 1 passed in *' E and: '' E and: 'test_xfail.py x [100%]' E and: '' E and: '============================== 1 xfailed in 0.01s ==============================' E remains unmatched: '* 3 xfailed, 1 passed in *' /home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/tests/test_subtests.py:273: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /tmp/pytest-of-buildozer/pytest-74/test_xfail4 plugins: subtests-0.11.0, xdist-3.5.0 collected 1 item test_xfail.py x [100%] ============================== 1 xfailed in 0.01s ============================== =========================== short test summary info ============================ XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-normal] - reason: Not producing the expected results (#5) XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-xdist] - reason: Not producing the expected results (#5) XFAIL tests/test_subtests.py::TestSubTest::test_xfail[unittest] - Not producing the expected results (#5) XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-normal] - Not producing the expected results (#5) XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-xdist] - Not producing the expected results (#5) ======================== 24 passed, 5 xfailed in 3.07s ========================= >>> py3-pytest-subtests: Entering fakeroot... >>> py3-pytest-subtests-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-pytest-subtests/pkg/py3-pytest-subtests/usr/lib/python3.12/site-packages/__pycache__' -> '/home/buildozer/aports/community/py3-pytest-subtests/pkg/py3-pytest-subtests-pyc/usr/lib/python3.12/site-packages/__pycache__' >>> py3-pytest-subtests-pyc*: Preparing subpackage py3-pytest-subtests-pyc... >>> py3-pytest-subtests-pyc*: Running postcheck for py3-pytest-subtests-pyc >>> py3-pytest-subtests*: Running postcheck for py3-pytest-subtests >>> py3-pytest-subtests*: Preparing package py3-pytest-subtests... >>> py3-pytest-subtests-pyc*: Tracing dependencies... python3 py3-attrs py3-pytest python3~3.12 >>> py3-pytest-subtests-pyc*: Package size: 40.0 KB >>> py3-pytest-subtests-pyc*: Compressing data... >>> py3-pytest-subtests-pyc*: Create checksum... >>> py3-pytest-subtests-pyc*: Create py3-pytest-subtests-pyc-0.11.0-r1.apk >>> py3-pytest-subtests*: Tracing dependencies... python3 py3-attrs py3-pytest python3~3.12 >>> py3-pytest-subtests*: Package size: 64.0 KB >>> py3-pytest-subtests*: Compressing data... >>> py3-pytest-subtests*: Create checksum... >>> py3-pytest-subtests*: Create py3-pytest-subtests-0.11.0-r1.apk >>> py3-pytest-subtests: Build complete at Fri, 12 Apr 2024 19:38:43 +0000 elapsed time 0h 0m 7s >>> py3-pytest-subtests: Cleaning up srcdir >>> py3-pytest-subtests: Cleaning up pkgdir >>> py3-pytest-subtests: Uninstalling dependencies... (1/43) Purging .makedepends-py3-pytest-subtests (20240412.193837) (2/43) Purging py3-attrs-pyc (23.2.0-r1) (3/43) Purging py3-attrs (23.2.0-r1) (4/43) Purging py3-setuptools_scm-pyc (8.0.4-r2) (5/43) Purging py3-setuptools_scm (8.0.4-r2) (6/43) Purging py3-setuptools-pyc (69.2.0-r2) (7/43) Purging py3-setuptools (69.2.0-r2) (8/43) Purging py3-gpep517-pyc (15-r2) (9/43) Purging py3-gpep517 (15-r2) (10/43) Purging py3-wheel-pyc (0.42.0-r1) (11/43) Purging py3-wheel (0.42.0-r1) (12/43) Purging py3-installer-pyc (0.7.0-r2) (13/43) Purging py3-installer (0.7.0-r2) (14/43) Purging py3-pytest-xdist-pyc (3.5.0-r1) (15/43) Purging py3-pytest-xdist (3.5.0-r1) (16/43) Purging py3-execnet-pyc (1.9.0-r3) (17/43) Purging py3-execnet (1.9.0-r3) (18/43) Purging py3-apipkg-pyc (2.1.0-r3) (19/43) Purging py3-apipkg (2.1.0-r3) (20/43) Purging py3-pytest-pyc (8.1.1-r1) (21/43) Purging py3-pytest (8.1.1-r1) (22/43) Purging py3-iniconfig-pyc (2.0.0-r1) (23/43) Purging py3-iniconfig (2.0.0-r1) (24/43) Purging py3-packaging-pyc (24.0-r1) (25/43) Purging py3-packaging (24.0-r1) (26/43) Purging py3-parsing-pyc (3.1.2-r1) (27/43) Purging py3-parsing (3.1.2-r1) (28/43) Purging py3-pluggy-pyc (1.4.0-r1) (29/43) Purging py3-pluggy (1.4.0-r1) (30/43) Purging py3-py-pyc (1.11.0-r3) (31/43) Purging py3-py (1.11.0-r3) (32/43) Purging python3-pyc (3.12.2-r1) (33/43) Purging python3-pycache-pyc0 (3.12.2-r1) (34/43) Purging pyc (3.12.2-r1) (35/43) Purging python3 (3.12.2-r1) (36/43) Purging gdbm (1.23-r1) (37/43) Purging libbz2 (1.0.8-r6) (38/43) Purging libffi (3.4.6-r0) (39/43) Purging libpanelw (6.4_p20240330-r0) (40/43) Purging mpdecimal (4.0.0-r0) (41/43) Purging readline (8.2.10-r0) (42/43) Purging sqlite-libs (3.45.2-r0) (43/43) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 346 MiB in 107 packages >>> py3-pytest-subtests: Updating the community/s390x repository index... >>> py3-pytest-subtests: Signing the index...