>>> py3-docformatter: Checking sanity of /home/patrycja/aports/testing/py3-docformatter/APKBUILD... >>> py3-docformatter: Cleaning up srcdir >>> py3-docformatter: Cleaning up pkgdir >>> py3-docformatter: Cleaning up tmpdir >>> py3-docformatter: Fetching py3-docformatter-1.7.5.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v1.7.5.tar.gz >>> py3-docformatter: Fetching py3-docformatter-1.7.5.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v1.7.5.tar.gz >>> py3-docformatter: Checking sha512sums... py3-docformatter-1.7.5.tar.gz: OK >>> py3-docformatter: Preparing build chroot... (1/134) Installing musl (1.2.5-r0) (2/134) Installing ca-certificates-bundle (20240226-r0) (3/134) Installing libcrypto3 (3.2.1-r2) (4/134) Installing libssl3 (3.2.1-r2) (5/134) Installing zlib (1.3.1-r0) (6/134) Installing apk-tools (2.14.3-r1) (7/134) Installing libattr (2.5.2-r0) (8/134) Installing attr (2.5.2-r0) (9/134) Installing libcap2 (2.69-r1) (10/134) Installing libcap-getcap (2.69-r1) (11/134) Installing fakeroot (1.33-r0) (12/134) Installing scanelf (1.3.7-r2) (13/134) Installing musl-utils (1.2.5-r0) (14/134) Installing libgcc (13.2.1_git20240309-r0) (15/134) Installing libstdc++ (13.2.1_git20240309-r0) (16/134) Installing lzip (1.24.1-r0) (17/134) Installing openssl (3.2.1-r2) (18/134) Installing patch (2.7.6-r10) (19/134) Installing pkgconf (2.2.0-r0) (20/134) Installing libacl (2.3.2-r0) (21/134) Installing tar (1.35-r2) (22/134) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/134) Installing ssl_client (1.36.1-r25) (24/134) Installing busybox-binsh (1.36.1-r25) (25/134) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/134) Installing abuild-sudo (3.12.0-r5) (27/134) Installing alpine-baselayout-data (3.6.3-r0) (28/134) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/134) Installing ifupdown-ng (0.12.1-r5) (30/134) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/134) Installing mdev-conf (4.6-r0) (32/134) Installing busybox-mdev-openrc (1.36.1-r25) (33/134) Installing alpine-conf (3.17.2-r0) (34/134) Installing alpine-keys (2.4-r1) (35/134) Installing alpine-release (3.20.0_alpha20240329-r0) (36/134) Installing busybox-openrc (1.36.1-r25) (37/134) Installing busybox-suid (1.36.1-r25) (38/134) Installing alpine-base (3.20.0_alpha20240329-r0) (39/134) Installing libbz2 (1.0.8-r6) (40/134) Installing libexpat (2.6.2-r0) (41/134) Installing libffi (3.4.6-r0) (42/134) Installing gdbm (1.23-r1) (43/134) Installing xz-libs (5.6.1-r2) (44/134) Installing mpdecimal (4.0.0-r0) (45/134) Installing ncurses-terminfo-base (6.4_p20240330-r0) (46/134) Installing libncursesw (6.4_p20240330-r0) (47/134) Installing libpanelw (6.4_p20240330-r0) (48/134) Installing readline (8.2.10-r0) (49/134) Installing sqlite-libs (3.45.2-r0) (50/134) Installing python3 (3.12.2-r0) (51/134) Installing python3-pycache-pyc0 (3.12.2-r0) (52/134) Installing pyc (3.12.2-r0) (53/134) Installing py3-click (8.1.7-r2) (54/134) Installing py3-click-pyc (8.1.7-r2) (55/134) Installing py3-mypy-extensions (1.0.0-r3) (56/134) Installing py3-mypy-extensions-pyc (1.0.0-r3) (57/134) Installing py3-parsing (3.1.2-r1) (58/134) Installing py3-parsing-pyc (3.1.2-r1) (59/134) Installing py3-packaging (24.0-r1) (60/134) Installing py3-packaging-pyc (24.0-r1) (61/134) Installing py3-pathspec (0.12.1-r2) (62/134) Installing py3-pathspec-pyc (0.12.1-r2) (63/134) Installing py3-platformdirs (4.2.0-r1) (64/134) Installing py3-platformdirs-pyc (4.2.0-r1) (65/134) Installing py3-typed-ast (1.5.5-r1) (66/134) Installing py3-typed-ast-pyc (1.5.5-r1) (67/134) Installing black-pyc (24.3.0-r1) (68/134) Installing python3-pyc (3.12.2-r0) (69/134) Installing black (24.3.0-r1) (70/134) Installing jansson (2.14-r4) (71/134) Installing zstd-libs (1.5.6-r0) (72/134) Installing binutils (2.42-r0) (73/134) Installing libmagic (5.45-r1) (74/134) Installing file (5.45-r1) (75/134) Installing libgomp (13.2.1_git20240309-r0) (76/134) Installing libatomic (13.2.1_git20240309-r0) (77/134) Installing gmp (6.3.0-r0) (78/134) Installing isl26 (0.26-r1) (79/134) Installing mpfr4 (4.2.1-r0) (80/134) Installing mpc1 (1.3.1-r1) (81/134) Installing gcc (13.2.1_git20240309-r0) (82/134) Installing libstdc++-dev (13.2.1_git20240309-r0) (83/134) Installing musl-dev (1.2.5-r0) (84/134) Installing g++ (13.2.1_git20240309-r0) (85/134) Installing make (4.4.1-r2) (86/134) Installing fortify-headers (1.1-r3) (87/134) Installing build-base (0.5-r3) (88/134) Installing hiredis (1.2.0-r0) (89/134) Installing libxxhash (0.8.2-r2) (90/134) Installing ccache (4.9.1-r0) (91/134) Installing ca-certificates (20240226-r0) (92/134) Installing brotli-libs (1.1.0-r2) (93/134) Installing c-ares (1.28.1-r0) (94/134) Installing libunistring (1.2-r0) (95/134) Installing libidn2 (2.3.7-r0) (96/134) Installing nghttp2-libs (1.61.0-r0) (97/134) Installing libpsl (0.21.5-r1) (98/134) Installing libcurl (8.7.1-r0) (99/134) Installing pcre2 (10.43-r0) (100/134) Installing git (2.44.0-r2) (101/134) Installing git-init-template (2.44.0-r2) (102/134) Installing py3-charset-normalizer (3.3.2-r1) (103/134) Installing py3-charset-normalizer-pyc (3.3.2-r1) (104/134) Installing py3-installer (0.7.0-r2) (105/134) Installing py3-installer-pyc (0.7.0-r2) (106/134) Installing py3-gpep517 (15-r2) (107/134) Installing py3-gpep517-pyc (15-r2) (108/134) Installing py3-mock (5.1.0-r2) (109/134) Installing py3-mock-pyc (5.1.0-r2) (110/134) Installing py3-fastjsonschema (2.19.1-r1) (111/134) Installing py3-fastjsonschema-pyc (2.19.1-r1) (112/134) Installing py3-lark-parser (1.1.9-r1) (113/134) Installing py3-lark-parser-pyc (1.1.9-r1) (114/134) Installing py3-poetry-core (1.8.1-r1) (115/134) Installing py3-poetry-core-pyc (1.8.1-r1) (116/134) Installing py3-iniconfig (2.0.0-r1) (117/134) Installing py3-iniconfig-pyc (2.0.0-r1) (118/134) Installing py3-pluggy (1.4.0-r1) (119/134) Installing py3-pluggy-pyc (1.4.0-r1) (120/134) Installing py3-py (1.11.0-r3) (121/134) Installing py3-py-pyc (1.11.0-r3) (122/134) Installing py3-pytest (8.1.1-r1) (123/134) Installing py3-pytest-pyc (8.1.1-r1) (124/134) Installing py3-pytest-forked (1.6.0-r2) (125/134) Installing py3-pytest-forked-pyc (1.6.0-r2) (126/134) Installing py3-apipkg (2.1.0-r3) (127/134) Installing py3-apipkg-pyc (2.1.0-r3) (128/134) Installing py3-execnet (1.9.0-r3) (129/134) Installing py3-execnet-pyc (1.9.0-r3) (130/134) Installing py3-pytest-xdist (3.5.0-r1) (131/134) Installing py3-pytest-xdist-pyc (3.5.0-r1) (132/134) Installing py3-untokenize (0.1.1-r2) (133/134) Installing py3-untokenize-pyc (0.1.1-r2) (134/134) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 296 MiB in 134 packages >>> py3-docformatter: Fetching py3-docformatter-1.7.5.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v1.7.5.tar.gz >>> py3-docformatter: Checking sha512sums... py3-docformatter-1.7.5.tar.gz: OK >>> py3-docformatter: Unpacking /var/cache/distfiles/py3-docformatter-1.7.5.tar.gz... 2024-04-11 20:20:54,021 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-04-11 20:20:54,110 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any of the parent directories): .git 2024-04-11 20:20:54,120 poetry.core.masonry.builders.wheel INFO Built docformatter-1.7.5-py3-none-any.whl 2024-04-11 20:20:54,120 gpep517 INFO The backend produced .dist/docformatter-1.7.5-py3-none-any.whl docformatter-1.7.5-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/testing/py3-docformatter/src/docformatter-1.7.5 configfile: pyproject.toml plugins: xdist-3.5.0, forked-1.6.0 created: 16/16 workers 16 workers [217 items] ...........................F........................F..............F.... [ 33%] ........................................................................ [ 66%] .......................................................x................ [ 99%] . [100%] =================================== FAILURES =================================== ___________ TestDoFormatCode.test_format_code_class_docstring[args0] ___________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-docformatter/src/docformatter-1.7.5/.testenv/bin/python3 self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_class_docstring(self, test_args, args): """Format class docstring.""" uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["class_docstring"]["instring"] outstring = self.TEST_STRINGS["class_docstring"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' class Te... """\n' == ' class Te... """\n ' E E Skipping 138 identical leading characters in diff, use -v to show E """ E - tests/formatter/test_do_format_code.py:126: AssertionError _ TestDoFormatCode.test_format_code_strip_blank_line_after_module_variable[args0] _ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-docformatter/src/docformatter-1.7.5/.testenv/bin/python3 self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_strip_blank_line_after_module_variable( self, test_args, args, ): """Strip newlines between module variable definition and docstring.""" uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["newline_module_variable"]["instring"] outstring = self.TEST_STRINGS["newline_module_variable"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' CONST = ...r CONST."""\n' == ' CONST = ...NST."""\n ' E E Skipping 36 identical leading characters in diff, use -v to show E CONST.""" E - tests/formatter/test_do_format_code.py:108: AssertionError _ TestDoFormatCode.test_format_code_strip_blank_line_after_class_variable[args0] _ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-docformatter/src/docformatter-1.7.5/.testenv/bin/python3 self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_strip_blank_line_after_class_variable( self, test_args, args, ): """Strip any newlines between a class variable definition and docstring. See requirement . """ uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["newline_class_variable"]["instring"] outstring = self.TEST_STRINGS["newline_class_variable"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' class Te...cstring."""\n' == ' class Te...ing."""\n ' E E Skipping 203 identical leading characters in diff, use -v to show E string.""" E - tests/formatter/test_do_format_code.py:151: AssertionError =============================== warnings summary =============================== tests/formatter/test_format_code.py: 3 warnings tests/formatter/test_format_lists.py: 3 warnings tests/formatter/test_format_wrap.py: 2 warnings tests/test_string_functions.py: 1 warning tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=101) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py: 3 warnings tests/formatter/test_format_code.py: 4 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 3 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 2 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=55) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_docstring.py: 3 warnings tests/formatter/test_format_sphinx.py: 2 warnings tests/formatter/test_format_styles.py: 1 warning tests/formatter/test_format_urls.py: 2 warnings tests/test_string_functions.py: 2 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 2 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=74) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_docstring.py: 2 warnings tests/formatter/test_format_black.py: 1 warning tests/formatter/test_format_lists.py: 1 warning tests/formatter/test_format_sphinx.py: 2 warnings tests/formatter/test_format_urls.py: 2 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 1 warning tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=81) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_format_code.py: 7 warnings tests/test_encoding_functions.py: 2 warnings tests/test_string_functions.py: 3 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=89) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py: 3 warnings tests/formatter/test_format_code.py: 4 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 2 warnings tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=46) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_format_code.py: 6 warnings tests/formatter/test_format_urls.py: 2 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 2 warnings tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=97) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_format_code.py: 3 warnings tests/formatter/test_format_epytext.py: 2 warnings tests/formatter/test_format_lists.py: 1 warning tests/formatter/test_format_wrap.py: 2 warnings tests/test_string_functions.py: 3 warnings tests/test_utility_functions.py: 4 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=93) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py: 3 warnings tests/formatter/test_format_styles.py: 3 warnings tests/formatter/test_format_wrap.py: 2 warnings tests/test_string_functions.py: 1 warning tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 2 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=58) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_docstring.py: 3 warnings tests/formatter/test_format_code_ranges.py: 3 warnings tests/formatter/test_format_wrap.py: 2 warnings tests/test_string_functions.py: 3 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 2 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=78) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py: 3 warnings tests/formatter/test_format_sphinx.py: 3 warnings tests/test_encoding_functions.py: 2 warnings tests/test_string_functions.py: 2 warnings tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=52) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_docstring.py: 3 warnings tests/formatter/test_format_sphinx.py: 3 warnings tests/formatter/test_format_wrap.py: 2 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 2 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=70) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_format_black.py: 2 warnings tests/formatter/test_format_code.py: 1 warning tests/formatter/test_format_urls.py: 4 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 3 warnings tests/test_syntax_functions.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=85) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_docstring.py: 3 warnings tests/formatter/test_format_urls.py: 4 warnings tests/test_encoding_functions.py: 1 warning tests/test_string_functions.py: 1 warning tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=65) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py: 3 warnings tests/formatter/test_format_urls.py: 3 warnings tests/formatter/test_format_wrap.py: 2 warnings tests/test_string_functions.py: 2 warnings tests/test_strip_docstring.py: 1 warning tests/test_utility_functions.py: 3 warnings /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=61) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring[args0] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_class_variable[args0] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_do_format_code_keep_newlines_outside_docstring[args0] tests/formatter/test_format_wrap.py::TestFormatWrap::test_unwrap_summary tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_wrap[args0] tests/test_encoding_functions.py::TestFindNewline::test_find_dominant_newline /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=49) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring[args0] FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_module_variable[args0] FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_class_variable[args0] ============ 3 failed, 213 passed, 1 xfailed, 217 warnings in 1.41s ============ >>> ERROR: py3-docformatter: check failed >>> ERROR: py3-docformatter: rootbld failed >>> py3-docformatter: Cleaning up build chroot