report.html

Report generated on 19-Nov-2019 at 10:21:55 by pytest-html v2.0.0

Environment

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

Summary

79 tests ran in 1315.01 seconds.

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

Results

Result Test Duration Links
Passed test_integration/test_sudo.py::TestSudo::test_admins_group_does_not_have_sudo_permission 11.08
-----------------------------Captured stdout setup------------------------------
<ipatests.pytest_ipa.integration.config.Config object at 0x7fe1512e1310>
-----------------------------Captured stderr setup------------------------------
[ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=1981,fd=4),("systemd",pid=1,fd=95)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=547,fd=3)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 64 0.0.0.0:37049 0.0.0.0:* [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp ESTAB 0 0 192.168.121.109:22 192.168.121.245:50180 users:(("sshd",pid=17356,fd=5),("sshd",pid=17354,fd=5)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 128 [::]:41767 [::]:* users:(("rpc.statd",pid=1982,fd=12)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 128 [::]:111 [::]:* users:(("rpcbind",pid=1981,fd=6),("systemd",pid=1,fd=97)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 64 [::]:32917 [::]:* [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=547,fd=4)) [ipatests.pytest_ipa.integration.host.Host.client0.cmd6] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport] 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.cmd7] 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.cmd7] Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port [ipatests.pytest_ipa.integration.host.Host.client0.cmd7] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd30] RUN ['kinit', 'admin'] [ipatests.pytest_ipa.integration.host.Host.master.cmd30] Password for admin@IPA.TEST: [ipatests.pytest_ipa.integration.host.Host.master.cmd30] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd31] RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] [ipatests.pytest_ipa.integration.host.Host.master.cmd31] Allow PTR sync: TRUE [ipatests.pytest_ipa.integration.host.Host.master.cmd31] IPA DNS servers: master.ipa.test [ipatests.pytest_ipa.integration.host.Host.master.cmd31] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['ipa', 'dnszone-add', '121.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd32] RUN ['ipa', 'dnszone-add', '121.168.192.in-addr.arpa.'] [ipatests.pytest_ipa.integration.host.Host.master.cmd32] ipa: ERROR: DNS zone with name "121.168.192.in-addr.arpa." already exists [ipatests.pytest_ipa.integration.host.Host.master.cmd32] Exit code: 1 ipa: WARNING: ipa: ERROR: DNS zone with name "121.168.192.in-addr.arpa." already exists
-------------------------------Captured log setup-------------------------------
INFO ipatests.pytest_ipa.integration:__init__.py:267 Preparing host client0.ipa.test INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_8.1) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:247 Authenticating with private RSA key using user root INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd1:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd1:transport.py:558 -bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd1:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding client0.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /ipatests INFO paramiko.transport.sftp:sftp.py:158 [chan 1] Opened sftp connection (server version 3) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT / INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:312 MKDIR /ipatests INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh INFO ipatests.pytest_ipa.integration:__init__.py:267 Preparing host master.ipa.test INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_8.1) DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:247 Authenticating with private RSA key using user root INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:558 -bash: line 1: cd: /ipatests: No such file or directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd1:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO paramiko.transport.sftp:sftp.py:158 [chan 1] Opened sftp connection (server version 3) DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT / INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/errors to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/access to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/audit to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-conncheck.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipareplica-ca-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaserver-kra-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipa-custodia.audit.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/iparestore.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/ipabackup.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/kadmind.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/krb5kdc.log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/httpd/error_log to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/pki/ to list of logs to collect INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/audit/audit.log to list of logs to collect INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:513 RUN ['true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd2:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup/etc INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd3:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:293 WRITE /etc/hostname INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:513 RUN ['hostname', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 192.168.121.2%eth0:68 0.0.0.0:* users:(("NetworkManager",pid=1562,fd=20)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=1992,fd=5),("systemd",pid=1,fd=103)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=509,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 127.0.0.1:897 0.0.0.0:* users:(("rpc.statd",pid=1993,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:52101 0.0.0.0:* users:(("rpcbind",pid=1992,fd=10)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:46007 0.0.0.0:* users:(("rpc.statd",pid=1993,fd=9)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp ESTAB 0 0 192.168.121.2:42319 162.159.200.123:123 users:(("chronyd",pid=509,fd=9)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp ESTAB 0 0 192.168.121.2:50617 50.116.52.97:123 users:(("chronyd",pid=509,fd=4)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp ESTAB 0 0 192.168.121.2:46847 204.11.201.10:123 users:(("chronyd",pid=509,fd=8)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:55216 0.0.0.0:* DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::]:111 [::]:* users:(("rpcbind",pid=1992,fd=7),("systemd",pid=1,fd=105)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=509,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::]:53684 [::]:* users:(("rpc.statd",pid=1993,fd=11)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::]:58963 [::]:* users:(("rpcbind",pid=1992,fd=11)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 udp UNCONN 0 0 [::]:46857 [::]:* DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 64 0.0.0.0:35869 0.0.0.0:* DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:43407 0.0.0.0:* users:(("rpc.statd",pid=1993,fd=10)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=1992,fd=4),("systemd",pid=1,fd=102)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=554,fd=3)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.121.2:22 192.168.121.1:54446 users:(("sshd",pid=2119,fd=5),("sshd",pid=2117,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.121.2:22 192.168.121.245:42384 users:(("sshd",pid=17359,fd=5),("sshd",pid=17357,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:40174 52.219.74.178:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:54310 52.219.74.15:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:40172 52.219.74.178:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:54308 52.219.74.15:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:40176 52.219.74.178:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:49410 198.82.161.58:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.121.2:1016 192.168.121.1:2049 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp TIME-WAIT 0 0 192.168.121.2:54306 52.219.74.15:80 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 64 [::]:45865 [::]:* DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:111 [::]:* users:(("rpcbind",pid=1992,fd=6),("systemd",pid=1,fd=104)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:39509 [::]:* users:(("rpc.statd",pid=1993,fd=12)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=554,fd=4)) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd7:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:513 RUN ['systemctl', 'stop', 'httpd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN for line in `ipcs -s | grep apache | cut -d " " -f 2`; do ipcrm -s $line; done DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:513 RUN for line in `ipcs -s | grep apache | cut -d " " -f 2`; do ipcrm -s $line; done DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:513 RUN ['systemctl', 'unmask', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:558 Removed /etc/systemd/system/firewalld.service. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:513 RUN ['systemctl', 'enable', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd11:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:513 RUN ['systemctl', 'start', 'firewalld'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd12:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U', '--setup-dns', '--forwarder', '192.168.121.1', '--auto-reverse'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:513 RUN ['ipa-server-install', '-n', 'ipa.test', '-r', 'IPA.TEST', '-p', 'Secret.123', '-a', 'Secret.123', '--domain-level=1', '-U', '--setup-dns', '--forwarder', '192.168.121.1', '--auto-reverse'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Checking DNS domain ipa.test, please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Checking DNS domain ipa.test., please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Checking DNS domain 121.168.192.in-addr.arpa., please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Reverse zone 121.168.192.in-addr.arpa. will be created DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Unable to sync time with chrony server, assuming the time is in sync. Please check that 123 UDP port is opened, and any time server is on network. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Checking DNS domain ipa.test, please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The log file for this installation can be found in /var/log/ipaserver-install.log DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This program will set up the FreeIPA Server. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This includes: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure a stand-alone CA (dogtag) for certificate management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure the NTP client (chronyd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Create and configure an instance of Directory Server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Create and configure a Kerberos Key Distribution Center (KDC) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure Apache (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure DNS (bind) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * Configure the KDC to enable PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Warning: skipping DNS resolution of host master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Checking DNS forwarders, please wait ... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Using reverse zone(s) 121.168.192.in-addr.arpa. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The IPA Master Server will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 IP address(es): 192.168.121.2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Domain name: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Realm name: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The CA will be configured with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Subject DN: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Subject base: O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Chaining: self-signed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 BIND DNS server will be configured to serve IPA domain with: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Forwarders: 192.168.121.1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Forward policy: only DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Reverse zone(s): 121.168.192.in-addr.arpa. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Disabled p11-kit-proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Warning: IPA was unable to sync time with chrony! DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Time synchronization is required for IPA to work correctly DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring directory server (dirsrv). Estimated time: 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/44]: creating directory server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/44]: configure autobind for root DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/44]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/44]: updating configuration in dse.ldif DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/44]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/44]: adding default schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/44]: enabling memberof plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/44]: enabling winsync plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/44]: configure password logging DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/44]: configuring replication version plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/44]: enabling IPA enrollment plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/44]: configuring uniqueness plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/44]: configuring uuid plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/44]: configuring modrdn plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/44]: configuring DNS plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/44]: enabling entryUSN plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/44]: configuring lockout plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/44]: configuring topology plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/44]: creating indices DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/44]: enabling referential integrity plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/44]: configuring certmap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [22/44]: configure new location for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [23/44]: configure dirsrv ccache and keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [24/44]: enabling SASL mapping fallback DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [25/44]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [26/44]: adding sasl mappings to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [27/44]: adding default layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [28/44]: adding delegation layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [29/44]: creating container for managed entries DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [30/44]: configuring user private groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [31/44]: configuring netgroups from hostgroups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [32/44]: creating default Sudo bind user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [33/44]: creating default Auto Member layout DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [34/44]: adding range check plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [35/44]: creating default HBAC rule allow_all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [36/44]: adding entries for topology management DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [37/44]: initializing group membership DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [38/44]: adding master entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [39/44]: initializing domain level DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [40/44]: configuring Posix uid/gid generation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [41/44]: adding replication acis DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [42/44]: activating sidgen plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [43/44]: activating extdom plugin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [44/44]: configuring directory to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/10]: adding kerberos container to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/10]: configuring KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/10]: initialize kerberos container DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/10]: adding default ACIs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/10]: creating a keytab for the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/10]: creating a keytab for the machine DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/10]: adding the password extension to the directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/10]: creating anonymous principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/10]: starting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/10]: configuring KDC to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/2]: starting kadmin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/2]: configuring kadmin to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring kadmin. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/5]: Making sure custodia container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/5]: Generating ipa-custodia config file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/5]: Generating ipa-custodia keys DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/5]: starting ipa-custodia DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/5]: configuring ipa-custodia to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring ipa-custodia. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/29]: configuring certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/29]: Add ipa-pki-wait-running DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/29]: reindex attributes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/29]: exporting Dogtag certificate store pin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/29]: stopping certificate server instance to update CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/29]: backing up CS.cfg DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/29]: disabling nonces DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/29]: set up CRL publishing DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/29]: enable PKIX certificate path discovery and validation DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/29]: starting certificate server instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/29]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/29]: requesting RA certificate from CA DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/29]: setting audit signing renewal to 2 years DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/29]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/29]: publishing the CA certificate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/29]: adding RA agent as a trusted user DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/29]: authorizing RA to modify profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/29]: authorizing RA to manage lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/29]: Ensure lightweight CAs container exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/29]: configure certificate renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/29]: Configure HTTP to proxy connections DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [22/29]: restarting certificate server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [23/29]: updating IPA configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [24/29]: enabling CA instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [25/29]: migrating certificate profiles to LDAP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [26/29]: importing IPA certificate profiles DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [27/29]: adding default CA ACL DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [28/29]: adding 'ipa' CA entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [29/29]: configuring certmonger renewal for lightweight CAs DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring certificate server (pki-tomcatd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring directory server (dirsrv) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/3]: configuring TLS for DS instance DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/3]: adding CA certificate entry DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/3]: restarting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring directory server (dirsrv). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/2]: starting ipa-otpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/2]: configuring ipa-otpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring ipa-otpd. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring the web interface (httpd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/21]: stopping httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/21]: backing up ssl.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/21]: disabling nss.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/21]: configuring mod_ssl certificate paths DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/21]: setting mod_ssl protocol list DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/21]: configuring mod_ssl log directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/21]: disabling mod_ssl OCSP DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/21]: adding URL rewriting rules DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/21]: configuring httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/21]: setting up httpd keytab DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/21]: configuring Gssproxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/21]: setting up ssl DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [13/21]: configure certmonger for renewals DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [14/21]: publish CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [15/21]: clean up any existing httpd ccaches DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [16/21]: configuring SELinux for httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [17/21]: create KDC proxy config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [18/21]: enable KDC proxy DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [19/21]: starting httpd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [20/21]: configuring httpd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [21/21]: enabling oddjobd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring the web interface (httpd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring Kerberos KDC (krb5kdc) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/1]: installing X509 Certificate for PKINIT DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring Kerberos KDC (krb5kdc). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Applying LDAP updates DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Upgrading IPA:. Estimated time: 1 minute 30 seconds DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/11]: saving configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/11]: disabling listeners DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/11]: enabling DS global lock DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/11]: disabling Schema Compat DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/11]: updating schema DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/11]: upgrading server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/11]: stopping directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/11]: restoring configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/11]: starting directory server DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Restarting the KDC DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring DNS (named) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/12]: generating rndc key file DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/12]: adding DNS container DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/12]: setting up our zone DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/12]: setting up reverse zone DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/12]: setting up our own record DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/12]: setting up records for other masters DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/12]: adding NS record to the zones DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [8/12]: setting up kerberos principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [9/12]: setting up named.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [10/12]: setting up server configuration DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [11/12]: configuring named to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [12/12]: changing resolv.conf to point to ourselves DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring DNS (named). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Restarting the web server to pick up resolv.conf changes DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring DNS key synchronization service (ipa-dnskeysyncd) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [1/7]: checking status DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [2/7]: setting up bind-dyndb-ldap working directory DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [3/7]: setting up kerberos principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [4/7]: setting up SoftHSM DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [5/7]: adding DNSSEC containers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [6/7]: creating replica keys DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 [7/7]: configuring ipa-dnskeysyncd to start on boot DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Done configuring DNS key synchronization service (ipa-dnskeysyncd). DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Restarting ipa-dnskeysyncd DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Restarting named DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Updating DNS system records DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring client side components DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Using existing certificate '/etc/ipa/ca.crt'. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Client hostname: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configured /etc/ssh/sshd_config DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 The ipa-server-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 ============================================================================== DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Setup complete DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Next steps: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 1. You must make sure these network ports are open: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 TCP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 80, 443: HTTP/HTTPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 389, 636: LDAP/LDAPS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 53: bind DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 UDP Ports: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 88, 464: kerberos DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 53: bind DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 * 123: ntp DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 2. You can now obtain a kerberos ticket using the command: 'kinit admin' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 This ticket will allow you to use the IPA tools (e.g., ipa user-add) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 and the web user interface. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 Be sure to back up the CA certificates stored in /root/cacert.p12 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 These files are required to create replicas. The password for these DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:558 files is the Directory Manager password DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14: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.cmd14:transport.py:558 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['firewall-cmd', '--add-service', 'freeipa-ldap', '--add-service', 'freeipa-ldaps', '--add-service', 'dns', '--permanent'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15: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.cmd15:transport.py:558 success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:304 Set LDAP debug level INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:558 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:320 Set LDAP audit log INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:513 RUN ['ldapmodify', '-x', '-D', 'cn=Directory Manager', '-w', 'Secret.123'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:558 modifying entry "cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding master.ipa.test:/var/log/sssd to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd24:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:558 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd25:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnszone-mod', 'ipa.test', '--default-ttl', '1', '--ttl', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:513 RUN ['ipa', 'dnszone-mod', 'ipa.test', '--default-ttl', '1', '--ttl', '1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 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.cmd26:transport.py:558 Zone name: ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Active zone: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Authoritative nameserver: master.ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Administrator e-mail address: hostmaster.ipa.test. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 SOA serial: 1574158004 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 SOA refresh: 3600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 SOA retry: 900 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 SOA expire: 1209600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 SOA minimum: 3600 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Time to live: 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Default time to live: 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Allow query: any; DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:558 Allow transfer: none; DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd26:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'client0.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:558 ipa: ERROR: client0.ipa.test.: DNS resource record not found DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd27:transport.py:217 Exit code: 2 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client0.ipa.test.', '--a-rec', '192.168.121.109'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:513 RUN ['ipa', 'dnsrecord-add', 'ipa.test', 'client0.ipa.test.', '--a-rec', '192.168.121.109'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:558 Record name: client0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:558 A record: 192.168.121.109 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd28:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'master.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:513 RUN ['ipa', 'dnsrecord-show', 'ipa.test', 'master.ipa.test.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:558 Record name: master DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:558 A record: 192.168.121.2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:558 SSHFP record: 3 1 C40482F137E53159829BECE4ACA68B500B2E83CC, 3 2 2923982826DF128D718BDFBA79CCE3B5040C8240C11246B69AC0070E 22BB83AF, 4 1 3531C1A387B30DC4E62491794B69A8B6D1297CFF, 4 2 D5CDC5DCDD69EDC4B1866177531E6B8CBA61E450B14957717D0F0497 D2BC4436, 1 1 EAA44FDCEA4C1C869312C68C16C939648D53EBC9, 1 2 C5E44DA42048502EAD68028D0D508929AE952BB2FA25E0DDD8F79775 1B6956DE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd29:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.tasks:tasks.py:1293 Installing client <Host master.ipa.test (master)> on <Host client0.ipa.test (client)> INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding client0.ipa.test:/var/log/ipaclient-install.log to list of logs to collect INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 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:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding client0.ipa.test:/ipatests/env.sh to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:293 WRITE /ipatests/env.sh DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /etc/hostname DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup/etc DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /ipatests/file_backup DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /ipatests INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:312 MKDIR /ipatests/file_backup/etc INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd3:transport.py:513 RUN ['cp', '-af', '/etc/hostname', '/ipatests/file_backup/etc/hostname'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd3:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:293 WRITE /etc/hostname INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['hostname', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd4:transport.py:513 RUN ['hostname', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd4:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd5:transport.py:513 RUN hostname > '/ipatests/backup_hostname' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd5:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 127.0.0.1:889 0.0.0.0:* users:(("rpc.statd",pid=1982,fd=10)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 192.168.121.109%eth0:68 0.0.0.0:* users:(("NetworkManager",pid=1551,fd=20)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=1981,fd=5),("systemd",pid=1,fd=96)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:62656 0.0.0.0:* users:(("rpcbind",pid=1981,fd=10)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=516,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:51795 0.0.0.0:* DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 0.0.0.0:35550 0.0.0.0:* users:(("rpc.statd",pid=1982,fd=8)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 [::]:111 [::]:* users:(("rpcbind",pid=1981,fd=7),("systemd",pid=1,fd=98)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 [::]:41223 [::]:* DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=516,fd=6)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 [::]:33182 [::]:* users:(("rpc.statd",pid=1982,fd=11)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 udp UNCONN 0 0 [::]:51891 [::]:* users:(("rpcbind",pid=1981,fd=11)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:42927 0.0.0.0:* users:(("rpc.statd",pid=1982,fd=9)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=1981,fd=4),("systemd",pid=1,fd=95)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=547,fd=3)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 64 0.0.0.0:37049 0.0.0.0:* DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp ESTAB 0 0 192.168.121.109:22 192.168.121.245:50180 users:(("sshd",pid=17356,fd=5),("sshd",pid=17354,fd=5)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:41767 [::]:* users:(("rpc.statd",pid=1982,fd=12)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:111 [::]:* users:(("rpcbind",pid=1981,fd=6),("systemd",pid=1,fd=97)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 64 [::]:32917 [::]:* DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:558 tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=547,fd=4)) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd6:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd7:transport.py:513 RUN ['ss', '--all', '--tcp', '--udp', '--numeric', '--processes', '-o', 'state', 'all', '( sport = :749 or dport = :749 or sport = :464 or dport = :464 )'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd7:transport.py:558 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd7:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:558 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd30:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:513 RUN ['ipa', 'dnsconfig-mod', '--allow-sync-ptr=true'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:558 Allow PTR sync: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:558 IPA DNS servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd31:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'dnszone-add', '121.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:513 RUN ['ipa', 'dnszone-add', '121.168.192.in-addr.arpa.'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:558 ipa: ERROR: DNS zone with name "121.168.192.in-addr.arpa." already exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd32:transport.py:217 Exit code: 1 WARNING ipatests.pytest_ipa.integration.tasks:tasks.py:150 ipa: ERROR: DNS zone with name "121.168.192.in-addr.arpa." already exists INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:513 RUN ['ipa-client-install', '--domain', 'ipa.test', '--realm', 'IPA.TEST', '-p', 'admin', '-w', 'Secret.123', '--server', 'master.ipa.test', '-U'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Client hostname: client0.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Realm: IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 DNS Domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 IPA Server: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 BaseDN: dc=ipa,dc=test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Synchronizing time DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 No SRV records of NTP servers found and no NTP server or pool address was provided. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Attempting to sync time with chronyc. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Process chronyc waitsync failed to sync time! DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Unable to sync time with chrony server, assuming the time is in sync. Please check that 123 UDP port is opened, and any time server is on network. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Successfully retrieved CA cert DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Subject: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Issuer: CN=Certificate Authority,O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Valid From: 2019-11-19 10:02:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Valid Until: 2039-11-19 10:02:01 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Enrolled in IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Created /etc/ipa/default.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured sudoers in /etc/authselect/user-nsswitch.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured /etc/sssd/sssd.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured /etc/krb5.conf for IPA realm IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Systemwide CA database updated. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Hostname (client0.ipa.test) does not have A/AAAA record. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Failed to update DNS records. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Missing A/AAAA record(s) for host client0.ipa.test: 192.168.121.109. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Missing reverse record(s) for address(es): 192.168.121.109. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Could not update DNS SSHFP records. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 SSSD enabled DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured /etc/openldap/ldap.conf DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured /etc/ssh/ssh_config DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configured /etc/ssh/sshd_config DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Configuring ipa.test as NIS domain. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Client configuration complete. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 The ipa-client-install command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 This program will set up FreeIPA client. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Version 4.9.0.dev DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:558 Using default chrony configuration. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd8:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd9:transport.py:513 RUN ['sed', '-i', '/debug_level = 7/d', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd9:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd10:transport.py:513 RUN ['sed', '-i', '/\\[*\\]/ a\\debug_level = 7', '/etc/sssd/sssd.conf'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd10:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration:__init__.py:261 Adding client0.ipa.test:/var/log/sssd to list of logs to collect DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd11:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd11:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd12:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd13:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd13:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd13:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd14:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd14:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd14:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd15:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd15:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd16:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd16:transport.py:558 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd16:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['hostname', '-s'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd17:transport.py:513 RUN ['hostname', '-s'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd17:transport.py:558 client0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd17:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'user-add', 'testuser1', '--first', 'Test', '--last', 'User1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:513 RUN ['ipa', 'user-add', 'testuser1', '--first', 'Test', '--last', 'User1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 ---------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Added user "testuser1" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 ---------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 User login: testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 First name: Test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Last name: User1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Full name: Test User1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Display name: Test User1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Initials: TU DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Home directory: /home/testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 GECOS: Test User1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Login shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Principal name: testuser1@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Principal alias: testuser1@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Email address: testuser1@ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 UID: 1581200001 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 GID: 1581200001 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Password: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Member of groups: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:558 Kerberos keys available: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd33:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'group-add', 'testgroup1', '--desc', '"1. testing group"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:513 RUN ['ipa', 'group-add', 'testgroup1', '--desc', '"1. testing group"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 ------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 Added group "testgroup1" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 ------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 Group name: testgroup1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 Description: "1. testing group" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:558 GID: 1581200003 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd34:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'group-add-member', 'testgroup1', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:513 RUN ['ipa', 'group-add-member', 'testgroup1', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 Group name: testgroup1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 Description: "1. testing group" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 GID: 1581200003 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 Member users: testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd35:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'user-add', 'testuser2', '--first', 'Test', '--last', 'User2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:513 RUN ['ipa', 'user-add', 'testuser2', '--first', 'Test', '--last', 'User2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 ---------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Added user "testuser2" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 ---------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 User login: testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 First name: Test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Last name: User2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Full name: Test User2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Display name: Test User2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Initials: TU DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Home directory: /home/testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 GECOS: Test User2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Login shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Principal name: testuser2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Principal alias: testuser2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Email address: testuser2@ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 UID: 1581200004 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 GID: 1581200004 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Password: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Member of groups: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:558 Kerberos keys available: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd36:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'group-add', 'testgroup2', '--desc', '"2. testing group"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:513 RUN ['ipa', 'group-add', 'testgroup2', '--desc', '"2. testing group"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 ------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 Added group "testgroup2" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 ------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 Group name: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 Description: "2. testing group" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:558 GID: 1581200005 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd37:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'group-add-member', 'testgroup2', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:513 RUN ['ipa', 'group-add-member', 'testgroup2', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 Group name: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 Description: "2. testing group" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 GID: 1581200005 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 Member users: testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd38:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'hostgroup-add', 'testhostgroup', '--desc', '"Contains client"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:513 RUN ['ipa', 'hostgroup-add', 'testhostgroup', '--desc', '"Contains client"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:558 ------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:558 Added hostgroup "testhostgroup" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:558 ------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:558 Host-group: testhostgroup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:558 Description: "Contains client" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd39:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'hostgroup-add-member', 'testhostgroup', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:513 RUN ['ipa', 'hostgroup-add-member', 'testhostgroup', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 Host-group: testhostgroup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 Description: "Contains client" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 Member hosts: client0.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd40:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['groupadd', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd18:transport.py:513 RUN ['groupadd', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd18:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['useradd', '-M', '-G', 'localgroup', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd19:transport.py:513 RUN ['useradd', '-M', '-G', 'localgroup', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd19:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:513 RUN ['ipa', 'sudorule-add', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:558 Added Sudo Rule "defaults" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:558 Rule name: defaults DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd41:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'defaults', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'defaults', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 Added option "!authenticate" to Sudo Rule "defaults" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 Rule name: defaults DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd42:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'user-add', 'admin2', '--first', 'Admin', '--last', 'Second'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:513 RUN ['ipa', 'user-add', 'admin2', '--first', 'Admin', '--last', 'Second'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 ------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Added user "admin2" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 ------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 User login: admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 First name: Admin DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Last name: Second DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Full name: Admin Second DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Display name: Admin Second DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Initials: AS DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Home directory: /home/admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 GECOS: Admin Second DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Login shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Principal name: admin2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Principal alias: admin2@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Email address: admin2@ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 UID: 1581200006 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 GID: 1581200006 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Password: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Member of groups: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:558 Kerberos keys available: False DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd43:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'group-add-member', 'admins', '--users', 'admin2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:513 RUN ['ipa', 'group-add-member', 'admins', '--users', 'admin2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 Group name: admins DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 Description: Account administrators group DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 GID: 1581200000 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 Member users: admin, admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd44:transport.py:217 Exit code: 0
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd20:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd21:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd22:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd23:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd23:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd23:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd24:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd24:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd25:transport.py:513 RUN su -c "sudo -l -n" admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd25:transport.py:558 Sorry, user admin2 may not run sudo on client0. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd25:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_advise_script_enable_sudo_admins 21.04
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ipa-advise enable_admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:513 RUN ipa-advise enable_admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 #!/bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # ---------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # Instructions for enabling HBAC and unauthenticated SUDO for members of DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # the admins group. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # ---------------------------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # Check whether the credential cache is not empty DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 klist DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 if [ "$?" -ne "0" ] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 then DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo "Credential cache is empty" >&2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo "Use kinit as privileged user to obtain Kerberos credentials" >&2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 exit 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 fi DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 if ipa hbacrule-show admins_sudo > /dev/null 2>&1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 then DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo HBAC rule admins_sudo already exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 else DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # Create the HBAC rule for sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 err=$(ipa hbacrule-add --hostcat=all --desc "Allow admins to run sudo on all hosts" admins_sudo 2>&1) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 if [ "$?" -ne "0" ] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 then DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo "Failed to add hbac rule: ${err}" >&2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 exit 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 fi DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 ipa hbacrule-add-user --groups=admins admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 ipa hbacrule-add-service --hbacsvcs=sudo admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 fi DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 if ipa sudorule-show admins_all > /dev/null 2>&1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 then DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo SUDO rule admins_all already exists DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 else DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 # Create the SUDO rule for the admins group DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 err=$(ipa sudorule-add --desc "Allow admins to run any command on any host" --hostcat=all --cmdcat=all admins_all 2>&1) DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 if [ "$?" -ne "0" ] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 then DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 echo "Failed to add sudo rule: ${err}" >&2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 exit 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 fi DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 ipa sudorule-add-user --groups=admins admins_all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:558 fi DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd49:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN bash DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:513 RUN bash DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Ticket cache: KCM:0 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Default principal: admin@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Valid starting Expires Service principal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 11/19/2019 10:06:58 11/20/2019 10:06:56 HTTP/master.ipa.test@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 11/19/2019 10:06:56 11/20/2019 10:06:56 krbtgt/IPA.TEST@IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Rule name: admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Description: Allow admins to run sudo on all hosts DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 User Groups: admins DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Rule name: admins_sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Description: Allow admins to run sudo on all hosts DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 User Groups: admins DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Services: sudo DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Rule name: admins_all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Description: Allow admins to run any command on any host DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 User Groups: admins DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd50:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd30:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd30:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd31:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd32:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd33:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd34:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:513 RUN su -c "sudo -l -n" admin2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:558 Matching Defaults entries for admin2 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:558 User admin2 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:558 (root) ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd35:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'admins_all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:513 RUN ['ipa', 'sudorule-del', 'admins_all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:558 ------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:558 Deleted Sudo Rule "admins_all" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:558 ------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd51:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'hbacrule-del', 'admins_sudo'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:513 RUN ['ipa', 'hbacrule-del', 'admins_sudo'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:558 ------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:558 Deleted HBAC rule "admins_sudo" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:558 ------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd52:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_nisdomainname 0.05
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN nisdomainname DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd40:transport.py:513 RUN nisdomainname DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd40:transport.py:558 ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd40:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_add_sudo_commands 3.01
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmd-add', '/bin/cat'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:513 RUN ['ipa', 'sudocmd-add', '/bin/cat'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:558 Added Sudo Command "/bin/cat" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:558 Sudo Command: /bin/cat DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd61:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmd-add', '/bin/tail'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:513 RUN ['ipa', 'sudocmd-add', '/bin/tail'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:558 ------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:558 Added Sudo Command "/bin/tail" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:558 ------------------------------ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:558 Sudo Command: /bin/tail DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd62:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmd-add', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:513 RUN ['ipa', 'sudocmd-add', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:558 --------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:558 Added Sudo Command "/usr/bin/yum" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:558 --------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:558 Sudo Command: /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd63:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_add_sudo_command_groups 3.19
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmdgroup-add', 'readers', '--desc', '"Applications that read"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:513 RUN ['ipa', 'sudocmdgroup-add', 'readers', '--desc', '"Applications that read"'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:558 ---------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:558 Added Sudo Command Group "readers" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:558 ---------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:558 Sudo Command Group: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:558 Description: "Applications that read" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd68:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmdgroup-add-member', 'readers', '--sudocmds', '/bin/cat'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:513 RUN ['ipa', 'sudocmdgroup-add-member', 'readers', '--sudocmds', '/bin/cat'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 Sudo Command Group: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 Description: "Applications that read" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 Member Sudo commands: /bin/cat DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd69:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudocmdgroup-add-member', 'readers', '--sudocmds', '/bin/tail'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:513 RUN ['ipa', 'sudocmdgroup-add-member', 'readers', '--sudocmds', '/bin/tail'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 Sudo Command Group: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 Description: "Applications that read" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 Member Sudo commands: /bin/cat, /bin/tail DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd70:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_create_allow_all_rule 2.04
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd75:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd76:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_add_sudo_rule 22.06
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd57:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd58:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd59:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd59:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd59:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd60:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd60:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd60:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd61:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd61:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd62:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd63:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd63:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd64:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd65:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd65:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd65:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd66:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd66:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd66:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd67:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd67:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:513 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:558 Matching Defaults entries for testuser2 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:558 User testuser2 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd68:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_user_setup 2.12
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd85:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:513 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Users: testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd86:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_user 22.00
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd77:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd77:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd78:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd79:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd79:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd79:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd80:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd80:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd80:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd81:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd81:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd82:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd83:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd83:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd84:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd85:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd85:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd85:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd86:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd86:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd86:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd87:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd87:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd88:transport.py:513 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd88:transport.py:558 Sorry, user testuser2 may not run sudo on client0. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd88:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_user_without_defaults_rule 11.97
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-disable', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:513 RUN ['ipa', 'sudorule-disable', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:558 Disabled Sudo Rule "defaults" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd95:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd93:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd93:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd94:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd95:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd95:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd95:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd96:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd96:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd96:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd97:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd97:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd98:transport.py:513 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd98:transport.py:558 sudo: a password is required DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd98:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_user 0.95
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd100:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd100:transport.py:558 ipa: ERROR: user category cannot be set to 'all' while there are allowed users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd100:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_user_teardown 2.37
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:513 RUN ['ipa', 'sudorule-remove-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd105:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-enable', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd106:transport.py:513 RUN ['ipa', 'sudorule-enable', 'defaults'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd106:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd106:transport.py:558 Enabled Sudo Rule "defaults" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd106:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd106:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_group_setup 0.98
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:513 RUN ['ipa', 'sudorule-add-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 User Groups: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd111:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_group 22.12
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd115:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd115:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd116:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd117:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd117:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd117:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd118:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd119:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd119:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd120:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd120:transport.py:558 Sorry, user testuser1 may not run sudo on client0. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd120:transport.py:217 Exit code: 1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd121:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd121:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd122:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd123:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd124:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd124:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd124:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd125:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd125:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:513 RUN su -c "sudo -l -n" testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:558 Matching Defaults entries for testuser2 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:558 User testuser2 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd126:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_user_group 1.02
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:558 ipa: ERROR: user category cannot be set to 'all' while there are allowed users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_group_teardown 1.38
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:513 RUN ['ipa', 'sudorule-remove-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd125:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host_negative_setup 6.44
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:513 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:558 Deleted Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd131:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd132:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd133:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--hostcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--hostcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd134:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:513 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Hosts: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd135:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host_negative 10.99
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd143:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd143:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd144:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd145:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd145:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd145:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd146:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd146:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd146:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd147:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:558 Sorry, user testuser1 may not run sudo on client0. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd148:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host_negative_teardown 1.32
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:513 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd144:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host_setup 1.99
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--hostcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd149:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--hostcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd149:transport.py:558 ipa: ERROR: no modifications to be performed DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd149:transport.py:217 Exit code: 1 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:513 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Hosts: client0.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd150:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host 11.00
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd162:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd163:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd164:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd164:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd164:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd165:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd165:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd166:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_host 1.05
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd159:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd159:transport.py:558 ipa: ERROR: host category cannot be set to 'all' while there are allowed hosts DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd159:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_host_teardown 1.31
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:513 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hosts', 'client0.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd164:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostgroup_setup 1.13
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:513 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Host Groups: testhostgroup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd169:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostgroup 11.09
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd183:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd183:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd184:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd185:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd185:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd185:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd186:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd186:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd186:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd187:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd187:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd188:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_host_group 1.08
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd178:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd178:transport.py:558 ipa: ERROR: host category cannot be set to 'all' while there are allowed hosts DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd178:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostgroup_teardown 1.38
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:513 RUN ['ipa', 'sudorule-remove-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd183:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask_setup 1.12
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['ip', 'addr'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:513 RUN ['ip', 'addr'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 inet 127.0.0.1/8 scope host lo DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 inet6 ::1/128 scope host DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 link/ether 52:54:00:3b:8d:d4 brd ff:ff:ff:ff:ff:ff DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 inet 192.168.121.109/24 brd 192.168.121.255 scope global dynamic noprefixroute eth0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 valid_lft 2707sec preferred_lft 2707sec DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 inet6 fe80::5054:ff:fe3b:8dd4/64 scope link DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd201:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:513 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Host Masks: 192.168.121.0/24 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd188:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:284 READ /etc/sssd/sssd.conf INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:293 WRITE /etc/sssd/sssd.conf
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask 11.10
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd206:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd206:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd207:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd208:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd208:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd208:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd209:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd209:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd209:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd210:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd210:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:558 (ALL : ALL) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd211:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_host_mask 1.07
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd197:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd197:transport.py:558 ipa: ERROR: host category cannot be set to 'all' while there are allowed hosts DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd197:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask_teardown 1.40
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['ip', 'addr'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:513 RUN ['ip', 'addr'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 inet 127.0.0.1/8 scope host lo DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 inet6 ::1/128 scope host DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 link/ether 52:54:00:3b:8d:d4 brd ff:ff:ff:ff:ff:ff DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 inet 192.168.121.109/24 brd 192.168.121.255 scope global dynamic noprefixroute eth0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 valid_lft 2680sec preferred_lft 2680sec DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 inet6 fe80::5054:ff:fe3b:8dd4/64 scope link DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:558 valid_lft forever preferred_lft forever DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd220:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', '-n', 'sudorule-remove-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:513 RUN ['ipa', '-n', 'sudorule-remove-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Host Masks: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd202:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask_negative_setup 1.12
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.2/32'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:513 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.2/32'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Host Masks: 192.168.121.2/32 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd207:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask_negative 11.04
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd229:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd229:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd230:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd231:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd231:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd231:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd232:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd232:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd232:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd233:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd233:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd234:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd234:transport.py:558 Sorry, user testuser1 may not run sudo on client0. DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd234:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_hostmask_negative_teardown 1.40
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', '-n', 'sudorule-remove-host', 'testrule', '--hostmask', '192.168.121.2/32'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:513 RUN ['ipa', '-n', 'sudorule-remove-host', 'testrule', '--hostmask', '192.168.121.2/32'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Host Masks: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd216:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:284 READ /etc/sssd/sssd.conf INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:293 WRITE /etc/sssd/sssd.conf
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_command_setup 5.77
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd221:transport.py:513 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd221:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd221:transport.py:558 Deleted Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd221:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd221:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd222:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd223:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd224:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--cmdcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--cmdcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd225:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:513 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Sudo Allow Commands: /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd226:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_one_command 11.05
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd247:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd247:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd248:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd249:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd249:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd249:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd250:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd250:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd250:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd251:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd251:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:558 (ALL : ALL) NOPASSWD: /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd252:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_command_and_command_group_setup 1.06
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:513 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Sudo Allow Commands: /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Sudo Allow Command Groups: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd235:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_command_and_command_group 11.02
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd261:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd261:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd262:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd263:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd263:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd263:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd264:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd264:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd264:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd265:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd265:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:558 (ALL : ALL) NOPASSWD: /bin/tail, /bin/cat, /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd266:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_command 1.05
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd244:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd244:transport.py:558 ipa: ERROR: command category cannot be set to 'all' while there are allowed commands DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd244:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_command_and_command_group_teardown 2.64
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:513 RUN ['ipa', 'sudorule-remove-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Sudo Allow Command Groups: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd249:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:513 RUN ['ipa', 'sudorule-remove-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd250:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_user_setup 6.61
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd255:transport.py:513 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd255:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd255:transport.py:558 Deleted Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd255:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd255:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd256:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd257:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd258:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasusercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasusercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd259:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasgroupcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasgroupcat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd260:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 RunAs Users: testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd261:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_user 11.03
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd283:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd283:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd284:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd285:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd285:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd285:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd286:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd286:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd286:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd287:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd287:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 RunAsUsers: testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd288:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_runasuser 1.05
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd270:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd270:transport.py:558 ipa: ERROR: runAs user category cannot be set to 'all' while there are allowed runAs users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd270:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_user_teardown 1.33
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:513 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd275:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_local_user_setup 0.97
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 RunAs External User: localuser DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd280:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_local_user 11.02
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd305:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd305:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd306:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd307:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd307:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd307:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd308:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd308:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd308:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd309:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd309:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 RunAsUsers: localuser DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd310:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_runasuser_local 1.05
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd289:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd289:transport.py:558 ipa: ERROR: runAs user category cannot be set to 'all' while there are allowed runAs users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd289:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_user_local_tear 1.28
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:513 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 RunAs External User: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd294:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_users_from_group_setup 1.06
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Groups of RunAs Users: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd299:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_users_from_group 11.06
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd327:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd327:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd328:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd329:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd329:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd329:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd330:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd330:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd330:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd331:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd331:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 RunAsUsers: %testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd332:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_runasuser_group 0.97
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd308:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd308:transport.py:558 ipa: ERROR: runAs user category cannot be set to 'all' while there are allowed runAs users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd308:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_users_from_group_teardown 1.32
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:513 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd313:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_run_as_users_from_local_group_setup 1.08
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 External Groups of RunAs Users: localgroup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd318:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_run_as_users_from_local_group 11.03
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd349:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd349:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd350:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd351:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd351:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd351:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd352:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd352:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd352:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd353:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd353:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 RunAsUsers: %localgroup DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd354:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_set_category_to_all_with_valid_entries_runasuser_group_local 1.01
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd327:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd327:transport.py:558 ipa: ERROR: runAs user category cannot be set to 'all' while there are allowed runAs users DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd327:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_run_as_users_from_local_group_tear 1.37
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:513 RUN ['ipa', 'sudorule-remove-runasuser', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 External Groups of RunAs Users: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd332:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_group_setup 0.98
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:513 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 RunAs Groups: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd337:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_group 11.01
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd371:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd371:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd372:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd373:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd373:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd373:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd374:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd374:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd374:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd375:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd375:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 RunAsUsers: testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 RunAsGroups: testgroup2 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd376:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_runasgroup 0.95
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd346:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd346:transport.py:558 ipa: ERROR: group runAs category cannot be set to 'all' while there are allowed runAs groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd346:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_group_teardown 1.24
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:513 RUN ['ipa', 'sudorule-remove-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd351:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_local_group_setup 1.00
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:513 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 RunAs External Group: localgroup DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd356:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_local_group 10.97
-------------------------------Captured log call--------------------------------
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd393:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd393:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd394:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd395:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd395:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd395:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd396:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd396:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd396:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd397:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd397:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:513 RUN su -c "sudo -ll -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 Matching Defaults entries for testuser1 on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 User testuser1 may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 LDAP Role: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 RunAsUsers: testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 RunAsGroups: localgroup DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 Options: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 Commands: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:558 ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd398:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_setting_category_to_all_with_valid_entries_runasgroup_local 1.09
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd365:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd365:transport.py:558 ipa: ERROR: group runAs category cannot be set to 'all' while there are allowed runAs groups DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd365:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_sudo_rule_restricted_to_running_as_single_local_group_tear 1.28
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-runasgroup', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:513 RUN ['ipa', 'sudorule-remove-runasgroup', 'testrule', '--groups', 'localgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 RunAs External Group: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd370:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_setup 3.83
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd375:transport.py:513 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd375:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd375:transport.py:558 Deleted Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd375:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd375:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd376:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd377:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd378:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_user 1.06
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd383:transport.py:513 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'testuser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd383:transport.py:558 ipa: ERROR: users cannot be added when user category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd383:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_user_group 1.07
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd388:transport.py:513 RUN ['ipa', 'sudorule-add-user', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd388:transport.py:558 ipa: ERROR: users cannot be added when user category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd388:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_user_local 1.01
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd393:transport.py:513 RUN ['ipa', 'sudorule-add-user', 'testrule', '--users', 'localuser'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd393:transport.py:558 ipa: ERROR: users cannot be added when user category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd393:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_host 0.95
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd398:transport.py:513 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hosts', 'master.ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd398:transport.py:558 ipa: ERROR: hosts cannot be added when host category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd398:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_host_group 1.00
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd403:transport.py:513 RUN ['ipa', 'sudorule-add-host', 'testrule', '--hostgroups', 'testhostgroup'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd403:transport.py:558 ipa: ERROR: hosts cannot be added when host category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd403:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_host_mask 0.98
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd408:transport.py:513 RUN ['ipa', '-n', 'sudorule-add-host', 'testrule', '--hostmask', '192.168.121.109/24'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd408:transport.py:558 ipa: ERROR: hosts cannot be added when host category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd408:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_command_allow 0.96
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd413:transport.py:513 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd413:transport.py:558 ipa: ERROR: commands cannot be added when command category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd413:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_command_allow_group 1.02
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd418:transport.py:513 RUN ['ipa', 'sudorule-add-allow-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd418:transport.py:558 ipa: ERROR: commands cannot be added when command category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd418:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_command_deny 2.33
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-deny-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:513 RUN ['ipa', 'sudorule-add-deny-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Sudo Deny Commands: /usr/bin/yum DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd423:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-deny-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:513 RUN ['ipa', 'sudorule-remove-deny-command', 'testrule', '--sudocmds', '/usr/bin/yum'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd424:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_command_deny_group 2.37
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-deny-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:513 RUN ['ipa', 'sudorule-add-deny-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Sudo Deny Command Groups: readers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd429:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-remove-deny-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:513 RUN ['ipa', 'sudorule-remove-deny-command', 'testrule', '--sudocmdgroups', 'readers'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 Number of members removed 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:558 --------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd430:transport.py:217 Exit code: 0
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_runasuser 0.97
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd435:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd435:transport.py:558 ipa: ERROR: users cannot be added when runAs user or runAs group category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd435:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_runasuser_group 0.99
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd440:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd440:transport.py:558 ipa: ERROR: users cannot be added when runAs user or runAs group category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd440:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_category_all_validation_runasgroup 1.00
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd445:transport.py:513 RUN ['ipa', 'sudorule-add-runasgroup', 'testrule', '--groups', 'testgroup2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd445:transport.py:558 ipa: ERROR: users cannot be added when runAs user or runAs group category='all' DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd445:transport.py:217 Exit code: 1
Passed test_integration/test_sudo.py::TestSudo::test_domain_resolution_order 19.00
-------------------------------Captured log call--------------------------------
INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'config-mod', '--domain-resolution-order', 'ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:513 RUN ['ipa', 'config-mod', '--domain-resolution-order', 'ipa.test'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Maximum username length: 32 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Maximum hostname length: 64 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Home directory base: /home DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Default shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Default users group: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Default e-mail domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Search time limit: 2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Search size limit: 100 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 User search fields: uid,givenname,sn,telephonenumber,ou,title DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Group search fields: cn,description DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Enable migration mode: FALSE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Certificate Subject base: O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Password Expiration Notification (days): 4 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Password plugin features: AllowNThash, KDC:Disable Last Success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 SELinux user map order: guest_u:s0$xguest_u:s0$user_u:s0$staff_u:s0-s0:c0.c1023$sysadm_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Default SELinux user: unconfined_u:s0-s0:c0.c1023 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Default PAC types: MS-PAC, nfs:NONE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 IPA masters: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 IPA master capable of PKINIT: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 IPA CA servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 IPA CA renewal master: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 Domain resolution order: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:558 IPA DNS servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd450:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd451:transport.py:513 RUN ['ipa', 'sudorule-del', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd451:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd451:transport.py:558 Deleted Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd451:transport.py:558 ---------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd451:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:513 RUN ['ipa', 'sudorule-add', 'testrule'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:558 Added Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:558 -------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd452:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:513 RUN ['ipa', 'sudorule-add-option', 'testrule', '--sudooption', '!authenticate'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 Added option "!authenticate" to Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 ---------------------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd453:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--usercat=all', '--hostcat=all', '--cmdcat=all', '--runasusercat=all', '--runasgroupcat=all'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 RunAs User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 RunAs Group category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd454:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasgroupcat=', '--runasusercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:513 RUN ['ipa', 'sudorule-mod', 'testrule', '--runasgroupcat=', '--runasusercat='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Modified Sudo Rule "testrule" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 ----------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd455:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:513 RUN ['ipa', 'sudorule-add-runasuser', 'testrule', '--users', 'testuser2'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Rule name: testrule DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Enabled: TRUE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 User category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Host category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Command category: all DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 RunAs Users: testuser2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Sudo Option: !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 Number of members added 1 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:558 ------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd456:transport.py:217 Exit code: 0 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:301 STAT /bin/systemctl INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd467:transport.py:513 RUN ['systemctl', 'stop', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd467:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:513 RUN find /var/lib/sss/db -name '*.ldb' | xargs rm -fv DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/config.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/timestamps_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/sssd.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/timestamps_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/cache_implicit_files.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:558 removed '/var/lib/sss/db/cache_ipa.test.ldb' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd468:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd469:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/group'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd469:transport.py:558 removed '/var/lib/sss/mc/group' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd469:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd470:transport.py:513 RUN ['rm', '-fv', '/var/lib/sss/mc/passwd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd470:transport.py:558 removed '/var/lib/sss/mc/passwd' DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd470:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd471:transport.py:513 RUN ['systemctl', 'start', 'sssd'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd471:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:513 RUN su -c "sudo -l -n" testuser1 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:558 Matching Defaults entries for testuser1@ipa.test on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:558 !visiblepw, always_set_home, match_group_by_gid, always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, !authenticate DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:558 DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:558 User testuser1@ipa.test may run the following commands on client0: DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:558 (testuser2@ipa.test) NOPASSWD: ALL DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd472:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport:transport.py:318 RUN ['su', 'testuser1', '-c', 'sudo -u testuser2 true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd473:transport.py:513 RUN ['su', 'testuser1', '-c', 'sudo -u testuser2 true'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd473:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'config-mod', '--domain-resolution-order='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:513 RUN ['ipa', 'config-mod', '--domain-resolution-order='] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Maximum username length: 32 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Maximum hostname length: 64 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Home directory base: /home DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Default shell: /bin/sh DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Default users group: ipausers DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Default e-mail domain: ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Search time limit: 2 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Search size limit: 100 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 User search fields: uid,givenname,sn,telephonenumber,ou,title DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Group search fields: cn,description DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Enable migration mode: FALSE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Certificate Subject base: O=IPA.TEST DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Password Expiration Notification (days): 4 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Password plugin features: AllowNThash, KDC:Disable Last Success DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 SELinux user map order: guest_u:s0$xguest_u:s0$user_u:s0$staff_u:s0-s0:c0.c1023$sysadm_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Default SELinux user: unconfined_u:s0-s0:c0.c1023 DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 Default PAC types: MS-PAC, nfs:NONE DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 IPA masters: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 IPA master capable of PKINIT: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 IPA CA servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 IPA CA renewal master: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:558 IPA DNS servers: master.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd457:transport.py:217 Exit code: 0