Bug 1978747

Summary: [regression] IPA server in debug mode fails to run because time.perf_counter_ns is Python 3.7+
Product: Red Hat Enterprise Linux 8 Reporter: François Cami <fcami>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.6CC: abokovoy, frenaud, ipa-qe, ksiddiqu, myusuf, ndehadra, rcritten, spoore, sumenon, tscherf, twoerner
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.8-1.module+el8.6.0+13486+dbe20af2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1974822 Environment:
Last Closed: 2022-05-10 14:08:44 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:
Bug Depends On: 1974822    
Bug Blocks:    

Comment 1 Florence Blanc-Renaud 2021-07-07 11:39:58 UTC
Moving to post as the fix is already pushed upstream in master and ipa-4-9.

@twoerner I am not sure why this BZ was created, since it is a clone for 8.6 of a 8.5 issue. If the 8.5 issue is fixed, 8.6 will also automatically inherit from the fix. Feel free to close as DUP if this BZ is not needed

Comment 9 Mohammad Rizwan 2022-01-13 11:48:41 UTC
version:
ipa-server-4.9.8-2.module+el8.6.0+13621+937b8cd9.x86_64

============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-358.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, '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 25 items

test_integration/test_installation.py::TestInstallMaster::test_install_master PASSED [  4%]
test_integration/test_installation.py::TestInstallMaster::test_smoke_test_for_debug_mode PASSED [  8%]                  <<<<<<<<<<<<<<<<<<<<<<<<<<
test_integration/test_installation.py::TestInstallMaster::test_schema_compat_attribute_and_tree_disable PASSED [ 12%]
test_integration/test_installation.py::TestInstallMaster::test_install_kra PASSED [ 16%]
test_integration/test_installation.py::TestInstallMaster::test_install_dns PASSED [ 20%]
test_integration/test_installation.py::TestInstallMaster::test_ipactl_restart_pki_tomcat PASSED [ 24%]
test_integration/test_installation.py::TestInstallMaster::test_ipactl_scenario_check PASSED [ 28%]
test_integration/test_installation.py::TestInstallMaster::test_WSGI_worker_process PASSED [ 32%]
test_integration/test_installation.py::TestInstallMaster::test_error_for_yubikey PASSED [ 36%]
test_integration/test_installation.py::TestInstallMaster::test_pki_certs PASSED [ 40%]
test_integration/test_installation.py::TestInstallMaster::test_http_cert PASSED [ 44%]
test_integration/test_installation.py::TestInstallMaster::test_ipa_cert_in_store PASSED [ 48%]
test_integration/test_installation.py::TestInstallMaster::test_p11_kit_softhsm2 PASSED [ 52%]
test_integration/test_installation.py::TestInstallMaster::test_selinux_avcs PASSED [ 56%]
test_integration/test_installation.py::TestInstallMaster::test_file_permissions PASSED [ 60%]
test_integration/test_installation.py::TestInstallMaster::test_ds_disable_upgrade_hash PASSED [ 64%]
test_integration/test_installation.py::TestInstallMaster::test_ldbm_tuning PASSED [ 68%]
test_integration/test_installation.py::TestInstallMaster::test_admin_root_alias_CVE_2020_10747 PASSED [ 72%]
test_integration/test_installation.py::TestInstallMaster::test_dirsrv_no_ssca PASSED [ 76%]
test_integration/test_installation.py::TestInstallMaster::test_ipa_custodia_check PASSED [ 80%]
test_integration/test_installation.py::TestInstallMaster::test_ipa_selinux_policy PASSED [ 84%]
test_integration/test_installation.py::TestInstallMaster::test_ipaca_no_redirect PASSED [ 88%]
test_integration/test_installation.py::TestInstallMaster::test_hostname_parameter FAILED [ 92%]
test_integration/test_installation.py::TestInstallMaster::test_ad_subpackage_dependency PASSED [ 96%]
test_integration/test_installation.py::TestInstallMaster::test_backup_of_cs_cfg_is_created PASSED [100%]

=================================== FAILURES ===================================
__________________ TestInstallMaster.test_hostname_parameter ___________________


Automation passed for test_integration/test_installation.py::TestInstallMaster::test_smoke_test_for_debug_mode PASSED, Marking the bug verified.
https://ci-jenkins-csb-idmops.apps.ocp-c1.prod.psi.redhat.com/job/ipa-RHEL8.6/job/Nightly/job/tier-3-RHEL8.6-Nightly-upstream-installation-testinstallmaster/10/

Comment 13 errata-xmlrpc 2022-05-10 14:08:44 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 (idm:client and idm:DL1 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/RHEA-2022:1884

Comment 14 Red Hat Bugzilla 2023-09-15 01:34:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days