report.html

Report generated on 24-Jan-2020 at 10:12:47 by pytest-html v2.0.0

Environment

Packages {'pytest': '5.2.2', 'py': '1.8.0', 'pluggy': '0.12.0'}
Platform Linux-5.3.11-300.fc31.x86_64-x86_64-with-fedora-31-Thirty_One
Plugins {'html': '2.0.0', 'metadata': '1.8.0', 'multihost': '3.0', 'sourceorder': '0.5'}
Python 3.7.5

Summary

1 tests ran in 532.06 seconds.

0 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Failed test_integration/test_installation.py::TestInstallCA::test_certmonger_reads_token_HSM 2.60
master = <ipatests.pytest_ipa.integration.host.Host master.ipa.test (master)>

def add_a_records_for_hosts_in_master_domain(master):
for host in master.domain.hosts:
# We don't need to take care of the zone creation since it is master
# domain
try:
> verify_host_resolvable(host.hostname)

pytest_ipa/integration/tasks.py:1391:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

fqdn = 'replica0.ipa.test'

def verify_host_resolvable(fqdn):
try:
if not resolve_ip_addresses(fqdn):
> raise errors.DNSNotARecordError(hostname=fqdn)
E ipalib.errors.DNSNotARecordError: Host 'replica0.ipa.test' does not have corresponding DNS A/AAAA record

../ipalib/util.py:106: DNSNotARecordError

During handling of the above exception, another exception occurred:

self = <ipatests.test_integration.test_installation.TestInstallCA object at 0x7f6bf4b64310>

def test_certmonger_reads_token_HSM(self):
"""Test if certmonger reads the token in HSM

This is to ensure added HSM support for FreeIPA. This test adds
certificate with sofhsm token and checks if certmonger is tracking
it.

related : https://pagure.io/certmonger/issue/125
"""
test_service = 'test/%s' % self.master.hostname
pkcs_passwd = 'Secret123'
pin = '123456'
noisefile = '/tmp/noise'
with open(noisefile, 'wb') as f:
f.write(os.urandom(64))

tasks.kinit_admin(self.master)
> tasks.add_a_records_for_hosts_in_master_domain(self.master)

test_integration/test_installation.py:274:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pytest_ipa/integration/tasks.py:1397: in add_a_records_for_hosts_in_master_domain
add_a_record(master, host)
pytest_ipa/integration/tasks.py:1414: in add_a_record
'--a-rec', host.ip])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host master.ipa.test (master)>
argv = ['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173']
set_env = True, stdin_text = None, log_stdout = True, raiseonerr = True
cwd = None, bg = False, encoding = 'utf-8', ok_returncode = 0

def run_command(self, argv, set_env=True, stdin_text=None,
log_stdout=True, raiseonerr=True,
cwd=None, bg=False, encoding='utf-8', ok_returncode=0):
"""Wrapper around run_command to log stderr on raiseonerr=True

:param ok_returncode: return code considered to be correct,
you can pass an integer or sequence of integers
"""
result = super().run_command(
argv, set_env=set_env, stdin_text=stdin_text,
log_stdout=log_stdout, raiseonerr=False, cwd=cwd, bg=bg,
encoding=encoding
)
# in FIPS mode SSH may print noise to stderr, remove the string
# "FIPS mode initialized" + optional newline.
result.stderr_bytes = FIPS_NOISE_RE.sub(b'', result.stderr_bytes)
try:
result_ok = result.returncode in ok_returncode
except TypeError:
result_ok = result.returncode == ok_returncode
if not result_ok and raiseonerr:
result.log.error('stderr: %s', result.stderr_text)
raise subprocess.CalledProcessError(
result.returncode, argv,
> result.stdout_text, result.stderr_text
)
E subprocess.CalledProcessError: Command '['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173']' returned non-zero exit status 2.

