action #89479

Updated by szarate 9 months ago

## Observation

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

In the past, sssd used to be tested using
tests/sysauth/ testing is currently broken on 15-SP3 with python-pam module, however it's unmantained module not found: and it belonged . It should have been available in the package hub repo, see PackageHub, but not anymore in 15-SP3. See for more information about python-pam.

It is still affecting other teams like [public cloud](, also broken on 15-SP2 in public cloud tests similarly and was disabled there according to, but on 15SP2 it is still being run for maintenance test repo and passing at

In the end, this might OpenLDAP itself is in Legacy in 15-SP3 and will be a complete rewrite of the sssd tests, rendering tests/sysauth/ useless. A bit of background, those tests are a bit extensive removed in 15-SP4 having been replaced by 389-ds, but they were written by a developer that it is long gone from widely used and should continue to be tested in 15-SP3 and earlier SLE versions.

the company, investing time QE Core planning meeting it was suggested to use pam as done in fixing or looking for an alternative the new 389-ds test, which calls pam-config to python-pam and rewrite enable sssd. However, the sssd test suite this ticket is about has data/sssd-tests/ which does a bit more expensive than switching to directly testing the service against the system (by means of directly using pam/passwd/getent) just enable sssd, so simply calling pam-config would not be enough.

## 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,
Ideally, dependencies would be adapted so that sets up the Directory Service (389-ds it doesn't need package hub and sssd test module can be scheduled in this case, but there's also the information for openldap). extra_tests_textmode instead.

## Acceptance criteria
AC1: sssd is being tested tests using openldap passes on 15SP3, functionally equivalent to current testing but without other dependencies than pam for all codestreams (openSUSE and SLE) using Package Hub (but using Legacy module to get OpenLDAP if needed - to be checked whether it's really gone from Basesystem now)
AC2: Move sssd tests from extra_tests_textmode_phub to extra_tests_textmode likewise 15SP2 tested, without Package Hub and without Legacy
AC3: ping public cloud testers to tell them how they could re-enable sssd testing on public cloud (Or team is informed that they can be re-enabled)

### Followup during review
See how was implemented

AC4: Move tests out from extra_tests_textmode_phub
and evaluate whether a subticket is needed similar to unify the testing strategy or they are tackling two different approaches non-phub extratests