Source: rust-secret-service Version: 4.0.0-1 Severity: serious X-Debbugs-Cc: jel...@debian.org, werdah...@debian.org,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 secret-services autopkgtest fails. I was able to get some tests to run like this: dbus-run-session -- /usr/share/cargo/bin/cargo-auto-test. They need to depend on dbus-daemon and gnome-keyring for this (in d/t/control). Even so, most tests fail: ============================================================================================================================== Finished `test` profile [unoptimized + debuginfo] target(s) in 59.15s Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/secret-service-4.0.0 CARGO_PKG_AUTHORS='Walther Chen <walther.c...@gmail.com>' CARGO_PKG_DESCRIPTION='Library to interface with Secret Service API' CARGO_PKG_HOMEPAGE='https://github.com/hwchen/secret-service-rs.git' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=secret-service CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/hwchen/secret-service-rs.git' CARGO_PKG_RUST_VERSION=1.75.0 CARGO_PKG_VERSION=4.0.0 CARGO_PKG_VERSION_MAJOR=4 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.8bpkN7VUni/target/x86_64-unknown-linux-gnu/debug/deps:/tmp/tmp.8bpkN7VUni/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /tmp/tmp.8bpkN7VUni/target/x86_64-unknown-linux-gnu/debug/deps/secret_service-f83d4bc2122752cb` running 60 tests test blocking::collection::test::should_delete_collection ... ignored test blocking::collection::test::should_get_and_set_collection_label ... ignored test blocking::collection::test::should_lock_and_unlock ... ignored dbus-daemon[19]: [session uid=1000 pid=19] Activating service name='org.freedesktop.secrets' requested by ':1.4' (uid=1000 pid=1905 comm="/tmp/tmp.8bpkN7VUni/target/x86_64-unknown-linux-gn") GNOME_KEYRING_CONTROL=/home/unshare/.cache/keyring-G5LOU2 dbus-daemon[19]: [session uid=1000 pid=19] Successfully activated service 'org.freedesktop.secrets' test blocking::collection::test::should_get_all_items ... FAILED test blocking::collection::test::should_check_if_collection_locked ... FAILED test blocking::item::test::should_lock_and_unlock ... ignored test blocking::item::test::should_check_if_item_locked ... FAILED test blocking::collection::test::should_create_collection_struct ... FAILED test blocking::collection::test::should_search_items ... FAILED test blocking::item::test::should_get_modified_created_props ... FAILED test blocking::item::test::should_create_and_get_secret ... FAILED test blocking::item::test::should_get_and_set_item_label ... FAILED test blocking::item::test::should_get_secret_content_type ... FAILED test blocking::item::test::should_get_and_set_item_attributes ... FAILED test blocking::item::test::should_create_and_delete_item ... FAILED test blocking::item::test::should_create_with_item_attributes ... FAILED test collection::test::should_delete_collection ... ignored test blocking::test::should_create_secret_service ... ok test collection::test::should_get_and_set_collection_label ... ignored test collection::test::should_lock_and_unlock ... ignored test blocking::test::should_return_error_if_collection_doesnt_exist ... ok test blocking::item::test::should_set_secret ... FAILED test blocking::test::should_get_collection_by_alias ... ok test blocking::test::should_get_any_collection ... ok test blocking::test::should_get_default_collection ... FAILED test blocking::test::should_get_all_collections ... ok dbus-daemon[19]: [session uid=1000 pid=19] Activating service name='org.gnome.keyring.SystemPrompter' requested by ':1.16' (uid=1000 pid=1943 comm="/usr/bin/gnome-keyring-daemon --start --foreground") test collection::test::should_get_all_items ... FAILED test collection::test::should_check_if_collection_locked ... FAILED test collection::test::should_create_collection_struct ... FAILED test blocking::item::test::should_create_encrypted_item_from_empty_secret ... FAILED test collection::test::should_search_items ... FAILED test item::test::should_create_and_delete_item ... FAILED test item::test::should_check_if_item_locked ... FAILED test item::test::should_create_and_get_secret ... FAILED test item::test::should_lock_and_unlock ... ignored test blocking::item::test::should_create_and_get_secret_encrypted ... FAILED test item::test::should_create_with_item_attributes ... FAILED test item::test::should_get_and_set_item_attributes ... FAILED test item::test::should_get_modified_created_props ... FAILED test session::test::should_create_plain_session ... ok test item::test::should_set_secret ... FAILED test item::test::should_get_and_set_item_label ... FAILED test item::test::should_get_secret_content_type ... FAILED test blocking::item::test::should_create_encrypted_item ... FAILED test test::should_create_secret_service ... ok test test::should_get_any_collection ... ok test test::should_get_collection_by_alias ... ok test test::should_get_all_collections ... ok ** (gnome-keyring-daemon:1943): CRITICAL **: 12:06:46.725: gkd_secret_service_get_pkcs11_session: assertion 'client' failed ** (gnome-keyring-daemon:1943): CRITICAL **: 12:06:46.725: plain_negotiate: assertion 'session' failed ** (gnome-keyring-daemon:1943): CRITICAL **: 12:06:46.725: gkd_secret_service_publish_dispatch: assertion 'client' failed (gnome-keyring-daemon:1943): GLib-CRITICAL **: 12:06:46.725: g_variant_get_type: assertion 'value != NULL' failed (gnome-keyring-daemon:1943): GLib-CRITICAL **: 12:06:46.725: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed (gnome-keyring-daemon:1943): GLib-CRITICAL **: 12:06:46.725: g_variant_get_type_string: assertion 'value != NULL' failed (gnome-keyring-daemon:1943): GLib-ERROR **: 12:06:46.725: g_variant_new: expected GVariant of type 'v' but received value has type '(null)' test test::should_get_default_collection ... FAILED test test::should_search_items ... FAILED test blocking::item::test::should_get_encrypted_secret_across_dbus_connections ... FAILED test test::should_return_error_if_collection_doesnt_exist ... FAILED (gcr-prompter:1990): Gtk-WARNING **: 12:06:46.728: cannot open display: dbus-daemon[19]: [session uid=1000 pid=19] Activated service 'org.gnome.keyring.SystemPrompter' failed: Process org.gnome.keyring.SystemPrompter exited with status 1 dbus-daemon[19]: [session uid=1000 pid=19] Activating service name='org.freedesktop.secrets' requested by ':1.25' (uid=1000 pid=1905 comm="/tmp/tmp.8bpkN7VUni/target/x86_64-unknown-linux-gn") GNOME_KEYRING_CONTROL=/home/unshare/.cache/keyring-YN7PU2 dbus-daemon[19]: [session uid=1000 pid=19] Successfully activated service 'org.freedesktop.secrets' test blocking::test::should_search_items ... FAILED test item::test::should_create_encrypted_item ... FAILED test item::test::should_create_and_get_secret_encrypted ... FAILED test item::test::should_get_encrypted_secret_across_dbus_connections ... FAILED test item::test::should_create_encrypted_item_from_empty_secret ... FAILED test session::test::should_create_encrypted_session ... ok test blocking::test::should_create_and_delete_collection has been running for over 60 seconds test test::should_create_and_delete_collection has been running for over 60 seconds ======================================================================================== Skipping the other failing tests would likely get the testsuite to pass, but I wonder if it is worth enabling at all since accessing the keyring in a chroot enviroment is prone to breakage and timeouts as evidenced above. Nevertheless, either the tests should be skipped altogether or enabled so this package can enter testing. best, Matthias Geiger <werdahias> - -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: OpenRC (via /run/openrc), PID 1: init LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZv6eKxUcd2VyZGFoaWFz QGRlYmlhbi5vcmcACgkQ7L7btge5sr5C8wD/X93oScH1X8L22YhSPPztLQ1/Q9E5 QrgRFuQhvobjRqwA/A3G/wyCoFbn6pAaw9xmqJPxKNCMkq/jmuzX7q+iSi4M =XSzO -----END PGP SIGNATURE-----