pytest_ipa/integration/host.py:193: CalledProcessError
-----------------------------Captured stdout setup------------------------------
<ipatests.pytest_ipa.integration.config.Config object at 0x7f6bf4c37a50>
-------------------------------Captured log setup-------------------------------
INFO ipatests.pytest_ipa.integration:__init__.py:267 Preparing host replica0.ipa.test INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_8.1) DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:247 Authenticating with private RSA key using user root INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! INFO ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.cmd1:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.cmd1:transport.py:558 -bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.cmd1:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding replica0.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:301 STAT /ipatests INFO paramiko.transport.sftp:sftp.py:158 [chan 1] Opened sftp connection (server version 3) DEBUG ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:301 STAT / INFO ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:312 MKDIR /ipatests INFO ipatests.pytest_ipa.integration.host.Host.replica0.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh INFO ipatests.pytest_ipa.integration:__init__.py:267 Preparing host master.ipa.test INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_8.1) DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:247 Authenticating with private RSA key using user root INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:558 -bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO paramiko.transport.sftp:sftp.py:158 [chan 1] Opened sftp connection (server version 3) DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT / INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh INFO ipatests.pytest_ipa.integration:__init__.py:267 Preparing host replica1.ipa.test INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_8.1) DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:247 Authenticating with private RSA key using user root INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! INFO ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd1:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd1:transport.py:558 -bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd1:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding replica1.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:301 STAT /ipatests INFO paramiko.transport.sftp:sftp.py:158 [chan 1] Opened sftp connection (server version 3) DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:301 STAT / INFO ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:312 MKDIR /ipatests INFO ipatests.pytest_ipa.integration.host.Host.replica1.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/errors to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/access to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/audit to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-conncheck.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-ca-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-kra-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipa-custodia.audit.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/iparestore.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipabackup.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/kadmind.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/krb5kdc.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/httpd/error_log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/pki/ to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/audit/audit.log to list of logs to collect INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup/etc INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /etc/hostname INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:513 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 192.168.122.66%eth0:68 0.0.0.0:* users:(("NetworkManager",pid=1967,fd=20)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=507,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=507,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=558,fd=4)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:41506 52.219.72.182:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:44968 129.7.128.189:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:44970 129.7.128.189:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:60204 152.7.106.23:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:60206 152.7.106.23:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.122.66:22 192.168.122.1:49782 users:(("sshd",pid=2666,fd=5),("sshd",pid=2652,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:44966 129.7.128.189:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:41510 52.219.72.182:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.122.66:41508 52.219.72.182:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.122.66:22 192.168.122.1:49788 users:(("sshd",pid=2847,fd=5),("sshd",pid=2845,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.122.66:22 192.168.122.79:45344 users:(("sshd",pid=18109,fd=5),("sshd",pid=18107,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=558,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:513 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN for line in `ipcs -s | grep apache | cut -d " " -f 2`; do ipcrm -s $line; done DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:513 RUN for line in `ipcs -s | grep apache | cut -d " " -f 2`; do ipcrm -s $line; done DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:513 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:558 Removed /etc/systemd/system/firewalld.service. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:513 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:513 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:513 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Unable to sync time with chrony server, assuming the time is in sync. Please check that 123 UDP port is opened, and any time server is on network. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The log file for this installation can be found in /var/log/ipaserver-install.log DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This program will set up the FreeIPA Server. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This includes: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure a stand-alone CA (dogtag) for certificate management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure the NTP client (chronyd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Create and configure an instance of Directory Server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Create and configure a Kerberos Key Distribution Center (KDC) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure Apache (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure the KDC to enable PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The IPA Master Server will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 IP address(es): 192.168.122.66 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Domain name: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Realm name: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The CA will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Subject DN: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Subject base: O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Chaining: self-signed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Disabled p11-kit-proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Warning: IPA was unable to sync time with chrony! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Time synchronization is required for IPA to work correctly DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring directory server (dirsrv). Estimated time: 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/44]: creating directory server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/44]: configure autobind for root DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/44]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/44]: updating configuration in dse.ldif DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/44]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/44]: adding default schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/44]: enabling memberof plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/44]: enabling winsync plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/44]: configure password logging DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/44]: configuring replication version plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/44]: enabling IPA enrollment plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/44]: configuring uniqueness plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/44]: configuring uuid plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/44]: configuring modrdn plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/44]: configuring DNS plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/44]: enabling entryUSN plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/44]: configuring lockout plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/44]: configuring topology plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/44]: creating indices DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/44]: enabling referential integrity plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/44]: configuring certmap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [22/44]: configure new location for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [23/44]: configure dirsrv ccache and keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [24/44]: enabling SASL mapping fallback DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [25/44]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [26/44]: adding sasl mappings to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [27/44]: adding default layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [28/44]: adding delegation layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [29/44]: creating container for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [30/44]: configuring user private groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [31/44]: configuring netgroups from hostgroups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [32/44]: creating default Sudo bind user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [33/44]: creating default Auto Member layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [34/44]: adding range check plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [35/44]: creating default HBAC rule allow_all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [36/44]: adding entries for topology management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [37/44]: initializing group membership DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [38/44]: adding master entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [39/44]: initializing domain level DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [40/44]: configuring Posix uid/gid generation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [41/44]: adding replication acis DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [42/44]: activating sidgen plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [43/44]: activating extdom plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [44/44]: configuring directory to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/10]: adding kerberos container to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/10]: configuring KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/10]: initialize kerberos container DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/10]: adding default ACIs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/10]: creating a keytab for the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/10]: creating a keytab for the machine DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/10]: adding the password extension to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/10]: creating anonymous principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/10]: starting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/10]: configuring KDC to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/2]: starting kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/2]: configuring kadmin to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring kadmin. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/5]: Making sure custodia container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/5]: Generating ipa-custodia config file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/5]: Generating ipa-custodia keys DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/5]: starting ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/5]: configuring ipa-custodia to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring ipa-custodia. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/29]: configuring certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/29]: Add ipa-pki-wait-running DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/29]: reindex attributes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/29]: exporting Dogtag certificate store pin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/29]: stopping certificate server instance to update CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/29]: backing up CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/29]: disabling nonces DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/29]: set up CRL publishing DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/29]: enable PKIX certificate path discovery and validation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/29]: starting certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/29]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/29]: requesting RA certificate from CA DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/29]: setting audit signing renewal to 2 years DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/29]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/29]: publishing the CA certificate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/29]: adding RA agent as a trusted user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/29]: authorizing RA to modify profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/29]: authorizing RA to manage lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/29]: Ensure lightweight CAs container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/29]: configure certificate renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/29]: Configure HTTP to proxy connections DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [22/29]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [23/29]: updating IPA configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [24/29]: enabling CA instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [25/29]: migrating certificate profiles to LDAP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [26/29]: importing IPA certificate profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [27/29]: adding default CA ACL DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [28/29]: adding 'ipa' CA entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [29/29]: configuring certmonger renewal for lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring certificate server (pki-tomcatd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring directory server (dirsrv) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/3]: configuring TLS for DS instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/3]: adding CA certificate entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/3]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/2]: starting ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/2]: configuring ipa-otpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring ipa-otpd. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring the web interface (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/21]: stopping httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/21]: backing up ssl.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/21]: disabling nss.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/21]: configuring mod_ssl certificate paths DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/21]: setting mod_ssl protocol list DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/21]: configuring mod_ssl log directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/21]: disabling mod_ssl OCSP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/21]: adding URL rewriting rules DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/21]: configuring httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/21]: setting up httpd keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/21]: configuring Gssproxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/21]: setting up ssl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/21]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/21]: publish CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/21]: clean up any existing httpd ccaches DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/21]: configuring SELinux for httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/21]: create KDC proxy config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/21]: enable KDC proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/21]: starting httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/21]: configuring httpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/21]: enabling oddjobd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring the web interface (httpd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/1]: installing X509 Certificate for PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Applying LDAP updates DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Upgrading IPA:. Estimated time: 1 minute 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/11]: saving configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/11]: disabling listeners DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/11]: enabling DS global lock DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/11]: disabling Schema Compat DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/11]: updating schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/11]: upgrading server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/11]: restoring configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Restarting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring client side components DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Using existing certificate '/etc/ipa/ca.crt'. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Client hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Could not update DNS SSHFP records. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/ssh/sshd_config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 unable to resolve host name master.ipa.test. to IP address, ipa-ca DNS record will be incomplete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 unable to resolve host name master.ipa.test. to IP address, ipa-ca DNS record will be incomplete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The ipa-server-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Please add records in this file to your DNS system: /tmp/ipa.system.records._zpvuffe.db DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Setup complete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Next steps: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 1. You must make sure these network ports are open: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 TCP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 80, 443: HTTP/HTTPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 389, 636: LDAP/LDAPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 UDP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 123: ntp DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 2. You can now obtain a kerberos ticket using the command: 'kinit admin' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This ticket will allow you to use the IPA tools (e.g., ipa user-add) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 and the web user interface. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Be sure to back up the CA certificates stored in /root/cacert.p12 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 These files are required to create replicas. The password for these DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 files is the Directory Manager password DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:558 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:558 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:304 Set LDAP debug level INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:558 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:320 Set LDAP audit log INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:558 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/sssd to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd24:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:558 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:217 Exit code: 0
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.master.cmd22] removed '/var/lib/sss/mc/group' [ipatests.pytest_ipa.integration.host.Host.master.cmd22] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] [ipatests.pytest_ipa.integration.host.Host.master.cmd23] RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] [ipatests.pytest_ipa.integration.host.Host.master.cmd23] removed '/var/lib/sss/mc/passwd' [ipatests.pytest_ipa.integration.host.Host.master.cmd23] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['systemctl', 'start', 'sssd'] [ipatests.pytest_ipa.integration.host.Host.master.cmd24] RUN ['systemctl', 'start', 'sssd'] [ipatests.pytest_ipa.integration.host.Host.master.cmd24] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd25] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd25] Password for admin@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.master.cmd25] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd26] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd26] Password for admin@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.master.cmd26] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'replica0.ipa.test.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd27] RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'replica0.ipa.test.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd27] ipa: ERROR: DNS is not configured [ipatests.pytest_ipa.integration.host.Host.master.cmd27] Exit code: 2 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173'] [ipatests.pytest_ipa.integration.host.Host.master.cmd28] RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173'] [ipatests.pytest_ipa.integration.host.Host.master.cmd28] ipa: ERROR: DNS is not configured [ipatests.pytest_ipa.integration.host.Host.master.cmd28] Exit code: 2 ipa: ERROR: stderr: ipa: ERROR: DNS is not configured
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'replica0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'replica0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:558 ipa: ERROR: DNS is not configured DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:513 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'replica0.ipa.test.', '--a-rec', '192.168.122.173'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:558 ipa: ERROR: DNS is not configured DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:217 Exit code: 2 ERROR ipatests.pytest_ipa.integration.host.Host.master.cmd28:host.py:190 stderr: ipa: ERROR: DNS is not configured