RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2169632 - Backport latest test fixes in python3-ipatests
Summary: Backport latest test fixes in python3-ipatests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-14 06:55 UTC by Mohammad Rizwan
Modified: 2023-05-09 08:26 UTC (History)
3 users (show)

Fixed In Version: ipa-4.10.1-6.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:33:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-9453 0 None None None 2023-02-14 06:55:49 UTC
Red Hat Issue Tracker RHELPLAN-148553 0 None None None 2023-02-14 06:55:52 UTC
Red Hat Product Errata RHBA-2023:2205 0 None None None 2023-05-09 07:33:38 UTC

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


Note You need to log in before you can comment on or make changes to this bug.