Project

General

Profile

Actions

action #89479

closed

[qe-core] test fails in sssd - Fix sssd testing with openldap, remove use of python-pam

Added by tjyrinki_suse about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
New test
Target version:
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP3-Online-x86_64-extra_tests_textmode_phub@64bit fails in
sssd

In the past, sssd used to be tested using python-pam module, however it's unmantained and it belonged in the package hub repo, see https://bugzilla.suse.com/show_bug.cgi?id=1180120 for more information

It is still affecting other teams like public cloud, but on 15SP2 it is still being run for maintenance test repo and passing at https://openqa.suse.de/tests/5636854

In the end, this might be a complete rewrite of the sssd tests, rendering tests/sysauth/sssd.pm useless. A bit of background, those tests are a bit extensive but they were written by a developer that is long gone from the company, investing time in fixing or looking for an alternative to python-pam and rewrite the test suite is more expensive than switching to directly testing the service against the system (by means of directly using pam/passwd/getent)

Reproducible

Fails since (at least) Build 14.2

Further details

Always latest result in this scenario: latest

Suggestions

Follow the approach used by this pr, that sets up the Directory Service (389-ds in this case, but there's also the information for openldap).

Acceptance criteria

AC1: sssd is being tested without other dependencies than pam for all codestreams (openSUSE and SLE)
AC2: Move sssd tests from extra_tests_textmode_phub to extra_tests_textmode
AC3: re-enable sssd testing on public cloud (Or team is informed that they can be re-enabled)

Followup during review

See how https://progress.opensuse.org/issues/89320 was implemented and evaluate whether a subticket is needed to unify the testing strategy or they are tackling two different approaches


Related issues 4 (2 open2 closed)

Related to openQA Tests - action #55115: [qe-core][functional] test fails in sssd - Test fails switching to serial terminalResolved2019-08-05

Actions
Related to openQA Tests - action #13168: [qe-core][opensuse][sle][functional] Sudo and LDAP/SSSD for sudoersWorkable5000-01-01

Actions
Related to openQA Tests - action #93210: [migration][qe-core] sssd openldap/389-ds basic testing, modify to be suitable for migration testingNew

Actions
Related to openQA Tests - action #113279: [qe-core]test fails in sssd. Depedency no longer shipped - replace with 389-dsResolvedmloviska2022-07-05

Actions
Actions

Also available in: Atom PDF