>>> py3-pytest-subtests: Building community/py3-pytest-subtests 0.11.0-r1 (using abuild 3.12.0-r5) started Fri, 12 Apr 2024 20:06:00 +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/41) Installing libffi (3.4.6-r0) (2/41) Installing gdbm (1.23-r1) (3/41) Installing mpdecimal (4.0.0-r0) (4/41) Installing libpanelw (6.4_p20240330-r0) (5/41) Installing readline (8.2.10-r0) (6/41) Installing sqlite-libs (3.45.2-r0) (7/41) Installing python3 (3.12.2-r1) (8/41) Installing python3-pycache-pyc0 (3.12.2-r1) (9/41) Installing pyc (3.12.2-r1) (10/41) Installing python3-pyc (3.12.2-r1) (11/41) Installing py3-attrs (23.2.0-r1) (12/41) Installing py3-attrs-pyc (23.2.0-r1) (13/41) Installing py3-iniconfig (2.0.0-r1) (14/41) Installing py3-iniconfig-pyc (2.0.0-r1) (15/41) Installing py3-parsing (3.1.2-r1) (16/41) Installing py3-parsing-pyc (3.1.2-r1) (17/41) Installing py3-packaging (24.0-r1) (18/41) Installing py3-packaging-pyc (24.0-r1) (19/41) Installing py3-pluggy (1.4.0-r1) (20/41) Installing py3-pluggy-pyc (1.4.0-r1) (21/41) Installing py3-py (1.11.0-r3) (22/41) Installing py3-py-pyc (1.11.0-r3) (23/41) Installing py3-pytest (8.1.1-r1) (24/41) Installing py3-pytest-pyc (8.1.1-r1) (25/41) Installing py3-setuptools (69.2.0-r2) (26/41) Installing py3-setuptools-pyc (69.2.0-r2) (27/41) Installing py3-setuptools_scm (8.0.4-r2) (28/41) Installing py3-setuptools_scm-pyc (8.0.4-r2) (29/41) Installing py3-installer (0.7.0-r2) (30/41) Installing py3-installer-pyc (0.7.0-r2) (31/41) Installing py3-gpep517 (15-r2) (32/41) Installing py3-gpep517-pyc (15-r2) (33/41) Installing py3-wheel (0.42.0-r1) (34/41) Installing py3-wheel-pyc (0.42.0-r1) (35/41) Installing py3-apipkg (2.1.0-r3) (36/41) Installing py3-apipkg-pyc (2.1.0-r3) (37/41) Installing py3-execnet (1.9.0-r3) (38/41) Installing py3-execnet-pyc (1.9.0-r3) (39/41) Installing py3-pytest-xdist (3.5.0-r1) (40/41) Installing py3-pytest-xdist-pyc (3.5.0-r1) (41/41) Installing .makedepends-py3-pytest-subtests (20240412.200602) Executing busybox-1.36.1-r25.trigger OK: 434 MiB in 154 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 73651 0 --:--:-- --:--:-- --:--:-- 74203 >>> 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 20:06:04,225 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-04-12 20:06:04,328 root INFO running bdist_wheel 2024-04-12 20:06:04,367 root INFO running build 2024-04-12 20:06:04,368 root INFO running build_py 2024-04-12 20:06:04,374 root INFO creating build 2024-04-12 20:06:04,374 root INFO creating build/lib 2024-04-12 20:06:04,374 root INFO copying src/pytest_subtests.py -> build/lib 2024-04-12 20:06:04,387 wheel INFO installing to build/bdist.linux-i686/wheel 2024-04-12 20:06:04,387 root INFO running install 2024-04-12 20:06:04,408 root INFO running install_lib 2024-04-12 20:06:04,414 root INFO creating build/bdist.linux-i686 2024-04-12 20:06:04,414 root INFO creating build/bdist.linux-i686/wheel 2024-04-12 20:06:04,414 root INFO copying build/lib/pytest_subtests.py -> build/bdist.linux-i686/wheel 2024-04-12 20:06:04,415 root INFO running install_egg_info 2024-04-12 20:06:04,424 root INFO running egg_info 2024-04-12 20:06:04,428 root INFO writing src/pytest_subtests.egg-info/PKG-INFO 2024-04-12 20:06:04,429 root INFO writing dependency_links to src/pytest_subtests.egg-info/dependency_links.txt 2024-04-12 20:06:04,430 root INFO writing entry points to src/pytest_subtests.egg-info/entry_points.txt 2024-04-12 20:06:04,430 root INFO writing requirements to src/pytest_subtests.egg-info/requires.txt 2024-04-12 20:06:04,431 root INFO writing top-level names to src/pytest_subtests.egg-info/top_level.txt 2024-04-12 20:06:07,732 root INFO reading manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 20:06:07,732 root INFO adding license file 'LICENSE' 2024-04-12 20:06:07,734 root INFO writing manifest file 'src/pytest_subtests.egg-info/SOURCES.txt' 2024-04-12 20:06:07,734 root INFO Copying src/pytest_subtests.egg-info to build/bdist.linux-i686/wheel/pytest_subtests-0.11.0-py3.12.egg-info 2024-04-12 20:06:07,736 root INFO running install_scripts 2024-04-12 20:06:07,740 wheel INFO creating build/bdist.linux-i686/wheel/pytest_subtests-0.11.0.dist-info/WHEEL 2024-04-12 20:06:07,741 wheel INFO creating '/home/buildozer/aports/community/py3-pytest-subtests/src/pytest-subtests-0.11.0/.dist/.tmp-sr1j8lrd/pytest_subtests-0.11.0-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it 2024-04-12 20:06:07,742 wheel INFO adding 'pytest_subtests.py' 2024-04-12 20:06:07,742 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/LICENSE' 2024-04-12 20:06:07,743 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/METADATA' 2024-04-12 20:06:07,743 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/WHEEL' 2024-04-12 20:06:07,743 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/entry_points.txt' 2024-04-12 20:06:07,744 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/top_level.txt' 2024-04-12 20:06:07,744 wheel INFO adding 'pytest_subtests-0.11.0.dist-info/RECORD' 2024-04-12 20:06:07,744 wheel INFO removing build/bdist.linux-i686/wheel 2024-04-12 20:06:07,745 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.002s' 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-52/test_xfail2/test_xfail.py in: /tmp/pytest-of-buildozer/pytest-52/test_xfail2 ----------------------------- Captured stderr call ----------------------------- x ---------------------------------------------------------------------- Ran 1 test in 0.002s 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-52/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.03s ==============================' 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-52/test_xfail3 plugins: subtests-0.11.0, xdist-3.5.0 collected 1 item test_xfail.py x [100%] ============================== 1 xfailed in 0.03s ============================== _____________________ 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-52/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.03s ==============================' 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-52/test_xfail4 plugins: subtests-0.11.0, xdist-3.5.0 collected 1 item test_xfail.py x [100%] ============================== 1 xfailed in 0.03s ============================== =========================== 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 7.76s ========================= >>> 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 20:06:17 +0000 elapsed time 0h 0m 17s >>> py3-pytest-subtests: Cleaning up srcdir >>> py3-pytest-subtests: Cleaning up pkgdir >>> py3-pytest-subtests: Uninstalling dependencies... (1/41) Purging .makedepends-py3-pytest-subtests (20240412.200602) (2/41) Purging py3-attrs-pyc (23.2.0-r1) (3/41) Purging py3-attrs (23.2.0-r1) (4/41) Purging py3-setuptools_scm-pyc (8.0.4-r2) (5/41) Purging py3-setuptools_scm (8.0.4-r2) (6/41) Purging py3-setuptools-pyc (69.2.0-r2) (7/41) Purging py3-setuptools (69.2.0-r2) (8/41) Purging py3-gpep517-pyc (15-r2) (9/41) Purging py3-gpep517 (15-r2) (10/41) Purging py3-wheel-pyc (0.42.0-r1) (11/41) Purging py3-wheel (0.42.0-r1) (12/41) Purging py3-installer-pyc (0.7.0-r2) (13/41) Purging py3-installer (0.7.0-r2) (14/41) Purging py3-pytest-xdist-pyc (3.5.0-r1) (15/41) Purging py3-pytest-xdist (3.5.0-r1) (16/41) Purging py3-execnet-pyc (1.9.0-r3) (17/41) Purging py3-execnet (1.9.0-r3) (18/41) Purging py3-apipkg-pyc (2.1.0-r3) (19/41) Purging py3-apipkg (2.1.0-r3) (20/41) Purging py3-pytest-pyc (8.1.1-r1) (21/41) Purging py3-pytest (8.1.1-r1) (22/41) Purging py3-iniconfig-pyc (2.0.0-r1) (23/41) Purging py3-iniconfig (2.0.0-r1) (24/41) Purging py3-packaging-pyc (24.0-r1) (25/41) Purging py3-packaging (24.0-r1) (26/41) Purging py3-parsing-pyc (3.1.2-r1) (27/41) Purging py3-parsing (3.1.2-r1) (28/41) Purging py3-pluggy-pyc (1.4.0-r1) (29/41) Purging py3-pluggy (1.4.0-r1) (30/41) Purging py3-py-pyc (1.11.0-r3) (31/41) Purging py3-py (1.11.0-r3) (32/41) Purging python3-pyc (3.12.2-r1) (33/41) Purging python3-pycache-pyc0 (3.12.2-r1) (34/41) Purging pyc (3.12.2-r1) (35/41) Purging python3 (3.12.2-r1) (36/41) Purging gdbm (1.23-r1) (37/41) Purging libffi (3.4.6-r0) (38/41) Purging libpanelw (6.4_p20240330-r0) (39/41) Purging mpdecimal (4.0.0-r0) (40/41) Purging readline (8.2.10-r0) (41/41) Purging sqlite-libs (3.45.2-r0) Executing busybox-1.36.1-r25.trigger OK: 379 MiB in 113 packages >>> py3-pytest-subtests: Updating the community/x86 repository index... >>> py3-pytest-subtests: Signing the index...