• Bug#1061010: click: FTBFS: tests failed (1/2)

    From Lucas Nussbaum@21:1/5 to All on Tue Jan 16 21:00:12 2024
    Source: click
    Version: 0.5.0-9
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@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[3]: Entering directory '/<<PKGBUILDDIR>>'
    set -e; for python in python3.12 python3; do \
    $python setup.py test; \
    done
    /usr/lib/python3/dist-packages/setuptools/dist.py:508: InformationOnly: Normalizing '0.5.0-9' to '0.5.0.post9'
    self.metadata.version = self._normalize_version(
    running test
    WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
    /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    ir_d = dist.fetch_build_eggs(dist.install_requires) /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    tr_d = dist.fetch_build_eggs(dist.tests_require or []) /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    er_d = dist.fetch_build_eggs(
    running egg_info
    creating click.egg-info
    writing click.egg-info/PKG-INFO
    writing dependency_links to click.egg-info/dependency_links.txt
    writing top-level names to click.egg-info/top_level.txt
    writing manifest file 'click.egg-info/SOURCES.txt'
    reading manifest file 'click.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    adding license file 'LICENSE'
    writing manifest file 'click.egg-info/SOURCES.txt'
    running build_ext
    /usr/lib/python3/dist-packages/setuptools/dist.py:508: InformationOnly: Normalizing '0.5.0-9' to '0.5.0.post9'
    self.metadata.version = self._normalize_version(
    running test
    WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
    /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    ir_d = dist.fetch_build_eggs(dist.install_requires) /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    tr_d = dist.fetch_build_eggs(dist.tests_require or []) /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    er_d = dist.fetch_build_eggs(
    running egg_info
    writing click.egg-info/PKG-INFO
    writing dependency_links to click.egg-info/dependency_links.txt
    writing top-level names to click.egg-info/top_level.txt
    reading manifest file 'click.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    adding license file 'LICENSE'
    writing manifest file 'click.egg-info/SOURCES.txt'
    running build_ext
    test_add (click_package.tests.test_database.TestClickDB.test_add) ... ok test_has_package_version (click_package.tests.test_database.TestClickDB.test_has_package_version) ... ok
    test_manifest (click_package.tests.test_database.TestClickDB.test_manifest) ... ok
    test_manifest_bad (click_package.tests.test_database.TestClickDB.test_manifest_bad) ... ok
    test_manifests_all (click_package.tests.test_database.TestClickDB.test_manifests_all) ... ok
    test_manifests_current (click_package.tests.test_database.TestClickDB.test_manifests_current) ... ok
    test_no_db_conf_errors (click_package.tests.test_database.TestClickDB.test_no_db_conf_errors) ... ok
    test_no_read (click_package.tests.test_database.TestClickDB.test_no_read) ... ok
    test_overlay (click_package.tests.test_database.TestClickDB.test_overlay) ... ok
    test_packages_all (click_package.tests.test_database.TestClickDB.test_packages_all) ... ok
    test_packages_current (click_package.tests.test_database.TestClickDB.test_packages_current) ... ok
    test_path (click_package.tests.test_database.TestClickDB.test_path) ... ok test_read_configuration (click_package.tests.test_database.TestClickDB.test_read_configuration) ... ok
    test_read_nonexistent (click_package.tests.test_database.TestClickDB.test_read_nonexistent) ... ok
    test_read_not_directory (click_package.tests.test_database.TestClickDB.test_read_not_directory) ... ok
    test_equal_to (click_package.tests.test_database.TestClickInstalledPackage.test_equal_to) ... expected failure
    test_hash (click_package.tests.test_database.TestClickInstalledPackage.test_hash) ... ok
    test_any_app_running_bad_manifest (click_package.tests.test_database.TestClickSingleDB.test_any_app_running_bad_manifest) ... ok
    test_any_app_running_missing_app (click_package.tests.test_database.TestClickSingleDB.test_any_app_running_missing_app) ... ok
    test_any_app_running_no_app_pid_command (click_package.tests.test_database.TestClickSingleDB.test_any_app_running_no_app_pid_command) ... ok
    test_any_app_running_no_hooks (click_package.tests.test_database.TestClickSingleDB.test_any_app_running_no_hooks) ... ok
    test_any_app_running_ubuntu_app_pid (click_package.tests.test_database.TestClickSingleDB.test_any_app_running_ubuntu_app_pid) ... ok
    test_app_running (click_package.tests.test_database.TestClickSingleDB.test_app_running) ... ok
    test_ensure_ownership (click_package.tests.test_database.TestClickSingleDB.test_ensure_ownership) ... ok
    test_ensure_ownership_failed_chown (click_package.tests.test_database.TestClickSingleDB.test_ensure_ownership_failed_chown) ... ok
    test_ensure_ownership_missing_clickpkg_user (click_package.tests.test_database.TestClickSingleDB.test_ensure_ownership_missing_clickpkg_user) ... ok
    test_ensure_ownership_quick_if_correct (click_package.tests.test_database.TestClickSingleDB.test_ensure_ownership_quick_if_correct) ... skipped 'See https://gitlab.com/ubports/development/core/click/-/issues/5'
    test_gc (click_package.tests.test_database.TestClickSingleDB.test_gc) ... ok test_gc_fixes_old_user_registrations (click_package.tests.test_database.TestClickSingleDB.test_gc_fixes_old_user_registrations) ... ok
    test_gc_ignores_non_directory (click_package.tests.test_database.TestClickSingleDB.test_gc_ignores_non_directory) ... ok
    test_has_package_version (click_package.tests.test_database.TestClickSingleDB.test_has_package_version) ... ok
    test_manifest (click_package.tests.test_database.TestClickSingleDB.test_manifest) ... ok
    test_manifest_bad (click_package.tests.test_database.TestClickSingleDB.test_manifest_bad) ... ok
    test_maybe_remove_not_running (click_package.tests.test_database.TestClickSingleDB.test_maybe_remove_not_running) ... ok
    test_maybe_remove_registered (click_package.tests.test_database.TestClickSingleDB.test_maybe_remove_registered) ... ok
    test_maybe_remove_running (click_package.tests.test_database.TestClickSingleDB.test_maybe_remove_running) ... ok
    test_packages_all (click_package.tests.test_database.TestClickSingleDB.test_packages_all) ... ok
    test_packages_all_ignores_non_directory (click_package.tests.test_database.TestClickSingleDB.test_packages_all_ignores_non_directory) ... ok
    test_packages_current (click_package.tests.test_database.TestClickSingleDB.test_packages_current) ... ok
    test_path (click_package.tests.test_database.TestClickSingleDB.test_path) ... ok
    setUpClass (click_package.tests.integration.test_frameworks.TestFrameworks) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_list.TestList) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_install.TestClickInstall) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_signatures.TestSignatureVerification) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_signatures.TestSignatureVerificationNoSignature) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_contents.TestContents) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_hook.TestHook) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_info.TestInfo) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_verify.TestVerify) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_build.TestBuild) ... skipped 'Skipping integration tests'
    setUpClass (click_package.tests.integration.test_buildsource.TestBuildSource) ... skipped 'Skipping integration tests'
    test_dir_open_error (click_package.tests.test_osextras.TestOSExtrasNative.test_dir_open_error) ... ok
    test_dir_read_name_directory_missing (click_package.tests.test_osextras.TestOSExtrasNative.test_dir_read_name_directory_missing) ... ok
    test_dir_read_name_directory_present (click_package.tests.test_osextras.TestOSExtrasNative.test_dir_read_name_directory_present) ... ok
    test_ensuredir_error (click_package.tests.test_osextras.TestOSExtrasNative.test_ensuredir_error) ... ok
    test_ensuredir_previously_missing (click_package.tests.test_osextras.TestOSExtrasNative.test_ensuredir_previously_missing) ... ok
    test_ensuredir_previously_present (click_package.tests.test_osextras.TestOSExtrasNative.test_ensuredir_previously_present) ... ok
    test_find_on_path_missing_environment (click_package.tests.test_osextras.TestOSExtrasNative.test_find_on_path_missing_environment) ... ok
    test_find_on_path_present_executable (click_package.tests.test_osextras.TestOSExtrasNative.test_find_on_path_present_executable) ... ok
    test_find_on_path_present_not_executable (click_package.tests.test_osextras.TestOSExtrasNative.test_find_on_path_present_not_executable) ... ok
    test_find_on_path_requires_regular_file (click_package.tests.test_osextras.TestOSExtrasNative.test_find_on_path_requires_regular_file) ... ok
    test_symlink_error (click_package.tests.test_osextras.TestOSExtrasNative.test_symlink_error) ... ok
    test_symlink_file_present (click_package.tests.test_osextras.TestOSExtrasNative.test_symlink_file_present) ... ok
    test_symlink_link_present (click_package.tests.test_osextras.TestOSExtrasNative.test_symlink_link_present) ... ok
    test_symlink_missing (click_package.tests.test_osextras.TestOSExtrasNative.test_symlink_missing) ... ok
    test_symlink_unlink_error (click_package.tests.test_osextras.TestOSExtrasNative.test_symlink_unlink_error) ... ok
    test_umask (click_package.tests.test_osextras.TestOSExtrasNative.test_umask) ... ok
    test_unlink_error (click_package.tests.test_osextras.TestOSExtrasNative.test_unlink_error) ... ok
    test_unlink_file_missing (click_package.tests.test_osextras.TestOSExtrasNative.test_unlink_file_missing) ... ok
    test_unlink_file_present (click_package.tests.test_osextras.TestOSExtrasNative.test_unlink_file_present) ... ok
    test_ensuredir_oserror (click_package.tests.test_osextras.TestOSExtrasPython.test_ensuredir_oserror) ... ok
    test_ensuredir_previously_missing (click_package.tests.test_osextras.TestOSExtrasPython.test_ensuredir_previously_missing) ... ok
    test_ensuredir_previously_present (click_package.tests.test_osextras.TestOSExtrasPython.test_ensuredir_previously_present) ... ok
    test_find_on_path_missing_environment (click_package.tests.test_osextras.TestOSExtrasPython.test_find_on_path_missing_environment) ... ok
    test_find_on_path_present_executable (click_package.tests.test_osextras.TestOSExtrasPython.test_find_on_path_present_executable) ... ok
    test_find_on_path_present_not_executable (click_package.tests.test_osextras.TestOSExtrasPython.test_find_on_path_present_not_executable) ... ok
    test_find_on_path_requires_regular_file (click_package.tests.test_osextras.TestOSExtrasPython.test_find_on_path_requires_regular_file) ... ok
    test_listdir_directory_missing (click_package.tests.test_osextras.TestOSExtrasPython.test_listdir_directory_missing) ... ok
    test_listdir_directory_present (click_package.tests.test_osextras.TestOSExtrasPython.test_listdir_directory_present) ... ok
    test_listdir_oserror (click_package.tests.test_osextras.TestOSExtrasPython.test_listdir_oserror) ... ok
    test_symlink_file_present (click_package.tests.test_osextras.TestOSExtrasPython.test_symlink_file_present) ... ok
    test_symlink_link_present (click_package.tests.test_osextras.TestOSExtrasPython.test_symlink_link_present) ... ok
    test_symlink_missing (click_package.tests.test_osextras.TestOSExtrasPython.test_symlink_missing) ... ok
    test_symlink_oserror (click_package.tests.test_osextras.TestOSExtrasPython.test_symlink_oserror) ... ok
    test_symlink_unlink_oserror (click_package.tests.test_osextras.TestOSExtrasPython.test_symlink_unlink_oserror) ... ok
    test_umask (click_package.tests.test_osextras.TestOSExtrasPython.test_umask) ... ok
    test_unlink_file_missing (click_package.tests.test_osextras.TestOSExtrasPython.test_unlink_file_missing) ... ok
    test_unlink_file_present (click_package.tests.test_osextras.TestOSExtrasPython.test_unlink_file_present) ... ok
    test_unlink_oserror (click_package.tests.test_osextras.TestOSExtrasPython.test_unlink_oserror) ... ok
    test_pep8_clean (click_package.tests.test_static.TestStatic.test_pep8_clean) ... ok
    test_pyflakes_clean (click_package.tests.test_static.TestStatic.test_pyflakes_clean) ... ok
    test_audit_bad_click_version (click_package.tests.test_install.TestClickInstaller.test_audit_bad_click_version) ... ok
    test_audit_broken_md5sums (click_package.tests.test_install.TestClickInstaller.test_audit_broken_md5sums) ... ok
    test_audit_forbids_depends (click_package.tests.test_install.TestClickInstaller.test_audit_forbids_depends) ... ok
    test_audit_forbids_maintscript (click_package.tests.test_install.TestClickInstaller.test_audit_forbids_maintscript) ... ok
    test_audit_invalid_manifest_json (click_package.tests.test_install.TestClickInstaller.test_audit_invalid_manifest_json) ... ok
    test_audit_matching_md5sums (click_package.tests.test_install.TestClickInstaller.test_audit_matching_md5sums) ... b'Traceback (most recent call last):\n File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield
    partial(helper, lib_path, rpreloads), preloads\n File "/<<PKGBUILDDIR>>/click_package/tests/test_install.py", line 421, in test_audit_matching_md5sums\n ("test-package", "1.0"), installer.audit(path, slow=True))\n ^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 291, in audit\n self.extract(path, temp_dir)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 167, in extract\n subprocess.check_call(command, env=env, **
    kwargs)\n File "/usr/lib/python3.12/subprocess.py", line 413, in check_call\n raise CalledProcessError(retcode, cmd)\nsubprocess.CalledProcessError: Command \'[\'dpkg-deb\', \'-R\', \'/tmp/click6kwiheyy/fake-package.click\', \'/tmp/clickucq7i822\']\'
    returned non-zero exit status 2.\n'
    ERROR
    test_audit_missing_dot_slash (click_package.tests.test_install.TestClickInstaller.test_audit_missing_dot_slash) ... ok
    test_audit_missing_framework (click_package.tests.test_install.TestClickInstaller.test_audit_missing_framework) ... /usr/lib/python3.12/xml/etree/ElementTree.py:568: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    self._root = parser._parse_whole(source)
    ResourceWarning: Enable tracemalloc to get the object allocation traceback
    ok
    test_audit_missing_framework_force (click_package.tests.test_install.TestClickInstaller.test_audit_missing_framework_force) ... ok
    test_audit_multiple_frameworks (click_package.tests.test_install.TestClickInstaller.test_audit_multiple_frameworks) ... ok
    test_audit_name_bad_character (click_package.tests.test_install.TestClickInstaller.test_audit_name_bad_character) ... ok
    test_audit_new_click_version (click_package.tests.test_install.TestClickInstaller.test_audit_new_click_version) ... ok
    test_audit_no_click_version (click_package.tests.test_install.TestClickInstaller.test_audit_no_click_version) ... ok
    test_audit_no_framework (click_package.tests.test_install.TestClickInstaller.test_audit_no_framework) ... ok
    test_audit_no_name (click_package.tests.test_install.TestClickInstaller.test_audit_no_name) ... ok
    test_audit_no_signature (click_package.tests.test_install.TestClickInstaller.test_audit_no_signature) ... skipped 'this test needs debsig-verify'
    test_audit_no_version (click_package.tests.test_install.TestClickInstaller.test_audit_no_version) ... ok
    test_audit_passes_correct_package (click_package.tests.test_install.TestClickInstaller.test_audit_passes_correct_package) ... ok
    test_audit_requires_manifest (click_package.tests.test_install.TestClickInstaller.test_audit_requires_manifest) ... ok
    test_install (click_package.tests.test_install.TestClickInstaller.test_install) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickdc80l9ve/root/test-package/1.0\', \'--admindir\'
    , \'/tmp/clickdc80l9ve/root/test-package/1.0/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickdc80l9ve/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickdc80l9ve/fake-package.click\'] failed with exit_code 1:\ndpkg-deb:
    error: tar subprocess was killed by signal (Segmentation fault)\ndpkg: error processing archive /tmp/clickdc80l9ve/fake-package.click (--install):\n dpkg-deb --control subprocess returned error exit status 2\nErrors were encountered while processing:\n /
    tmp/clickdc80l9ve/fake-package.click\n\nTraceback (most recent call last):\n File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield partial(helper, lib_path, rpreloads), preloads\n File "/<<PKGBUILDDIR>>/click_
    package/tests/test_install.py", line 476, in test_install\n installer.install(path)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 467, in install\n package_name, package_version, old_version = self._unpack(\n
    ^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 421, in _unpack\n fn(command,\n File "/usr/lib/python3.12/subprocess.py", line 466, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout,
    check=True,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.12/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--
    force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickdc80l9ve/root/test-package/1.0\', \'--admindir\', \'/tmp/clickdc80l9ve/root/test-package/1.0/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/
    clickdc80l9ve/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickdc80l9ve/fake-package.click\']\' returned non-zero exit status 1.\n'
    ERROR
    test_multiple_architectures (click_package.tests.test_install.TestClickInstaller.test_multiple_architectures) ... /usr/lib/python3.12/xml/etree/ElementTree.py:568: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    self._root = parser._parse_whole(source)
    ResourceWarning: Enable tracemalloc to get the object allocation traceback b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickn5a80u_d/root/test-package/1.1\', \'--admindir\', \'/tmp/clickn5a80u_d/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.
    click/*\', \'--log\', \'/tmp/clickn5a80u_d/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickn5a80u_d/fake-package.click\'] failed with exit_code 1:\ndpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)\ndpkg: error
    processing archive /tmp/clickn5a80u_d/fake-package.click (--install):\n dpkg-deb --control subprocess returned error exit status 2\nErrors were encountered while processing:\n /tmp/clickn5a80u_d/fake-package.click\n\nTraceback (most recent call last):\n
    File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield partial(helper, lib_path, rpreloads), preloads\n File "/<<PKGBUILDDIR>>/click_package/tests/test_install.py", line 724, in test_multiple_architectures\n
    installer.install(path)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 467, in install\n package_name, package_version, old_version = self._unpack(\n ^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/
    click_package/install.py", line 421, in _unpack\n fn(command,\n File "/usr/lib/python3.12/subprocess.py", line 466, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.12/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-
    architecture\', \'--instdir\', \'/tmp/clickn5a80u_d/root/test-package/1.1\', \'--admindir\', \'/tmp/clickn5a80u_d/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickn5a80u_d/root/.click/log\', \'--no-triggers\', \'-
    -install\', \'/tmp/clickn5a80u_d/fake-package.click\']\' returned non-zero exit status 1.\n'
    ERROR
    test_no_write_permission (click_package.tests.test_install.TestClickInstaller.test_no_write_permission) ... ok
    test_reinstall_preinstalled (click_package.tests.test_install.TestClickInstaller.test_reinstall_preinstalled) ... /usr/lib/python3.12/unittest/mock.py:2185: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    def __init__(self, name, parent):
    ResourceWarning: Enable tracemalloc to get the object allocation traceback ERROR
    test_sandbox (click_package.tests.test_install.TestClickInstaller.test_sandbox) ... ok
    test_single_architecture (click_package.tests.test_install.TestClickInstaller.test_single_architecture) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickxei67lc4/root/test-
    package/1.1\', \'--admindir\', \'/tmp/clickxei67lc4/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickxei67lc4/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickxei67lc4/fake-package.click\'] failed
    with exit_code 1:\ndpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)\ndpkg: error processing archive /tmp/clickxei67lc4/fake-package.click (--install):\n dpkg-deb --control subprocess returned error exit status 2\nErrors were
    encountered while processing:\n /tmp/clickxei67lc4/fake-package.click\n\nTraceback (most recent call last):\n File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield partial(helper, lib_path, rpreloads), preloads\
    n File "/<<PKGBUILDDIR>>/click_package/tests/test_install.py", line 687, in test_single_architecture\n installer.install(path)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 467, in install\n package_name, package_version, old_version =
    self._unpack(\n ^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 421, in _unpack\n fn(command,\n File "/usr/lib/python3.12/subprocess.py", line 466, in check_output\n return
    run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.12/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.
    CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickxei67lc4/root/test-package/1.1\', \'--admindir\', \'/tmp/clickxei67lc4/root/test-package/1.1/.click\', \'--path-
    exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickxei67lc4/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickxei67lc4/fake-package.click\']\' returned non-zero exit status 1.\n'
    ERROR
    test_upgrade (click_package.tests.test_install.TestClickInstaller.test_upgrade) ... /<<PKGBUILDDIR>>/click_package/tests/gimock.py:140: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    def _corens(tag):
    ResourceWarning: Enable tracemalloc to get the object allocation traceback b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickkts56m2f/root/test-package/1.1\', \'--admindir\', \'/tmp/clickkts56m2f/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.
    click/*\', \'--log\', \'/tmp/clickkts56m2f/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/clickkts56m2f/fake-package.click\'] failed with exit_code 1:\ndpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)\ndpkg: error
    processing archive /tmp/clickkts56m2f/fake-package.click (--install):\n dpkg-deb --control subprocess returned error exit status 2\nErrors were encountered while processing:\n /tmp/clickkts56m2f/fake-package.click\n\nTraceback (most recent call last):\n
    File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield partial(helper, lib_path, rpreloads), preloads\n File "/<<PKGBUILDDIR>>/click_package/tests/test_install.py", line 579, in test_upgrade\n installer.
    install(path)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 467, in install\n package_name, package_version, old_version = self._unpack(\n ^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/click_
    package/install.py", line 421, in _unpack\n fn(command,\n File "/usr/lib/python3.12/subprocess.py", line 466, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^\n File "/usr/lib/python3.12/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'
    --instdir\', \'/tmp/clickkts56m2f/root/test-package/1.1\', \'--admindir\', \'/tmp/clickkts56m2f/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickkts56m2f/root/.click/log\', \'--no-triggers\', \'--install\', \'/
    tmp/clickkts56m2f/fake-package.click\']\' returned non-zero exit status 1.\n'
    ERROR
    test_world_readable (click_package.tests.test_install.TestClickInstaller.test_world_readable) ... /<<PKGBUILDDIR>>/click_package/tests/gimock.py:239: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    params.append({
    ResourceWarning: Enable tracemalloc to get the object allocation traceback b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click5w38ovxm/root/test-package/1.1\', \'--admindir\', \'/tmp/click5w38ovxm/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.
    click/*\', \'--log\', \'/tmp/click5w38ovxm/root/.click/log\', \'--no-triggers\', \'--install\', \'/tmp/click5w38ovxm/fake-package.click\'] failed with exit_code 1:\ndpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)\ndpkg: error
    processing archive /tmp/click5w38ovxm/fake-package.click (--install):\n dpkg-deb --control subprocess returned error exit status 2\nErrors were encountered while processing:\n /tmp/click5w38ovxm/fake-package.click\n\nTraceback (most recent call last):\n
    File "/<<PKGBUILDDIR>>/click_package/tests/gimock.py", line 497, in run_in_subprocess\n yield partial(helper, lib_path, rpreloads), preloads\n File "/<<PKGBUILDDIR>>/click_package/tests/test_install.py", line 644, in test_world_readable\n
    installer.install(path)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 467, in install\n package_name, package_version, old_version = self._unpack(\n ^^^^^^^^^^^^^\n File "/<<PKGBUILDDIR>>/
    click_package/install.py", line 421, in _unpack\n fn(command,\n File "/usr/lib/python3.12/subprocess.py", line 466, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.12/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-
    architecture\', \'--instdir\', \'/tmp/click5w38ovxm/root/test-package/1.1\', \'--admindir\', \'/tmp/click5w38ovxm/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click5w38ovxm/root/.click/log\', \'--no-triggers\', \'-
    -install\', \'/tmp/click5w38ovxm/fake-package.click\']\' returned non-zero exit status 1.\n'
    ERROR
    test_scripts (click_package.tests.test_scripts.TestScripts.test_scripts) ... ok
    test_hook_name_absent (click_package.tests.test_hooks.TestClickHookSystemLevel.test_hook_name_absent) ... ok
    test_hook_name_present (click_package.tests.test_hooks.TestClickHookSystemLevel.test_hook_name_present) ... /<<PKGBUILDDIR>>/click_package/tests/gimock.py:230: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb' closefd=True>
    if attr.get("name") == "headers":
    ResourceWarning: Enable tracemalloc to get the object allocation traceback
    ok

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Jan 30 00:50:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1061010 [src:click] click: FTBFS: tests failed
    Added tag(s) pending.

    --
    1061010: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061010
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marius Gripsgard@21:1/5 to All on Tue Jan 30 00:50:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1061010 in click reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/ubports-team/click/-/commit/7c4afbdd5e7c31ab479920014ec8899933ecf2bf

    ------------------------------------------------------------------------ debian/patches: Add patch to fix crash in preload (Closes: #1059801) (Closes: #1061010)
    ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1061010

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Jan 30 01:20:01 2024
    This is a multi-part message in MIME format...

    Your message dated Tue, 30 Jan 2024 00:10:10 +0000
    with message-id <E1rUbha-007vrW-SH@fasolo.debian.org>
    and subject line Bug#1061010: fixed in click 0.5.0-10
    has caused the Debian Bug report #1061010,
    regarding click: FTBFS: tests failed
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1061010: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061010
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 16 Jan 2024 19:45:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.9 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
    T_PDS_OTHER_BAD_TLD,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 1218; hammy, 150; neutral, 438; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Rec