#9766 Nightly test failure in test_idm_api
Opened a month ago by mpolovka. Modified a month ago

The test test_integration/test_idm_api.py::TestAPIScenario::test_idm_user_add and all the subsequent tests fail since 2025-03-18 due the error in the setup phase

DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:557 CalledProcessError(Command ['/bin/systemctl', 'restart', 'httpd.service'] returned non-zero exit status 1: 'Job for httpd.service failed because the control process exited with error code.\nSee "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.\n')
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:557 The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:557 Restarting the web server to pick up resolv.conf changes
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:217 Exit code: 1
ERROR    ipatests.pytest_ipa.integration.host.Host.master.cmd37:host.py:201 stderr: Checking DNS domain ufreeipa.test., please wait ...
Reverse record for IP address x.x.x.x already exists

ipaserver-install.log shows:

2025-03-18T06:13:17Z DEBUG The ipa-server-install command failed, exception: CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'restart', 'httpd.service'] returned non-zero exit status 1: 'Job for httpd.service failed because the control process exited with error code.\nSee "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.\n')
2025-03-18T06:13:17Z ERROR CalledProcessError(Command ['/bin/systemctl', 'restart', 'httpd.service'] returned non-zero exit status 1: 'Job for httpd.service failed because the control process exited with error code.\nSee "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.\n')
2025-03-18T06:13:17Z ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

There is an AVC log present

----
time->Tue Mar 18 04:41:37 2025
type=AVC msg=audit(1742272897.451:81): avc:  denied  { read } for  pid=829 comm="systemd-homed" name="home" dev="vda4" ino=2118 scontext=system_u:system_r:systemd_homed_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=0

Log in to comment on this ticket.

Metadata