Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove multihost basic tests #7562

Closed
wants to merge 67 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
eb43c24
FILE WATCH: Callback not executed on link or relative path
aplopez May 10, 2023
0c6f492
TESTS: Fix doble slash comments
aplopez May 10, 2023
d104c01
sysdb: fix string comparison when checking for overrides
sumit-bose May 10, 2023
425d88f
passkey: write mapping data to file
ikerexxe Apr 27, 2023
15dd354
MAN: fix issue with multithread build
alexey-tikhonov May 16, 2023
6d06081
Tests: Gating fixes for RHEL8.9 and RHEL9.3
madhuriupadhye May 18, 2023
60806f5
Tests: move unstable default_debug to tier2
shridhargadekar1 May 19, 2023
de75ff3
Tests: Fix gating tests for 9.3
aborah-sudo May 16, 2023
33f10c4
Updating ad_multihost test
Apr 27, 2023
270f0ba
Passkey: Adjust IPA passkey config error log level
justin-stephenson May 24, 2023
16275d9
IPA: Log missing IPA config data on default level
justin-stephenson May 24, 2023
e5dfa2a
AD: add missing AD_AT_DOMAIN_NAME for sub-domain search
sumit-bose May 23, 2023
2466310
Tests: Modify expiring/expired password test for RHEL 8.
jakub-vavra-cz May 24, 2023
4d2cf0b
krb5: make sure sockets are closed on timeouts
sumit-bose May 22, 2023
a74d42d
Tests: fix default debug level for typo
shridhargadekar1 May 22, 2023
58855b7
SYSDB: Make enum sysdb_obj_type public
aplopez May 24, 2023
3eb4c4a
IPA: Use a more specific filter when searching for BE_REQ_USER_AND_GROUP
aplopez Apr 12, 2023
0192c1c
Tests: Add conditional skip for simple ifp test.
jakub-vavra-cz May 23, 2023
6239f50
PAM: Fix a possible segmentation fault
aplopez May 30, 2023
f63a54c
fail_over: protect against a segmentation fault
sumit-bose Mar 29, 2023
b9a0b42
Tests: Netgroups do not honor entry cache nowait percentage
aborah-sudo May 10, 2023
74c6fef
Tests: move test_access_control.py to tier2
shridhargadekar1 Jun 7, 2023
6125efe
Tests: Adding c-ares markers for related tests
shridhargadekar1 Jun 6, 2023
d9749ba
RESPONDER: avoid log backtrace in case access denined
alexey-tikhonov Jun 7, 2023
640f415
ipa: correctly remove missing attributes on netgroup update
pbrezina May 23, 2023
4b0683b
AD: The shortcut must be used equally on _send() and _done()
aplopez Jun 8, 2023
e4e8e34
Tests: Add package for tc command
madhuriupadhye Jun 13, 2023
02b158f
Test: dropping unstable dyndns tests
shridhargadekar1 Jun 13, 2023
bb64f2c
Tests: Skip test_0001_bz2021196
aborah-sudo Jun 13, 2023
58a007d
Tests: Skip test_0016_ad_parameters_ad_hostname_valid on other archit…
jakub-vavra-cz Jun 13, 2023
19fecbf
Tests: Improve stability of test_0004_bz2110091
jakub-vavra-cz Jun 15, 2023
05bc18c
Tests: Add ssh module that is fast, reliable, accurate
aborah-sudo May 31, 2023
895d194
ldap: return failure if there are no grace logins left
sumit-bose Jun 7, 2023
5008f0f
ad: use sAMAccountName to lookup hosts
sumit-bose Jun 7, 2023
5711bb2
cache_req: remove unused field cache_behavior from state
pbrezina Jun 1, 2023
bc5fe9e
cache_req: fix propagation of offline status with cache_first = true
pbrezina Jun 1, 2023
d3c3408
SYSDB: in case (ignore_group_members == true) group is actually complete
alexey-tikhonov Jun 10, 2023
5092224
TEST: Fix pam-srv-tests to correctly treat the test name
aplopez May 31, 2023
228183b
IPA: Do not try to add duplicate values to the LDAP attributes
aplopez May 31, 2023
42cf3c4
UTIL: New function string_in_list_size()
aplopez Jun 6, 2023
010e61f
UTIL: add_strings_lists() becomes add_strings_lists_ex()
aplopez Jun 7, 2023
bfc88dc
RESPONDER: attr_in_list() is replaced by string_in_list_size()
aplopez Jun 7, 2023
355b0c2
IPA: Do not duplicate the entry attributes.
aplopez Jun 8, 2023
aa06159
po: update translations
simmon-nplob Jun 2, 2023
abce376
po: update translations
yurchor Jun 1, 2023
a94f39f
po: update translations
NorwayFun Jun 3, 2023
8e80798
po: update translations
simmon-nplob Jun 2, 2023
d37d72f
po: update translations
oktay454 Jun 2, 2023
f0d8f93
po: update translations
piotrdrag Jun 4, 2023
8d3acd3
po: update translations
Jun 5, 2023
d95212b
po: update translations
Jun 9, 2023
4f469c0
po: update translations
Jun 9, 2023
c40d183
po: update translations
Jun 9, 2023
7f6c10d
pot: update pot files
pbrezina Jun 23, 2023
256e013
Test: Test search filter specific user override or a specific group o…
madhuriupadhye May 8, 2023
301e5b3
Tests: When adding attributes ldap_user_extra_attrs with mail value i…
madhuriupadhye Jun 8, 2023
dc8d649
Release sssd-2.9.1
pbrezina Jun 23, 2023
b8ff5f1
Test: gating sssd after crash
shridhargadekar1 Jun 26, 2023
a871398
Tests: Fix alltest tier1_3 tests with new ssh module
aborah-sudo Jun 26, 2023
7eef916
Tests: Fix IPA tire1_2 tests
aborah-sudo Jun 26, 2023
4e7cfe1
BUILD: Accept krb5 1.21 for building the PAC plugin
alexey-tikhonov Jun 15, 2023
f16e570
watchdog: add arm_watchdog() and disarm_watchdog() calls
sumit-bose Jun 9, 2023
27987c7
sbus: arm watchdog for sbus_connect_init_send()
sumit-bose Jun 9, 2023
e574144
Tests: Update test_ldap_password_policy.py::test_maxage as per the ne…
aborah-sudo Jun 28, 2023
140692c
Tests: Fix test_0002_bz1928648 with new ssh module
aborah-sudo Jul 11, 2023
a1e773d
Tests: Update tier1 test cases with new ssh module
aborah-sudo Jul 12, 2023
ff614e0
Tests: Remove multihost basic tests
aborah-sudo Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tests: Gating fixes for RHEL8.9 and RHEL9.3
Following three minor changes are:

for test_config_validation.py,
1. 'sssctl config-check' returning retuncode as a 1 when
   we dont have sssd.conf file.
2. Change the 'sssctl' command which only check the
   non-default snippet directory with option -s.

for test_offline.py,
3. Add extra restart of sssd to get offline log message
   using journalctl command.

for test_ssh_
4. Replace pexpect_ssh to auth_from_client method to login
the user.

Signed-off-by: Madhuri Upadhye <mupadhye@redhat.com>

Reviewed-by: Jakub Vávra <jvavra@redhat.com>
Reviewed-by: Shridhar Gadekar <sgadekar@redhat.com>
(cherry picked from commit 2965db1)
madhuriupadhye authored and alexey-tikhonov committed May 19, 2023
commit 6d06081809153d78ef00b787b04fa3cefce772fe
6 changes: 2 additions & 4 deletions src/tests/multihost/alltests/test_config_validation.py
Original file line number Diff line number Diff line change
@@ -432,9 +432,8 @@ def test_0022_fatalerror(self, multihost, backupsssdconf):
multihost.client[0].run_command(rm_cmd, raiseonerr=False)
sssctl_cmd = 'sssctl config-check'
cmd = multihost.client[0].run_command(sssctl_cmd, raiseonerr=False)
assert cmd.returncode == 0
log = re.compile(r'sssd.conf\sdoes\snot\sexist')
assert log.search(cmd.stdout_text)
assert cmd.returncode == 1 and log.search(cmd.stdout_text)

@pytest.mark.tier1
def test_0023_checkldaphostobjectdomain(self, multihost, backupsssdconf):
@@ -618,8 +617,7 @@ def test_0031_bz1723273(self, multihost, backupsssdconf):
existing snippet directory
:id: 3d30164f-b80b-4594-883d-1783d9337031
"""
sssctl_cmd = 'sssctl config-check -c /tmp/test/sssd.conf -s ' \
'/tmp/does/not/exists'
sssctl_cmd = 'sssctl config-check -s /tmp/does/not/exists'
sssctl_check = multihost.client[0].run_command(sssctl_cmd,
raiseonerr=False)
result = sssctl_check.stdout_text.strip()
1 change: 1 addition & 0 deletions src/tests/multihost/alltests/test_offline.py
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ def test_0001_bz1416150(self, multihost, backupsssdconf):
get_date = multihost.client[0].run_command(date, raiseonerr=False)
date_org = get_date.stdout_text
date = '"' + date_org[0:19] + '"'
multihost.client[0].service_sssd('restart')
# Check server status in syslog
syslog = 'journalctl --since %s -xeu sssd' % date
time.sleep(80)
10 changes: 2 additions & 8 deletions src/tests/multihost/alltests/test_ssh_authorizedkeys.py
Original file line number Diff line number Diff line change
@@ -32,14 +32,8 @@ def test_0001_bz1137013(self, multihost, create_ssh_keys):
tools = sssdTools(multihost.client[0])
domain_name = tools.get_domain_section_name()
user = 'foo1@%s' % domain_name
client = pexpect_ssh(multihost.client[0].sys_hostname, user,
'Secret123', debug=False)
try:
client.login()
except SSHLoginException:
pytest.fail("%s failed to login" % user)
else:
client.logout()
ssh = tools.auth_from_client(user, 'Secret123') == 3
assert ssh, f"Ssh failed for user {user}!"
domain_log = '/var/log/sssd/sssd_%s.log' % domain_name
log = multihost.client[0].get_file_contents(domain_log).decode('utf-8')
msg = 'Adding sshPublicKey'