Source: image-factory Version: 1.0.2-1.1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240115 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > python3 -m unittest discover -v > test_black (tests.test_black.BlackTestCase.test_black) > Test: Run black code formatter on Python source code. ... Running following > command: > black --check --diff -l 99 image-factory tests > ok > test_empty_config (tests.test_cli.TestCLI.test_empty_config) > Test empty configuration file. ... ok > test_example_config (tests.test_cli.TestCLI.test_example_config) > Test exapmle image-factory.conf file. ... ok > test_override_cache_dir (tests.test_cli.TestCLI.test_override_cache_dir) > Test overriding the cache directory. ... ok > test_flake8 (tests.test_flake8.Flake8TestCase.test_flake8) > Test: Run flake8 on Python source code. ... Running following command: > /usr/bin/python3 -m flake8 --max-line-length=99 image-factory tests > ok > test_invalid (tests.test_helper.TestParseBytes.test_invalid) > Test parse_bytes("invalid") ... ok > test_parse_1_g (tests.test_helper.TestParseBytes.test_parse_1_g) > Test parse_bytes("1G") ... ok > test_parse_2_tb (tests.test_helper.TestParseBytes.test_parse_2_tb) > Test parse_bytes("2 TB") ... ok > test_parse_512_mib (tests.test_helper.TestParseBytes.test_parse_512_mib) > Test parse_bytes("512 MiB") ... ok > test_isort (tests.test_isort.IsortTestCase.test_isort) > Test: Run isort on Python source code. ... Running following command: > isort --check-only --diff -l 99 image-factory tests > ok > test_pylint (tests.test_pylint.PylintTestCase.test_pylint) > Test: Run pylint on Python source code. ... Running following command: > /usr/bin/python3 -m pylint --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf -- > image-factory tests > FAIL > test_chmod_dnf_log (tests.test_sudo_helper.TestSudoHelper.test_chmod_dnf_log) > Test read access for dnf log file. ... ok > test_chmod_log_file > (tests.test_sudo_helper.TestSudoHelper.test_chmod_log_file) > Test read access for mounted /var/log/... ... ok > test_chmod_recursive > (tests.test_sudo_helper.TestSudoHelper.test_chmod_recursive) > Test chmod recursively ... ok > test_chmod_remove_root > (tests.test_sudo_helper.TestSudoHelper.test_chmod_remove_root) > Test chmod remove mounted /root permission ... ok > test_chmod_root (tests.test_sudo_helper.TestSudoHelper.test_chmod_root) > Test chmod mounted /root ... ok > test_chmod_var_log (tests.test_sudo_helper.TestSudoHelper.test_chmod_var_log) > Test write access for mounted /var/log/... ... ok > test_mount (tests.test_sudo_helper.TestSudoHelper.test_mount) > Test mounting. ... ok > test_reject_escaping > (tests.test_sudo_helper.TestSudoHelper.test_reject_escaping) > Test rejecting ../../etc/shadow. ... ok > test_umount (tests.test_sudo_helper.TestSudoHelper.test_umount) > Test unmounting. ... ok > > ====================================================================== > FAIL: test_pylint (tests.test_pylint.PylintTestCase.test_pylint) > Test: Run pylint on Python source code. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 74, in test_pylint > self.fail("\n".join(msgs)) > AssertionError: pylint exited with code 1 and has unexpected output on stderr: > Traceback (most recent call last): > File "<frozen runpy>", line 198, in _run_module_as_main > File "<frozen runpy>", line 88, in _run_code > File "/usr/lib/python3/dist-packages/pylint/__main__.py", line 10, in > <module> > pylint.run_pylint() > File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 36, in > run_pylint > PylintRun(argv or sys.argv[1:]) > File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 157, in > __init__ > linter.load_default_plugins() > File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 369, in > load_default_plugins > checkers.initialize(self) > File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line > 136, in initialize > register_plugins(linter, __path__[0]) > File "/usr/lib/python3/dist-packages/pylint/utils/utils.py", line 204, in > register_plugins > module = modutils.load_module_from_file( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 235, in > load_module_from_file > return load_module_from_modpath(modpath) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 220, in > load_module_from_modpath > return load_module_from_name(".".join(parts)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 194, in > load_module_from_name > module = importlib.import_module(dotted_name) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "<frozen importlib._bootstrap>", line 1204, in _gcd_import > File "<frozen importlib._bootstrap>", line 1176, in _find_and_load > File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 690, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 940, in exec_module > File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed > File > "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/__init__.py", > line 16, in <module> > from pylint.checkers.refactoring.refactoring_checker import > RefactoringChecker > File > "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/refactoring_checker.py", > line 36, in <module> > nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If > ^^^^^^^^^^^^^^^ > AttributeError: module 'astroid.nodes' has no attribute 'TryExcept' > > ---------------------------------------------------------------------- > Ran 20 tests in 1.124s > > FAILED (failures=1) > make[1]: *** [Makefile:13: check] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test: error: make -j8 check returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2024/01/15/image-factory_1.0.2-1.1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.