>>> py3-pytest-subtests: Building community/py3-pytest-subtests 0.11.0-r1 (using abuild 3.12.0-r5) started Fri, 12 Apr 2024 16:11:20 +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-r1) (28/43) Installing py3-setuptools-pyc (69.2.0-r1) (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.161120) Executing busybox-1.36.1-r25.trigger OK: 368 MiB in 146 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 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/pytest-subtests-0.11.0.tar.gz.part' pytest-subtests-0.11 100% |********************************| 12763 0:00:00 ETA '/var/cache/distfiles/pytest-subtests-0.11.0.tar.gz.part' saved >>> 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/pytest-subtests-0.11.0.tar.gz... 2024-04-12 16:11:21,622 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-04-12 16:11:21,667 root INFO running bdist_wheel 2024-04-12 16:11:21,684 root INFO running build 2024-04-12 16:11:21,684 root INFO running build_py 2024-04-12 16:11:21,687 root INFO creating build 2024-04-12 16:11:21,687 root INFO creating build/lib 2024-04-12 16:11:21,688 root INFO copying src/pytest_subtests.py -> build/lib 2024-04-12 16:11:21,693 wheel INFO installing to build/bdist.linux-armv8l/wheel 2024-04-12 16:11:21,693 root INFO running install 2024-04-12 16:11:21,703 root INFO running install_lib 2024-04-12 16:11:21,705 root INFO creating build/bdist.linux-armv8l 2024-04-12 16:11:21,706 root INFO creating build/bdist.linux-armv8l/wheel 2024-04-12 16:11:21,707 root INFO copying build/lib/pytest_subtests.py -> build/bdist.linux-armv8l/wheel 2024-04-12 16:11:21,707 root INFO running install_egg_info 2024-04-12 16:11:21,711 root INFO running egg_info 2024-04-12 16:11:21,713 root INFO writing src/pytest_subtests.egg-info/PKG-INFO 2024-04-12 16:11:21,714 root INFO writing dependency_links to src/pytest_subtests.egg-info/dependency_links.txt 2024-04-12 16:11:21,714 root INFO writing entry points to src/pytest_subtests.egg-info/entry_points.txt 2024-04-12 16:11:21,715 root INFO writing requirements to src/pytest_subtests.egg-info/requires.txt 2024-04-12 16:11:21,715 root INFO writing top-level names to src/pytest_subtests.egg-info/top_level.txt 2024-04-12 16:11:23,142 root INFO reading manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 16:11:23,143 root INFO adding license file 'LICENSE' 2024-04-12 16:11:23,143 root INFO writing manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 16:11:23,144 root INFO Copying src/pytest_subtests.egg-info to build/bdist.linux-armv8l/wheel/pytest_subtests-0.11.0-py3.12.egg-info 2024-04-12 16:11:23,145 root INFO running install_scripts 2024-04-12 16:11:23,147 wheel INFO creating build/bdist.linux-armv8l/wheel/pytest_subtests-0.11.0.dist-info/WHEEL 2024-04-12 16:11:23,148 wheel INFO creating '/home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/.dist/.tmp-ll6zvu1m/pytest_subtests-0.11.0-py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2024-04-12 16:11:23,148 wheel INFO adding 'pytest_subtests.py' 2024-04-12 16:11:23,148 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/LICENSE' 2024-04-12 16:11:23,148 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/METADATA' 2024-04-12 16:11:23,148 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/WHEEL' 2024-04-12 16:11:23,149 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/entry_points.txt' 2024-04-12 16:11:23,149 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/top_level.txt' 2024-04-12 16:11:23,149 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/RECORD' 2024-04-12 16:11:23,149 wheel INFO removing build/bdist.linux-armv8l/wheel 2024-04-12 16:11:23,149 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.001s' 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-47/test_xfail2/test_xfail.py in: /tmp/pytest-of-buildozer/pytest-47/test_xfail2 ----------------------------- Captured stderr call ----------------------------- x ---------------------------------------------------------------------- Ran 1 test in 0.001s 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-47/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-47/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-47/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-47/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.77s ========================= >>> 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 16:11:27 +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.161120) (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-r1) (7/43) Purging py3-setuptools (69.2.0-r1) (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: 315 MiB in 103 packages >>> py3-pytest-subtests: Updating the community/armhf repository index... >>> py3-pytest-subtests: Signing the index...