Bug 1924812

Summary: Fix upstream test test_smb.py::TestSMB::test_authentication_with_smb_cifs_principal_alias
Product: Red Hat Enterprise Linux 8 Reporter: Sergey Orlov <sorlov>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: abokovoy, amore, ksiddiqu, rcritten, tscherf
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:48:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 anuja 2021-02-17 11:44:02 UTC
Pre-verified using :
compose: rhel-8.4.0-mbs/9973-1386-idm/
ipa-server-4.9.2-1.module+el8.4.0+9973+3d202164.x86_64

Test-log:
test_integration/test_smb.py::TestSMB::test_samba_uninstallation_without_installation PASSED [  7%]
test_integration/test_smb.py::TestSMB::test_install_samba PASSED         [ 15%]
test_integration/test_smb.py::TestSMB::test_authentication_with_smb_cifs_principal_alias PASSED [ 23%]
test_integration/test_smb.py::TestSMB::test_samba_service_listed PASSED  [ 30%]
test_integration/test_smb.py::TestSMB::test_smb_access_for_ipa_user_at_ipa_client PASSED [ 38%]
test_integration/test_smb.py::TestSMB::test_smb_access_for_ad_user_at_ipa_client PASSED [ 46%]
test_integration/test_smb.py::TestSMB::test_smb_mount_and_access_by_different_users PASSED [ 53%]
test_integration/test_smb.py::TestSMB::test_smb_service_s4u2self PASSED  [ 61%]
test_integration/test_smb.py::TestSMB::test_smb_mount_fails_without_kerberos_ticket PASSED [ 69%]
test_integration/test_smb.py::TestSMB::test_uninstall_samba PASSED       [ 76%]
test_integration/test_smb.py::TestSMB::test_repeated_uninstall_samba PASSED [ 84%]
test_integration/test_smb.py::TestSMB::test_samba_reinstall PASSED       [ 92%]
test_integration/test_smb.py::TestSMB::test_cleanup PASSED               [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
========================= 13 passed in 896.87 seconds ==========================


Test is passing.
test_integration/test_smb.py::TestSMB::test_authentication_with_smb_cifs_principal_alias PASSED [ 23%]

Comment 5 anuja 2021-02-19 09:49:41 UTC
Verified Using:
ipa-server-4.9.2-1.module+el8.4.0+9973+3d202164.x86_64

============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.10.0, pluggy-0.13.1 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-287.el8.x86_64-x86_64-with-redhat-8.4-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 13 items

test_integration/test_smb.py::TestSMB::test_samba_uninstallation_without_installation PASSED [  7%]
test_integration/test_smb.py::TestSMB::test_install_samba PASSED         [ 15%]
test_integration/test_smb.py::TestSMB::test_authentication_with_smb_cifs_principal_alias PASSED [ 23%]
test_integration/test_smb.py::TestSMB::test_samba_service_listed PASSED  [ 30%]
test_integration/test_smb.py::TestSMB::test_smb_access_for_ipa_user_at_ipa_client PASSED [ 38%]
test_integration/test_smb.py::TestSMB::test_smb_access_for_ad_user_at_ipa_client PASSED [ 46%]
test_integration/test_smb.py::TestSMB::test_smb_mount_and_access_by_different_users PASSED [ 53%]
test_integration/test_smb.py::TestSMB::test_smb_service_s4u2self PASSED  [ 61%]
test_integration/test_smb.py::TestSMB::test_smb_mount_fails_without_kerberos_ticket PASSED [ 69%]
test_integration/test_smb.py::TestSMB::test_uninstall_samba PASSED       [ 76%]
test_integration/test_smb.py::TestSMB::test_repeated_uninstall_samba PASSED [ 84%]
test_integration/test_smb.py::TestSMB::test_samba_reinstall PASSED       [ 92%]
test_integration/test_smb.py::TestSMB::test_cleanup PASSED               [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
========================= 13 passed in 669.56 seconds ==========================

Test is passing.
test_integration/test_smb.py::TestSMB::test_authentication_with_smb_cifs_principal_alias PASSED [ 23%]
Based on this marking bug as verified.

Comment 7 errata-xmlrpc 2021-05-18 15:48:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1846