Skip to content

[autobackport: sssd-2-10] tests: migrate multihost/alltests automount tests to system tests - #9630

Merged
danlavu merged 1 commit into
SSSD:sssd-2-10from
sssd-bot:SSSD-sssd-backport-pr9619-to-sssd-2-10
Nov 26, 2026
Merged

danlavu merged 1 commit into
SSSD:sssd-2-10from
sssd-bot:SSSD-sssd-backport-pr9619-to-sssd-2-10

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#9619 tests: migrate multihost/alltests automount tests to system tests to branch sssd-2-10, created by @krishnavema.

Caution

@krishnavema The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with CONFLICT!.

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-pr9619-to-sssd-2-10
git checkout SSSD-sssd-backport-pr9619-to-sssd-2-10
git push sssd-bot SSSD-sssd-backport-pr9619-to-sssd-2-10 --force

Original commits
51d19ef - tests: migrate multihost/alltests automount tests to system tests

Backported commits

  • 1a1f534 - CONFLICT! tests: migrate multihost/alltests automount tests to system tests

Conflicting Files Information (check for deleted and re-added files)

  • CONFLICT! tests: migrate multihost/alltests automount tests to system tests
On branch SSSD-sssd-backport-pr9619-to-sssd-2-10
You are currently cherry-picking commit 51d19ef45.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	deleted:    src/tests/multihost/alltests/test_automount.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   src/tests/system/tests/test_autofs.py

Original Pull Request Body

Migrates the remaining autofs/automount coverage from the legacy multihost suite multihost/alltests/test_automount.py into the system test suite (src/tests/system/tests/test_autofs.py) and removes the legacy file.

This continues the automount test migration carried out in #9081 and #9407 (both merged).

🤖 Generated with Claude Code

@danlavu danlavu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except please squash the commits

@krishnavema
krishnavema force-pushed the SSSD-sssd-backport-pr9619-to-sssd-2-10 branch from bd7fa64 to 57dc283 Compare November 25, 2026 13:25
@krishnavema
krishnavema requested a review from danlavu November 25, 2026 15:52
@danlavu danlavu added Accepted no-backport This should go to target branch only. and removed Waiting for review labels Nov 26, 2026
Migrate the remaining autofs/automount coverage from the legacy multihost
suite multihost/alltests/test_automount.py into the system test suite and
remove the legacy file.

Add the following tests to src/tests/system/tests/test_autofs.py:

- test_autofs__maps_are_fetched_after_sssd_comes_back_online (bz#1113639)
- test_autofs__duplicate_case_insensitive_map_keys_both_accessible (bz#1873715)
- test_autofs__all_keys_read_despite_ldap_sizelimit (bz#1206221)
- test_autofs__unknown_mount_point_error_is_immediate (bz#2013218)

The remaining legacy cases are already covered by existing system tests.
test_008_wildcardsearch (tcpdump/tshark packet inspection, no user-visible
assertion) is retired and not migrated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Reviewed-by: Dan Lavu <dlavu@redhat.com>
Reviewed-by: Jakub Vávra <jvavra@redhat.com>
(cherry picked from commit 51d19ef)
@sssd-bot

Copy link
Copy Markdown
Contributor Author

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


🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 testing-farm:centos-stream-10-x86_64:system (success)
🟢 Build / make-distcheck (success)
🟢 Static code analysis / files-changed (success)
🟢 Static code analysis / polarion (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


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-pr9619-to-sssd-2-10 branch from 57dc283 to f14ff25 Compare November 26, 2026 01:11
@danlavu
danlavu merged commit 0c6ff01 into SSSD:sssd-2-10 Nov 26, 2026
6 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants