Skip to content

[autobackport: sssd-2-13] Tests: multihost change passwd setting for STIG - #9350

Merged
spoore1 merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr9295-to-sssd-2-13
Sep 29, 2026
Merged

spoore1 merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr9295-to-sssd-2-13

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#9295 Tests: multihost change passwd setting for STIG to branch sssd-2-13, created by @spoore1.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot git@github.com:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr9295-to-sssd-2-13
git checkout SSSD-sssd-backport-pr9295-to-sssd-2-13
git push sssd-bot SSSD-sssd-backport-pr9295-to-sssd-2-13 --force

Original commits
18a9902 - Tests: multihost change passwd setting for STIG

Backported commits

  • 41800e9 - Tests: multihost change passwd setting for STIG

Original Pull Request Body

The STIG settings are hindering user passwd setting in multihost/alltests. Changing from using passwd --stdin to an
echo|chpasswd.

@spoore1
spoore1 force-pushed the SSSD-sssd-backport-pr9295-to-sssd-2-13 branch from 41800e9 to 5a77248 Compare September 28, 2026 12:39
@spoore1 spoore1 added Tests Trivial A single reviewer is sufficient to review the Pull Request no-backport This should go to target branch only. labels Sep 28, 2026
@spoore1

spoore1 commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Test failures are unrelated. This covers multihost tests and the failures are for the system tests:

FAILED tests/test_authentication.py::test_authentication__user_login_then_changes_password (ipa) - AssertionError: 'user1' password change failed!
3722
assert False
3723
 +  where False = password('user1', 'Secret123', 'New_Secret123')
3724
 +    where password = <sssd_test_framework.utils.authentication.PasswdUtils object at 0x7c0757e23690>.password
3725
 +      where <sssd_test_framework.utils.authentication.PasswdUtils object at 0x7c0757e23690> = <sssd_test_framework.utils.authentication.AuthenticationUtils object at 0x7c075846f1b0>.passwd
3726
 +        where <sssd_test_framework.utils.authentication.AuthenticationUtils object at 0x7c075846f1b0> = <sssd_test_framework.roles.client.Client object at 0x7c0757b04550>.auth
3727
FAILED tests/test_authentication.py::test_authentication__user_is_forced_to_change_expired_password_before_login[root-su] (ipa) - sssd_test_framework.misc.errors.ExpectScriptError: Unexpected end of file
3728
FAILED tests/test_authentication.py::test_authentication__user_is_forced_to_change_expired_password_before_login[root-ssh] (ipa) - sssd_test_framework.misc.errors.ExpectScriptError: Unexpected end of file
3729
FAILED tests/test_authentication.py::test_authentication__user_is_forced_to_change_expired_password_before_login[sssd-su] (ipa) - sssd_test_framework.misc.errors.ExpectScriptError: Unexpected end of file
3730
FAILED tests/test_authentication.py::test_authentication__user_is_forced_to_change_expired_password_before_login[sssd-ssh] (ipa) - sssd_test_framework.misc.errors.ExpectScriptError: Unexpected end of file
3731
= 5 failed, 676 passed, 33 skipped, 387 deselected, 1 xfailed, 2 warnings in 9648.44s (2:40:48) =
3732

The STIG settings are hindering user passwd setting in
multihost/alltests.   Changing from using passwd --stdin to an
echo|chpasswd.

Also, removed commented code from original change.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit 18a9902)
@sssd-bot

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @madhuriupadhye with the following PR CI status:


🟢 CodeQL (success)
🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 testing-farm:centos-stream-10-x86_64:upstream (success)
🟢 Build / freebsd (success)
🟢 Build / make-distcheck (success)
🟢 ci / intgcheck (centos-10) (success)
🟢 ci / intgcheck (fedora-44) (success)
🟢 ci / prepare (success)
🔴 ci / system (centos-10) (failure)
🔴 ci / system (fedora-44) (failure)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / files-changed (success)
🟢 Static code analysis / pre-commit (success)
➖ Static code analysis / python-system-tests (skipped)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr9295-to-sssd-2-13 branch from 5a77248 to 91c6d3a Compare September 29, 2026 11:01
@spoore1
spoore1 merged commit 747cb2f into SSSD:sssd-2-13 Sep 29, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only. Tests Trivial A single reviewer is sufficient to review the Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants