Skip to content

Commit

Permalink
tests: Drop test_bz1221992 that is invalid on RHEL 10
Browse files Browse the repository at this point in the history
"sbus-dp_example1" was a unix socket of DBUS server maintained
in every backend. Now we moved to single SBUS server in "monitor"
so backends don't create own DBUS servers anymore.

Reviewed-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
jakub-vavra-cz committed Jun 12, 2024
1 parent f7c53d1 commit 48e6812
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/tests/multihost/alltests/test_misc_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,42 +351,6 @@ def test_bz871424(multihost, backupsssdconf):
tools.clear_sssd_cache()
execute_cmd(multihost, "authselect test sssd")

@staticmethod
@pytest.mark.tier1_3
def test_bz1221992(multihost, backupsssdconf):
"""
:title: sssd_be segfault at 0 ip sp error 6 in libtevent.so.0.9.21
:bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1221992
:id: a97bf86a-e6e3-11ec-a1ee-845cf3eff344
:steps:
1. Configure user=sssd in sssd.conf
2. user should be able to change the
password without segfault
:expectedresults:
1. Should succeed
2. Should succeed
"""
tools = sssdTools(multihost.client[0])
domain_name = 'sssd'
domain_params = {'user': 'sssd'}
tools.sssd_conf(domain_name, domain_params)
domain_name = tools.get_domain_section_name()
domain_params = {'id_provider': 'ldap',
'auth_provider': 'ldap',
'chpass_provider': 'proxy',
'proxy_pam_target': 'sssdproxyldap',
'proxy_lib_name': 'ldap'}
tools.sssd_conf('domain/' + domain_name, domain_params)
execute_cmd(multihost, "> /var/log/messages")
tools.clear_sssd_cache()
execute_cmd(multihost, "sh /tmp/sssdproxymisc.sh")
time.sleep(3)
with pytest.raises(subprocess.CalledProcessError):
execute_cmd(multihost, "grep 'segfault at 0 ip' /var/log/messages")
assert 'sssd' in execute_cmd(multihost,
"stat -c %G /var/lib/sss/pipes"
"/private/sbus-dp_example1.*").stdout_text

@staticmethod
@pytest.mark.tier1_3
def test_0002_bz1209483(multihost, backupsssdconf):
Expand Down

0 comments on commit 48e6812

Please sign in to comment.