• Help needed with src:pkg click when building against Python 3.10 (2/3)

    From Mike Gabriel@21:1/5 to All on Sun May 29 09:00:01 2022
    [continued from previous message]

    (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_install_package_trailing_slash (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_invalid_app_id
    (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok
    test_open (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_remove (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_remove_package
    (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_run_commands
    (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_run_commands_fail (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_short_id_valid
    (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok
    test_sync (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_sync_uses_deepest_copy (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_sync_without_user_db (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok
    test_upgrade (click_package.tests.test_hooks.TestClickHookUserLevel) ... ok test_double_dollar
    (click_package.tests.test_hooks.TestClickPatternFormatter) ... ok test_expands_missing_keys_to_empty_string (click_package.tests.test_hooks.TestClickPatternFormatter) ... ok test_expands_provided_keys (click_package.tests.test_hooks.TestClickPatternFormatter) ... ok test_possible_expansion (click_package.tests.test_hooks.TestClickPatternFormatter) ... ok test_preserves_unmatched_dollar (click_package.tests.test_hooks.TestClickPatternFormatter) ... ok test_links_are_kept_multiple_frameworks (click_package.tests.test_hooks.TestPackageHooksValidateFramework) ...
    ok
    test_links_are_kept_on_validate_framework (click_package.tests.test_hooks.TestPackageHooksValidateFramework) ...
    ok
    test_links_are_removed_on_missing_framework (click_package.tests.test_hooks.TestPackageHooksValidateFramework) ...
    ok
    test_links_are_removed_on_missing_multiple_framework (click_package.tests.test_hooks.TestPackageHooksValidateFramework) ...
    ok
    test_installs_new_hooks (click_package.tests.test_hooks.TestPackageInstallHooks) ... ok test_removes_old_hooks (click_package.tests.test_hooks.TestPackageInstallHooks) ... ok test_upgrades_existing_hooks (click_package.tests.test_hooks.TestPackageInstallHooks) ... ok test_removes_hooks
    (click_package.tests.test_hooks.TestPackageRemoveHooks) ... ok test_init_fileobj (click_package.tests.test_arfile.TestArFile) ... ok test_init_name (click_package.tests.test_arfile.TestArFile) ... ok test_init_rejects_mode_r (click_package.tests.test_arfile.TestArFile) ... ok test_init_rejects_readonly_fileobj (click_package.tests.test_arfile.TestArFile) ... ok
    test_writes_valid_ar_file (click_package.tests.test_arfile.TestArFile) ... ok test_find_package_directory (click_package.tests.test_query.TestQuery) ... ok test_find_package_directory_missing (click_package.tests.test_query.TestQuery) ... ok test_find_package_directory_outside (click_package.tests.test_query.TestQuery) ... ok
    test_get_db_dir (click_package.tests.test_paths.TestClickPaths) ... ok test_get_frameworks_dir (click_package.tests.test_paths.TestClickPaths) ... ok test_get_hooks_dir (click_package.tests.test_paths.TestClickPaths) ... ok test_app_stops_on_remove (click_package.tests.test_user.StopAppTestCase) ...
    ** (process:295282): WARNING **: 22:14:20.016: user.vala:637: Can not
    connect to logind

    ** (process:295282): WARNING **: 22:14:20.017: user.vala:672: Can not
    get the dbus session to stop app (Failed to open file “/run/user/1000/dbus-session”: No such file or directory)

    ** (process:295282): WARNING **: 22:14:20.020: user.vala:737: Error
    removing cache for 'meep': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/meep': No such file or directory
    ok
    test_ensure_db_chown_fails
    (click_package.tests.test_user.TestClickUser) ... ok test_ensure_db_getpwnam_fails
    (click_package.tests.test_user.TestClickUser) ... ok
    test_ensure_db_mkdir_fails
    (click_package.tests.test_user.TestClickUser) ... ok
    test_ensure_db_ownership (click_package.tests.test_user.TestClickUser) ... ok test_get_manifest (click_package.tests.test_user.TestClickUser) ... ok test_get_manifest_multiple_root
    (click_package.tests.test_user.TestClickUser) ... ok
    test_get_manifests (click_package.tests.test_user.TestClickUser) ... ok test_get_manifests_multiple_root (click_package.tests.test_user.TestClickUser) ...
    ** (process:295282): WARNING **: 22:14:21.171: user.vala:737: Error
    removing cache for 'b': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/b': No such file or directory
    ok
    test_get_overlay_db (click_package.tests.test_user.TestClickUser) ... ok test_get_package_names (click_package.tests.test_user.TestClickUser) ... ok test_get_package_names_missing
    (click_package.tests.test_user.TestClickUser) ... ok test_get_package_names_multiple_root (click_package.tests.test_user.TestClickUser) ... ok
    test_get_path (click_package.tests.test_user.TestClickUser) ... ok test_get_path_multiple_root
    (click_package.tests.test_user.TestClickUser) ... ok
    test_get_version (click_package.tests.test_user.TestClickUser) ... ok test_get_version_missing (click_package.tests.test_user.TestClickUser) ... ok test_get_version_multiple_root
    (click_package.tests.test_user.TestClickUser) ... ok
    test_hidden (click_package.tests.test_user.TestClickUser) ...
    ** (process:295282): WARNING **: 22:14:21.189: user.vala:737: Error
    removing cache for 'b': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/b': No such file or directory
    ok
    test_is_removable (click_package.tests.test_user.TestClickUser) ... ok test_is_removable_multiple_root
    (click_package.tests.test_user.TestClickUser) ... ok
    test_new_db_not_directory (click_package.tests.test_user.TestClickUser) ... ok test_new_no_db (click_package.tests.test_user.TestClickUser) ... ok
    test_remove (click_package.tests.test_user.TestClickUser) ...
    ** (process:295282): WARNING **: 22:14:21.968: user.vala:737: Error
    removing cache for 'a': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/a': No such file or directory
    ok
    test_remove_missing (click_package.tests.test_user.TestClickUser) ... ok test_remove_multiple_root (click_package.tests.test_user.TestClickUser) ...
    ** (process:295282): WARNING **: 22:14:21.970: user.vala:737: Error
    removing cache for 'a': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/a': No such file or directory

    ** (process:295282): WARNING **: 22:14:21.970: user.vala:737: Error
    removing cache for 'b': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/b': No such file or directory

    ** (process:295282): WARNING **: 22:14:21.971: user.vala:737: Error
    removing cache for 'c': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/c': No such file or directory
    ok
    test_remove_multiple_root_creates_overlay_directory (click_package.tests.test_user.TestClickUser) ...
    ** (process:295282): WARNING **: 22:14:21.973: user.vala:737: Error
    removing cache for 'a': Error opening directory '/tmp/tmpcui60vy3/XDG_CACHE_HOME/a': No such file or directory
    ok
    test_set_version_changed (click_package.tests.test_user.TestClickUser) ... ok test_set_version_missing (click_package.tests.test_user.TestClickUser) ... ok test_set_version_missing_target
    (click_package.tests.test_user.TestClickUser) ... ok test_set_version_multiple_root
    (click_package.tests.test_user.TestClickUser) ... ok test_set_version_restore_to_underlay (click_package.tests.test_user.TestClickUser) ... ok test_remove_does_not_follow_if_xdg_dir_is_symlink (click_package.tests.test_user.UserDataRemovalTestCase)
    Ensure that if the user-cach dir is a symlink that symlink is ... ok test_remove_does_not_follow_symlinks_inside_dir (click_package.tests.test_user.UserDataRemovalTestCase)
    Ensure that symlinks that are inside a user-data dir get removed, ... ok test_remove_removes_cache_only (click_package.tests.test_user.UserDataRemovalTestCase)
    Ensure that app cache for user is removed if a click is removed ... ok test_scripts (click_package.tests.test_scripts.TestScripts) ... ok
    test_add (click_package.tests.test_database.TestClickDB) ... ok test_has_package_version
    (click_package.tests.test_database.TestClickDB) ... ok
    test_manifest (click_package.tests.test_database.TestClickDB) ... ok test_manifest_bad (click_package.tests.test_database.TestClickDB) ... ok test_manifests_all (click_package.tests.test_database.TestClickDB) ... ok test_manifests_current (click_package.tests.test_database.TestClickDB) ... ok test_no_db_conf_errors (click_package.tests.test_database.TestClickDB) ... ok test_no_read (click_package.tests.test_database.TestClickDB) ... ok test_overlay (click_package.tests.test_database.TestClickDB) ... ok test_packages_all (click_package.tests.test_database.TestClickDB) ... ok test_packages_current (click_package.tests.test_database.TestClickDB) ... ok test_path (click_package.tests.test_database.TestClickDB) ... ok test_read_configuration (click_package.tests.test_database.TestClickDB) ... ok test_read_nonexistent (click_package.tests.test_database.TestClickDB) ... ok test_read_not_directory (click_package.tests.test_database.TestClickDB) ... ok test_equal_to
    (click_package.tests.test_database.TestClickInstalledPackage) ...
    expected failure
    test_hash (click_package.tests.test_database.TestClickInstalledPackage) ... ok test_any_app_running_bad_manifest (click_package.tests.test_database.TestClickSingleDB) ... ok test_any_app_running_missing_app (click_package.tests.test_database.TestClickSingleDB) ... ok test_any_app_running_no_app_pid_command (click_package.tests.test_database.TestClickSingleDB) ... ok test_any_app_running_no_hooks (click_package.tests.test_database.TestClickSingleDB) ... ok test_any_app_running_ubuntu_app_pid (click_package.tests.test_database.TestClickSingleDB) ... ok
    test_app_running (click_package.tests.test_database.TestClickSingleDB) ... ok test_ensure_ownership
    (click_package.tests.test_database.TestClickSingleDB) ... ok test_ensure_ownership_failed_chown (click_package.tests.test_database.TestClickSingleDB) ... ok test_ensure_ownership_missing_clickpkg_user (click_package.tests.test_database.TestClickSingleDB) ... ok test_ensure_ownership_quick_if_correct (click_package.tests.test_database.TestClickSingleDB) ... skipped 'See https://gitlab.com/ubports/core/click/-/issues/5'
    test_gc (click_package.tests.test_database.TestClickSingleDB) ... ok test_gc_fixes_old_user_registrations (click_package.tests.test_database.TestClickSingleDB) ... ok test_gc_ignores_non_directory (click_package.tests.test_database.TestClickSingleDB) ... ok test_has_package_version (click_package.tests.test_database.TestClickSingleDB) ... ok
    test_manifest (click_package.tests.test_database.TestClickSingleDB) ... ok test_manifest_bad (click_package.tests.test_database.TestClickSingleDB) ... ok test_maybe_remove_not_running (click_package.tests.test_database.TestClickSingleDB) ... ok test_maybe_remove_registered (click_package.tests.test_database.TestClickSingleDB) ... ok test_maybe_remove_running (click_package.tests.test_database.TestClickSingleDB) ... ok
    test_packages_all (click_package.tests.test_database.TestClickSingleDB) ... ok test_packages_all_ignores_non_directory (click_package.tests.test_database.TestClickSingleDB) ... ok test_packages_current
    (click_package.tests.test_database.TestClickSingleDB) ... ok
    test_path (click_package.tests.test_database.TestClickSingleDB) ... ok
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    skipped 'Skipping integration tests'
    test_pep8_clean (click_package.tests.test_static.TestStatic) ... ok test_pyflakes_clean (click_package.tests.test_static.TestStatic) ... ok test_fields (click_package.tests.test_framework.TestClickFramework) ... ok test_get_frameworks
    (click_package.tests.test_framework.TestClickFramework) ... ok test_get_frameworks_ignores_other_files (click_package.tests.test_framework.TestClickFramework) ... ok test_get_frameworks_ignores_unopenable_files (click_package.tests.test_framework.TestClickFramework) ... ok test_get_frameworks_nonexistent (click_package.tests.test_framework.TestClickFramework) ... ok test_get_frameworks_not_directory (click_package.tests.test_framework.TestClickFramework) ... ok test_has_framework
    (click_package.tests.test_framework.TestClickFramework) ... ok
    test_open (click_package.tests.test_framework.TestClickFramework) ... ok test_add_file (click_package.tests.test_build.TestClickBuilder) ... ok test_build (click_package.tests.test_build.TestClickBuilder) ... ok test_build_excludes_dot_click (click_package.tests.test_build.TestClickBuilder) ... ok test_build_ignore_pattern
    (click_package.tests.test_build.TestClickBuilder) ...
    WARNING:root:Ignoring missing framework "ubuntu-sdk-13.10"
    ok
    test_build_multiple_architectures (click_package.tests.test_build.TestClickBuilder) ... ok test_build_multiple_frameworks (click_package.tests.test_build.TestClickBuilder) ... ok
    test_epochless_version
    (click_package.tests.test_build.TestClickBuilder) ... ok test_manifest_syntax_error
    (click_package.tests.test_build.TestClickBuilder) ... ok
    test_read_manifest (click_package.tests.test_build.TestClickBuilder) ... ok test_validate_framework_bad (click_package.tests.test_build.TestClickFrameworkValidation) ... ok test_validate_framework_good (click_package.tests.test_build.TestClickFrameworkValidation) ... ok test_add_file (click_package.tests.test_build.TestClickSourceBuilder) ... ok test_build (click_package.tests.test_build.TestClickSourceBuilder) ... ok test_epochless_version (click_package.tests.test_build.TestClickSourceBuilder) ... ok test_manifest_syntax_error (click_package.tests.test_build.TestClickSourceBuilder) ... ok test_read_manifest
    (click_package.tests.test_build.TestClickSourceBuilder) ... ok test_audit_bad_click_version (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_broken_md5sums (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_forbids_depends (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_forbids_maintscript (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_invalid_manifest_json (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_matching_md5sums (click_package.tests.test_install.TestClickInstaller) ... 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 File "/<<PKGBUILDDIR>>/click_package/install.py", line 288, in audit\n self.extract(path, temp_dir)\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 164, in extract\n subprocess.check_call(command, env=env, **kwargs)\n File "/usr/lib/python3.10/subprocess.py", line 369, in check_call\n
    raise CalledProcessError(retcode, cmd)\nsubprocess.CalledProcessError: Command \'[\'dpkg-deb\', \'-R\',
    \'/tmp/click6sb8tp81/fake-package.click\', \'/tmp/click84v3008k\']\'
    returned non-zero exit status 2.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_audit_missing_dot_slash (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_missing_framework (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_missing_framework_force (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_multiple_frameworks (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_name_bad_character (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_new_click_version (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_no_click_version (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_no_framework
    (click_package.tests.test_install.TestClickInstaller) ... ok
    test_audit_no_name
    (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_no_signature
    (click_package.tests.test_install.TestClickInstaller) ... skipped
    'this test needs debsig-verify'
    test_audit_no_version
    (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_passes_correct_package (click_package.tests.test_install.TestClickInstaller) ... ok test_audit_requires_manifest (click_package.tests.test_install.TestClickInstaller) ... ok
    test_install (click_package.tests.test_install.TestClickInstaller) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click9a_gafth/root/test-package/1.0\', \'--admindir\', \'/tmp/click9a_gafth/root/test-package/1.0/.click\',
    \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click9a_gafth/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click9a_gafth/fake-package.click\'] failed with exit_code 1:\ndpkg-split: error: failed to read archive \'/tmp/click9a_gafth/fake-package.click\': Bad file descriptor\ndpkg:
    error processing archive /tmp/click9a_gafth/fake-package.click
    (--install):\n subprocess dpkg-split returned error exit status
    2\nErrors were encountered while processing:\n /tmp/click9a_gafth/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 462, in install\n package_name, package_version, old_version = self._unpack(\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 416, in _unpack\n fn(command,\n File "/usr/lib/python3.10/subprocess.py", line 420, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File "/usr/lib/python3.10/subprocess.py", line 524, in
    run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click9a_gafth/root/test-package/1.0\',
    \'--admindir\', \'/tmp/click9a_gafth/root/test-package/1.0/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click9a_gafth/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click9a_gafth/fake-package.click\']\' returned
    non-zero exit status 1.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_multiple_architectures (click_package.tests.test_install.TestClickInstaller) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickh8igg1to/root/test-package/1.1\', \'--admindir\', \'/tmp/clickh8igg1to/root/test-package/1.1/.click\',
    \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickh8igg1to/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/clickh8igg1to/fake-package.click\'] failed with exit_code 1:\ndpkg-split: error: failed to read archive \'/tmp/clickh8igg1to/fake-package.click\': Bad file descriptor\ndpkg:
    error processing archive /tmp/clickh8igg1to/fake-package.click
    (--install):\n subprocess dpkg-split returned error exit status
    2\nErrors were encountered while processing:\n /tmp/clickh8igg1to/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 462, in install\n package_name, package_version, old_version = self._unpack(\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 416, in _unpack\n fn(command,\n File "/usr/lib/python3.10/subprocess.py", line 420, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File "/usr/lib/python3.10/subprocess.py", line 524, in
    run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickh8igg1to/root/test-package/1.1\',
    \'--admindir\', \'/tmp/clickh8igg1to/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickh8igg1to/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/clickh8igg1to/fake-package.click\']\' returned
    non-zero exit status 1.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_no_write_permission (click_package.tests.test_install.TestClickInstaller) ... ok test_reinstall_preinstalled (click_package.tests.test_install.TestClickInstaller) ... ERROR
    test_sandbox (click_package.tests.test_install.TestClickInstaller) ... ok test_single_architecture (click_package.tests.test_install.TestClickInstaller) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click1a60o02l/root/test-package/1.1\', \'--admindir\', \'/tmp/click1a60o02l/root/test-package/1.1/.click\',
    \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click1a60o02l/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click1a60o02l/fake-package.click\'] failed with exit_code 1:\ndpkg-split: error: failed to read archive \'/tmp/click1a60o02l/fake-package.click\': Bad file descriptor\ndpkg:
    error processing archive /tmp/click1a60o02l/fake-package.click
    (--install):\n subprocess dpkg-split returned error exit status
    2\nErrors were encountered while processing:\n /tmp/click1a60o02l/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 462, in install\n package_name, package_version, old_version = self._unpack(\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 416, in _unpack\n fn(command,\n File "/usr/lib/python3.10/subprocess.py", line 420, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File "/usr/lib/python3.10/subprocess.py", line 524, in
    run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click1a60o02l/root/test-package/1.1\',
    \'--admindir\', \'/tmp/click1a60o02l/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click1a60o02l/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click1a60o02l/fake-package.click\']\' returned
    non-zero exit status 1.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_upgrade (click_package.tests.test_install.TestClickInstaller) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click1fuseky0/root/test-package/1.1\', \'--admindir\', \'/tmp/click1fuseky0/root/test-package/1.1/.click\',
    \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click1fuseky0/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click1fuseky0/fake-package.click\'] failed with exit_code 1:\ndpkg-split: error: failed to read archive \'/tmp/click1fuseky0/fake-package.click\': Bad file descriptor\ndpkg:
    error processing archive /tmp/click1fuseky0/fake-package.click
    (--install):\n subprocess dpkg-split returned error exit status
    2\nErrors were encountered while processing:\n /tmp/click1fuseky0/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 462, in install\n package_name, package_version, old_version = self._unpack(\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 416, in _unpack\n fn(command,\n File "/usr/lib/python3.10/subprocess.py", line 420, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File "/usr/lib/python3.10/subprocess.py", line 524, in
    run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/click1fuseky0/root/test-package/1.1\',
    \'--admindir\', \'/tmp/click1fuseky0/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/click1fuseky0/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/click1fuseky0/fake-package.click\']\' returned
    non-zero exit status 1.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_world_readable
    (click_package.tests.test_install.TestClickInstaller) ... b'ERROR:root:[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickd7gf0a43/root/test-package/1.1\', \'--admindir\', \'/tmp/clickd7gf0a43/root/test-package/1.1/.click\',
    \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickd7gf0a43/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/clickd7gf0a43/fake-package.click\'] failed with exit_code 1:\ndpkg-split: error: failed to read archive \'/tmp/clickd7gf0a43/fake-package.click\': Bad file descriptor\ndpkg:
    error processing archive /tmp/clickd7gf0a43/fake-package.click
    (--install):\n subprocess dpkg-split returned error exit status
    2\nErrors were encountered while processing:\n /tmp/clickd7gf0a43/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 462, in install\n package_name, package_version, old_version = self._unpack(\n File "/<<PKGBUILDDIR>>/click_package/install.py", line 416, in _unpack\n fn(command,\n File "/usr/lib/python3.10/subprocess.py", line 420, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File "/usr/lib/python3.10/subprocess.py", line 524, in
    run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'dpkg\', \'--force-not-root\', \'--force-bad-path\', \'--force-architecture\', \'--instdir\', \'/tmp/clickd7gf0a43/root/test-package/1.1\',
    \'--admindir\', \'/tmp/clickd7gf0a43/root/test-package/1.1/.click\', \'--path-exclude\', \'*/.click/*\', \'--log\', \'/tmp/clickd7gf0a43/root/.click/log\', \'--no-triggers\',
    \'--install\', \'/tmp/clickd7gf0a43/fake-package.click\']\' returned
    non-zero exit status 1.\n'
    ERROR
    /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed
    file <_io.BufferedReader name=5>
    outcome.errors.clear()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback test_dir_open_error
    (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_dir_read_name_directory_missing (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_dir_read_name_directory_present (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_ensuredir_error
    (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_ensuredir_previously_missing (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_ensuredir_previously_present (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_find_on_path_missing_environment (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_find_on_path_present_executable (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_find_on_path_present_not_executable (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_find_on_path_requires_regular_file (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_symlink_error
    (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_symlink_file_present (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_symlink_link_present (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_symlink_missing
    (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_symlink_unlink_error (click_package.tests.test_osextras.TestOSExtrasNative) ... ok
    test_umask (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_unlink_error
    (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_unlink_file_missing (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_unlink_file_present (click_package.tests.test_osextras.TestOSExtrasNative) ... ok test_ensuredir_oserror
    (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_ensuredir_previously_missing (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_ensuredir_previously_present (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_find_on_path_missing_environment (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_find_on_path_present_executable (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_find_on_path_present_not_executable (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_find_on_path_requires_regular_file (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_listdir_directory_missing (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_listdir_directory_present (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_listdir_oserror
    (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_symlink_file_present (click_package.tests.test_osextras.TestOSExtrasPython) ... ok test_symlink_link_present

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)