report.html

Report generated on 11-Aug-2020 at 00:31:25 by pytest-html v2.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.8.2", "pytest": "5.4.3"}
Platform Linux-5.7.7-200.fc32.x86_64-x86_64-with-glibc2.2.5
Plugins {"html": "2.1.1", "metadata": "1.10.0", "multihost": "3.0", "sourceorder": "0.5"}
Python 3.8.3

Summary

12 tests ran in 1382.18 seconds.

7 passed, 0 skipped, 5 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Failed test_integration/test_smb.py::TestSMB::test_smb_access_for_ipa_user_at_ipa_client 3.13
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2347647670>

def test_smb_access_for_ipa_user_at_ipa_client(self):
samba_share = {
'name': 'homes',
'server_path': '/home/{}'.format(self.ipa_user1),
'unc': '//{}/homes'.format(self.smbserver.hostname)
}
> self.check_smb_access_at_ipa_client(
self.ipa_user1, self.ipa_user1_password, samba_share)

test_integration/test_smb.py:315:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_integration/test_smb.py:305: in check_smb_access_at_ipa_client
self.smb_sanity_check(user, mount_point, samba_share)
test_integration/test_smb.py:149: in smb_sanity_check
run_smb_client(['mkdir', test_dir])
pytest_ipa/integration/tasks.py:1989: in run_command_as_user
return host.run_command(command, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host client1.ipa.test (client)>
argv = ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1']
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 '['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:200: CalledProcessError
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd53] RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd53] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'kinit user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd54] RUN ['su', '-l', 'user1', '-c', 'kinit user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd54] Password for user1@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.client1.cmd54] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd55] RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd55] mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor [ipatests.pytest_ipa.integration.host.Host.client1.cmd55] Exit code: 1 ipa: ERROR: stderr: mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd48:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd48:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd49:transport.py:513 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd49:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd49:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd50:transport.py:513 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd50:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd51:transport.py:513 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd51:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd52:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd52:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd53:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd53:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'kinit user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd54:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'kinit user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd54:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd54:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd55:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd55:transport.py:557 mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd55:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.client1.cmd55:host.py:199 stderr: mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-rf', 'testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:513 RUN ['rm', '-rf', 'testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd56:transport.py:513 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd56:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd57:transport.py:513 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd57:transport.py:217 Exit code: 0
Failed test_integration/test_smb.py::TestSMB::test_smb_access_for_ad_user_at_ipa_client 2.87
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2347664130>
enable_smb_client_dns_lookup_kdc = <function TestSMB.enable_smb_client_dns_lookup_kdc.<locals>._enable_for at 0x7f2347581dc0>

def test_smb_access_for_ad_user_at_ipa_client(
self, enable_smb_client_dns_lookup_kdc):
with enable_smb_client_dns_lookup_kdc(self.smbclient):
samba_share = {
'name': 'homes',
'server_path': '/home/{}/{}'.format(self.ad.domain.name,
self.ad_user_login),
'unc': '//{}/homes'.format(self.smbserver.hostname)
}
> self.check_smb_access_at_ipa_client(
self.ad_user, self.ad_user_password, samba_share)

test_integration/test_smb.py:327:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_integration/test_smb.py:305: in check_smb_access_at_ipa_client
self.smb_sanity_check(user, mount_point, samba_share)
test_integration/test_smb.py:149: in smb_sanity_check
run_smb_client(['mkdir', test_dir])
pytest_ipa/integration/tasks.py:1989: in run_command_as_user
return host.run_command(command, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host client1.ipa.test (client)>
argv = ['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test']
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 '['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:200: CalledProcessError
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd120] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd120] Exit code: 0 [ipatests.pytest_ipa.integration] Collecting journal from: client1.ipa.test [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd62] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd62] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mktemp'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd63] RUN ['mktemp'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd63] /tmp/tmp.Nby675Rqzz [ipatests.pytest_ipa.integration.host.Host.client1.cmd63] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.Nby675Rqzz'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd64] RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.Nby675Rqzz'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd64] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] GET /etc/krb5.conf [ipatests.pytest_ipa.integration.host.Host.client1.cmd65] RUN ['cat', '/etc/krb5.conf'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd65] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] PUT /etc/krb5.conf [ipatests.pytest_ipa.integration.host.Host.client1.cmd66] RUN ['tee', '/etc/krb5.conf'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd66] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd67] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd67] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kinit', 'testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd68] RUN ['kinit', 'testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd68] Password for testuser@ad.test: [ipatests.pytest_ipa.integration.host.Host.client1.cmd68] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd69] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd69] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd70] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd70] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd71] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd71] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'testuser@ad.test', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd72] RUN ['su', '-l', 'testuser@ad.test', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd72] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'testuser@ad.test', '-c', 'kinit testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd73] RUN ['su', '-l', 'testuser@ad.test', '-c', 'kinit testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd73] Password for testuser@ad.test: [ipatests.pytest_ipa.integration.host.Host.client1.cmd73] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd74] RUN ['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd74] mkdir: cannot create directory ‘testdir_testuser@ad.test’: Bad file descriptor [ipatests.pytest_ipa.integration.host.Host.client1.cmd74] Exit code: 1 ipa: ERROR: stderr: mkdir: cannot create directory ‘testdir_testuser@ad.test’: Bad file descriptor
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd63:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd63:transport.py:557 /tmp/tmp.Nby675Rqzz DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd63:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.Nby675Rqzz'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd64:transport.py:513 RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.Nby675Rqzz'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd64:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:436 GET /etc/krb5.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd65:transport.py:513 RUN ['cat', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd65:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:427 PUT /etc/krb5.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd66:transport.py:513 RUN ['tee', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd66:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd67:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd67:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd68:transport.py:513 RUN ['kinit', 'testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd68:transport.py:557 Password for testuser@ad.test: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd68:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd69:transport.py:513 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd69:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd70:transport.py:513 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd70:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd71:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd71:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'testuser@ad.test', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd72:transport.py:513 RUN ['su', '-l', 'testuser@ad.test', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd72:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'testuser@ad.test', '-c', 'kinit testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd73:transport.py:513 RUN ['su', '-l', 'testuser@ad.test', '-c', 'kinit testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd73:transport.py:557 Password for testuser@ad.test: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd73:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd74:transport.py:513 RUN ['su', '-l', 'testuser@ad.test', '-c', 'cd /mnt/smb; mkdir testdir_testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd74:transport.py:557 mkdir: cannot create directory ‘testdir_testuser@ad.test’: Bad file descriptor DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd74:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.client1.cmd74:host.py:199 stderr: mkdir: cannot create directory ‘testdir_testuser@ad.test’: Bad file descriptor INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-rf', 'testdir_testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd74:transport.py:513 RUN ['rm', '-rf', 'testdir_testuser@ad.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd74:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd75:transport.py:513 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd75:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd76:transport.py:513 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd76:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mv', '/tmp/tmp.Nby675Rqzz', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd77:transport.py:513 RUN ['mv', '/tmp/tmp.Nby675Rqzz', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd77:transport.py:217 Exit code: 0
Failed test_integration/test_smb.py::TestSMB::test_smb_mount_and_access_by_different_users 2.62
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2347530340>
samba_share_public = {'name': 'shared', 'server_path': '/srv/samba_shared', 'unc': '//client0.ipa.test/shared'}

def test_smb_mount_and_access_by_different_users(self, samba_share_public):
user1 = self.ipa_user1
password1 = self.ipa_user1_password
user2 = self.ipa_user2
password2 = self.ipa_user2_password
mount_point = '/mnt/smb'

try:
self.mount_smb_share(user1, password1, samba_share_public,
mount_point)
tasks.run_command_as_user(self.smbclient, user2,
['kdestroy', '-A'])
tasks.run_command_as_user(self.smbclient, user2, ['kinit', user2],
stdin_text=password2 + '\n')
> self.smb_sanity_check(user2, mount_point, samba_share_public)

test_integration/test_smb.py:344:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_integration/test_smb.py:149: in smb_sanity_check
run_smb_client(['mkdir', test_dir])
pytest_ipa/integration/tasks.py:1989: in run_command_as_user
return host.run_command(command, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host client1.ipa.test (client)>
argv = ['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2']
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 '['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:200: CalledProcessError
-------------------------------Captured log setup-------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd80:transport.py:513 RUN ['mkdir', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd80:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['chmod', '777', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd81:transport.py:513 RUN ['chmod', '777', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd81:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN selinuxenabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:513 RUN selinuxenabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd83:transport.py:513 RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd83:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:557 /tmp/tmp.XsGjmyjZwD DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.XsGjmyjZwD'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd85:transport.py:513 RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.XsGjmyjZwD'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd85:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:436 GET /etc/samba/smb.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd86:transport.py:513 RUN ['cat', '/etc/samba/smb.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd86:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /etc/samba/smb.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd87:transport.py:513 RUN ['tee', '/etc/samba/smb.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd87:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd88:transport.py:513 RUN ['systemctl', 'restart', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd88:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd89:transport.py:513 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd89:transport.py:557 PONG from pid 21368 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd89:transport.py:217 Exit code: 0
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.client0.cmd79] Exit code: 0 [ipatests.pytest_ipa.integration] Collecting journal from: master.ipa.test [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd125] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd125] Exit code: 0 [ipatests.pytest_ipa.integration] Collecting journal from: client1.ipa.test [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd82] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd82] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['mkdir', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd80] RUN ['mkdir', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd80] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['chmod', '777', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd81] RUN ['chmod', '777', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd81] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN selinuxenabled [ipatests.pytest_ipa.integration.host.Host.client0.cmd82] RUN selinuxenabled [ipatests.pytest_ipa.integration.host.Host.client0.cmd82] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd83] RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd83] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['mktemp'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd84] RUN ['mktemp'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd84] /tmp/tmp.XsGjmyjZwD [ipatests.pytest_ipa.integration.host.Host.client0.cmd84] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.XsGjmyjZwD'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd85] RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.XsGjmyjZwD'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd85] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] GET /etc/samba/smb.conf [ipatests.pytest_ipa.integration.host.Host.client0.cmd86] RUN ['cat', '/etc/samba/smb.conf'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd86] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] PUT /etc/samba/smb.conf [ipatests.pytest_ipa.integration.host.Host.client0.cmd87] RUN ['tee', '/etc/samba/smb.conf'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd87] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['systemctl', 'restart', 'smb'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd88] RUN ['systemctl', 'restart', 'smb'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd88] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['smbcontrol', 'smbd', 'ping'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd89] RUN ['smbcontrol', 'smbd', 'ping'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd89] PONG from pid 21368 [ipatests.pytest_ipa.integration.host.Host.client0.cmd89] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd83] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd83] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kinit', 'user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd84] RUN ['kinit', 'user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd84] Password for user1@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.client1.cmd84] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd85] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd85] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd86] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd86] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd87] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd87] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user2', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd88] RUN ['su', '-l', 'user2', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd88] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user2', '-c', 'kinit user2'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd89] RUN ['su', '-l', 'user2', '-c', 'kinit user2'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd89] Password for user2@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.client1.cmd89] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd90] RUN ['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd90] mkdir: cannot create directory ‘testdir_user2’: Bad file descriptor [ipatests.pytest_ipa.integration.host.Host.client1.cmd90] Exit code: 1 ipa: ERROR: stderr: mkdir: cannot create directory ‘testdir_user2’: Bad file descriptor
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd83:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd83:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd84:transport.py:513 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd84:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd84:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd85:transport.py:513 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd85:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd86:transport.py:513 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd86:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd87:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd87:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user2', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd88:transport.py:513 RUN ['su', '-l', 'user2', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd88:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user2', '-c', 'kinit user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd89:transport.py:513 RUN ['su', '-l', 'user2', '-c', 'kinit user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd89:transport.py:557 Password for user2@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd89:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd90:transport.py:513 RUN ['su', '-l', 'user2', '-c', 'cd /mnt/smb; mkdir testdir_user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd90:transport.py:557 mkdir: cannot create directory ‘testdir_user2’: Bad file descriptor DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd90:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.client1.cmd90:host.py:199 stderr: mkdir: cannot create directory ‘testdir_user2’: Bad file descriptor INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-rf', 'testdir_user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd90:transport.py:513 RUN ['rm', '-rf', 'testdir_user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd90:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd91:transport.py:513 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd91:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd92:transport.py:513 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd92:transport.py:217 Exit code: 0
Failed test_integration/test_smb.py::TestSMB::test_smb_service_s4u2self 1.10
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2347640fd0>
enable_smb_client_dns_lookup_kdc = <function TestSMB.enable_smb_client_dns_lookup_kdc.<locals>._enable_for at 0x7f234758a820>

def test_smb_service_s4u2self(
self, enable_smb_client_dns_lookup_kdc):
"""Test S4U2Self operation by IPA service
against both AD and IPA users
"""
script = textwrap.dedent("""export KRB5_TRACE=/dev/stderr
kdestroy -A
kinit -kt /etc/samba/samba.keytab {principal}
klist -f
{print_pac} -k /etc/samba/samba.keytab -E impersonate {user_princ}
klist -f
""")
with enable_smb_client_dns_lookup_kdc(self.smbserver):
principal = 'cifs/{hostname}'.format(
hostname=self.smbserver.hostname)
# Copy ipa-print-pac to SMB server
# We can do so because Samba and GSSAPI libraries
# are present there
print_pac = self.master.get_file_contents(
os.path.join(paths.LIBEXEC_IPA_DIR, "ipa-print-pac"))
result = self.smbserver.run_command(['mktemp'])
tmpname = result.stdout_text.strip()
self.smbserver.put_file_contents(tmpname, print_pac)
self.smbserver.run_command(['chmod', 'a+x', tmpname])
for user in (self.ad_user, self.ipa_user1,):
shell_script = script.format(principal=principal,
user_princ=user,
print_pac=tmpname)
> self.smbserver.run_command(['/bin/bash', '-s', '-e'],
stdin_text=shell_script)

test_integration/test_smb.py:376:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host client0.ipa.test (client)>
argv = ['/bin/bash', '-s', '-e'], set_env = True
stdin_text = 'export KRB5_TRACE=/dev/stderr\n kdestroy -A\n kinit -kt /etc/samba/samba.keytab cifs/client0.ipa.test\n... klist -f\n /tmp/tmp.2xCpNCokPc -k /etc/samba/samba.keytab -E impersonate testuser@ad.test\n klist -f\n'
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 '['/bin/bash', '-s', '-e']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:200: CalledProcessError
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700586: SPAKE algorithm result: ED4F97EB90497E3DB9097901C2FAFC7FB8F42CE8E462A2C6332F79ADCB200D74 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700587: SPAKE final transcript hash: E9DAB64A5F3B48757A68C9DD1FF9F9B9225F9F6350D1673A7040301D17A45317 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700588: Sending SPAKE response [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700589: Preauth module spake (151) (real) returned: 0/Success [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700590: Produced preauth for next request: PA-FX-COOKIE (133), PA-SPAKE (151) [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700591: Sending request (447 bytes) to IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700592: Initiating TCP connection to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700593: Sending TCP request to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700594: Received answer (1586 bytes) from stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700595: Terminating TCP connection to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700596: Response was from master KDC [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700597: AS key determined by preauth: aes256-cts/C2B0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700598: Decrypted AS reply; session key is: aes256-cts/9D54 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700599: FAST negotiation: available [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700600: Initializing KCM:0 with default princ cifs/client0.ipa.test@IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700601: Storing cifs/client0.ipa.test@IPA.TEST -> krbtgt/IPA.TEST@IPA.TEST in KCM:0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700602: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: fast_avail: yes [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700603: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/fast_avail/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700604: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: pa_type: 151 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21629] 1597105716.700605: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/pa_type/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Ticket cache: KCM:0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Default principal: cifs/client0.ipa.test@IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Valid starting Expires Service principal [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] 08/11/2020 00:28:35 08/12/2020 00:28:35 krbtgt/IPA.TEST@IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Flags: FIA [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002984: Getting credentials testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST using ccache KCM:0 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002985: Retrieving testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST from KCM:0 with result: -1765328243/Matching credential not found [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002986: Getting initial credentials for testuser\@ad.test@IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002988: Sending unauthenticated request [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002989: Sending request (182 bytes) to IPA.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002990: Initiating TCP connection to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002991: Sending TCP request to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002992: Received answer (136 bytes) from stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002993: Terminating TCP connection to stream 192.168.122.25:88 [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002994: Response was from master KDC [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002995: Received error from KDC: -1765328316/Realm not local to KDC [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002996: Following referral to realm AD.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002998: Sending unauthenticated request [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.002999: Sending request (180 bytes) to AD.TEST [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.003000: Sending DNS URI query for _kerberos.AD.TEST. [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.003001: No URI records found [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.003002: Sending DNS SRV query for _kerberos._udp.AD.TEST. [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.003003: Sending DNS SRV query for _kerberos._tcp.AD.TEST. [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] [21631] 1597105717.003004: No SRV records found [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] gss_acquire_cred_impersonate_name(): Unspecified GSS failure. Minor code may provide more information [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Cannot find KDC for requested realm [ipatests.pytest_ipa.integration.host.Host.client0.cmd107] Exit code: 1 ipa: ERROR: stderr: [21628] 1597105716.599928: Destroying ccache KCM:0:48591 [21628] 1597105716.599929: Destroying ccache KCM:0 [21629] 1597105716.700560: Getting initial credentials for cifs/client0.ipa.test@IPA.TEST [21629] 1597105716.700561: Looked up etypes in keytab: aes128-cts, aes256-cts, rc4-hmac [21629] 1597105716.700563: Sending unauthenticated request [21629] 1597105716.700564: Sending request (188 bytes) to IPA.TEST [21629] 1597105716.700565: Initiating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700566: Sending TCP request to stream 192.168.122.25:88 [21629] 1597105716.700567: Received answer (522 bytes) from stream 192.168.122.25:88 [21629] 1597105716.700568: Terminating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700569: Response was from master KDC [21629] 1597105716.700570: Received error from KDC: -1765328359/Additional pre-authentication required [21629] 1597105716.700573: Preauthenticating using KDC method data [21629] 1597105716.700574: Processing preauth types: PA-PK-AS-REQ (16), PA-FX-FAST (136), PA-ETYPE-INFO2 (19), PA-PKINIT-KX (147), PA-SPAKE (151), PA-ENC-TIMESTAMP (2), PA_AS_FRESHNESS (150), PA-FX-COOKIE (133) [21629] 1597105716.700575: Selected etype info: etype aes256-cts, salt "IPA.TESTcifsclient0.ipa.test", params "" [21629] 1597105716.700576: Received cookie: MIT1\x00\x00\x00\x01Gu\x9c>\x06\xd9\xa0\xde\xb5\xaa\xb2\xf3\x8d\xe0\x1e@"\xb6\x1apK*\xab\xeb\x8c\x0a{\xc2hK\x9c\x0e\x07zI\x9el\xbc7\xbb\xdc\x09rK-\xad\xbe\xc3\xd9B\x0f\xc3\x92\xfch\xc7\xd4\x03\x80\xc1\xd5Wt\xcdiz\xcc@\x97\x093\xe0g\x8a\x8aw\xb1\x84\x90\x93\xf4\x9d\xb6\xd0\xdfM\x15\xed\xcd\xacF\x9c\xf3\xcd\xc8@\xe0\x96\x8a\xf1\xe0\x9d\xb5\xcaDJ\xc9\x0f^\x93\xf5kJ\xd7)\x9d\xd9\x8f|\xb1!\xdc\x108\x0d\x91\x1a\xdar1 [21629] 1597105716.700577: PKINIT client has no configured identity; giving up [21629] 1597105716.700578: Preauth module pkinit (147) (info) returned: 0/Success [21629] 1597105716.700579: PKINIT client received freshness token from KDC [21629] 1597105716.700580: Preauth module pkinit (150) (info) returned: 0/Success [21629] 1597105716.700581: PKINIT client has no configured identity; giving up [21629] 1597105716.700582: Preauth module pkinit (16) (real) returned: 22/Invalid argument [21629] 1597105716.700583: SPAKE challenge received with group 1, pubkey E434604DB84789EBC53BAB1B35436428C35593FBAA9EE48DBA43633D49793F73 [21629] 1597105716.700584: Retrieving cifs/client0.ipa.test@IPA.TEST from FILE:/etc/samba/samba.keytab (vno 0, enctype aes256-cts) with result: 0/Success [21629] 1597105716.700585: SPAKE key generated with pubkey 35C4974077F005DA057ECAA92F1ED481817148B83F872D15CA1E42E872A1886D [21629] 1597105716.700586: SPAKE algorithm result: ED4F97EB90497E3DB9097901C2FAFC7FB8F42CE8E462A2C6332F79ADCB200D74 [21629] 1597105716.700587: SPAKE final transcript hash: E9DAB64A5F3B48757A68C9DD1FF9F9B9225F9F6350D1673A7040301D17A45317 [21629] 1597105716.700588: Sending SPAKE response [21629] 1597105716.700589: Preauth module spake (151) (real) returned: 0/Success [21629] 1597105716.700590: Produced preauth for next request: PA-FX-COOKIE (133), PA-SPAKE (151) [21629] 1597105716.700591: Sending request (447 bytes) to IPA.TEST [21629] 1597105716.700592: Initiating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700593: Sending TCP request to stream 192.168.122.25:88 [21629] 1597105716.700594: Received answer (1586 bytes) from stream 192.168.122.25:88 [21629] 1597105716.700595: Terminating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700596: Response was from master KDC [21629] 1597105716.700597: AS key determined by preauth: aes256-cts/C2B0 [21629] 1597105716.700598: Decrypted AS reply; session key is: aes256-cts/9D54 [21629] 1597105716.700599: FAST negotiation: available [21629] 1597105716.700600: Initializing KCM:0 with default princ cifs/client0.ipa.test@IPA.TEST [21629] 1597105716.700601: Storing cifs/client0.ipa.test@IPA.TEST -> krbtgt/IPA.TEST@IPA.TEST in KCM:0 [21629] 1597105716.700602: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: fast_avail: yes [21629] 1597105716.700603: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/fast_avail/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [21629] 1597105716.700604: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: pa_type: 151 [21629] 1597105716.700605: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/pa_type/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [21631] 1597105717.002984: Getting credentials testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST using ccache KCM:0 [21631] 1597105717.002985: Retrieving testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST from KCM:0 with result: -1765328243/Matching credential not found [21631] 1597105717.002986: Getting initial credentials for testuser\@ad.test@IPA.TEST [21631] 1597105717.002988: Sending unauthenticated request [21631] 1597105717.002989: Sending request (182 bytes) to IPA.TEST [21631] 1597105717.002990: Initiating TCP connection to stream 192.168.122.25:88 [21631] 1597105717.002991: Sending TCP request to stream 192.168.122.25:88 [21631] 1597105717.002992: Received answer (136 bytes) from stream 192.168.122.25:88 [21631] 1597105717.002993: Terminating TCP connection to stream 192.168.122.25:88 [21631] 1597105717.002994: Response was from master KDC [21631] 1597105717.002995: Received error from KDC: -1765328316/Realm not local to KDC [21631] 1597105717.002996: Following referral to realm AD.TEST [21631] 1597105717.002998: Sending unauthenticated request [21631] 1597105717.002999: Sending request (180 bytes) to AD.TEST [21631] 1597105717.003000: Sending DNS URI query for _kerberos.AD.TEST. [21631] 1597105717.003001: No URI records found [21631] 1597105717.003002: Sending DNS SRV query for _kerberos._udp.AD.TEST. [21631] 1597105717.003003: Sending DNS SRV query for _kerberos._tcp.AD.TEST. [21631] 1597105717.003004: No SRV records found gss_acquire_cred_impersonate_name(): Unspecified GSS failure. Minor code may provide more information Cannot find KDC for requested realm
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd100:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd100:transport.py:557 /tmp/tmp.ISTbCoPJaC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd100:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.ISTbCoPJaC'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd101:transport.py:513 RUN ['cp', '--preserve=all', '/etc/krb5.conf', '/tmp/tmp.ISTbCoPJaC'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd101:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:436 GET /etc/krb5.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd102:transport.py:513 RUN ['cat', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd102:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /etc/krb5.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd103:transport.py:513 RUN ['tee', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd103:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:436 GET /usr/libexec/ipa/ipa-print-pac DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:513 RUN ['cat', '/usr/libexec/ipa/ipa-print-pac'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd104:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd104:transport.py:557 /tmp/tmp.2xCpNCokPc DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd104:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /tmp/tmp.2xCpNCokPc DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd105:transport.py:513 RUN ['tee', '/tmp/tmp.2xCpNCokPc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd105:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['chmod', 'a+x', '/tmp/tmp.2xCpNCokPc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd106:transport.py:513 RUN ['chmod', 'a+x', '/tmp/tmp.2xCpNCokPc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd106:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/bin/bash', '-s', '-e'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:513 RUN ['/bin/bash', '-s', '-e'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21628] 1597105716.599928: Destroying ccache KCM:0:48591 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21628] 1597105716.599929: Destroying ccache KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700560: Getting initial credentials for cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700561: Looked up etypes in keytab: aes128-cts, aes256-cts, rc4-hmac DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700563: Sending unauthenticated request DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700564: Sending request (188 bytes) to IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700565: Initiating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700566: Sending TCP request to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700567: Received answer (522 bytes) from stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700568: Terminating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700569: Response was from master KDC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700570: Received error from KDC: -1765328359/Additional pre-authentication required DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700573: Preauthenticating using KDC method data DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700574: Processing preauth types: PA-PK-AS-REQ (16), PA-FX-FAST (136), PA-ETYPE-INFO2 (19), PA-PKINIT-KX (147), PA-SPAKE (151), PA-ENC-TIMESTAMP (2), PA_AS_FRESHNESS (150), PA-FX-COOKIE (133) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700575: Selected etype info: etype aes256-cts, salt "IPA.TESTcifsclient0.ipa.test", params "" DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700576: Received cookie: MIT1\x00\x00\x00\x01Gu\x9c>\x06\xd9\xa0\xde\xb5\xaa\xb2\xf3\x8d\xe0\x1e@"\xb6\x1apK*\xab\xeb\x8c\x0a{\xc2hK\x9c\x0e\x07zI\x9el\xbc7\xbb\xdc\x09rK-\xad\xbe\xc3\xd9B\x0f\xc3\x92\xfch\xc7\xd4\x03\x80\xc1\xd5Wt\xcdiz\xcc@\x97\x093\xe0g\x8a\x8aw\xb1\x84\x90\x93\xf4\x9d\xb6\xd0\xdfM\x15\xed\xcd\xacF\x9c\xf3\xcd\xc8@\xe0\x96\x8a\xf1\xe0\x9d\xb5\xcaDJ\xc9\x0f^\x93\xf5kJ\xd7)\x9d\xd9\x8f|\xb1!\xdc\x108\x0d\x91\x1a\xdar1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700577: PKINIT client has no configured identity; giving up DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700578: Preauth module pkinit (147) (info) returned: 0/Success DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700579: PKINIT client received freshness token from KDC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700580: Preauth module pkinit (150) (info) returned: 0/Success DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700581: PKINIT client has no configured identity; giving up DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700582: Preauth module pkinit (16) (real) returned: 22/Invalid argument DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700583: SPAKE challenge received with group 1, pubkey E434604DB84789EBC53BAB1B35436428C35593FBAA9EE48DBA43633D49793F73 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700584: Retrieving cifs/client0.ipa.test@IPA.TEST from FILE:/etc/samba/samba.keytab (vno 0, enctype aes256-cts) with result: 0/Success DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700585: SPAKE key generated with pubkey 35C4974077F005DA057ECAA92F1ED481817148B83F872D15CA1E42E872A1886D DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700586: SPAKE algorithm result: ED4F97EB90497E3DB9097901C2FAFC7FB8F42CE8E462A2C6332F79ADCB200D74 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700587: SPAKE final transcript hash: E9DAB64A5F3B48757A68C9DD1FF9F9B9225F9F6350D1673A7040301D17A45317 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700588: Sending SPAKE response DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700589: Preauth module spake (151) (real) returned: 0/Success DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700590: Produced preauth for next request: PA-FX-COOKIE (133), PA-SPAKE (151) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700591: Sending request (447 bytes) to IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700592: Initiating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700593: Sending TCP request to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700594: Received answer (1586 bytes) from stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700595: Terminating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700596: Response was from master KDC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700597: AS key determined by preauth: aes256-cts/C2B0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700598: Decrypted AS reply; session key is: aes256-cts/9D54 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700599: FAST negotiation: available DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700600: Initializing KCM:0 with default princ cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700601: Storing cifs/client0.ipa.test@IPA.TEST -> krbtgt/IPA.TEST@IPA.TEST in KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700602: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: fast_avail: yes DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700603: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/fast_avail/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700604: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: pa_type: 151 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21629] 1597105716.700605: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/pa_type/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 Ticket cache: KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 Default principal: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 Valid starting Expires Service principal DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 08/11/2020 00:28:35 08/12/2020 00:28:35 krbtgt/IPA.TEST@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 Flags: FIA DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002984: Getting credentials testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST using ccache KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002985: Retrieving testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST from KCM:0 with result: -1765328243/Matching credential not found DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002986: Getting initial credentials for testuser\@ad.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002988: Sending unauthenticated request DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002989: Sending request (182 bytes) to IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002990: Initiating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002991: Sending TCP request to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002992: Received answer (136 bytes) from stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002993: Terminating TCP connection to stream 192.168.122.25:88 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002994: Response was from master KDC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002995: Received error from KDC: -1765328316/Realm not local to KDC DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002996: Following referral to realm AD.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002998: Sending unauthenticated request DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.002999: Sending request (180 bytes) to AD.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.003000: Sending DNS URI query for _kerberos.AD.TEST. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.003001: No URI records found DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.003002: Sending DNS SRV query for _kerberos._udp.AD.TEST. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.003003: Sending DNS SRV query for _kerberos._tcp.AD.TEST. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 [21631] 1597105717.003004: No SRV records found DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 gss_acquire_cred_impersonate_name(): Unspecified GSS failure. Minor code may provide more information DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:557 Cannot find KDC for requested realm DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd107:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.client0.cmd107:host.py:199 stderr: [21628] 1597105716.599928: Destroying ccache KCM:0:48591 [21628] 1597105716.599929: Destroying ccache KCM:0 [21629] 1597105716.700560: Getting initial credentials for cifs/client0.ipa.test@IPA.TEST [21629] 1597105716.700561: Looked up etypes in keytab: aes128-cts, aes256-cts, rc4-hmac [21629] 1597105716.700563: Sending unauthenticated request [21629] 1597105716.700564: Sending request (188 bytes) to IPA.TEST [21629] 1597105716.700565: Initiating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700566: Sending TCP request to stream 192.168.122.25:88 [21629] 1597105716.700567: Received answer (522 bytes) from stream 192.168.122.25:88 [21629] 1597105716.700568: Terminating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700569: Response was from master KDC [21629] 1597105716.700570: Received error from KDC: -1765328359/Additional pre-authentication required [21629] 1597105716.700573: Preauthenticating using KDC method data [21629] 1597105716.700574: Processing preauth types: PA-PK-AS-REQ (16), PA-FX-FAST (136), PA-ETYPE-INFO2 (19), PA-PKINIT-KX (147), PA-SPAKE (151), PA-ENC-TIMESTAMP (2), PA_AS_FRESHNESS (150), PA-FX-COOKIE (133) [21629] 1597105716.700575: Selected etype info: etype aes256-cts, salt "IPA.TESTcifsclient0.ipa.test", params "" [21629] 1597105716.700576: Received cookie: MIT1\x00\x00\x00\x01Gu\x9c>\x06\xd9\xa0\xde\xb5\xaa\xb2\xf3\x8d\xe0\x1e@"\xb6\x1apK*\xab\xeb\x8c\x0a{\xc2hK\x9c\x0e\x07zI\x9el\xbc7\xbb\xdc\x09rK-\xad\xbe\xc3\xd9B\x0f\xc3\x92\xfch\xc7\xd4\x03\x80\xc1\xd5Wt\xcdiz\xcc@\x97\x093\xe0g\x8a\x8aw\xb1\x84\x90\x93\xf4\x9d\xb6\xd0\xdfM\x15\xed\xcd\xacF\x9c\xf3\xcd\xc8@\xe0\x96\x8a\xf1\xe0\x9d\xb5\xcaDJ\xc9\x0f^\x93\xf5kJ\xd7)\x9d\xd9\x8f|\xb1!\xdc\x108\x0d\x91\x1a\xdar1 [21629] 1597105716.700577: PKINIT client has no configured identity; giving up [21629] 1597105716.700578: Preauth module pkinit (147) (info) returned: 0/Success [21629] 1597105716.700579: PKINIT client received freshness token from KDC [21629] 1597105716.700580: Preauth module pkinit (150) (info) returned: 0/Success [21629] 1597105716.700581: PKINIT client has no configured identity; giving up [21629] 1597105716.700582: Preauth module pkinit (16) (real) returned: 22/Invalid argument [21629] 1597105716.700583: SPAKE challenge received with group 1, pubkey E434604DB84789EBC53BAB1B35436428C35593FBAA9EE48DBA43633D49793F73 [21629] 1597105716.700584: Retrieving cifs/client0.ipa.test@IPA.TEST from FILE:/etc/samba/samba.keytab (vno 0, enctype aes256-cts) with result: 0/Success [21629] 1597105716.700585: SPAKE key generated with pubkey 35C4974077F005DA057ECAA92F1ED481817148B83F872D15CA1E42E872A1886D [21629] 1597105716.700586: SPAKE algorithm result: ED4F97EB90497E3DB9097901C2FAFC7FB8F42CE8E462A2C6332F79ADCB200D74 [21629] 1597105716.700587: SPAKE final transcript hash: E9DAB64A5F3B48757A68C9DD1FF9F9B9225F9F6350D1673A7040301D17A45317 [21629] 1597105716.700588: Sending SPAKE response [21629] 1597105716.700589: Preauth module spake (151) (real) returned: 0/Success [21629] 1597105716.700590: Produced preauth for next request: PA-FX-COOKIE (133), PA-SPAKE (151) [21629] 1597105716.700591: Sending request (447 bytes) to IPA.TEST [21629] 1597105716.700592: Initiating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700593: Sending TCP request to stream 192.168.122.25:88 [21629] 1597105716.700594: Received answer (1586 bytes) from stream 192.168.122.25:88 [21629] 1597105716.700595: Terminating TCP connection to stream 192.168.122.25:88 [21629] 1597105716.700596: Response was from master KDC [21629] 1597105716.700597: AS key determined by preauth: aes256-cts/C2B0 [21629] 1597105716.700598: Decrypted AS reply; session key is: aes256-cts/9D54 [21629] 1597105716.700599: FAST negotiation: available [21629] 1597105716.700600: Initializing KCM:0 with default princ cifs/client0.ipa.test@IPA.TEST [21629] 1597105716.700601: Storing cifs/client0.ipa.test@IPA.TEST -> krbtgt/IPA.TEST@IPA.TEST in KCM:0 [21629] 1597105716.700602: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: fast_avail: yes [21629] 1597105716.700603: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/fast_avail/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [21629] 1597105716.700604: Storing config in KCM:0 for krbtgt/IPA.TEST@IPA.TEST: pa_type: 151 [21629] 1597105716.700605: Storing cifs/client0.ipa.test@IPA.TEST -> krb5_ccache_conf_data/pa_type/krbtgt\/IPA.TEST\@IPA.TEST@X-CACHECONF: in KCM:0 [21631] 1597105717.002984: Getting credentials testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST using ccache KCM:0 [21631] 1597105717.002985: Retrieving testuser\@ad.test@IPA.TEST -> cifs/client0.ipa.test@IPA.TEST from KCM:0 with result: -1765328243/Matching credential not found [21631] 1597105717.002986: Getting initial credentials for testuser\@ad.test@IPA.TEST [21631] 1597105717.002988: Sending unauthenticated request [21631] 1597105717.002989: Sending request (182 bytes) to IPA.TEST [21631] 1597105717.002990: Initiating TCP connection to stream 192.168.122.25:88 [21631] 1597105717.002991: Sending TCP request to stream 192.168.122.25:88 [21631] 1597105717.002992: Received answer (136 bytes) from stream 192.168.122.25:88 [21631] 1597105717.002993: Terminating TCP connection to stream 192.168.122.25:88 [21631] 1597105717.002994: Response was from master KDC [21631] 1597105717.002995: Received error from KDC: -1765328316/Realm not local to KDC [21631] 1597105717.002996: Following referral to realm AD.TEST [21631] 1597105717.002998: Sending unauthenticated request [21631] 1597105717.002999: Sending request (180 bytes) to AD.TEST [21631] 1597105717.003000: Sending DNS URI query for _kerberos.AD.TEST. [21631] 1597105717.003001: No URI records found [21631] 1597105717.003002: Sending DNS SRV query for _kerberos._udp.AD.TEST. [21631] 1597105717.003003: Sending DNS SRV query for _kerberos._tcp.AD.TEST. [21631] 1597105717.003004: No SRV records found gss_acquire_cred_impersonate_name(): Unspecified GSS failure. Minor code may provide more information Cannot find KDC for requested realm INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mv', '/tmp/tmp.ISTbCoPJaC', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd108:transport.py:513 RUN ['mv', '/tmp/tmp.ISTbCoPJaC', '/etc/krb5.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd108:transport.py:217 Exit code: 0
Failed test_integration/test_smb.py::TestSMB::test_samba_reinstall 10.91
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f23475831c0>

def test_samba_reinstall(self):
"""Test samba can be reinstalled.

Test installation after uninstallation and do some sanity checks.
Test for bug https://pagure.io/freeipa/issue/8021
"""
self.test_install_samba()
> self.test_smb_access_for_ipa_user_at_ipa_client()

test_integration/test_smb.py:417:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_integration/test_smb.py:315: in test_smb_access_for_ipa_user_at_ipa_client
self.check_smb_access_at_ipa_client(
test_integration/test_smb.py:305: in check_smb_access_at_ipa_client
self.smb_sanity_check(user, mount_point, samba_share)
test_integration/test_smb.py:149: in smb_sanity_check
run_smb_client(['mkdir', test_dir])
pytest_ipa/integration/tasks.py:1989: in run_command_as_user
return host.run_command(command, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ipatests.pytest_ipa.integration.host.Host client1.ipa.test (client)>
argv = ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1']
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 '['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:200: CalledProcessError
------------------------------Captured stderr call------------------------------
[ipatests.pytest_ipa.integration.host.Host.client0.cmd163] [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] Service pid Machine Connected at Encryption Signing [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] --------------------------------------------------------------------------------------------- [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] No locked files [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] [ipatests.pytest_ipa.integration.host.Host.client0.cmd163] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd123] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd123] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kinit', 'user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd124] RUN ['kinit', 'user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd124] Password for user1@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.client1.cmd124] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd125] RUN ['mkdir', '-p', '/mnt/smb'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd125] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd126] RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd126] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd127] RUN ['kdestroy', '-A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd127] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd128] RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd128] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'kinit user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd129] RUN ['su', '-l', 'user1', '-c', 'kinit user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd129] Password for user1@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.client1.cmd129] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd130] RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd130] mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor [ipatests.pytest_ipa.integration.host.Host.client1.cmd130] Exit code: 1 ipa: ERROR: stderr: mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-samba', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:513 RUN ['ipa-client-samba', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Searching for IPA server... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 IPA server: ['master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Chosen IPA master: ['master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 SMB principal to be created: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 NetBIOS name to be used: CLIENT0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Discovered domains to use: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Domain name: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 NetBIOS name: IPA DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 SID: S-1-5-21-3564104842-4235087330-2604189254 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 ID range: 1130200000 - 1130399999 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Domain name: ad.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 NetBIOS name: AD DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 SID: S-1-5-21-843465834-2368671111-3621585790 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 ID range: 1329400000 - 1329599999 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:557 Samba domain member is configured. Please check configuration at /etc/samba/smb.conf and start smb and winbind services DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:513 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 ● smb.service - Samba SMB Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Docs: man:smbd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Stopped Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Starting Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Started Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:46 client0.ipa.test smbd[21874]: [2020/08/11 00:28:46.143998, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:46 client0.ipa.test smbd[21874]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:48 client0.ipa.test smbd[21874]: [2020/08/11 00:28:48.154710, 0] ../../source3/printing/nt_printing.c:252(nt_printing_init) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:48 client0.ipa.test smbd[21874]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: Stopping Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: smb.service: Succeeded. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: Stopped Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:217 Exit code: 3 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:513 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 ● winbind.service - Samba Winbind Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/winbind.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Docs: man:winbindd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20894]: [2020/08/11 00:28:55.182492, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20900]: [2020/08/11 00:28:55.184189, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20899]: [2020/08/11 00:28:55.184737, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20898]: [2020/08/11 00:28:55.185473, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20899]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20900]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20894]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20898]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test systemd[1]: winbind.service: Succeeded. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:557 Aug 11 00:28:55 client0.ipa.test systemd[1]: Stopped Samba Winbind Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd149:transport.py:217 Exit code: 3 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd150:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd150:transport.py:557 /tmp/tmp.UUanTslKVs DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd150:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /etc/samba/samba.keytab DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd151:transport.py:513 RUN ['ls', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd151:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/klist', '-eK', '-k', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd152:transport.py:513 RUN ['/usr/bin/klist', '-eK', '-k', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd152:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /tmp/tmp.UUanTslKVs.keytab DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd153:transport.py:513 RUN ['ls', '/tmp/tmp.UUanTslKVs.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd153:transport.py:557 ls: cannot access '/tmp/tmp.UUanTslKVs.keytab': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd153:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd154:transport.py:513 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd154:transport.py:557 rkt: No such file or directory while reading keytab "/tmp/tmp.UUanTslKVs.keytab" DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd154:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd155:transport.py:513 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd155:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', '-kt', '/tmp/tmp.UUanTslKVs.keytab', 'CLIENT0$'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd156:transport.py:513 RUN ['kinit', '-kt', '/tmp/tmp.UUanTslKVs.keytab', 'CLIENT0$'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd156:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-f', '/tmp/tmp.UUanTslKVs.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd157:transport.py:513 RUN ['rm', '-f', '/tmp/tmp.UUanTslKVs.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd157:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-f', '/tmp/tmp.UUanTslKVs'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd158:transport.py:513 RUN ['rm', '-f', '/tmp/tmp.UUanTslKVs'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd158:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'enable', '--now', 'smb', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd159:transport.py:513 RUN ['systemctl', 'enable', '--now', 'smb', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd159:transport.py:557 Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd159:transport.py:557 Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /usr/lib/systemd/system/winbind.service. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd159:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd160:transport.py:513 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd160:transport.py:557 PONG from pid 22418 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd160:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:513 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 ● smb.service - Samba SMB Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Active: active (running) since Tue 2020-08-11 00:29:15 UTC; 2s ago DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Docs: man:smbd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Main PID: 22418 (smbd) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Status: "smbd: ready to serve connections..." DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Tasks: 4 (limit: 1395) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Memory: 7.2M DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 CPU: 80ms DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 CGroup: /system.slice/smb.service DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 ├─22418 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 ├─22421 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 ├─22422 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 └─22437 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:15 client0.ipa.test systemd[1]: Starting Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:15 client0.ipa.test systemd[1]: Started Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:15 client0.ipa.test smbd[22418]: [2020/08/11 00:29:15.571588, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:15 client0.ipa.test smbd[22418]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:17 client0.ipa.test smbd[22418]: [2020/08/11 00:29:17.578328, 0] ../../source3/printing/nt_printing.c:252(nt_printing_init) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Aug 11 00:29:17 client0.ipa.test smbd[22418]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:513 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 ● winbind.service - Samba Winbind Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/winbind.service; enabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Active: active (running) since Tue 2020-08-11 00:29:15 UTC; 2s ago DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Docs: man:winbindd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Main PID: 22416 (winbindd) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Status: "winbindd: ready to serve connections..." DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Tasks: 3 (limit: 1395) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Memory: 4.6M DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 CPU: 61ms DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 CGroup: /system.slice/winbind.service DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 ├─22416 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 ├─22419 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 └─22423 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test systemd[1]: Starting Samba Winbind Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test winbindd[22416]: [2020/08/11 00:29:15.451097, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test winbindd[22416]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test systemd[1]: Started Samba Winbind Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test winbindd[22416]: [2020/08/11 00:29:15.467963, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:557 Aug 11 00:29:15 client0.ipa.test winbindd[22416]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbstatus'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:513 RUN ['smbstatus'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 Samba version 4.12.5 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 PID Username Group Machine Protocol Version Encryption Signing DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 ---------------------------------------------------------------------------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 Service pid Machine Connected at Encryption Signing DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 --------------------------------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 No locked files DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd123:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd123:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd124:transport.py:513 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd124:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd124:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd125:transport.py:513 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd125:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd126:transport.py:513 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/homes', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd126:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd127:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd127:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd128:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'kdestroy -A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd128:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'kinit user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd129:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'kinit user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd129:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd129:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd130:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'cd /mnt/smb; mkdir testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd130:transport.py:557 mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd130:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.client1.cmd130:host.py:199 stderr: mkdir: cannot create directory ‘testdir_user1’: Bad file descriptor INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-rf', 'testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd164:transport.py:513 RUN ['rm', '-rf', 'testdir_user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd164:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd131:transport.py:513 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd131:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd132:transport.py:513 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd132:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_samba_uninstallation_without_installation 1.38
-----------------------------Captured stderr setup------------------------------
[ipatests.pytest_ipa.integration.host.Host.client0.cmd18] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN hostname > '/ipatests/backup_hostname' [ipatests.pytest_ipa.integration.host.Host.client0.cmd19] RUN hostname > '/ipatests/backup_hostname' [ipatests.pytest_ipa.integration.host.Host.client0.cmd19] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=475,fd=6)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] udp ESTAB 0 0 192.168.122.221%eth0:68 192.168.122.1:67 users:(("NetworkManager",pid=1967,fd=24)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=475,fd=7)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=542,fd=4)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] tcp ESTAB 0 0 192.168.122.221:22 192.168.122.1:50106 users:(("sshd",pid=2696,fd=5),("sshd",pid=2659,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] tcp ESTAB 0 0 192.168.122.221:22 192.168.122.65:50110 users:(("sshd",pid=19877,fd=5),("sshd",pid=19872,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=542,fd=6)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd20] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd21] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd21] Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess [ipatests.pytest_ipa.integration.host.Host.client0.cmd21] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd49] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd49] Password for admin@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.master.cmd49] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd50] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd50] Allow PTR sync: TRUE [ipatests.pytest_ipa.integration.host.Host.master.cmd50] IPA DNS servers: master.ipa.test [ipatests.pytest_ipa.integration.host.Host.master.cmd50] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd51] RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd51] ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists [ipatests.pytest_ipa.integration.host.Host.master.cmd51] Exit code: 1 ipa: WARNING: ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists [ipatests.pytest_ipa.integration.tasks] Installing client <Host master.ipa.test (master)> on <Host client1.ipa.test (client)> [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['true'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd7] RUN ['true'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd7] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] STAT /ipatests [ipatests.pytest_ipa.integration.host.Host.client1.cmd8] RUN ['ls', '/ipatests'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd8] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] PUT /ipatests/env.sh [ipatests.pytest_ipa.integration.host.Host.client1.cmd9] RUN ['tee', '/ipatests/env.sh'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd9] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] STAT /etc/hostname [ipatests.pytest_ipa.integration.host.Host.client1.cmd10] RUN ['ls', '/etc/hostname'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd10] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] STAT /ipatests/file_backup/etc [ipatests.pytest_ipa.integration.host.Host.client1.cmd11] RUN ['ls', '/ipatests/file_backup/etc'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd11] ls: cannot access '/ipatests/file_backup/etc': No such file or directory [ipatests.pytest_ipa.integration.host.Host.client1.cmd11] Exit code: 2 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] STAT /ipatests/file_backup [ipatests.pytest_ipa.integration.host.Host.client1.cmd12] RUN ['ls', '/ipatests/file_backup'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd12] ls: cannot access '/ipatests/file_backup': No such file or directory [ipatests.pytest_ipa.integration.host.Host.client1.cmd12] Exit code: 2 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] STAT /ipatests [ipatests.pytest_ipa.integration.host.Host.client1.cmd13] RUN ['ls', '/ipatests'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd13] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] MKDIR /ipatests/file_backup [ipatests.pytest_ipa.integration.host.Host.client1.cmd14] RUN ['mkdir', '/ipatests/file_backup'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd14] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] MKDIR /ipatests/file_backup/etc [ipatests.pytest_ipa.integration.host.Host.client1.cmd15] RUN ['mkdir', '/ipatests/file_backup/etc'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd15] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd16] RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd16] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] PUT /etc/hostname [ipatests.pytest_ipa.integration.host.Host.client1.cmd17] RUN ['tee', '/etc/hostname'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd17] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['hostname', 'client1.ipa.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd18] RUN ['hostname', 'client1.ipa.test'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd18] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN hostname > '/ipatests/backup_hostname' [ipatests.pytest_ipa.integration.host.Host.client1.cmd19] RUN hostname > '/ipatests/backup_hostname' [ipatests.pytest_ipa.integration.host.Host.client1.cmd19] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] udp ESTAB 0 0 192.168.122.153%eth0:68 192.168.122.1:67 users:(("NetworkManager",pid=1971,fd=24)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=495,fd=6)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=495,fd=7)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=564,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] tcp ESTAB 0 0 192.168.122.153:22 192.168.122.65:59032 users:(("sshd",pid=19884,fd=5),("sshd",pid=19876,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] tcp ESTAB 0 0 192.168.122.153:22 192.168.122.1:57684 users:(("sshd",pid=2703,fd=5),("sshd",pid=2660,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=564,fd=7)) [ipatests.pytest_ipa.integration.host.Host.client1.cmd20] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd21] RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] [ipatests.pytest_ipa.integration.host.Host.client1.cmd21] Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess [ipatests.pytest_ipa.integration.host.Host.client1.cmd21] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd52] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd52] Password for admin@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.master.cmd52] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd53] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd53] ipa: ERROR: no modifications to be performed [ipatests.pytest_ipa.integration.host.Host.master.cmd53] Exit code: 1 [ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd54] RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd54] ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists [ipatests.pytest_ipa.integration.host.Host.master.cmd54] Exit code: 1 ipa: WARNING: ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists
-------------------------------Captured log setup-------------------------------
INFO ipatests.pytest_ipa.integration:__init__.py:412 {'ad_admin_name': 'Administrator', 'ad_admin_password': 'Secret123', 'admin_name': 'admin', 'admin_password': 'Secret.123', 'dirman_dn': 'cn=Directory Manager', 'dirman_password': 'Secret.123', 'dns_forwarder': '192.168.122.1', 'domain_level': 1, 'domains': [{'hosts': [{'external_hostname': 'client0.ipa.test', 'ip': '192.168.122.221', 'name': 'client0.ipa.test', 'role': 'client'}, {'external_hostname': 'master.ipa.test', 'ip': '192.168.122.25', 'name': 'master.ipa.test', 'role': 'master'}, {'external_hostname': 'client1.ipa.test', 'ip': '192.168.122.153', 'name': 'client1.ipa.test', 'role': 'client'}], 'name': 'ipa.test', 'type': 'IPA'}, {'hosts': [{'external_hostname': 'ad-root.ad.test', 'ip': '192.168.122.239', 'name': 'ad-root.ad.test', 'role': 'ad'}], 'name': 'ad.test', 'type': 'AD'}], 'fips_mode': False, 'ipv6': False, 'log_journal_since': '-1h', 'nis_domain': 'ipatest', 'ntp_server': '1.pool.ntp.org', 'ssh_key_filename': '/root/.ssh/freeipa_pr_ci_insecure', 'ssh_password': None, 'ssh_username': 'root', 'test_dir': '/ipatests'} INFO ipatests.pytest_ipa.integration:__init__.py:418 Preparing host client0.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:46 SSH invocation: ['ssh', '-l', 'root', '-o', 'ControlPath=/tmp/multihost_tests.wyzb0gij/control', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/tmp/multihost_tests.wyzb0gij/known_hosts', '-i', '/root/.ssh/freeipa_pr_ci_insecure', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd1:transport.py:513 RUN ['-o', 'ControlMaster=yes', '/usr/bin/cat'] INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd2:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd2:transport.py:557 load pubkey "/root/.ssh/freeipa_pr_ci_insecure": invalid format DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd2:transport.py:557 bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd3:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd3:transport.py:557 ls: cannot access '/ipatests': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd3:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT / DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd4:transport.py:513 RUN ['ls', '/'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd5:transport.py:513 RUN ['mkdir', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:418 Preparing host master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:46 SSH invocation: ['ssh', '-l', 'root', '-o', 'ControlPath=/tmp/multihost_tests.1nrefx8_/control', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/tmp/multihost_tests.1nrefx8_/known_hosts', '-i', '/root/.ssh/freeipa_pr_ci_insecure', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:513 RUN ['-o', 'ControlMaster=yes', '/usr/bin/cat'] INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 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:557 load pubkey "/root/.ssh/freeipa_pr_ci_insecure": invalid format DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:557 bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:557 ls: cannot access '/ipatests': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT / DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:513 RUN ['ls', '/'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:513 RUN ['mkdir', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:418 Preparing host client1.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:46 SSH invocation: ['ssh', '-l', 'root', '-o', 'ControlPath=/tmp/multihost_tests.carma36w/control', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/tmp/multihost_tests.carma36w/known_hosts', '-i', '/root/.ssh/freeipa_pr_ci_insecure', 'client1.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd1:transport.py:513 RUN ['-o', 'ControlMaster=yes', '/usr/bin/cat'] INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd2:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd2:transport.py:557 load pubkey "/root/.ssh/freeipa_pr_ci_insecure": invalid format DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd2:transport.py:557 bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd3:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd3:transport.py:557 ls: cannot access '/ipatests': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd3:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT / DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd4:transport.py:513 RUN ['ls', '/'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd5:transport.py:513 RUN ['mkdir', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd6:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:418 Preparing host ad-root.ad.test INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:513 RUN ['ls', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:513 RUN ['ls', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:557 ls: cannot access '/ipatests/file_backup/etc': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:513 RUN ['ls', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:557 ls: cannot access '/ipatests/file_backup': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:513 RUN ['mkdir', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:513 RUN ['mkdir', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:427 PUT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:513 RUN ['tee', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:513 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 udp ESTAB 0 0 192.168.122.25%eth0:68 192.168.122.1:67 users:(("NetworkManager",pid=1979,fd=24)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=484,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=484,fd=7)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=564,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.25:22 192.168.122.1:34490 users:(("sshd",pid=2951,fd=5),("sshd",pid=2948,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.25:22 192.168.122.65:41234 users:(("sshd",pid=19922,fd=5),("sshd",pid=19916,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.25:22 192.168.122.1:34290 users:(("sshd",pid=2710,fd=5),("sshd",pid=2679,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:557 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=564,fd=7)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 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.cmd21: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.cmd21:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /bin/systemctl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:513 RUN ['ls', '/bin/systemctl'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:513 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 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.cmd24: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.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['python3', '-c', 'from ipaplatform.osinfo import OSInfo; print(OSInfo().platform)'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:513 RUN ['python3', '-c', 'from ipaplatform.osinfo import OSInfo; print(OSInfo().platform)'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:557 fedora DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:513 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:557 Removed /etc/systemd/system/firewalld.service. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:513 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:513 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U', '--setup-dns', '--forwarder', '192.168.122.1', '--auto-reverse'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:513 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U', '--setup-dns', '--forwarder', '192.168.122.1', '--auto-reverse'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Checking DNS domain ipa.test., please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Checking DNS domain 122.168.192.in-addr.arpa., please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Reverse zone 122.168.192.in-addr.arpa. will be created DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 The log file for this installation can be found in /var/log/ipaserver-install.log DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 This program will set up the FreeIPA Server. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 This includes: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Configure a stand-alone CA (dogtag) for certificate management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Configure the NTP client (chronyd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Create and configure an instance of Directory Server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Create and configure a Kerberos Key Distribution Center (KDC) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Configure Apache (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Configure DNS (bind) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * Configure the KDC to enable PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Warning: skipping DNS resolution of host master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Checking DNS forwarders, please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Using reverse zone(s) 122.168.192.in-addr.arpa. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 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.cmd29:transport.py:557 The IPA Master Server will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 IP address(es): 192.168.122.25 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Domain name: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Realm name: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 The CA will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Subject DN: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Subject base: O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Chaining: self-signed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 BIND DNS server will be configured to serve IPA domain with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Forwarders: 192.168.122.1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Forward policy: only DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Reverse zone(s): 122.168.192.in-addr.arpa. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Disabled p11-kit-proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Warning: IPA was unable to sync time with chrony! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Time synchronization is required for IPA to work correctly DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring directory server (dirsrv). Estimated time: 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/44]: creating directory server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/44]: configure autobind for root DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/44]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/44]: updating configuration in dse.ldif DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/44]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/44]: adding default schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/44]: enabling memberof plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/44]: enabling winsync plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/44]: configure password logging DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/44]: configuring replication version plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [11/44]: enabling IPA enrollment plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [12/44]: configuring uniqueness plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [13/44]: configuring uuid plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [14/44]: configuring modrdn plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [15/44]: configuring DNS plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [16/44]: enabling entryUSN plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [17/44]: configuring lockout plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [18/44]: configuring topology plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [19/44]: creating indices DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [20/44]: enabling referential integrity plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [21/44]: configuring certmap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [22/44]: configure new location for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [23/44]: configure dirsrv ccache and keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [24/44]: enabling SASL mapping fallback DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [25/44]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [26/44]: adding sasl mappings to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [27/44]: adding default layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [28/44]: adding delegation layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [29/44]: creating container for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [30/44]: configuring user private groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [31/44]: configuring netgroups from hostgroups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [32/44]: creating default Sudo bind user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [33/44]: creating default Auto Member layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [34/44]: adding range check plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [35/44]: creating default HBAC rule allow_all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [36/44]: adding entries for topology management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [37/44]: initializing group membership DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [38/44]: adding master entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [39/44]: initializing domain level DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [40/44]: configuring Posix uid/gid generation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [41/44]: adding replication acis DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [42/44]: activating sidgen plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [43/44]: activating extdom plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [44/44]: configuring directory to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/10]: adding kerberos container to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/10]: configuring KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/10]: initialize kerberos container DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/10]: adding default ACIs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/10]: creating a keytab for the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/10]: creating a keytab for the machine DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/10]: adding the password extension to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/10]: creating anonymous principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/10]: starting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/10]: configuring KDC to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/2]: starting kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/2]: configuring kadmin to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring kadmin. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/5]: Making sure custodia container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/5]: Generating ipa-custodia config file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/5]: Generating ipa-custodia keys DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/5]: starting ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/5]: configuring ipa-custodia to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring ipa-custodia. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/31]: configuring certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/31]: Add ipa-pki-wait-running DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/31]: secure AJP connector DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/31]: reindex attributes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/31]: exporting Dogtag certificate store pin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/31]: stopping certificate server instance to update CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/31]: backing up CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/31]: disabling nonces DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/31]: set up CRL publishing DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/31]: enable PKIX certificate path discovery and validation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [11/31]: deploying ACME service DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [12/31]: starting certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [13/31]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [14/31]: requesting RA certificate from CA DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [15/31]: setting audit signing renewal to 2 years DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [16/31]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [17/31]: publishing the CA certificate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [18/31]: adding RA agent as a trusted user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [19/31]: authorizing RA to modify profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [20/31]: authorizing RA to manage lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [21/31]: Ensure lightweight CAs container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [22/31]: configure certificate renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [23/31]: Configure HTTP to proxy connections DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [24/31]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [25/31]: updating IPA configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [26/31]: enabling CA instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [27/31]: migrating certificate profiles to LDAP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [28/31]: importing IPA certificate profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [29/31]: adding default CA ACL DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [30/31]: adding 'ipa' CA entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [31/31]: configuring certmonger renewal for lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring certificate server (pki-tomcatd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring directory server (dirsrv) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/3]: configuring TLS for DS instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/3]: adding CA certificate entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/3]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/2]: starting ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/2]: configuring ipa-otpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring ipa-otpd. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring the web interface (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/21]: stopping httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/21]: backing up ssl.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/21]: disabling nss.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/21]: configuring mod_ssl certificate paths DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/21]: setting mod_ssl protocol list DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/21]: configuring mod_ssl log directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/21]: disabling mod_ssl OCSP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/21]: adding URL rewriting rules DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/21]: configuring httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/21]: setting up httpd keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [11/21]: configuring Gssproxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [12/21]: setting up ssl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [13/21]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [14/21]: publish CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [15/21]: clean up any existing httpd ccaches DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [16/21]: configuring SELinux for httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [17/21]: create KDC proxy config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [18/21]: enable KDC proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [19/21]: starting httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [20/21]: configuring httpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [21/21]: enabling oddjobd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring the web interface (httpd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/1]: installing X509 Certificate for PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Full PKINIT configuration did not succeed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 PKINIT certificate request failed: Certificate issuance failed (TIMEOUT: None) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Failed to configure PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 The setup will only install bits essential to the server functionality DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 You can enable PKINIT after the setup completed using 'ipa-pkinit-manage' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Applying LDAP updates DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Upgrading IPA:. Estimated time: 1 minute 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/11]: saving configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/11]: disabling listeners DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/11]: enabling DS global lock DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/11]: disabling Schema Compat DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/11]: updating schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/11]: upgrading server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Error retrieving: cn=changelog5,cn=config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/11]: restoring configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [11/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Restarting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 dnssec-validation yes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring DNS (named) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/12]: generating rndc key file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/12]: adding DNS container DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/12]: setting up our zone DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/12]: setting up reverse zone DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/12]: setting up our own record DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/12]: setting up records for other masters DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/12]: adding NS record to the zones DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [8/12]: setting up kerberos principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [9/12]: setting up named.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 created new /etc/named.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 created named user config '/etc/named/ipa-ext.conf' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 created named user config '/etc/named/ipa-options-ext.conf' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [10/12]: setting up server configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [11/12]: configuring named to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [12/12]: changing resolv.conf to point to ourselves DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring DNS (named). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Restarting the web server to pick up resolv.conf changes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring DNS key synchronization service (ipa-dnskeysyncd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [1/7]: checking status DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [2/7]: setting up bind-dyndb-ldap working directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [3/7]: setting up kerberos principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [4/7]: setting up SoftHSM DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [5/7]: adding DNSSEC containers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [6/7]: creating replica keys DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 [7/7]: configuring ipa-dnskeysyncd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Done configuring DNS key synchronization service (ipa-dnskeysyncd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Restarting ipa-dnskeysyncd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Restarting named DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Updating DNS system records DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring client side components DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Using existing certificate '/etc/ipa/ca.crt'. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Client hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configured /etc/ssh/sshd_config.d/04-ipa.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 The ipa-server-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Setup complete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Next steps: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 1. You must make sure these network ports are open: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 TCP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 80, 443: HTTP/HTTPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 389, 636: LDAP/LDAPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 53: bind DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 UDP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 53: bind DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 * 123: ntp DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 2. You can now obtain a kerberos ticket using the command: 'kinit admin' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 This ticket will allow you to use the IPA tools (e.g., ipa user-add) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 and the web user interface. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 Be sure to back up the CA certificates stored in /root/cacert.p12 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 These files are required to create replicas. The password for these DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:557 files is the Directory Manager password DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:557 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:557 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:247 Set LDAP debug level INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:557 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:263 Set LDAP audit log INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:557 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /bin/systemctl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:513 RUN ['ls', '/bin/systemctl'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:557 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:557 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:557 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnszone-mod', 'ipa.test', '--default-ttl', '1', '--ttl', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:513 RUN ['ipa', 'dnszone-mod', 'ipa.test', '--default-ttl', '1', '--ttl', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 ipa: WARNING: Service named-pkcs11.service requires restart on IPA server <all IPA DNS servers> to apply configuration changes. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Zone name: ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Active zone: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Authoritative nameserver: master.ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Administrator e-mail address: hostmaster.ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 SOA serial: 1597105349 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 SOA refresh: 3600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 SOA retry: 900 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 SOA expire: 1209600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 SOA minimum: 3600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Time to live: 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Default time to live: 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 BIND update policy: grant IPA.TEST krb5-self * A; grant IPA.TEST krb5-self * AAAA; grant IPA.TEST krb5-self * SSHFP; DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Dynamic update: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Allow query: any; DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:557 Allow transfer: none; DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:557 ipa: ERROR: client0.ipa.test.: DNS resource record not found DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client0.ipa.test.', '--a-rec', '192.168.122.221'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd45:transport.py:513 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client0.ipa.test.', '--a-rec', '192.168.122.221'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd45:transport.py:557 Record name: client0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd45:transport.py:557 A record: 192.168.122.221 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd45:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'master.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd46:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'master.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd46:transport.py:557 Record name: master DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd46:transport.py:557 A record: 192.168.122.25 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd46:transport.py:557 SSHFP record: 4 1 D0C2FBB2691D2F8C6D7E78754EA064676F543854, 4 2 05DF385203072370868DC1BF565141160B4283E841B6EA8825F69296 C117F50E, 3 1 E162A7B4ADECEB04D1CE36C124D88FCE7690237F, 3 2 65320EB46098C1AC8A34E75365F27CC89DB7958B14A358A73DD06536 6C9DFC56, 1 1 ED2126EC463A740F015172EBD5D64390F0F0D12D, 1 2 3DB37C3F0470DEE6429CAD00774EFF751618A3C08CDE9855600461F9 82B07A48 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd46:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client1.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd47:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client1.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd47:transport.py:557 ipa: ERROR: client1.ipa.test.: DNS resource record not found DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd47:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client1.ipa.test.', '--a-rec', '192.168.122.153'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd48:transport.py:513 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client1.ipa.test.', '--a-rec', '192.168.122.153'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd48:transport.py:557 Record name: client1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd48:transport.py:557 A record: 192.168.122.153 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd48:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:1299 Installing client <Host master.ipa.test (master)> on <Host client0.ipa.test (client)> INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd7:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd7:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd9:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd10:transport.py:513 RUN ['ls', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd11:transport.py:513 RUN ['ls', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd11:transport.py:557 ls: cannot access '/ipatests/file_backup/etc': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd11:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:513 RUN ['ls', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:557 ls: cannot access '/ipatests/file_backup': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd13:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd14:transport.py:513 RUN ['mkdir', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd15:transport.py:513 RUN ['mkdir', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd16:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd17:transport.py:513 RUN ['tee', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['hostname', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd18:transport.py:513 RUN ['hostname', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd19:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=475,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 udp ESTAB 0 0 192.168.122.221%eth0:68 192.168.122.1:67 users:(("NetworkManager",pid=1967,fd=24)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=475,fd=7)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=542,fd=4)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.221:22 192.168.122.1:50106 users:(("sshd",pid=2696,fd=5),("sshd",pid=2659,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.221:22 192.168.122.65:50110 users:(("sshd",pid=19877,fd=5),("sshd",pid=19872,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:557 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=542,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 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.client0.cmd21: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.client0.cmd21:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:513 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:557 Allow PTR sync: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:557 IPA DNS servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:513 RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:557 ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:217 Exit code: 1 WARNING ipatests.pytest_ipa.integration.tasks:tasks.py:93 ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U', '--mkhomedir'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:513 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U', '--mkhomedir'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Client hostname: client0.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 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.client0.cmd22:transport.py:557 Successfully retrieved CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Subject: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Issuer: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Valid From: 2020-08-11 00:11:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Valid Until: 2040-08-11 00:11:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Enrolled in IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Created /etc/ipa/default.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured /etc/krb5.conf for IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Hostname (client0.ipa.test) does not have A/AAAA record. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Failed to update DNS records. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Missing A/AAAA record(s) for host client0.ipa.test: 192.168.122.221. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Missing reverse record(s) for address(es): 192.168.122.221. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Could not update DNS SSHFP records. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configured /etc/ssh/sshd_config.d/04-ipa.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:557 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd23:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd24:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /bin/systemctl DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd25:transport.py:513 RUN ['ls', '/bin/systemctl'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd25:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd26:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd26:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:557 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd27:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd28:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd28:transport.py:557 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd28:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd29:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd29:transport.py:557 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd29:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd30:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd30:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:1299 Installing client <Host master.ipa.test (master)> on <Host client1.ipa.test (client)> INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd7:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd7:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd8:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:427 PUT /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd9:transport.py:513 RUN ['tee', '/ipatests/env.sh'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd10:transport.py:513 RUN ['ls', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd11:transport.py:513 RUN ['ls', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd11:transport.py:557 ls: cannot access '/ipatests/file_backup/etc': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd11:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd12:transport.py:513 RUN ['ls', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd12:transport.py:557 ls: cannot access '/ipatests/file_backup': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd12:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /ipatests DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd13:transport.py:513 RUN ['ls', '/ipatests'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd14:transport.py:513 RUN ['mkdir', '/ipatests/file_backup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd15:transport.py:513 RUN ['mkdir', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd16:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:427 PUT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd17:transport.py:513 RUN ['tee', '/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['hostname', 'client1.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd18:transport.py:513 RUN ['hostname', 'client1.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd19:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 udp ESTAB 0 0 192.168.122.153%eth0:68 192.168.122.1:67 users:(("NetworkManager",pid=1971,fd=24)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=495,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=495,fd=7)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=564,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.153:22 192.168.122.65:59032 users:(("sshd",pid=19884,fd=5),("sshd",pid=19876,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 tcp ESTAB 0 0 192.168.122.153:22 192.168.122.1:57684 users:(("sshd",pid=2703,fd=5),("sshd",pid=2660,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:557 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=564,fd=7)) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 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.client1.cmd21: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.client1.cmd21:transport.py:557 Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd53:transport.py:513 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd53:transport.py:557 ipa: ERROR: no modifications to be performed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd53:transport.py:217 Exit code: 1 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd54:transport.py:513 RUN ['ipa', 'dnszone-add', '122.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd54:transport.py:557 ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd54:transport.py:217 Exit code: 1 WARNING ipatests.pytest_ipa.integration.tasks:tasks.py:93 ipa: ERROR: DNS zone with name "122.168.192.in-addr.arpa." already exists INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U', '--mkhomedir'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:513 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U', '--mkhomedir'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Client hostname: client1.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 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.client1.cmd22:transport.py:557 Successfully retrieved CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Subject: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Issuer: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Valid From: 2020-08-11 00:11:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Valid Until: 2040-08-11 00:11:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Enrolled in IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Created /etc/ipa/default.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured /etc/krb5.conf for IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Hostname (client1.ipa.test) does not have A/AAAA record. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Failed to update DNS records. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Missing A/AAAA record(s) for host client1.ipa.test: 192.168.122.153. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Missing reverse record(s) for address(es): 192.168.122.153. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Could not update DNS SSHFP records. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configured /etc/ssh/sshd_config.d/04-ipa.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:557 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd23:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd24:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:415 STAT /bin/systemctl DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd25:transport.py:513 RUN ['ls', '/bin/systemctl'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd25:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd26:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd26:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:557 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd27:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd28:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd28:transport.py:557 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd28:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd29:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd29:transport.py:557 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd29:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd30:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd30:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd31:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd31:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd31:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:427 PUT /etc/resolv.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd32:transport.py:513 RUN ['tee', '/etc/resolv.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd32:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd55:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd55:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd55:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-adtrust-install', '-U', '--enable-compat', '--netbios-name', 'IPA', '-a', 'Secret.123', '--add-sids'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:513 RUN ['ipa-adtrust-install', '-U', '--enable-compat', '--netbios-name', 'IPA', '-a', 'Secret.123', '--add-sids'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 The log file for this installation can be found in /var/log/ipaserver-install.log DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 This program will setup components needed to establish trust to AD domains for DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 the FreeIPA Server. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 This includes: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * Configure Samba DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * Add trust related objects to FreeIPA LDAP server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 To accept the default shown in brackets, press the Enter key. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 WARNING: The smb.conf already exists. Running ipa-adtrust-install will break your existing samba configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 Configuring CIFS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [1/25]: validate server hostname DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [2/25]: stopping smbd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [3/25]: creating samba domain object DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [4/25]: retrieve local idmap range DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [5/25]: writing samba config file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [6/25]: creating samba config registry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [7/25]: adding cifs Kerberos principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [8/25]: adding cifs and host Kerberos principals to the adtrust agents group DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [9/25]: check for cifs services defined on other replicas DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [10/25]: adding cifs principal to S4U2Proxy targets DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [11/25]: adding admin(group) SIDs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [12/25]: adding RID bases DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [13/25]: updating Kerberos config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 'dns_lookup_kdc' already set to 'true', nothing to do. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [14/25]: activating CLDAP plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [15/25]: activating sidgen task DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [16/25]: map BUILTIN\Guests to nobody group DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [17/25]: configuring smbd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [18/25]: enabling trusted domains support for older clients via Schema Compatibility plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [19/25]: restarting Directory Server to take MS PAC and LDAP plugins changes into account DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [20/25]: adding fallback group DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [21/25]: adding Default Trust View DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [22/25]: setting SELinux booleans DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [23/25]: starting CIFS services DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [24/25]: adding SIDs to existing users and groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 This step may take considerable amount of time, please wait.. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 [25/25]: restarting smbd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 Done configuring CIFS. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 ============================================================================= DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 Setup complete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 You must make sure these network ports are open: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 TCP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 135: epmap DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 138: netbios-dgm DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 139: netbios-ssn DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 445: microsoft-ds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 1024..1300: epmap listener range DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 3268: msft-gc DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 UDP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 138: netbios-dgm DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 139: netbios-ssn DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 389: (C)LDAP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 * 445: microsoft-ds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 See the ipa-adtrust-install(1) man page for more details DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 ============================================================================= DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd56:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['python3', '-c', 'from ipaplatform.osinfo import OSInfo; print(OSInfo().platform)'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd57:transport.py:513 RUN ['python3', '-c', 'from ipaplatform.osinfo import OSInfo; print(OSInfo().platform)'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd57:transport.py:557 fedora DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd57:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd58:transport.py:513 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd58:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd59:transport.py:513 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd59:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd60:transport.py:513 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd60:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['firewall-cmd', '--add-service', 'freeipa-trust'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-trust'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:557 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['firewall-cmd', '--add-service', 'freeipa-trust', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:513 RUN ['firewall-cmd', '--add-service', 'freeipa-trust', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:557 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'named-pkcs11.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:513 RUN ['systemctl', 'restart', 'named-pkcs11.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['dig', 'SRV', '+short', '@localhost', '_ldap._tcp.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd64:transport.py:513 RUN ['dig', 'SRV', '+short', '@localhost', '_ldap._tcp.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd64:transport.py:557 0 100 389 master.ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd64:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd65:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd65:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd65:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /etc/named/ipa-options-ext.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd66:transport.py:513 RUN ['ls', '/etc/named/ipa-options-ext.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd66:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup/etc/named DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd67:transport.py:513 RUN ['ls', '/ipatests/file_backup/etc/named'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd67:transport.py:557 ls: cannot access '/ipatests/file_backup/etc/named': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd67:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:513 RUN ['ls', '/ipatests/file_backup/etc'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:422 MKDIR /ipatests/file_backup/etc/named DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:513 RUN ['mkdir', '/ipatests/file_backup/etc/named'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '-af', '/etc/named/ipa-options-ext.conf', '/ipatests/file_backup/etc/named/ipa-options-ext.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:513 RUN ['cp', '-af', '/etc/named/ipa-options-ext.conf', '/ipatests/file_backup/etc/named/ipa-options-ext.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:436 GET /etc/named/ipa-options-ext.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd71:transport.py:513 RUN ['cat', '/etc/named/ipa-options-ext.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd71:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:427 PUT /etc/named/ipa-options-ext.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd72:transport.py:513 RUN ['tee', '/etc/named/ipa-options-ext.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd72:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'named-pkcs11.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd73:transport.py:513 RUN ['systemctl', 'restart', 'named-pkcs11.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd73:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'dnsforwardzone-add', 'ad.test', '--forwarder', '192.168.122.239', '--forward-policy', 'only'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:513 RUN ['ipa', 'dnsforwardzone-add', 'ad.test', '--forwarder', '192.168.122.239', '--forward-policy', 'only'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 Server will check DNS forwarder(s). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 This may take some time, please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 Zone name: ad.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 Active zone: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 Zone forwarders: 192.168.122.239 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:557 Forward policy: only DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd74:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.IPAOpenSSHTransport:transport.py:46 SSH invocation: ['sshpass', '-f/tmp/multihost_tests.mc2by_k2/password', 'ssh', '-l', 'Administrator', '-o', 'ControlPath=/tmp/multihost_tests.mc2by_k2/control', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/tmp/multihost_tests.mc2by_k2/known_hosts', 'ad-root.ad.test'] DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd1:transport.py:513 RUN ['-o', 'ControlMaster=yes', '/usr/bin/cat'] INFO ipatests.pytest_ipa.integration.host.WinHost.ad-root.IPAOpenSSHTransport:transport.py:391 RUN ['dnscmd', '/zoneadd', 'ipa.test', '/Forwarder', '192.168.122.25'] DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:513 RUN ['dnscmd', '/zoneadd', 'ipa.test', '/Forwarder', '192.168.122.25'] DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 Could not chdir to home directory /home/Administrator: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 bash: line 1: cd: /home/Administrator: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 bash: line 2: /home/Administrator/env.sh: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 DNS Server . created zone ipa.test: DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 Command completed successfully. DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', '-kt', '/var/lib/ipa/gssproxy/http.keytab', 'HTTP/master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:513 RUN ['kinit', '-kt', '/var/lib/ipa/gssproxy/http.keytab', 'HTTP/master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'krb5kdc.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:513 RUN ['systemctl', 'restart', 'krb5kdc.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd77:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd77:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd78:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd78:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd78:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['klist'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:513 RUN ['klist'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:557 Ticket cache: KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:557 Default principal: admin@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:557 Valid starting Expires Service principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:557 08/11/2020 00:25:39 08/12/2020 00:25:39 krbtgt/IPA.TEST@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd79:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'all', 'debug', '100'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd80:transport.py:513 RUN ['smbcontrol', 'all', 'debug', '100'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd80:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'trust-add', '--type', 'ad', 'ad.test', '--two-way=true', '--admin', 'Administrator', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:513 RUN ['ipa', 'trust-add', '--type', 'ad', 'ad.test', '--two-way=true', '--admin', 'Administrator', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 ------------------------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Added Active Directory trust for realm "ad.test" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 ------------------------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Realm name: ad.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Domain NetBIOS name: AD DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Domain Security Identifier: S-1-5-21-843465834-2368671111-3621585790 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Trust direction: Two-way trust DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Trust type: Active Directory domain DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:557 Trust status: Established and verified DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd81:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'all', 'debug', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd82:transport.py:513 RUN ['smbcontrol', 'all', 'debug', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd82:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:415 STAT /bin/systemctl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd83:transport.py:513 RUN ['ls', '/bin/systemctl'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd83:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:557 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:557 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd87:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd87:transport.py:557 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd87:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd88:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd88:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'krb5kdc.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd89:transport.py:513 RUN ['systemctl', 'restart', 'krb5kdc.service'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd89:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd90:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd90:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd90:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'user-add', 'user1', '--first', 'test', '--last', 'user', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:513 RUN ['ipa', 'user-add', 'user1', '--first', 'test', '--last', 'user', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 ------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Added user "user1" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 ------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 User login: user1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 First name: test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Last name: user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Full name: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Display name: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Initials: tu DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Home directory: /home/user1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 GECOS: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Login shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Principal name: user1@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Principal alias: user1@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 User password expiration: 20200811002716Z DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Email address: user1@ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 UID: 1130200004 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 GID: 1130200004 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Password: True DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Member of groups: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:557 Kerberos keys available: True DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd91:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:513 RUN ['kinit', 'user1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:557 Password for user1@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:557 Password expired. You must change it now. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:557 Enter new password: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:557 Enter it again: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd92:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd93:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd93:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'user-add', 'user2', '--first', 'test', '--last', 'user', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:513 RUN ['ipa', 'user-add', 'user2', '--first', 'test', '--last', 'user', '--password'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 ------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Added user "user2" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 ------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 User login: user2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 First name: test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Last name: user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Full name: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Display name: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Initials: tu DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Home directory: /home/user2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 GECOS: test user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Login shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Principal name: user2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Principal alias: user2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 User password expiration: 20200811002718Z DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Email address: user2@ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 UID: 1130200005 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 GID: 1130200005 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Password: True DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Member of groups: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:557 Kerberos keys available: True DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:513 RUN ['kinit', 'user2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:557 Password for user2@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:557 Password expired. You must change it now. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:557 Enter new password: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:557 Enter it again: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd96:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd97:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd97:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user1', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:513 RUN ['su', '-l', 'user1', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 File: . DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Size: 4096 Blocks: 8 IO Block: 4096 directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Device: fc01h/64513d Inode: 2497526 Links: 3 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Access: (0755/drwxr-xr-x) Uid: (1130200004/ user1) Gid: (1130200004/ user1) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Context: unconfined_u:object_r:user_home_dir_t:s0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Access: 2020-08-11 00:27:21.879518929 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Modify: 2020-08-11 00:27:21.886518953 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Change: 2020-08-11 00:27:21.887518956 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:557 Birth: - DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'user2', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:513 RUN ['su', '-l', 'user2', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 File: . DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Size: 4096 Blocks: 8 IO Block: 4096 directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Device: fc01h/64513d Inode: 2497553 Links: 3 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Access: (0755/drwxr-xr-x) Uid: (1130200005/ user2) Gid: (1130200005/ user2) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Context: unconfined_u:object_r:user_home_dir_t:s0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Access: 2020-08-11 00:27:23.187523248 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Modify: 2020-08-11 00:27:23.203523301 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Change: 2020-08-11 00:27:23.203523301 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:557 Birth: - DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['su', '-l', 'testuser@ad.test', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:513 RUN ['su', '-l', 'testuser@ad.test', '-c', 'stat .'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 File: . DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Size: 4096 Blocks: 8 IO Block: 4096 directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Device: fc01h/64513d Inode: 272626 Links: 3 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Access: (0755/drwxr-xr-x) Uid: (1329401106/testuser@ad.test) Gid: (1329401106/testuser@ad.test) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Context: unconfined_u:object_r:user_home_t:s0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Access: 2020-08-11 00:27:24.694528224 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Modify: 2020-08-11 00:27:24.707528267 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Change: 2020-08-11 00:27:24.707528267 +0000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:557 Birth: - DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:217 Exit code: 0
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:513 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:557 Samba domain member is not configured yet DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_install_samba 16.85
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-samba', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:513 RUN ['ipa-client-samba', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Searching for IPA server... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 IPA server: ['master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Chosen IPA master: ['master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 SMB principal to be created: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 NetBIOS name to be used: CLIENT0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Discovered domains to use: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Domain name: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 NetBIOS name: IPA DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 SID: S-1-5-21-3564104842-4235087330-2604189254 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 ID range: 1130200000 - 1130399999 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Domain name: ad.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 NetBIOS name: AD DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 SID: S-1-5-21-843465834-2368671111-3621585790 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 ID range: 1329400000 - 1329599999 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:557 Samba domain member is configured. Please check configuration at /etc/samba/smb.conf and start smb and winbind services DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd41:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:513 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 ● smb.service - Samba SMB Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 Docs: man:smbd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd42:transport.py:217 Exit code: 3 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:513 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 ● winbind.service - Samba Winbind Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/winbind.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 Docs: man:winbindd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd43:transport.py:217 Exit code: 3 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd44:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd44:transport.py:557 /tmp/tmp.oVvdD1eMJ3 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd44:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /etc/samba/samba.keytab DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd45:transport.py:513 RUN ['ls', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd45:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/klist', '-eK', '-k', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd46:transport.py:513 RUN ['/usr/bin/klist', '-eK', '-k', '/etc/samba/samba.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd46:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:415 STAT /tmp/tmp.oVvdD1eMJ3.keytab DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd47:transport.py:513 RUN ['ls', '/tmp/tmp.oVvdD1eMJ3.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd47:transport.py:557 ls: cannot access '/tmp/tmp.oVvdD1eMJ3.keytab': No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd47:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd48:transport.py:513 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd48:transport.py:557 rkt: No such file or directory while reading keytab "/tmp/tmp.oVvdD1eMJ3.keytab" DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd48:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd49:transport.py:513 RUN ['/usr/bin/ktutil'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd49:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', '-kt', '/tmp/tmp.oVvdD1eMJ3.keytab', 'CLIENT0$'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd50:transport.py:513 RUN ['kinit', '-kt', '/tmp/tmp.oVvdD1eMJ3.keytab', 'CLIENT0$'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd50:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-f', '/tmp/tmp.oVvdD1eMJ3.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd51:transport.py:513 RUN ['rm', '-f', '/tmp/tmp.oVvdD1eMJ3.keytab'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd51:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['rm', '-f', '/tmp/tmp.oVvdD1eMJ3'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd52:transport.py:513 RUN ['rm', '-f', '/tmp/tmp.oVvdD1eMJ3'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd52:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'enable', '--now', 'smb', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd53:transport.py:513 RUN ['systemctl', 'enable', '--now', 'smb', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd53:transport.py:557 Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd53:transport.py:557 Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /usr/lib/systemd/system/winbind.service. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd53:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd54:transport.py:513 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd54:transport.py:557 PONG from pid 20893 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd54:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:513 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 ● smb.service - Samba SMB Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Active: active (running) since Tue 2020-08-11 00:27:48 UTC; 2s ago DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Docs: man:smbd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Main PID: 20893 (smbd) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Status: "smbd: ready to serve connections..." DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Tasks: 4 (limit: 1395) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Memory: 11.9M DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 CPU: 103ms DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 CGroup: /system.slice/smb.service DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 ├─20893 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 ├─20896 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 ├─20897 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 └─20916 /usr/sbin/smbd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:44 client0.ipa.test systemd[1]: Starting Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:48 client0.ipa.test systemd[1]: Started Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:48 client0.ipa.test smbd[20893]: [2020/08/11 00:27:48.037654, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:48 client0.ipa.test smbd[20893]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:50 client0.ipa.test smbd[20893]: [2020/08/11 00:27:50.046152, 0] ../../source3/printing/nt_printing.c:252(nt_printing_init) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:557 Aug 11 00:27:50 client0.ipa.test smbd[20893]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd55:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:513 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ● winbind.service - Samba Winbind Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/winbind.service; enabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Active: active (running) since Tue 2020-08-11 00:27:44 UTC; 5s ago DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Docs: man:winbindd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Main PID: 20891 (winbindd) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Status: "winbindd: ready to serve connections..." DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Tasks: 6 (limit: 1395) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Memory: 11.9M DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 CPU: 104ms DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 CGroup: /system.slice/winbind.service DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ├─20891 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ├─20894 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ├─20898 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ├─20899 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 ├─20900 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 └─20915 /usr/sbin/winbindd --foreground --no-process-group DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test systemd[1]: Starting Samba Winbind Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test winbindd[20891]: [2020/08/11 00:27:44.894949, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test winbindd[20891]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test systemd[1]: Started Samba Winbind Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test winbindd[20891]: [2020/08/11 00:27:44.917456, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:557 Aug 11 00:27:44 client0.ipa.test winbindd[20891]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd56:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbstatus'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:513 RUN ['smbstatus'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 Samba version 4.12.5 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 PID Username Group Machine Protocol Version Encryption Signing DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 ---------------------------------------------------------------------------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 Service pid Machine Connected at Encryption Signing DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 --------------------------------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 No locked files DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_samba_service_listed 2.53
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd108:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd108:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd108:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'service-show', '--raw', 'cifs/client0.ipa.test@IPA.TEST'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:513 RUN ['ipa', 'service-show', '--raw', 'cifs/client0.ipa.test@IPA.TEST'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:557 krbcanonicalname: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:557 krbprincipalname: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:557 krbprincipalname: CLIENT0$@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:557 has_keytab: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:557 managedby: fqdn=client0.ipa.test,cn=computers,cn=accounts,dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd109:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'service-find', '--raw', 'cifs/client0.ipa.test@IPA.TEST'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:513 RUN ['ipa', 'service-find', '--raw', 'cifs/client0.ipa.test@IPA.TEST'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 ----------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 1 service matched DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 ----------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 krbcanonicalname: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 krbprincipalname: cifs/client0.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 krbprincipalname: CLIENT0$@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 has_keytab: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 Number of entries returned 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_smb_mount_fails_without_kerberos_ticket 0.35
-------------------------------Captured log setup-------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd114:transport.py:513 RUN ['mkdir', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd114:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['chmod', '777', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd115:transport.py:513 RUN ['chmod', '777', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd115:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN selinuxenabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:513 RUN selinuxenabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd117:transport.py:513 RUN ['chcon', '-t', 'samba_share_t', '/srv/samba_shared'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd117:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:513 RUN ['mktemp'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:557 /tmp/tmp.oFz2ibzjtY DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.oFz2ibzjtY'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd119:transport.py:513 RUN ['cp', '--preserve=all', '/etc/samba/smb.conf', '/tmp/tmp.oFz2ibzjtY'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd119:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:436 GET /etc/samba/smb.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd120:transport.py:513 RUN ['cat', '/etc/samba/smb.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd120:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:427 PUT /etc/samba/smb.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd121:transport.py:513 RUN ['tee', '/etc/samba/smb.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd121:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'restart', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:513 RUN ['systemctl', 'restart', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:513 RUN ['smbcontrol', 'smbd', 'ping'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:557 PONG from pid 21828 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:217 Exit code: 0
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd103:transport.py:513 RUN ['kdestroy', '-A'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd103:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd104:transport.py:513 RUN ['mkdir', '-p', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd104:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd105:transport.py:513 RUN ['mount', '-t', 'cifs', '//client0.ipa.test/shared', '/mnt/smb', '-o', 'sec=krb5i,multiuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd105:transport.py:557 mount error(2): No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd105:transport.py:557 Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd105:transport.py:217 Exit code: 32 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd106:transport.py:513 RUN ['umount', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd106:transport.py:557 umount: /mnt/smb: not mounted. DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd106:transport.py:217 Exit code: 32 INFO ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport:transport.py:391 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd107:transport.py:513 RUN ['rmdir', '/mnt/smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client1.cmd107:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_uninstall_samba 5.11
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd133:transport.py:513 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd133:transport.py:557 Samba configuration is reverted. However, Samba databases were fully cleaned and old configuration file will not be usable anymore. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd133:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:513 RUN ['systemctl', 'status', 'winbind'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 ● winbind.service - Samba Winbind Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/winbind.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Docs: man:winbindd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20894]: [2020/08/11 00:28:55.182492, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20900]: [2020/08/11 00:28:55.184189, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20899]: [2020/08/11 00:28:55.184737, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20898]: [2020/08/11 00:28:55.185473, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20899]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20900]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20894]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test winbindd[20898]: Got sig[15] terminate (is_parent=0) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test systemd[1]: winbind.service: Succeeded. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:557 Aug 11 00:28:55 client0.ipa.test systemd[1]: Stopped Samba Winbind Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd134:transport.py:217 Exit code: 3 INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:513 RUN ['systemctl', 'status', 'smb'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 ● smb.service - Samba SMB Daemon DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Active: inactive (dead) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Docs: man:smbd(8) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 man:samba(7) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 man:smb.conf(5) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Stopped Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Starting Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:46 client0.ipa.test systemd[1]: Started Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:46 client0.ipa.test smbd[21874]: [2020/08/11 00:28:46.143998, 0] ../../lib/util/become_daemon.c:135(daemon_ready) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:46 client0.ipa.test smbd[21874]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:48 client0.ipa.test smbd[21874]: [2020/08/11 00:28:48.154710, 0] ../../source3/printing/nt_printing.c:252(nt_printing_init) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:48 client0.ipa.test smbd[21874]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: Stopping Samba SMB Daemon... DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: smb.service: Succeeded. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:557 Aug 11 00:28:54 client0.ipa.test systemd[1]: Stopped Samba SMB Daemon. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd135:transport.py:217 Exit code: 3
Passed test_integration/test_smb.py::TestSMB::test_repeated_uninstall_samba 0.73
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd141:transport.py:513 RUN ['ipa-client-samba', '--uninstall', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd141:transport.py:557 Samba domain member is not configured yet DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd141:transport.py:217 Exit code: 0
Passed test_integration/test_smb.py::TestSMB::test_cleanup 0.54
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.WinHost.ad-root.IPAOpenSSHTransport:transport.py:391 RUN ['dnscmd', '/zonedelete', 'ipa.test', '/f'] DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:513 RUN ['dnscmd', '/zonedelete', 'ipa.test', '/f'] DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 Could not chdir to home directory /home/Administrator: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 bash: line 1: cd: /home/Administrator: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 bash: line 2: /home/Administrator/env.sh: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 DNS Server . deleted zone ipa.test: DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 Status = 0 (0x00000000) DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 Command completed successfully. DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.WinHost.ad-root.cmd3:transport.py:217 Exit code: 0