# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_service.yml **************************************************** 1 plays in /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:2 Saturday 30 December 2023 05:54:55 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:11 Saturday 30 December 2023 05:54:56 +0000 (0:00:00.732) 0:00:00.746 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:54:56 +0000 (0:00:00.043) 0:00:00.789 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:54:56 +0000 (0:00:00.035) 0:00:00.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:54:56 +0000 (0:00:00.030) 0:00:00.855 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:54:56 +0000 (0:00:00.201) 0:00:01.056 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:54:57 +0000 (0:00:00.021) 0:00:01.078 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:54:57 +0000 (0:00:00.483) 0:00:01.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:54:57 +0000 (0:00:00.024) 0:00:01.586 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:54:57 +0000 (0:00:00.028) 0:00:01.615 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32043008", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:54:57 +0000 (0:00:00.377) 0:00:01.993 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32043008", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:54:58 +0000 (0:00:00.210) 0:00:02.203 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:54:58 +0000 (0:00:00.043) 0:00:02.246 ***** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 490e604682bd0e5e6459d3d88f87ebacadb454f72a1f45802424bfc1d0310893 /etc/firewalld/services/customservice.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.70 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:54:59 +0000 (0:00:01.141) 0:00:03.387 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.024) 0:00:03.411 ***** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.017) 0:00:03.429 ***** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.018) 0:00:03.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.019) 0:00:03.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.019) 0:00:03.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.026) 0:00:03.513 ***** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.70 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.351) 0:00:03.864 ***** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.023) 0:00:03.888 ***** skipping: [sut] => {} TASK [Get all services] ******************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:20 Saturday 30 December 2023 05:54:59 +0000 (0:00:00.020) 0:00:03.908 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.299071", "end": "2023-12-30 05:55:00.313583", "rc": 0, "start": "2023-12-30 05:55:00.014512" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if http not present after reset] ************************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:25 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.521) 0:00:04.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:32 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.028) 0:00:04.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure http has default configuration] *********************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:37 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.052) 0:00:04.511 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.109) 0:00:04.620 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.031) 0:00:04.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.060) 0:00:04.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.063) 0:00:04.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:00 +0000 (0:00:00.037) 0:00:04.813 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.505) 0:00:05.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.037) 0:00:05.356 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.061) 0:00:05.417 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32256000", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.212) 0:00:05.629 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32256000", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.216) 0:00:05.846 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.025) 0:00:05.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.046) 0:00:05.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:01 +0000 (0:00:00.029) 0:00:05.948 ***** ok: [sut] => (item={'service': 'http', 'short': 'WWW (HTTP)', 'description': 'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', 'port': ['80/tcp'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.569) 0:00:06.518 ***** skipping: [sut] => (item={'service': 'http', 'short': 'WWW (HTTP)', 'description': 'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', 'port': ['80/tcp'], 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.030) 0:00:06.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.053) 0:00:06.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.031) 0:00:06.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.044) 0:00:06.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.053) 0:00:06.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.053) 0:00:06.783 ***** skipping: [sut] => {} TASK [Fail if service changed] ************************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:54 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.034) 0:00:06.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change default service http] ********************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:61 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.062) 0:00:06.881 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.089) 0:00:06.970 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.017) 0:00:06.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.048) 0:00:07.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:02 +0000 (0:00:00.021) 0:00:07.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.024) 0:00:07.082 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.390) 0:00:07.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.020) 0:00:07.492 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.029) 0:00:07.522 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32268288", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.209) 0:00:07.732 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32268288", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.222) 0:00:07.954 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.022) 0:00:07.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.020) 0:00:07.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:03 +0000 (0:00:00.018) 0:00:08.015 ***** changed: [sut] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.678) 0:00:08.693 ***** skipping: [sut] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.063) 0:00:08.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.021) 0:00:08.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.020) 0:00:08.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.020) 0:00:08.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.040) 0:00:08.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.037) 0:00:08.896 ***** skipping: [sut] => {} TASK [Fail when http is unchanged] ********************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:75 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.039) 0:00:08.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change default service http again] *************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:80 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.020) 0:00:08.956 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.063) 0:00:09.020 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.025) 0:00:09.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:04 +0000 (0:00:00.018) 0:00:09.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.018) 0:00:09.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.020) 0:00:09.103 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.390) 0:00:09.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.023) 0:00:09.516 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.023) 0:00:09.540 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32276480", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.210) 0:00:09.750 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32276480", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.240) 0:00:09.990 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.024) 0:00:10.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.018) 0:00:10.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:05 +0000 (0:00:00.017) 0:00:10.051 ***** ok: [sut] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.455) 0:00:10.506 ***** skipping: [sut] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.030) 0:00:10.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.031) 0:00:10.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.021) 0:00:10.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.018) 0:00:10.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.022) 0:00:10.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.017) 0:00:10.648 ***** skipping: [sut] => {} TASK [Fail when http changes affect permanent configuration] ******************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:94 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.019) 0:00:10.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:103 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.026) 0:00:10.694 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.081) 0:00:10.775 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.012) 0:00:10.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.022) 0:00:10.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.026) 0:00:10.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:06 +0000 (0:00:00.021) 0:00:10.859 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.410) 0:00:11.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.033) 0:00:11.303 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.051) 0:00:11.354 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32276480", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.303) 0:00:11.658 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32276480", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.209) 0:00:11.867 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.028) 0:00:11.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.030) 0:00:11.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:07 +0000 (0:00:00.082) 0:00:12.009 ***** changed: [sut] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.734) 0:00:12.743 ***** skipping: [sut] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.080) 0:00:12.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.030) 0:00:12.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.030) 0:00:12.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.048) 0:00:12.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.023) 0:00:12.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.048) 0:00:13.005 ***** skipping: [sut] => {} TASK [Get all services] ******************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:126 Saturday 30 December 2023 05:55:08 +0000 (0:00:00.028) 0:00:13.033 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.300327", "end": "2023-12-30 05:55:09.384152", "rc": 0, "start": "2023-12-30 05:55:09.083825" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if systemrole test not created] ************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:131 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.458) 0:00:13.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:136 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.023) 0:00:13.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:143 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.019) 0:00:13.535 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.088) 0:00:13.624 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.020) 0:00:13.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.028) 0:00:13.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.019) 0:00:13.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:09 +0000 (0:00:00.017) 0:00:13.709 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.415) 0:00:14.125 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.069) 0:00:14.194 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.066) 0:00:14.260 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32288768", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.264) 0:00:14.525 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32288768", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.211) 0:00:14.736 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.019) 0:00:14.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.017) 0:00:14.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:10 +0000 (0:00:00.018) 0:00:14.792 ***** ok: [sut] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': '9999/udp', 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.432) 0:00:15.224 ***** skipping: [sut] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': '9999/udp', 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.044) 0:00:15.268 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.023) 0:00:15.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.021) 0:00:15.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.030) 0:00:15.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.023) 0:00:15.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.034) 0:00:15.402 ***** skipping: [sut] => {} TASK [Fail when custom service changed] **************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:164 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.032) 0:00:15.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:171 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.027) 0:00:15.462 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.296796", "end": "2023-12-30 05:55:11.818464", "rc": 1, "start": "2023-12-30 05:55:11.521668" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:177 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.442) 0:00:15.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:182 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.019) 0:00:15.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:191 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.017) 0:00:15.942 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.052) 0:00:15.994 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.012) 0:00:16.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.018) 0:00:16.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.017) 0:00:16.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:11 +0000 (0:00:00.021) 0:00:16.064 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:12 +0000 (0:00:00.455) 0:00:16.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:12 +0000 (0:00:00.036) 0:00:16.556 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:12 +0000 (0:00:00.071) 0:00:16.628 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32292864", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:12 +0000 (0:00:00.238) 0:00:16.866 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32292864", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.205) 0:00:17.071 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.021) 0:00:17.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.018) 0:00:17.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.024) 0:00:17.136 ***** changed: [sut] => (item={'service': 'systemroletest', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.455) 0:00:17.591 ***** skipping: [sut] => (item={'service': 'systemroletest', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "systemroletest", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.056) 0:00:17.648 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.024) 0:00:17.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.024) 0:00:17.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.023) 0:00:17.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.029) 0:00:17.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.042) 0:00:17.793 ***** skipping: [sut] => {} TASK [Query if service has been added to default zone] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:201 Saturday 30 December 2023 05:55:13 +0000 (0:00:00.021) 0:00:17.814 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.318607", "end": "2023-12-30 05:55:14.172068", "rc": 0, "start": "2023-12-30 05:55:13.853461" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:206 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.452) 0:00:18.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:213 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.020) 0:00:18.287 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.097) 0:00:18.385 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.019) 0:00:18.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.020) 0:00:18.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.020) 0:00:18.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.017) 0:00:18.463 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.380) 0:00:18.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.024) 0:00:18.868 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:14 +0000 (0:00:00.045) 0:00:18.913 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.216) 0:00:19.130 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.232) 0:00:19.362 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.046) 0:00:19.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.046) 0:00:19.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.022) 0:00:19.477 ***** changed: [sut] => (item={'service': 'systemroletest', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "disabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.418) 0:00:19.895 ***** skipping: [sut] => (item={'service': 'systemroletest', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "systemroletest", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.037) 0:00:19.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.039) 0:00:19.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.024) 0:00:19.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:15 +0000 (0:00:00.042) 0:00:20.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.032) 0:00:20.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.057) 0:00:20.129 ***** skipping: [sut] => {} TASK [Remove custom service elements] ****************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:223 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.067) 0:00:20.197 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.093) 0:00:20.290 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.013) 0:00:20.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.018) 0:00:20.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.019) 0:00:20.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.019) 0:00:20.361 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.399) 0:00:20.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.017) 0:00:20.778 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.023) 0:00:20.801 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:16 +0000 (0:00:00.208) 0:00:21.010 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.224) 0:00:21.234 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.030) 0:00:21.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.044) 0:00:21.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.024) 0:00:21.333 ***** changed: [sut] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.697) 0:00:22.031 ***** skipping: [sut] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:17 +0000 (0:00:00.033) 0:00:22.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.036) 0:00:22.101 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.035) 0:00:22.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.039) 0:00:22.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.039) 0:00:22.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.043) 0:00:22.258 ***** skipping: [sut] => {} TASK [Fail if custom service elements unchanged] ******************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:241 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.030) 0:00:22.289 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:246 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.027) 0:00:22.316 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.121) 0:00:22.437 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.014) 0:00:22.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.021) 0:00:22.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.019) 0:00:22.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.018) 0:00:22.511 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.416) 0:00:22.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.023) 0:00:22.951 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:18 +0000 (0:00:00.045) 0:00:22.997 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32301056", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:19 +0000 (0:00:00.221) 0:00:23.218 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32301056", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:19 +0000 (0:00:00.266) 0:00:23.485 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:19 +0000 (0:00:00.060) 0:00:23.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:19 +0000 (0:00:00.056) 0:00:23.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:19 +0000 (0:00:00.049) 0:00:23.652 ***** ok: [sut] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.533) 0:00:24.185 ***** skipping: [sut] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.092) 0:00:24.277 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.074) 0:00:24.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.066) 0:00:24.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.062) 0:00:24.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.031) 0:00:24.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.050) 0:00:24.563 ***** skipping: [sut] => {} TASK [Fail if custom service elements changed] ********************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:262 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.040) 0:00:24.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get all services] ******************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:267 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.017) 0:00:24.621 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.294564", "end": "2023-12-30 05:55:20.976835", "rc": 0, "start": "2023-12-30 05:55:20.682271" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail if systemroletest removed] ****************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:272 Saturday 30 December 2023 05:55:20 +0000 (0:00:00.443) 0:00:25.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service] *************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:281 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.028) 0:00:25.093 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.110) 0:00:25.204 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.031) 0:00:25.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.063) 0:00:25.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.083) 0:00:25.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.042) 0:00:25.424 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.494) 0:00:25.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.085) 0:00:26.004 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:21 +0000 (0:00:00.042) 0:00:26.047 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32301056", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:22 +0000 (0:00:00.262) 0:00:26.309 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32301056", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:22 +0000 (0:00:00.274) 0:00:26.583 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:22 +0000 (0:00:00.045) 0:00:26.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:22 +0000 (0:00:00.049) 0:00:26.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:22 +0000 (0:00:00.024) 0:00:26.702 ***** changed: [sut] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.688) 0:00:27.390 ***** skipping: [sut] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permament": true, "service": "systemroletest", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.078) 0:00:27.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.031) 0:00:27.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.053) 0:00:27.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.030) 0:00:27.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.027) 0:00:27.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.068) 0:00:27.680 ***** skipping: [sut] => {} TASK [Get all services] ******************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:290 Saturday 30 December 2023 05:55:23 +0000 (0:00:00.081) 0:00:27.761 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.293625", "end": "2023-12-30 05:55:24.122828", "rc": 0, "start": "2023-12-30 05:55:23.829203" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client tinc tor-socks transmission-client upnp-client vdsm vnc-server wbem-http wbem-https wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-server TASK [Fail when custom service not removed] ************************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:295 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.467) 0:00:28.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service again] ********************************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:300 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.042) 0:00:28.271 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.108) 0:00:28.379 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.034) 0:00:28.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.026) 0:00:28.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.032) 0:00:28.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.031) 0:00:28.504 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.489) 0:00:28.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:24 +0000 (0:00:00.043) 0:00:29.037 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.049) 0:00:29.086 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.265) 0:00:29.352 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.244) 0:00:29.597 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.029) 0:00:29.626 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.024) 0:00:29.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:25 +0000 (0:00:00.019) 0:00:29.671 ***** ok: [sut] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.430) 0:00:30.101 ***** skipping: [sut] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permament": true, "service": "systemroletest", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.024) 0:00:30.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.019) 0:00:30.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.017) 0:00:30.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.018) 0:00:30.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.033) 0:00:30.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.040) 0:00:30.256 ***** skipping: [sut] => {} TASK [Fail if second removal changes anything] ********************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:309 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.029) 0:00:30.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Attempt to enable http-alt, which does not exist] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:317 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.022) 0:00:30.307 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.022) 0:00:30.330 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.015) 0:00:30.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.022) 0:00:30.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.031) 0:00:30.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.021) 0:00:30.422 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.395) 0:00:30.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.017) 0:00:30.835 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.022) 0:00:30.858 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:26 +0000 (0:00:00.206) 0:00:31.064 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.203) 0:00:31.267 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.024) 0:00:31.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.022) 0:00:31.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.022) 0:00:31.336 ***** ok: [sut] => (item={'service': 'http-alt', 'state': 'enabled', 'zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "http-alt", "state": "enabled", "zone": "public" }, "warnings": [ "Service does not exist - http-alt. Ensure that you define the service in the playbook before running it in diff mode" ] } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.397) 0:00:31.734 ***** skipping: [sut] => (item={'service': 'http-alt', 'state': 'enabled', 'zone': 'public', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "service": "http-alt", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.026) 0:00:31.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.020) 0:00:31.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.018) 0:00:31.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.020) 0:00:31.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.019) 0:00:31.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.018) 0:00:31.858 ***** skipping: [sut] => {} TASK [Fail if enabling service in check mode reports changes] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:327 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.017) 0:00:31.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:335 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.017) 0:00:31.893 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.100) 0:00:31.994 ***** included: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.012) 0:00:32.006 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 30 December 2023 05:55:27 +0000 (0:00:00.023) 0:00:32.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.045) 0:00:32.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.021) 0:00:32.096 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.380) 0:00:32.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.017) 0:00:32.494 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.025) 0:00:32.519 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.203) 0:00:32.722 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-30 05:54:11 UTC", "ActiveEnterTimestampMonotonic": "413860952", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 05:54:10 UTC", "AssertTimestampMonotonic": "413475162", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ConditionTimestampMonotonic": "413475160", "Conflicts": "ipset.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4830", "ExecMainStartTimestamp": "Sat 2023-12-30 05:54:10 UTC", "ExecMainStartTimestampMonotonic": "413482655", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Sat 2023-12-30 05:54:10 UTC] ; stop_time=[n/a] ; pid=4830 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 05:54:10 UTC", "InactiveExitTimestampMonotonic": "413482713", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4830", "MemoryAccounting": "no", "MemoryCurrent": "32296960", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "2", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-30 05:54:11 UTC", "WatchdogTimestampMonotonic": "413860896", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.218) 0:00:32.940 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 30 December 2023 05:55:28 +0000 (0:00:00.021) 0:00:32.962 ***** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 94ab11c4e18dab5f883072983452331155deff3e66417f85d5272fd296284857 /etc/firewalld/services/http.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.70 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.920) 0:00:33.883 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.041) 0:00:33.925 ***** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.034) 0:00:33.959 ***** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.028) 0:00:33.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.023) 0:00:34.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.025) 0:00:34.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 30 December 2023 05:55:29 +0000 (0:00:00.019) 0:00:34.057 ***** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.47.70 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 30 December 2023 05:55:30 +0000 (0:00:00.345) 0:00:34.402 ***** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 30 December 2023 05:55:30 +0000 (0:00:00.027) 0:00:34.429 ***** skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=99 changed=8 unreachable=0 failed=0 skipped=205 rescued=0 ignored=1 Saturday 30 December 2023 05:55:30 +0000 (0:00:00.019) 0:00:34.449 ***** =============================================================================== linux-system-roles.firewall : Get config files, checksums before and remove --- 2.06s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 linux-system-roles.firewall : Configure firewall ------------------------ 1.23s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 1.17s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 1.13s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 1.12s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:2 ---------------------- linux-system-roles.firewall : Get config files, checksums after --------- 0.70s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.58s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Configure firewall ------------------------ 0.57s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.57s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.53s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Get all services -------------------------------------------------------- 0.52s /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:20 --------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.52s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Install firewalld ------------------------- 0.51s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Install firewalld ------------------------- 0.49s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Install firewalld ------------------------- 0.49s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Install firewalld ------------------------- 0.48s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Get all services -------------------------------------------------------- 0.47s /WORKDIR/git-weekly-cifoefqez2/tests/tests_service.yml:290 -------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.46s /WORKDIR/git-weekly-cifoefqez2/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Service does not exist - http-alt. Ensure that you define the service in the playbook before running it in diff mode ---^---^---^---^---^---