History log of /spdk/scripts/keyctl-session-wrapper (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v25.01-rc1, v24.09, v25.01-pre, v24.09-rc1
# 04d51ba0 02-Sep-2024 Konrad Sztyber <konrad.sztyber@intel.com>

test/keyring: ensure session keyring is available

The keyring_linux tests require the session keyring to be available.
Usually, it's created on login and destroyed on logout, so it is always
availab

test/keyring: ensure session keyring is available

The keyring_linux tests require the session keyring to be available.
Usually, it's created on login and destroyed on logout, so it is always
available, but it's possible to revoke it (keyctl revoke @s), causing
the tests to fail.

So, to avoid relying on system configuration, always run these tests
under a new session.

Fixes: #3492

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ie30ef624f6f14a634beb7d8a49b1e3e3e334e92f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24774
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz@tzawadzki.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <jim.harris@samsung.com>

show more ...