# 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_ansible.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:2 Saturday 10 August 2024 05:38:37 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.728) 0:00:00.742 ******* included: /WORKDIR/git-weekly-ciju8ojizs/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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.015) 0:00:00.757 ******* 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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.019) 0:00:00.776 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.188) 0:00:00.965 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.022) 0:00:00.987 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.135) 0:00:01.123 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 10 August 2024 05:38:38 +0000 (0:00:00.022) 0:00:01.146 ******* 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 : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.608) 0:00:01.755 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.019) 0:00:01.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.017) 0:00:01.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.017) 0:00:01.810 ******* 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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.019) 0:00:01.830 ******* 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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.028) 0:00:01.858 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service ip6tables.service ipset.service shutdown.target ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "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": "system.slice basic.target", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 10 August 2024 05:38:39 +0000 (0:00:00.411) 0:00:02.269 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ebtables.service shutdown.target iptables.service ipset.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "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": "system.slice basic.target", "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": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 10 August 2024 05:38:41 +0000 (0:00:01.361) 0:00:03.630 ******* ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.022) 0:00:03.653 ******* 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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.019) 0:00:03.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.040) 0:00:03.712 ******* TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.021) 0:00:03.734 ******* TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.020) 0:00:03.754 ******* 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-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 10 August 2024 05:38:41 +0000 (0:00:00.019) 0:00:03.774 ******* ok: [sut] => { "changed": false, "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 10 August 2024 05:38:43 +0000 (0:00:01.841) 0:00:05.615 ******* ok: [sut] => { "ansible_facts": { "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 10 August 2024 05:38:43 +0000 (0:00:00.023) 0:00:05.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 10 August 2024 05:38:43 +0000 (0:00:00.018) 0:00:05.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 10 August 2024 05:38:43 +0000 (0:00:00.017) 0:00:05.676 ******* skipping: [sut] => {} TASK [Get default zone] ******************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:11 Saturday 10 August 2024 05:38:43 +0000 (0:00:00.018) 0:00:05.694 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.264998", "end": "2024-08-10 05:38:43.833913", "rc": 0, "start": "2024-08-10 05:38:43.568915" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:21 Saturday 10 August 2024 05:38:43 +0000 (0:00:00.513) 0:00:06.208 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.359783", "end": "2024-08-10 05:38:44.337127", "failed_when_result": false, "rc": 112, "start": "2024-08-10 05:38:43.977344" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:27 Saturday 10 August 2024 05:38:44 +0000 (0:00:00.510) 0:00:06.718 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.257568", "end": "2024-08-10 05:38:44.746700", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:38:44.489132" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:33 Saturday 10 August 2024 05:38:44 +0000 (0:00:00.402) 0:00:07.121 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.256353", "end": "2024-08-10 05:38:45.165309", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:38:44.908956" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:39 Saturday 10 August 2024 05:38:45 +0000 (0:00:00.409) 0:00:07.530 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.266946", "end": "2024-08-10 05:38:45.564217", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:38:45.297271" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:45 Saturday 10 August 2024 05:38:45 +0000 (0:00:00.398) 0:00:07.929 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.258779", "end": "2024-08-10 05:38:45.950621", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:38:45.691842" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:51 Saturday 10 August 2024 05:38:45 +0000 (0:00:00.387) 0:00:08.316 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.258683", "end": "2024-08-10 05:38:46.338351", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:38:46.079668" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:57 Saturday 10 August 2024 05:38:46 +0000 (0:00:00.385) 0:00:08.702 ******* ok: [sut] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.512650", "end": "2024-08-10 05:38:46.980834", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:38:46.468184" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:66 Saturday 10 August 2024 05:38:47 +0000 (0:00:00.647) 0:00:09.349 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.246943", "end": "2024-08-10 05:38:47.372633", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:38:47.125690" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:72 Saturday 10 August 2024 05:38:47 +0000 (0:00:00.387) 0:00:09.737 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.417764", "end": "2024-08-10 05:38:47.916019", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:38:47.498255" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:80 Saturday 10 August 2024 05:38:47 +0000 (0:00:00.544) 0:00:10.282 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:88 Saturday 10 August 2024 05:38:48 +0000 (0:00:00.434) 0:00:10.717 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:96 Saturday 10 August 2024 05:38:48 +0000 (0:00:00.357) 0:00:11.075 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:104 Saturday 10 August 2024 05:38:49 +0000 (0:00:00.349) 0:00:11.424 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:112 Saturday 10 August 2024 05:38:49 +0000 (0:00:00.337) 0:00:11.762 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:120 Saturday 10 August 2024 05:38:49 +0000 (0:00:00.354) 0:00:12.116 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:128 Saturday 10 August 2024 05:38:50 +0000 (0:00:00.356) 0:00:12.473 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:136 Saturday 10 August 2024 05:38:50 +0000 (0:00:00.334) 0:00:12.807 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:144 Saturday 10 August 2024 05:38:50 +0000 (0:00:00.349) 0:00:13.156 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:153 Saturday 10 August 2024 05:38:51 +0000 (0:00:00.329) 0:00:13.485 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:162 Saturday 10 August 2024 05:38:51 +0000 (0:00:00.336) 0:00:13.821 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:171 Saturday 10 August 2024 05:38:51 +0000 (0:00:00.328) 0:00:14.150 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:180 Saturday 10 August 2024 05:38:52 +0000 (0:00:00.329) 0:00:14.480 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:189 Saturday 10 August 2024 05:38:52 +0000 (0:00:00.323) 0:00:14.803 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone] *********************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:198 Saturday 10 August 2024 05:38:52 +0000 (0:00:00.332) 0:00:15.136 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone, again] **************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:207 Saturday 10 August 2024 05:38:53 +0000 (0:00:00.416) 0:00:15.553 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone] ********************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:216 Saturday 10 August 2024 05:38:53 +0000 (0:00:00.354) 0:00:15.907 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone, again] ************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:225 Saturday 10 August 2024 05:38:53 +0000 (0:00:00.373) 0:00:16.281 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:234 Saturday 10 August 2024 05:38:54 +0000 (0:00:00.374) 0:00:16.656 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:243 Saturday 10 August 2024 05:38:54 +0000 (0:00:00.340) 0:00:16.997 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:252 Saturday 10 August 2024 05:38:54 +0000 (0:00:00.338) 0:00:17.335 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:260 Saturday 10 August 2024 05:38:55 +0000 (0:00:00.328) 0:00:17.664 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:268 Saturday 10 August 2024 05:38:55 +0000 (0:00:00.334) 0:00:17.998 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:276 Saturday 10 August 2024 05:38:55 +0000 (0:00:00.326) 0:00:18.324 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:284 Saturday 10 August 2024 05:38:56 +0000 (0:00:00.342) 0:00:18.667 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:292 Saturday 10 August 2024 05:38:56 +0000 (0:00:00.348) 0:00:19.015 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:301 Saturday 10 August 2024 05:38:57 +0000 (0:00:00.336) 0:00:19.352 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:310 Saturday 10 August 2024 05:38:57 +0000 (0:00:00.366) 0:00:19.719 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:319 Saturday 10 August 2024 05:38:57 +0000 (0:00:00.341) 0:00:20.061 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:328 Saturday 10 August 2024 05:38:58 +0000 (0:00:00.587) 0:00:20.649 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:337 Saturday 10 August 2024 05:38:58 +0000 (0:00:00.341) 0:00:20.990 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:346 Saturday 10 August 2024 05:38:59 +0000 (0:00:00.545) 0:00:21.536 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:355 Saturday 10 August 2024 05:38:59 +0000 (0:00:00.336) 0:00:21.873 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:367 Saturday 10 August 2024 05:38:59 +0000 (0:00:00.344) 0:00:22.217 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:379 Saturday 10 August 2024 05:39:00 +0000 (0:00:00.356) 0:00:22.574 ******* changed: [sut] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:387 Saturday 10 August 2024 05:39:00 +0000 (0:00:00.526) 0:00:23.100 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:392 Saturday 10 August 2024 05:39:00 +0000 (0:00:00.020) 0:00:23.120 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:402 Saturday 10 August 2024 05:39:01 +0000 (0:00:00.341) 0:00:23.461 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:412 Saturday 10 August 2024 05:39:01 +0000 (0:00:00.391) 0:00:23.853 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.243146", "end": "2024-08-10 05:39:01.859613", "rc": 0, "start": "2024-08-10 05:39:01.616467" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:416 Saturday 10 August 2024 05:39:01 +0000 (0:00:00.358) 0:00:24.211 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:423 Saturday 10 August 2024 05:39:02 +0000 (0:00:00.430) 0:00:24.642 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:430 Saturday 10 August 2024 05:39:02 +0000 (0:00:00.345) 0:00:24.988 ******* ok: [sut] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [Add custom service without details] ************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:440 Saturday 10 August 2024 05:39:02 +0000 (0:00:00.226) 0:00:25.214 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:448 Saturday 10 August 2024 05:39:03 +0000 (0:00:00.634) 0:00:25.848 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:456 Saturday 10 August 2024 05:39:03 +0000 (0:00:00.340) 0:00:26.189 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:465 Saturday 10 August 2024 05:39:04 +0000 (0:00:00.557) 0:00:26.746 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:474 Saturday 10 August 2024 05:39:04 +0000 (0:00:00.585) 0:00:27.332 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:483 Saturday 10 August 2024 05:39:05 +0000 (0:00:00.583) 0:00:27.915 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:492 Saturday 10 August 2024 05:39:05 +0000 (0:00:00.371) 0:00:28.286 ******* ok: [sut] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:501 Saturday 10 August 2024 05:39:06 +0000 (0:00:00.378) 0:00:28.664 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:510 Saturday 10 August 2024 05:39:06 +0000 (0:00:00.587) 0:00:29.252 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:519 Saturday 10 August 2024 05:39:07 +0000 (0:00:00.588) 0:00:29.840 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:528 Saturday 10 August 2024 05:39:08 +0000 (0:00:00.664) 0:00:30.505 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:539 Saturday 10 August 2024 05:39:09 +0000 (0:00:00.969) 0:00:31.474 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:547 Saturday 10 August 2024 05:39:09 +0000 (0:00:00.561) 0:00:32.035 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add custom service with all the elements at once] ************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:555 Saturday 10 August 2024 05:39:10 +0000 (0:00:00.336) 0:00:32.372 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add helper module that already is on customservice] ********************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:572 Saturday 10 August 2024 05:39:10 +0000 (0:00:00.603) 0:00:32.976 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:581 Saturday 10 August 2024 05:39:10 +0000 (0:00:00.354) 0:00:33.331 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:588 Saturday 10 August 2024 05:39:11 +0000 (0:00:00.346) 0:00:33.677 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:595 Saturday 10 August 2024 05:39:11 +0000 (0:00:00.342) 0:00:34.020 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:602 Saturday 10 August 2024 05:39:12 +0000 (0:00:00.353) 0:00:34.373 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:613 Saturday 10 August 2024 05:39:12 +0000 (0:00:00.394) 0:00:34.768 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:624 Saturday 10 August 2024 05:39:12 +0000 (0:00:00.361) 0:00:35.130 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:643 Saturday 10 August 2024 05:39:13 +0000 (0:00:00.344) 0:00:35.474 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.274324", "end": "2024-08-10 05:39:13.513343", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:13.239019" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:649 Saturday 10 August 2024 05:39:13 +0000 (0:00:00.415) 0:00:35.890 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.259918", "end": "2024-08-10 05:39:13.913657", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:13.653739" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:655 Saturday 10 August 2024 05:39:13 +0000 (0:00:00.391) 0:00:36.282 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.261194", "end": "2024-08-10 05:39:14.311810", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:14.050616" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:661 Saturday 10 August 2024 05:39:14 +0000 (0:00:00.423) 0:00:36.705 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.259085", "end": "2024-08-10 05:39:14.745041", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:14.485956" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:667 Saturday 10 August 2024 05:39:14 +0000 (0:00:00.418) 0:00:37.124 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.270638", "end": "2024-08-10 05:39:15.178121", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:14.907483" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:673 Saturday 10 August 2024 05:39:15 +0000 (0:00:00.447) 0:00:37.572 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.258410", "end": "2024-08-10 05:39:15.627280", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:15.368870" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:679 Saturday 10 August 2024 05:39:15 +0000 (0:00:00.420) 0:00:37.993 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.261743", "end": "2024-08-10 05:39:16.025470", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:15.763727" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:685 Saturday 10 August 2024 05:39:16 +0000 (0:00:00.408) 0:00:38.401 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.262440", "end": "2024-08-10 05:39:16.440425", "failed_when_result": false, "rc": 22, "start": "2024-08-10 05:39:16.177985" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:691 Saturday 10 August 2024 05:39:16 +0000 (0:00:00.402) 0:00:38.803 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.297744", "end": "2024-08-10 05:39:16.873606", "rc": 0, "start": "2024-08-10 05:39:16.575862" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:697 Saturday 10 August 2024 05:39:16 +0000 (0:00:00.422) 0:00:39.226 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.434794", "end": "2024-08-10 05:39:17.424803", "failed_when_result": false, "rc": 0, "start": "2024-08-10 05:39:16.990009" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=95 changed=37 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 10 August 2024 05:39:17 +0000 (0:00:00.567) 0:00:39.793 ******* =============================================================================== linux-system-roles.firewall : Gather firewall config if no arguments ---- 1.84s /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 linux-system-roles.firewall : Enable and start firewalld service -------- 1.36s /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Add destination addresses ----------------------------------------------- 0.97s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:528 -------------------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:2 ---------------------- Remove ports from custom service without deleting service --------------- 0.66s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:519 -------------------- Reset default zone to defaults ------------------------------------------ 0.65s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:57 --------------------- Add custom service without details -------------------------------------- 0.63s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:440 -------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.61s /WORKDIR/git-weekly-ciju8ojizs/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Add custom service with all the elements at once ------------------------ 0.60s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:555 -------------------- Remove valid protocol from customservice -------------------------------- 0.59s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:510 -------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.59s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:319 -------------------- Add valid protocol to custom service ------------------------------------ 0.59s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:501 -------------------- Add short description to custom service --------------------------------- 0.59s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:465 -------------------- Add source_ports to custom service -------------------------------------- 0.58s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:474 -------------------- Reload firewalld -------------------------------------------------------- 0.57s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:697 -------------------- Delete custom service --------------------------------------------------- 0.56s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:539 -------------------- Add description to custom service --------------------------------------- 0.56s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:456 -------------------- Ensure default target in permanent internal zone ------------------------ 0.55s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:337 -------------------- Reload firewalld -------------------------------------------------------- 0.54s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:72 --------------------- Firewalld custom zone --------------------------------------------------- 0.53s /WORKDIR/git-weekly-ciju8ojizs/tests/tests_ansible.yml:379 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---