>>> reuse: Building community/reuse 5.0.2-r0 (using abuild 3.15.0-r0) started Mon, 13 Oct 2025 12:08:46 +0000 >>> reuse: Validating /home/udu/aports/community/reuse/APKBUILD... >>> reuse: Analyzing dependencies... >>> reuse: Installing for build: build-base py3-attrs py3-binaryornot py3-boolean.py py3-click py3-debian py3-jinja2 py3-license-expression py3-tomlkit bash py3-poetry-core py3-gpep517 py3-installer py3-pytest py3-pytest-xdist py3-pytest-cov py3-freezegun WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/59) Installing py3-attrs-pyc (25.3.0-r0) (2/59) Installing py3-attrs (25.3.0-r0) (3/59) Installing py3-chardet (5.2.0-r1) (4/59) Installing py3-chardet-pyc (5.2.0-r1) (5/59) Installing py3-binaryornot (0.4.4-r5) (6/59) Installing py3-binaryornot-pyc (0.4.4-r5) (7/59) Installing py3-boolean.py (5.0-r0) (8/59) Installing py3-boolean.py-pyc (5.0-r0) (9/59) Installing py3-click (8.1.8-r1) (10/59) Installing py3-click-pyc (8.1.8-r1) (11/59) Installing py3-charset-normalizer (3.4.2-r0) (12/59) Installing py3-charset-normalizer-pyc (3.4.2-r0) (13/59) Installing py3-debian (1.0.1-r0) (14/59) Installing py3-debian-pyc (1.0.1-r0) (15/59) Installing py3-markupsafe (3.0.2-r0) (16/59) Installing py3-markupsafe-pyc (3.0.2-r0) (17/59) Installing py3-jinja2 (3.1.6-r0) (18/59) Installing py3-jinja2-pyc (3.1.6-r0) (19/59) Installing py3-license-expression (30.4.1-r0) (20/59) Installing py3-license-expression-pyc (30.4.1-r0) (21/59) Installing py3-tomlkit (0.13.2-r0) (22/59) Installing py3-tomlkit-pyc (0.13.2-r0) (23/59) Installing py3-fastjsonschema (2.21.1-r0) (24/59) Installing py3-fastjsonschema-pyc (2.21.1-r0) (25/59) Installing py3-lark-parser (1.1.9-r1) (26/59) Installing py3-lark-parser-pyc (1.1.9-r1) (27/59) Installing py3-parsing (3.2.3-r0) (28/59) Installing py3-parsing-pyc (3.2.3-r0) (29/59) Installing py3-packaging (25.0-r0) (30/59) Installing py3-packaging-pyc (25.0-r0) (31/59) Installing py3-poetry-core (2.0.1-r0) (32/59) Installing py3-poetry-core-pyc (2.0.1-r0) (33/59) Installing py3-installer (0.7.0-r2) (34/59) Installing py3-installer-pyc (0.7.0-r2) (35/59) Installing py3-gpep517 (19-r0) (36/59) Installing py3-gpep517-pyc (19-r0) (37/59) Installing py3-iniconfig (2.1.0-r0) (38/59) Installing py3-iniconfig-pyc (2.1.0-r0) (39/59) Installing py3-pluggy (1.5.0-r0) (40/59) Installing py3-pluggy-pyc (1.5.0-r0) (41/59) Installing py3-py (1.11.0-r4) (42/59) Installing py3-py-pyc (1.11.0-r4) (43/59) Installing py3-pytest (8.3.5-r0) (44/59) Installing py3-pytest-pyc (8.3.5-r0) (45/59) Installing py3-execnet (2.1.1-r0) (46/59) Installing py3-execnet-pyc (2.1.1-r0) (47/59) Installing py3-pytest-xdist (3.6.1-r0) (48/59) Installing py3-pytest-xdist-pyc (3.6.1-r0) (49/59) Installing py3-coverage (7.8.2-r0) (50/59) Installing py3-coverage-pyc (7.8.2-r0) (51/59) Installing py3-pytest-cov (5.0.0-r0) (52/59) Installing py3-pytest-cov-pyc (5.0.0-r0) (53/59) Installing py3-six (1.17.0-r0) (54/59) Installing py3-six-pyc (1.17.0-r0) (55/59) Installing py3-dateutil (2.9.0-r1) (56/59) Installing py3-dateutil-pyc (2.9.0-r1) (57/59) Installing py3-freezegun (1.5.1-r0) (58/59) Installing py3-freezegun-pyc (1.5.1-r0) (59/59) Installing .makedepends-reuse (20251013.120846) Executing busybox-1.37.0-r19.trigger OK: 314 MiB in 148 packages >>> reuse: Cleaning up srcdir >>> reuse: Cleaning up pkgdir >>> reuse: Cleaning up tmpdir >>> reuse: Fetching https://files.pythonhosted.org/packages/source/r/reuse/reuse-5.0.2.tar.gz >>> reuse: Fetching https://files.pythonhosted.org/packages/source/r/reuse/reuse-5.0.2.tar.gz >>> reuse: Checking sha512sums... reuse-5.0.2.tar.gz: OK skip-failing-tests.patch: OK >>> reuse: Unpacking /var/cache/distfiles/reuse-5.0.2.tar.gz... >>> reuse: skip-failing-tests.patch patching file tests/test_cli_main.py 2025-10-13 12:08:47,457 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2025-10-13 12:08:47,515 poetry.core.masonry.builders.wheel INFO Building wheel 2025-10-13 12:08:47,586 poetry.core.masonry.builders.wheel INFO Built reuse-5.0.2-cp312-cp312-musllinux_1_2_x86_64.whl 2025-10-13 12:08:47,586 gpep517 INFO The backend produced .dist/reuse-5.0.2-cp312-cp312-musllinux_1_2_x86_64.whl reuse-5.0.2-cp312-cp312-musllinux_1_2_x86_64.whl ============================= test session starts ============================== platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/reuse/src/reuse-5.0.2 configfile: pyproject.toml plugins: xdist-3.6.1, cov-5.0.0 created: 20/20 workers 20 workers [574 items] ...............s...................FF.................FF...F..........s. [ 12%] ..........F.....F......................F..F......F.....................F [ 25%] .........F......FF.....................F............................F... [ 37%] ...FF....................F..F...F.....s..s...ss..F..........F..s........ [ 50%] .......F......................................................F......... [ 62%] ..................ss.............................s..............F....... [ 75%] ..................F..F...FF...F..F..F..F..F....FF.....F.....F...F....... [ 87%] .F..FF..............F.FF......F....FF..Fs.FFFs...FF.FFF..FFF.FFsFFFFFF [100%] =================================== FAILURES =================================== ________________________ TestLintFile.test_ignored_file ________________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0') def test_ignored_file(self, fake_repository): """A corner case where a specified file is ignored. It isn't checked at all. """ (fake_repository / "COPYING").write_text("foo") result = CliRunner().invoke(main, ["lint-file", "COPYING"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint_file.py:61: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/LICENSES' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/COPYING' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/COPYING' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestDownload.test_all_with_plus ________________________ [gw9] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0') mock_put_license_in_file = def test_all_with_plus(self, fake_repository, mock_put_license_in_file): """--all downloads EUPL-1.2 if EUPL-1.2+ is detected.""" Path("foo.py").write_text("# SPDX-License-Identifier: EUPL-1.2+") result = CliRunner().invoke(main, ["download", "--all"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_download.py:78: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________________ TestLint.test_simple[False-False] _______________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0') optional_git_exe = '', optional_hg_exe = '' def test_simple(self, fake_repository, optional_git_exe, optional_hg_exe): """Run a successful lint. The optional VCSs are there to make sure that the test also works if these programs are not installed. """ result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:37: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________ TestDownload.test_all_with_plus_and_non_plus _________________ [gw9] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1') mock_put_license_in_file = def test_all_with_plus_and_non_plus( self, fake_repository, mock_put_license_in_file ): """If both EUPL-1.2 and EUPL-1.2+ is detected, download EUPL-1.2 only once. """ Path("foo.py").write_text( """ # SPDX-License-Identifier: EUPL-1.2+ # SPDX-License-Identifier: EUPL-1.2 """ ) result = CliRunner().invoke(main, ["download", "--all"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_download.py:99: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository1/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________ TestLintFile.test_file_covered_by_toml ____________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository_reuse_toml = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1') def test_file_covered_by_toml(self, fake_repository_reuse_toml): """If a file is covered by REUSE.toml, use its infos.""" (fake_repository_reuse_toml / "doc/foo.md").write_text("foo") result = CliRunner().invoke(main, ["lint-file", "doc/foo.md"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint_file.py:67: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/REUSE.toml' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/usage.md' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/foo.md' reuse.covered_files - DEBUG - skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/index.rst' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/index.rst' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/REUSE.toml' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/foo.md' DEBUG reuse.covered_files:covered_files.py:90 skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/index.rst' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository1/doc/index.rst' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________________________ TestLint.test_fail ______________________________ [gw14] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0') def test_fail(self, fake_repository): """Run a failed lint.""" (fake_repository / "foo.py").write_text("foo") result = CliRunner().invoke(main, ["lint"]) assert result.exit_code > 0 > assert "foo.py" in result.output E AssertionError: assert 'foo.py' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:133: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________________________ TestLint.test_json_fail ____________________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0') def test_json_fail(self, fake_repository): """Run a failed lint.""" (fake_repository / "foo.py").write_text("foo") result = CliRunner().invoke(main, ["lint", "--json"]) > output = json.loads(result.output) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:204: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/lib/python3.12/json/decoder.py:338: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , s = '', idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib/python3.12/json/decoder.py:356: JSONDecodeError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________________________ TestLintFile.test_simple ___________________________ [gw17] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2') def test_simple(self, fake_repository): """A simple test to make sure it works.""" result = CliRunner().invoke(main, ["lint-file", "src/custom.py"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint_file.py:20: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository2/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________________________ TestLint.test_reuse_toml ___________________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository_reuse_toml = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1') def test_reuse_toml(self, fake_repository_reuse_toml): """Run a simple lint with REUSE.toml.""" result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:44: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/REUSE.toml' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/usage.md' reuse.covered_files - DEBUG - skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/index.rst' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/index.rst' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/REUSE.toml' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:90 skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/index.rst' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository1/doc/index.rst' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_no_file_extension ________________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1') def test_no_file_extension(self, fake_repository): """If a license has no file extension, the lint fails.""" (fake_repository / "LICENSES/CC0-1.0.txt").rename( fake_repository / "LICENSES/CC0-1.0" ) result = CliRunner().invoke(main, ["lint"]) assert result.exit_code > 0 > assert "Licenses without file extension: CC0-1.0" in result.output E AssertionError: assert 'Licenses without file extension: CC0-1.0' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:220: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0' reuse.project - INFO - LICENSES/CC0-1.0 does not have a file extension ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository1/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0' INFO reuse.project:project.py:418 LICENSES/CC0-1.0 does not have a file extension ___________________ TestLintFile.test_no_copyright_licensing ___________________ [gw17] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3') def test_no_copyright_licensing(self, fake_repository): """A file is correctly spotted when it has no copyright or licensing info. """ (fake_repository / "foo.py").write_text("foo") result = CliRunner().invoke(main, ["lint-file", "foo.py"]) assert result.exit_code == 1 output = result.output > assert "foo.py" in output E AssertionError: assert 'foo.py' in '' /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint_file.py:40: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository3/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________________________ TestLint.test_custom_root ___________________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository2') def test_custom_root(self, fake_repository): """Use a custom root location.""" result = CliRunner().invoke(main, ["--root", "doc", "lint"]) assert result.exit_code > 0 > assert "usage.md" in result.output E AssertionError: assert 'usage.md' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project 'doc' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project 'doc' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' ______________________________ TestLint.test_dep5 ______________________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository_dep5 = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2') def test_dep5(self, fake_repository_dep5): """Run a simple lint with .reuse/dep5.""" result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:51: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/.reuse' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/usage.md' reuse.covered_files - DEBUG - skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/index.rst' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/index.rst' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/.reuse' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:90 skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/index.rst' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository2/doc/index.rst' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________________ TestLint.test_submodule_included[manual] ___________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository0') def test_submodule_included(self, submodule_repository): """Run a successful lint.""" result = CliRunner().invoke(main, ["--include-submodules", "lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:73: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository0/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/submodule0/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master f798331] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into 'submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.covered_files - DEBUG - currently walking in 'submodule' reuse.covered_files - DEBUG - ignoring 'submodule/.git' reuse.covered_files - DEBUG - yielding 'submodule/foo.py' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'submodule/.git' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.py' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_simple[True-True] ________________________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0') optional_git_exe = '/usr/bin/git', optional_hg_exe = None def test_simple(self, fake_repository, optional_git_exe, optional_hg_exe): """Run a successful lint. The optional VCSs are there to make sure that the test also works if these programs are not installed. """ result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:37: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository0/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ________________________ TestLint.test_custom_root_git _________________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = git_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository3') def test_custom_root_git(self, git_repository): """Use a custom root location in a git repo.""" result = CliRunner().invoke(main, ["--root", "doc", "lint"]) assert result.exit_code > 0 > assert "usage.md" in result.output E AssertionError: assert 'usage.md' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:236: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository3/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' ______________________________ TestLint.test_git _______________________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = git_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository3') def test_git(self, git_repository): """Run a successful lint.""" result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:58: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository3/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_simple[True-False] _______________________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1') optional_git_exe = '/usr/bin/git', optional_hg_exe = '' def test_simple(self, fake_repository, optional_git_exe, optional_hg_exe): """Run a successful lint. The optional VCSs are there to make sure that the test also works if these programs are not installed. """ result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:37: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository1/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________________ TestLint.test_custom_root_different_cwd ____________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository_reuse_toml = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4') def test_custom_root_different_cwd(self, fake_repository_reuse_toml): """Use a custom root while CWD is different.""" os.chdir("/") result = CliRunner().invoke( main, ["--root", str(fake_repository_reuse_toml), "lint"] ) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:246: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/REUSE.toml' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/usage.md' reuse.covered_files - DEBUG - skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/index.rst' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/index.rst' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/REUSE.toml' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:90 skipping 0-sized file '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/index.rst' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository4/doc/index.rst' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________________________ TestSpdx.test_simple _____________________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2') @freeze_time("2024-04-08T17:34:00Z") def test_simple(self, fake_repository): """Compile to an SPDX document.""" result = CliRunner().invoke(main, ["spdx"]) output = result.output # Ensure no LicenseConcluded is included without the flag > assert "\nLicenseConcluded: NOASSERTION\n" in output E AssertionError: assert '\nLicenseConcluded: NOASSERTION\n' in '' /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_spdx.py:31: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository2/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_simple[False-True] _______________________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2') optional_git_exe = '', optional_hg_exe = None def test_simple(self, fake_repository, optional_git_exe, optional_hg_exe): """Run a successful lint. The optional VCSs are there to make sure that the test also works if these programs are not installed. """ result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:37: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository2/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________________________ TestLint.test_json ______________________________ [gw14] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6') def test_json(self, fake_repository): """Run a failed lint.""" result = CliRunner().invoke(main, ["lint", "--json"]) > output = json.loads(result.output) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:194: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/lib/python3.12/json/decoder.py:338: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , s = '', idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib/python3.12/json/decoder.py:356: JSONDecodeError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository6/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________________________ TestSpdx.test_creator_info __________________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3') def test_creator_info(self, fake_repository): """Ensure the --creator-* flags are properly formatted""" result = CliRunner().invoke( main, [ "spdx", "--creator-person=Jane Doe (jane.doe@example.org)", "--creator-organization=FSFE", ], ) output = result.output > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_spdx.py:52: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository3/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________________ TestSpdx.test_add_license_concluded ______________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4') def test_add_license_concluded(self, fake_repository): """Compile to an SPDX document with the LicenseConcluded field.""" result = CliRunner().invoke( main, [ "spdx", "--add-license-concluded", "--creator-person=Jane Doe", "--creator-organization=FSFE", ], ) output = result.output # Ensure no LicenseConcluded is included without the flag > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_spdx.py:70: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository4/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________ TestLint.test_submodule_included_fail[submodule-add] _____________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository1') def test_submodule_included_fail(self, submodule_repository): """Run a failed lint.""" (submodule_repository / "submodule/foo.c").write_text("foo") result = CliRunner().invoke(main, ["--include-submodules", "lint"]) assert result.exit_code == 1 > assert ":-(" in result.output E AssertionError: assert ':-(' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:82: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository1/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/submodule1/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master b811b4a] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository1/submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.covered_files - DEBUG - currently walking in 'submodule' reuse.covered_files - DEBUG - yielding 'submodule/foo.py' reuse.covered_files - DEBUG - yielding 'submodule/foo.c' reuse.covered_files - DEBUG - ignoring 'submodule/.git' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'submodule' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.c' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'submodule/.git' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________ TestLint.test_submodule[submodule-add] ____________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository4') def test_submodule(self, submodule_repository): """Run a successful lint.""" (submodule_repository / "submodule/foo.c").write_text("foo") result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:66: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository4/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/submodule0/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 42ce6fe] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository4/submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - INFO - ignoring 'submodule' because it is a submodule reuse.covered_files - DEBUG - ignoring 'submodule' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' INFO reuse.covered_files:covered_files.py:113 ignoring 'submodule' because it is a submodule DEBUG reuse.covered_files:covered_files.py:154 ignoring 'submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ________________ TestLint.test_submodule_included_fail[manual] _________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository2') def test_submodule_included_fail(self, submodule_repository): """Run a failed lint.""" (submodule_repository / "submodule/foo.c").write_text("foo") result = CliRunner().invoke(main, ["--include-submodules", "lint"]) assert result.exit_code == 1 > assert ":-(" in result.output E AssertionError: assert ':-(' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:82: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository2/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw15/submodule2/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 2a7ecb3] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into 'submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.covered_files - DEBUG - currently walking in 'submodule' reuse.covered_files - DEBUG - ignoring 'submodule/.git' reuse.covered_files - DEBUG - yielding 'submodule/foo.py' reuse.covered_files - DEBUG - yielding 'submodule/foo.c' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'submodule/.git' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.c' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_meson_subprojects ________________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3') def test_meson_subprojects(self, fake_repository): """Verify that subprojects are ignored.""" result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:88: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository3/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________________ TestDownload.test_all _____________________________ [gw10] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4') mock_put_license_in_file = def test_all(self, fake_repository, mock_put_license_in_file): """--all downloads all detected licenses.""" shutil.rmtree("LICENSES") result = CliRunner().invoke(main, ["download", "--all"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_download.py:61: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/doc/usage.md' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository4/doc/usage.md' _____________________ TestLint.test_meson_subprojects_fail _____________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = subproject_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4') def test_meson_subprojects_fail(self, subproject_repository): """Verify that files in './subprojects' are not ignored.""" # ./subprojects/foo.wrap misses license and linter fails (subproject_repository / "subprojects/foo.wrap").write_text("foo") result = CliRunner().invoke(main, ["lint"]) assert result.exit_code == 1 > assert ":-(" in result.output E AssertionError: assert ':-(' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:98: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/meson.build' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects' reuse.covered_files - INFO - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/libfoo' because it is a Meson subproject reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/libfoo' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/foo.wrap' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/meson.build' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects' INFO reuse.covered_files:covered_files.py:104 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/libfoo' because it is a Meson subproject DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/libfoo' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/subprojects/foo.wrap' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository4/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________ TestLint.test_submodule[manual] ________________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository5') def test_submodule(self, submodule_repository): """Run a successful lint.""" (submodule_repository / "submodule/foo.c").write_text("foo") result = CliRunner().invoke(main, ["lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:66: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository5/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/submodule1/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 5a0eb39] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into 'submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - INFO - ignoring 'submodule' because it is a submodule reuse.covered_files - DEBUG - ignoring 'submodule' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' INFO reuse.covered_files:covered_files.py:113 ignoring 'submodule' because it is a submodule DEBUG reuse.covered_files:covered_files.py:154 ignoring 'submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ________________ TestLint.test_meson_subprojects_included_fail _________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = subproject_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5') def test_meson_subprojects_included_fail(self, subproject_repository): """When Meson subprojects are included, fail on errors.""" result = CliRunner().invoke( main, ["--include-meson-subprojects", "lint"] ) assert result.exit_code == 1 > assert ":-(" in result.output E AssertionError: assert ':-(' in '' E + where '' = .output /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:107: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/meson.build' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/foo.wrap' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/libfoo' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/libfoo/foo.c' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/meson.build' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/foo.wrap' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/libfoo' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/subprojects/libfoo/foo.c' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository5/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________________________ test_lint_missing_licenses __________________________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6') def test_lint_missing_licenses(fake_repository): """A missing license is detected.""" (fake_repository / "foo.py").write_text("SPDX-License-Identifier: MIT") project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/fake_repository6/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________________________ test_lint_deprecated _____________________________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4') def test_lint_deprecated(fake_repository): """If a repo has a deprecated license, detect it.""" shutil.copy( fake_repository / "LICENSES/GPL-3.0-or-later.txt", fake_repository / "LICENSES/GPL-3.0.txt", ) (fake_repository / "foo.py").write_text( "SPDX-License-Identifier: GPL-3.0\nSPDX-FileCopyrightText: Jane Doe" ) project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository4/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0.txt' __________________________ test_lint_unused_licenses ___________________________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7') def test_lint_unused_licenses(fake_repository): """An unused license is detected.""" (fake_repository / "LICENSES/MIT.txt").write_text("foo") project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/MIT.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository7/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/MIT.txt' ___________________ TestLint.test_meson_subprojects_included ___________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = subproject_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6') def test_meson_subprojects_included(self, subproject_repository): """Successfully lint when Meson subprojects are included.""" # ./subprojects/libfoo/foo.c has license and linter succeeds (subproject_repository / "subprojects/libfoo/foo.c").write_text( cleandoc( """ SPDX-FileCopyrightText: 2022 Jane Doe SPDX-License-Identifier: GPL-3.0-or-later """ ) ) result = CliRunner().invoke( main, ["--include-meson-subprojects", "lint"] ) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:124: AssertionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/meson.build' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/foo.wrap' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/libfoo' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/libfoo/foo.c' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/meson.build' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/foo.wrap' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/libfoo' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/subprojects/libfoo/foo.c' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository6/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ________________________________ test_lint_git _________________________________ [gw9] linux -- Python 3.12.11 /usr/bin/python3 git_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9') def test_lint_git(git_repository): """Extremely simple test for lint with a git repository.""" project = Project.from_directory(git_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/build' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/.git' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/.gitignore' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/exception.pyc' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/custom.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository9/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________________ test_lint_licenses_without_extension _____________________ [gw19] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3') def test_lint_licenses_without_extension(fake_repository): """A license without file extension is detected.""" (fake_repository / "LICENSES/GPL-3.0-or-later.txt").rename( fake_repository / "LICENSES/GPL-3.0-or-later" ) project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later' reuse.project - INFO - LICENSES/GPL-3.0-or-later does not have a file extension reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw19/fake_repository3/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later' INFO reuse.project:project.py:418 LICENSES/GPL-3.0-or-later does not have a file extension DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________________________ test_lint_simple _______________________________ [gw7] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4') def test_lint_simple(fake_repository): """Extremely simple test for lint.""" project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository4/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________________________ test_lint_empty_directory ___________________________ [gw6] linux -- Python 3.12.11 /usr/bin/python3 empty_directory = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw6/empty_directory1') def test_lint_empty_directory(empty_directory): """An empty directory is compliant.""" project = Project.from_directory(empty_directory) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw6/empty_directory1' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/empty_directory1' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw6/empty_directory1' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/empty_directory1' ____________________________ test_lint_read_errors _____________________________ [gw3] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8') @cpython @posix def test_lint_read_errors(fake_repository): """A read error is detected.""" (fake_repository / "foo.py").write_text("foo") (fake_repository / "foo.py").chmod(0o000) project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository8/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________________ test_lint_bad_license _____________________________ [gw0] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8') def test_lint_bad_license(fake_repository): """A bad license is detected.""" (fake_repository / "foo.py").write_text( "SPDX-License-Identifier: bad-license" ) project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository8/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________ test_lint_files_without_copyright_and_licensing ________________ [gw8] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7') def test_lint_files_without_copyright_and_licensing(fake_repository): """A file without copyright and licensing is detected.""" (fake_repository / "foo.py").write_text("foo") project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository7/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________ TestLint.test_submodule_included[submodule-add] ________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository6') def test_submodule_included(self, submodule_repository): """Run a successful lint.""" result = CliRunner().invoke(main, ["--include-submodules", "lint"]) > assert result.exit_code == 0 E AssertionError: assert 1 == 0 E + where 1 = .exit_code /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_cli_lint.py:73: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository6/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw11/submodule2/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master be1c7b3] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository6/submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git rev-parse --show-toplevel' reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '.' reuse.covered_files - DEBUG - ignoring 'build' reuse.covered_files - DEBUG - ignoring '.git' reuse.covered_files - DEBUG - ignoring 'LICENSES' reuse.covered_files - DEBUG - ignoring '.gitmodules.license' reuse.covered_files - DEBUG - yielding '.gitmodules' reuse.covered_files - DEBUG - yielding '.gitignore' reuse.covered_files - DEBUG - currently walking in 'src' reuse.covered_files - DEBUG - ignoring 'src/source_code.pyc' reuse.covered_files - DEBUG - yielding 'src/custom.py' reuse.covered_files - DEBUG - yielding 'src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring 'src/exception.pyc' reuse.covered_files - DEBUG - ignoring 'src/custom.pyc' reuse.covered_files - DEBUG - yielding 'src/source_code.py' reuse.covered_files - DEBUG - yielding 'src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding 'src/source_code.html' reuse.covered_files - DEBUG - yielding 'src/source_code.c' reuse.covered_files - DEBUG - yielding 'src/exception.py' reuse.covered_files - DEBUG - currently walking in 'doc' reuse.covered_files - DEBUG - yielding 'doc/usage.md' reuse.covered_files - DEBUG - currently walking in 'submodule' reuse.covered_files - DEBUG - yielding 'submodule/foo.py' reuse.covered_files - DEBUG - ignoring 'submodule/.git' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git rev-parse --show-toplevel' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '.' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring 'LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'src' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding 'src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'doc' DEBUG reuse.covered_files:covered_files.py:171 yielding 'doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in 'submodule' DEBUG reuse.covered_files:covered_files.py:171 yielding 'submodule/foo.py' DEBUG reuse.covered_files:covered_files.py:168 ignoring 'submodule/.git' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________________ test_lint_json_output _____________________________ [gw9] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10') def test_lint_json_output(fake_repository): """Test for lint with JSON output.""" (fake_repository / "foo.py").write_text("SPDX-License-Identifier: MIT") project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/fake_repository10/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________________ test_lint_submodule_included[manual] _____________________ [gw4] linux -- Python 3.12.11 /usr/bin/python3 submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10') def test_lint_submodule_included(submodule_repository): """Extremely simple test for lint with an included submodule.""" project = Project.from_directory( submodule_repository, include_submodules=True ) (submodule_repository / "submodule/foo.c").write_text("foo") > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw4/submodule0/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 862dadd] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into 'submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/build' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.git' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/LICENSES' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitmodules.license' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitmodules' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitignore' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/exception.pyc' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/custom.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/doc/usage.md' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule/.git' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule/foo.py' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule/.git' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw4/fake_repository10/submodule/foo.py' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________________ test_lint_lines_read_errors __________________________ [gw7] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5') @cpython @posix def test_lint_lines_read_errors(fake_repository): """Check read error output""" (fake_repository / "restricted.py").write_text("foo") (fake_repository / "restricted.py").chmod(0o000) project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/restricted.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/restricted.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw7/fake_repository5/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________________ test_lint_submodule[submodule-add] ______________________ [gw12] linux -- Python 3.12.11 /usr/bin/python3 submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5') def test_lint_submodule(submodule_repository): """Extremely simple test for lint with an ignored submodule.""" project = Project.from_directory(submodule_repository) (submodule_repository / "submodule/foo.c").write_text("foo") > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw12/submodule1/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 4f40246] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/build' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.git' reuse.covered_files - INFO - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/submodule' because it is a submodule reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/submodule' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/LICENSES' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitmodules.license' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitmodules' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitignore' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/exception.pyc' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/custom.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.git' INFO reuse.covered_files:covered_files.py:113 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/submodule' because it is a submodule DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository5/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________ TestGenerateProjectReport.test_simple[True] __________________ [gw15] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9') multiprocessing = True def test_simple(self, fake_repository, multiprocessing): """Simple generate test, just to see if it sort of works.""" project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:269: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw15/fake_repository9/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________________ test_lint_submodule[manual] __________________________ [gw17] linux -- Python 3.12.11 /usr/bin/python3 submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8') def test_lint_submodule(submodule_repository): """Extremely simple test for lint with an ignored submodule.""" project = Project.from_directory(submodule_repository) (submodule_repository / "submodule/foo.c").write_text("foo") > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw17/submodule1/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 23a014d] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into 'submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/build' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.git' reuse.covered_files - INFO - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/submodule' because it is a submodule reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/submodule' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/LICENSES' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitmodules.license' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitmodules' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitignore' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/exception.pyc' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/custom.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.git' INFO reuse.covered_files:covered_files.py:113 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/submodule' because it is a submodule DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/submodule' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw17/fake_repository8/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________ test_lint_submodule_included[submodule-add] __________________ [gw5] linux -- Python 3.12.11 /usr/bin/python3 submodule_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11') def test_lint_submodule_included(submodule_repository): """Extremely simple test for lint with an included submodule.""" project = Project.from_directory( submodule_repository, include_submodules=True ) (submodule_repository / "submodule/foo.c").write_text("foo") > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.git/ [master (root-commit) bcbee77] initial 14 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Autoconf-exception-3.0.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/GPL-3.0-or-later.txt create mode 100644 LICENSES/LicenseRef-custom.txt create mode 100644 doc/usage.md create mode 100644 src/custom.py create mode 100644 src/exception.py create mode 100644 src/multiple_licenses.rs create mode 100644 src/source_code.c create mode 100644 src/source_code.html create mode 100644 src/source_code.jinja2 create mode 100644 src/source_code.py Initialized empty Git repository in /tmp/pytest-of-udu/pytest-0/popen-gw5/submodule0/.git/ [master (root-commit) 85b912a] initial 1 file changed, 3 insertions(+) create mode 100644 foo.py [master 828b33e] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule ---------------------------- Captured stderr setup ----------------------------- hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Cloning into '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule'... done. ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.vcs - DEBUG - running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' reuse.vcs - DEBUG - running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/build' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.git' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/LICENSES' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitmodules.license' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitmodules' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitignore' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.jinja2' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/exception.pyc' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/custom.pyc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/doc/usage.md' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule/foo.py' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule/.git' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git ls-files --exclude-standard --ignored --others --directory --no-empty-directory -z' DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git config -z --file .gitmodules --get-regexp \.path$' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/build' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.git' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/LICENSES' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitmodules.license' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitmodules' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/.gitignore' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/exception.pyc' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/custom.pyc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/doc/usage.md' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule/foo.py' DEBUG reuse.covered_files:covered_files.py:168 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw5/fake_repository11/submodule/.git' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _____________ TestGenerateProjectReport.test_missing_license[True] _____________ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11') multiprocessing = True def test_missing_license(self, fake_repository, multiprocessing): """Missing licenses are detected.""" (fake_repository / "LICENSES/GPL-3.0-or-later.txt").unlink() project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository11/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _______________ TestGenerateProjectReport.test_bad_license[True] _______________ [gw14] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13') multiprocessing = True def test_bad_license(self, fake_repository, multiprocessing): """Bad licenses are detected.""" (fake_repository / "LICENSES/bad.txt").write_text("foo") project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/bad.txt' reuse.project - WARNING - Could not resolve SPDX License Identifier of LICENSES/bad.txt, resolving to bad. Make sure the license is in the license list found at or that it starts with 'LicenseRef-', and that it has a file extension. ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository13/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/bad.txt' WARNING reuse.project:project.py:427 Could not resolve SPDX License Identifier of LICENSES/bad.txt, resolving to bad. Make sure the license is in the license list found at or that it starts with 'LicenseRef-', and that it has a file extension. _____________ TestGenerateProjectReport.test_unused_license[True] ______________ [gw10] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9') multiprocessing = True def test_unused_license(self, fake_repository, multiprocessing): """Unused licenses are detected.""" (fake_repository / "LICENSES/MIT.txt").write_text("foo") project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:323: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/MIT.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw10/fake_repository9/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/MIT.txt' _______ TestGenerateProjectReport.test_licenses_without_extension[True] ________ [gw6] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9') multiprocessing = True def test_licenses_without_extension(self, fake_repository, multiprocessing): """Licenses without extension are detected.""" (fake_repository / "LICENSES/CC0-1.0.txt").rename( fake_repository / "LICENSES/CC0-1.0" ) project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:288: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0' reuse.project - INFO - LICENSES/CC0-1.0 does not have a file extension ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository9/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0' INFO reuse.project:project.py:418 LICENSES/CC0-1.0 does not have a file extension _______________ TestGenerateProjectReport.test_read_error[True] ________________ [gw3] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10') multiprocessing = True @cpython @posix def test_read_error(self, fake_repository, multiprocessing): """Files that cannot be read are added to the read error list.""" (fake_repository / "bad").write_text("foo") (fake_repository / "bad").chmod(0o000) project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/bad' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/bad' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository10/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________ TestGenerateProjectReport.test_partial_info_in_toml[True] ___________ [gw18] linux -- Python 3.12.11 /usr/bin/python3 self = empty_directory = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4') multiprocessing = True def test_partial_info_in_toml(self, empty_directory, multiprocessing): """Some information is in REUSE.toml, and some is inside of the file.""" (empty_directory / "REUSE.toml").write_text( cleandoc( """ version = 1 [[annotations]] path = "foo.py" precedence = "closest" SPDX-FileCopyrightText = "Jane Doe" # This is ignored because it's in the file! SPDX-License-Identifier = "MIT" """ ) ) (empty_directory / "foo.py").write_text( "# SPDX-License-Identifier: 0BSD" ) project = Project.from_directory(empty_directory) > report = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:465: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4/foo.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4/REUSE.toml' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4/foo.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw18/empty_directory4/REUSE.toml' ___________ TestGenerateProjectReport.test_bad_license_in_file[True] ___________ [gw8] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8') multiprocessing = True def test_bad_license_in_file(self, fake_repository, multiprocessing): """Bad licenses in files are detected.""" (fake_repository / "foo.py").write_text("SPDX-License-Identifier: bad") project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw8/fake_repository8/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________ TestProjectSubsetReport.test_missing_license[True] ______________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7') multiprocessing = True def test_missing_license(self, fake_repository, multiprocessing): """Missing licenses are detected.""" (fake_repository / "LICENSES/GPL-3.0-or-later.txt").unlink() project = Project.from_directory(fake_repository) > result = ProjectSubsetReport.generate( project, {fake_repository / "src/exception.py"}, multiprocessing=multiprocessing, ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:613: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository7/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ______________ TestGenerateProjectReport.test_to_dict_lint[True] _______________ [gw0] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10') multiprocessing = True def test_to_dict_lint(self, fake_repository, multiprocessing): """Generate dictionary output and verify correct ordering.""" project = Project.from_directory(fake_repository) > report = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw0/fake_repository10/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________ TestGenerateProjectReport.test_unused_license_plus[True] ___________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9') multiprocessing = True def test_unused_license_plus(self, fake_repository, multiprocessing): """Apache-1.0+ is not an unused license if LICENSES/Apache-1.0.txt exists. Furthermore, Apache-1.0+ is separately identified as a used license. """ (fake_repository / "foo.py").write_text( "SPDX-License-Identifier: Apache-1.0+" ) (fake_repository / "bar.py").write_text( "SPDX-License-Identifier: Apache-1.0" ) (fake_repository / "LICENSES/Apache-1.0.txt").touch() project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/foo.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/bar.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/foo.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/bar.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository9/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ____________________________ test_lint_lines_output ____________________________ [gw12] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6') def test_lint_lines_output(fake_repository): """Complete test for lint with lines output.""" # Prepare a repository that includes all types of situations: # missing_licenses, unused_licenses, bad_licenses, deprecated_licenses, # licenses_without_extension, files_without_copyright, # files_without_licenses, read_errors (fake_repository / "invalid-license.py").write_text( "SPDX-License-Identifier: invalid" ) (fake_repository / "no-license.py").write_text( "SPDX-FileCopyrightText: Jane Doe" ) (fake_repository / "LICENSES" / "invalid-license-text").write_text( "An invalid license text" ) (fake_repository / "LICENSES" / "Nokia-Qt-exception-1.1.txt").write_text( "Deprecated" ) (fake_repository / "LICENSES" / "MIT").write_text("foo") (fake_repository / "file with spaces.py").write_text("foo") project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_lint.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/file with spaces.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/no-license.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/invalid-license.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Nokia-Qt-exception-1.1.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/MIT' reuse.project - INFO - LICENSES/MIT does not have a file extension reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/invalid-license-text' reuse.project - WARNING - Could not resolve SPDX License Identifier of LICENSES/invalid-license-text, resolving to invalid-license-text. Make sure the license is in the license list found at or that it starts with 'LicenseRef-', and that it has a file extension. ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/file with spaces.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/no-license.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/invalid-license.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw12/fake_repository6/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Nokia-Qt-exception-1.1.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/MIT' INFO reuse.project:project.py:418 LICENSES/MIT does not have a file extension DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/invalid-license-text' WARNING reuse.project:project.py:427 Could not resolve SPDX License Identifier of LICENSES/invalid-license-text, resolving to invalid-license-text. Make sure the license is in the license list found at or that it starts with 'LicenseRef-', and that it has a file extension. _________ TestProjectSubsetReport.test_missing_copyright_license[True] _________ [gw9] linux -- Python 3.12.11 /usr/bin/python3 self = empty_directory = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6') multiprocessing = True def test_missing_copyright_license(self, empty_directory, multiprocessing): """Missing copyright and license is detected.""" (empty_directory / "foo.py").write_text("foo") project = Project.from_directory(empty_directory) > result = ProjectSubsetReport.generate( project, {empty_directory / "foo.py"}, multiprocessing=multiprocessing, ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:531: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:613: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6/foo.py' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw9/empty_directory6/foo.py' _____ TestGenerateProjectReport.test_bad_license_can_also_be_missing[True] _____ [gw16] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12') multiprocessing = True def test_bad_license_can_also_be_missing( self, fake_repository, multiprocessing ): """Bad licenses can also be missing licenses.""" (fake_repository / "foo.py").write_text("SPDX-License-Identifier: bad") project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw16/fake_repository12/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' __________________ TestProjectSubsetReport.test_simple[True] ___________________ [gw3] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11') multiprocessing = True def test_simple(self, fake_repository, multiprocessing): """Simple generate test.""" project = Project.from_directory(fake_repository) > result = ProjectSubsetReport.generate( project, {fake_repository / "src/custom.py"}, multiprocessing=multiprocessing, ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:485: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:613: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw3/fake_repository11/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ___________ TestGenerateProjectReport.test_deprecated_license[True] ____________ [gw14] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14') multiprocessing = True def test_deprecated_license(self, fake_repository, multiprocessing): """Deprecated licenses are detected.""" (fake_repository / "LICENSES/GPL-3.0-or-later.txt").rename( fake_repository / "LICENSES/GPL-3.0.txt" ) project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:403: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw14/fake_repository14/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0.txt' ______ TestGenerateProjectReport.test_unused_license_plus_only_plus[True] ______ [gw6] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10') multiprocessing = True def test_unused_license_plus_only_plus( self, fake_repository, multiprocessing ): """If Apache-1.0+ is the only declared license in the project, LICENSES/Apache-1.0.txt should not be an unused license. """ (fake_repository / "foo.py").write_text( "SPDX-License-Identifier: Apache-1.0+" ) (fake_repository / "LICENSES/Apache-1.0.txt").touch() project = Project.from_directory(fake_repository) > result = ProjectReport.generate( project, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:363: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/foo.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-1.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/foo.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw6/fake_repository10/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-1.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' ________________ TestProjectSubsetReport.test_read_error[True] _________________ [gw13] linux -- Python 3.12.11 /usr/bin/python3 self = fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10') multiprocessing = True @cpython @posix def test_read_error(self, fake_repository, multiprocessing): """Files that cannot be read are added to the read error list.""" (fake_repository / "bad").write_text("foo") (fake_repository / "bad").chmod(0o000) project = Project.from_directory(fake_repository) > result = ProjectSubsetReport.generate( project, {fake_repository / "bad"}, multiprocessing=multiprocessing ) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:505: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:613: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/LICENSES' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/bad' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/LICENSES' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/bad' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw13/fake_repository10/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' _________________________ test_bill_of_materials[True] _________________________ [gw11] linux -- Python 3.12.11 /usr/bin/python3 fake_repository = PosixPath('/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8') multiprocessing = True def test_bill_of_materials(fake_repository, multiprocessing): """Generate a bill of materials.""" project = Project.from_directory(fake_repository) > report = ProjectReport.generate(project, multiprocessing=multiprocessing) /home/udu/aports/community/reuse/src/reuse-5.0.2/tests/test_report.py:545: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:386: in generate results = _generate_file_reports( /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/report.py:139: in _generate_file_reports with mp.Pool() as pool: /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ----------------------------- Captured stderr call ----------------------------- reuse.vcs - DEBUG - running '/usr/bin/git status' reuse.project - INFO - project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8' is not a VCS repository or required VCS software is not installed reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8' reuse.covered_files - DEBUG - ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/LICENSES' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/custom.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.jinja2' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.py' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/multiple_licenses.rs' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.html' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.c' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/exception.py' reuse.covered_files - DEBUG - currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/doc' reuse.covered_files - DEBUG - yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/doc/usage.md' reuse.project - DEBUG - determining identifier of 'LICENSES/LicenseRef-custom.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/Apache-2.0.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/GPL-3.0-or-later.txt' reuse.project - DEBUG - determining identifier of 'LICENSES/CC0-1.0.txt' ------------------------------ Captured log call ------------------------------- DEBUG reuse.vcs:_util.py:56 running '/usr/bin/git status' INFO reuse.project:project.py:478 project '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8' is not a VCS repository or required VCS software is not installed DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8' DEBUG reuse.covered_files:covered_files.py:154 ignoring '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/LICENSES' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/custom.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.jinja2' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.py' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/multiple_licenses.rs' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.html' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/source_code.c' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/src/exception.py' DEBUG reuse.covered_files:covered_files.py:141 currently walking in '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/doc' DEBUG reuse.covered_files:covered_files.py:171 yielding '/tmp/pytest-of-udu/pytest-0/popen-gw11/fake_repository8/doc/usage.md' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/LicenseRef-custom.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Autoconf-exception-3.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/Apache-2.0.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/GPL-3.0-or-later.txt' DEBUG reuse.project:project.py:410 determining identifier of 'LICENSES/CC0-1.0.txt' =============================== warnings summary =============================== tests/test_cli_lint.py::TestLint::test_dep5_decode_error tests/test_cli_lint.py::TestLint::test_dep5_parse_error tests/test_cli_lint.py::TestLint::test_dep5 tests/test_project.py::test_project_conflicting_global_licensing tests/test_project.py::test_reuse_info_of_binary_succeeds tests/test_project.py::test_duplicate_field_dep5 tests/test_project.py::test_find_global_licensing_conflict tests/test_report.py::test_generate_file_report_to_dict_lint_source_information /home/udu/aports/community/reuse/src/reuse-5.0.2/src/reuse/project.py:329: PendingDeprecationWarning: '.reuse/dep5' is deprecated. You are recommended to instead use REUSE.toml. Use `reuse convert-dep5` to convert. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_cli_lint_file.py::TestLintFile::test_ignored_file - Asserti... FAILED tests/test_cli_download.py::TestDownload::test_all_with_plus - Asserti... FAILED tests/test_cli_lint.py::TestLint::test_simple[False-False] - Assertion... FAILED tests/test_cli_download.py::TestDownload::test_all_with_plus_and_non_plus FAILED tests/test_cli_lint_file.py::TestLintFile::test_file_covered_by_toml FAILED tests/test_cli_lint.py::TestLint::test_fail - AssertionError: assert '... FAILED tests/test_cli_lint.py::TestLint::test_json_fail - json.decoder.JSONDe... FAILED tests/test_cli_lint_file.py::TestLintFile::test_simple - AssertionErro... FAILED tests/test_cli_lint.py::TestLint::test_reuse_toml - AssertionError: as... FAILED tests/test_cli_lint.py::TestLint::test_no_file_extension - AssertionEr... FAILED tests/test_cli_lint_file.py::TestLintFile::test_no_copyright_licensing FAILED tests/test_cli_lint.py::TestLint::test_custom_root - AssertionError: a... FAILED tests/test_cli_lint.py::TestLint::test_dep5 - AssertionError: assert 1... FAILED tests/test_cli_lint.py::TestLint::test_submodule_included[manual] - As... FAILED tests/test_cli_lint.py::TestLint::test_simple[True-True] - AssertionEr... FAILED tests/test_cli_lint.py::TestLint::test_custom_root_git - AssertionErro... FAILED tests/test_cli_lint.py::TestLint::test_git - AssertionError: assert 1 ... FAILED tests/test_cli_lint.py::TestLint::test_simple[True-False] - AssertionE... FAILED tests/test_cli_lint.py::TestLint::test_custom_root_different_cwd - Ass... FAILED tests/test_cli_spdx.py::TestSpdx::test_simple - AssertionError: assert... FAILED tests/test_cli_lint.py::TestLint::test_simple[False-True] - AssertionE... FAILED tests/test_cli_lint.py::TestLint::test_json - json.decoder.JSONDecodeE... FAILED tests/test_cli_spdx.py::TestSpdx::test_creator_info - AssertionError: ... FAILED tests/test_cli_spdx.py::TestSpdx::test_add_license_concluded - Asserti... FAILED tests/test_cli_lint.py::TestLint::test_submodule_included_fail[submodule-add] FAILED tests/test_cli_lint.py::TestLint::test_submodule[submodule-add] - Asse... FAILED tests/test_cli_lint.py::TestLint::test_submodule_included_fail[manual] FAILED tests/test_cli_lint.py::TestLint::test_meson_subprojects - AssertionEr... FAILED tests/test_cli_download.py::TestDownload::test_all - AssertionError: a... FAILED tests/test_cli_lint.py::TestLint::test_meson_subprojects_fail - Assert... FAILED tests/test_cli_lint.py::TestLint::test_submodule[manual] - AssertionEr... FAILED tests/test_cli_lint.py::TestLint::test_meson_subprojects_included_fail FAILED tests/test_lint.py::test_lint_missing_licenses - PermissionError: [Err... FAILED tests/test_lint.py::test_lint_deprecated - PermissionError: [Errno 13]... FAILED tests/test_lint.py::test_lint_unused_licenses - PermissionError: [Errn... FAILED tests/test_cli_lint.py::TestLint::test_meson_subprojects_included - As... FAILED tests/test_lint.py::test_lint_git - PermissionError: [Errno 13] Permis... FAILED tests/test_lint.py::test_lint_licenses_without_extension - PermissionE... FAILED tests/test_lint.py::test_lint_simple - PermissionError: [Errno 13] Per... FAILED tests/test_lint.py::test_lint_empty_directory - PermissionError: [Errn... FAILED tests/test_lint.py::test_lint_read_errors - PermissionError: [Errno 13... FAILED tests/test_lint.py::test_lint_bad_license - PermissionError: [Errno 13... FAILED tests/test_lint.py::test_lint_files_without_copyright_and_licensing - ... FAILED tests/test_cli_lint.py::TestLint::test_submodule_included[submodule-add] FAILED tests/test_lint.py::test_lint_json_output - PermissionError: [Errno 13... FAILED tests/test_lint.py::test_lint_submodule_included[manual] - PermissionE... FAILED tests/test_lint.py::test_lint_lines_read_errors - PermissionError: [Er... FAILED tests/test_lint.py::test_lint_submodule[submodule-add] - PermissionErr... FAILED tests/test_report.py::TestGenerateProjectReport::test_simple[True] - P... FAILED tests/test_lint.py::test_lint_submodule[manual] - PermissionError: [Er... FAILED tests/test_lint.py::test_lint_submodule_included[submodule-add] - Perm... FAILED tests/test_report.py::TestGenerateProjectReport::test_missing_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_bad_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_unused_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_licenses_without_extension[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_read_error[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_partial_info_in_toml[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_bad_license_in_file[True] FAILED tests/test_report.py::TestProjectSubsetReport::test_missing_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_to_dict_lint[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_unused_license_plus[True] FAILED tests/test_lint.py::test_lint_lines_output - PermissionError: [Errno 1... FAILED tests/test_report.py::TestProjectSubsetReport::test_missing_copyright_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_bad_license_can_also_be_missing[True] FAILED tests/test_report.py::TestProjectSubsetReport::test_simple[True] - Per... FAILED tests/test_report.py::TestGenerateProjectReport::test_deprecated_license[True] FAILED tests/test_report.py::TestGenerateProjectReport::test_unused_license_plus_only_plus[True] FAILED tests/test_report.py::TestProjectSubsetReport::test_read_error[True] FAILED tests/test_report.py::test_bill_of_materials[True] - PermissionError: ... ============ 69 failed, 492 passed, 13 skipped, 8 warnings in 2.29s ============ >>> ERROR: reuse: check failed >>> reuse: Uninstalling dependencies... (1/59) Purging .makedepends-reuse (20251013.120846) (2/59) Purging py3-attrs-pyc (25.3.0-r0) (3/59) Purging py3-attrs (25.3.0-r0) (4/59) Purging py3-binaryornot-pyc (0.4.4-r5) (5/59) Purging py3-binaryornot (0.4.4-r5) (6/59) Purging py3-chardet-pyc (5.2.0-r1) (7/59) Purging py3-chardet (5.2.0-r1) (8/59) Purging py3-click-pyc (8.1.8-r1) (9/59) Purging py3-click (8.1.8-r1) (10/59) Purging py3-debian-pyc (1.0.1-r0) (11/59) Purging py3-debian (1.0.1-r0) (12/59) Purging py3-charset-normalizer-pyc (3.4.2-r0) (13/59) Purging py3-charset-normalizer (3.4.2-r0) (14/59) Purging py3-jinja2-pyc (3.1.6-r0) (15/59) Purging py3-jinja2 (3.1.6-r0) (16/59) Purging py3-markupsafe-pyc (3.0.2-r0) (17/59) Purging py3-markupsafe (3.0.2-r0) (18/59) Purging py3-license-expression-pyc (30.4.1-r0) (19/59) Purging py3-license-expression (30.4.1-r0) (20/59) Purging py3-boolean.py-pyc (5.0-r0) (21/59) Purging py3-boolean.py (5.0-r0) (22/59) Purging py3-tomlkit-pyc (0.13.2-r0) (23/59) Purging py3-tomlkit (0.13.2-r0) (24/59) Purging py3-poetry-core-pyc (2.0.1-r0) (25/59) Purging py3-poetry-core (2.0.1-r0) (26/59) Purging py3-fastjsonschema-pyc (2.21.1-r0) (27/59) Purging py3-fastjsonschema (2.21.1-r0) (28/59) Purging py3-lark-parser-pyc (1.1.9-r1) (29/59) Purging py3-lark-parser (1.1.9-r1) (30/59) Purging py3-gpep517-pyc (19-r0) (31/59) Purging py3-gpep517 (19-r0) (32/59) Purging py3-installer-pyc (0.7.0-r2) (33/59) Purging py3-installer (0.7.0-r2) (34/59) Purging py3-pytest-xdist-pyc (3.6.1-r0) (35/59) Purging py3-pytest-xdist (3.6.1-r0) (36/59) Purging py3-execnet-pyc (2.1.1-r0) (37/59) Purging py3-execnet (2.1.1-r0) (38/59) Purging py3-pytest-cov-pyc (5.0.0-r0) (39/59) Purging py3-pytest-cov (5.0.0-r0) (40/59) Purging py3-pytest-pyc (8.3.5-r0) (41/59) Purging py3-pytest (8.3.5-r0) (42/59) Purging py3-iniconfig-pyc (2.1.0-r0) (43/59) Purging py3-iniconfig (2.1.0-r0) (44/59) Purging py3-packaging-pyc (25.0-r0) (45/59) Purging py3-packaging (25.0-r0) (46/59) Purging py3-parsing-pyc (3.2.3-r0) (47/59) Purging py3-parsing (3.2.3-r0) (48/59) Purging py3-pluggy-pyc (1.5.0-r0) (49/59) Purging py3-pluggy (1.5.0-r0) (50/59) Purging py3-py-pyc (1.11.0-r4) (51/59) Purging py3-py (1.11.0-r4) (52/59) Purging py3-coverage-pyc (7.8.2-r0) (53/59) Purging py3-coverage (7.8.2-r0) (54/59) Purging py3-freezegun-pyc (1.5.1-r0) (55/59) Purging py3-freezegun (1.5.1-r0) (56/59) Purging py3-dateutil-pyc (2.9.0-r1) (57/59) Purging py3-dateutil (2.9.0-r1) (58/59) Purging py3-six-pyc (1.17.0-r0) (59/59) Purging py3-six (1.17.0-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages