Bug 2169632

Summary: Backport latest test fixes in python3-ipatests
Product: Red Hat Enterprise Linux 9 Reporter: Mohammad Rizwan <myusuf>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: amore, rcritten, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.10.1-6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:33:33 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:

Description Mohammad Rizwan 2023-02-14 06:55:22 UTC
Description of problem:
Backport latest test fixes in python3-ipatests

https://pagure.io/freeipa/c/0f77b359e241fc4055fb8d785e18f96338451ebf

Comment 1 anuja 2023-02-14 09:33:21 UTC
Please also add commit : https://pagure.io/freeipa/c/a6cb905de74da38d62f9c3bd7957018924282521

Comment 2 Mohammad Rizwan 2023-02-21 14:26:51 UTC
Please add https://pagure.io/freeipa/c/e76b219c21d53b6bccce4ea3d18e2b61ac835e1f

Comment 3 Mohammad Rizwan 2023-02-21 14:33:43 UTC
Please add following commits:
    88b9be2 ipatests: ensure that ipa automember-rebuild prints a warning
    6ca1196 tests: Add new ipa-ca error messages to IPADNSSystemRecordsCheck
    ff31b0c tests: Add ipa_ca_name checking to DNS system records
    b5f2b0b ipatests: mark test_smb as xfail
    c411c2e webui tests: fix assertion in test_subid.py

Comment 5 Florence Blanc-Renaud 2023-02-22 08:22:37 UTC
Additional commit:
e7c642b ipatests: fix tests in TestACMEPrune

Comment 6 Florence Blanc-Renaud 2023-02-22 11:27:30 UTC
Additional commit:
36cba23f3f671886f5e7fa310c25a6e500c76e0b Tests: force key type in ACME tests

Comment 10 Mohammad Rizwan 2023-02-27 06:35:36 UTC
version:
ipa-server-4.10.1-6.el9.x86_64

============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.16', 'Platform': 'Linux-5.14.0-277.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'html': '3.1.1', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, html-3.1.1, sourceorder-0.6.0
collecting ... collected 9 items

test_integration/test_acme.py::TestACMEPrune::test_enable_pruning PASSED [ 11%]
test_integration/test_acme.py::TestACMEPrune::test_pruning_options PASSED [ 22%]
test_integration/test_acme.py::TestACMEPrune::test_pruning_negative_options PASSED [ 33%]
test_integration/test_acme.py::TestACMEPrune::test_prune_cert_manual PASSED [ 44%]
test_integration/test_acme.py::TestACMEPrune::test_prune_cert_cron PASSED [ 55%]
test_integration/test_acme.py::TestACMEPrune::test_prune_cert_retention_unit PASSED [ 66%]
test_integration/test_acme.py::TestACMEPrune::test_prune_cert_search_size_limit PASSED [ 77%]
test_integration/test_acme.py::TestACMEPrune::test_prune_config_show PASSED [ 88%]
test_integration/test_acme.py::TestACMEPrune::test_prune_disable PASSED  [100%]

=============================== warnings summary ===============================
../pytest_sourceorder.py:31
  /usr/lib/python3.9/site-packages/pytest_sourceorder.py:31: PytestUnknownMarkWarning: Unknown pytest.mark.source_order - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
    cls = pytest.mark.source_order(cls)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
================== 9 passed, 1 warning in 1658.86s (0:27:38) ===================


Automation passed, hence marking the bug as verified as the specified test commit present in the build.

Comment 13 errata-xmlrpc 2023-05-09 07:33:33 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 (ipa 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/RHBA-2023:2205