# 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-ciu9bqsj6s/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:2 Saturday 03 August 2024 05:38:24 +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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.927) 0:00:00.941 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.028) 0:00:00.969 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.018) 0:00:00.988 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.182) 0:00:01.170 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.024) 0:00:01.195 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.133) 0:00:01.328 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:38:25 +0000 (0:00:00.034) 0:00:01.362 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.740) 0:00:02.103 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.021) 0:00:02.124 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.020) 0:00:02.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.017) 0:00:02.162 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.017) 0:00:02.180 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.023) 0:00:02.203 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.service polkit.service 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 ip6tables.service iptables.service ipset.service shutdown.target", "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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:38:26 +0000 (0:00:00.379) 0:00:02.583 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.service polkit.service 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": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:38:27 +0000 (0:00:01.158) 0:00:03.741 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:38:27 +0000 (0:00:00.022) 0:00:03.764 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:38:27 +0000 (0:00:00.020) 0:00:03.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:38:28 +0000 (0:00:00.018) 0:00:03.804 ******* TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:38:28 +0000 (0:00:00.019) 0:00:03.823 ******* TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:38:28 +0000 (0:00:00.019) 0:00:03.843 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:38:28 +0000 (0:00:00.020) 0:00:03.864 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:38:29 +0000 (0:00:01.292) 0:00:05.157 ******* 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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:38:29 +0000 (0:00:00.024) 0:00:05.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-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:38:29 +0000 (0:00:00.018) 0:00:05.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:38:29 +0000 (0:00:00.020) 0:00:05.219 ******* skipping: [sut] => {} TASK [Get default zone] ******************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:11 Saturday 03 August 2024 05:38:29 +0000 (0:00:00.018) 0:00:05.238 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.303912", "end": "2024-08-03 05:38:29.925857", "rc": 0, "start": "2024-08-03 05:38:29.621945" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:21 Saturday 03 August 2024 05:38:29 +0000 (0:00:00.497) 0:00:05.735 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.395970", "end": "2024-08-03 05:38:30.441388", "failed_when_result": false, "rc": 112, "start": "2024-08-03 05:38:30.045418" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:27 Saturday 03 August 2024 05:38:30 +0000 (0:00:00.526) 0:00:06.261 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.305498", "end": "2024-08-03 05:38:30.882813", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:38:30.577315" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:33 Saturday 03 August 2024 05:38:30 +0000 (0:00:00.441) 0:00:06.702 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.302320", "end": "2024-08-03 05:38:31.317807", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:38:31.015487" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:39 Saturday 03 August 2024 05:38:31 +0000 (0:00:00.435) 0:00:07.138 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.311940", "end": "2024-08-03 05:38:31.759996", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:38:31.448056" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:45 Saturday 03 August 2024 05:38:31 +0000 (0:00:00.440) 0:00:07.579 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.304809", "end": "2024-08-03 05:38:32.194957", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:38:31.890148" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:51 Saturday 03 August 2024 05:38:32 +0000 (0:00:00.435) 0:00:08.014 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.305353", "end": "2024-08-03 05:38:32.630847", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:38:32.325494" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:57 Saturday 03 August 2024 05:38:32 +0000 (0:00:00.446) 0:00:08.460 ******* ok: [sut] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.596664", "end": "2024-08-03 05:38:33.371303", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:38:32.774639" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:66 Saturday 03 August 2024 05:38:33 +0000 (0:00:00.729) 0:00:09.190 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.290745", "end": "2024-08-03 05:38:33.790608", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:38:33.499863" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:72 Saturday 03 August 2024 05:38:33 +0000 (0:00:00.425) 0:00:09.616 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.502951", "end": "2024-08-03 05:38:34.429570", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:38:33.926619" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:80 Saturday 03 August 2024 05:38:34 +0000 (0:00:00.633) 0:00:10.250 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:88 Saturday 03 August 2024 05:38:34 +0000 (0:00:00.447) 0:00:10.697 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:96 Saturday 03 August 2024 05:38:35 +0000 (0:00:00.384) 0:00:11.082 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:104 Saturday 03 August 2024 05:38:35 +0000 (0:00:00.375) 0:00:11.458 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:112 Saturday 03 August 2024 05:38:36 +0000 (0:00:00.377) 0:00:11.835 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:120 Saturday 03 August 2024 05:38:36 +0000 (0:00:00.378) 0:00:12.214 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:128 Saturday 03 August 2024 05:38:36 +0000 (0:00:00.384) 0:00:12.599 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:136 Saturday 03 August 2024 05:38:37 +0000 (0:00:00.377) 0:00:12.976 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:144 Saturday 03 August 2024 05:38:37 +0000 (0:00:00.375) 0:00:13.352 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:153 Saturday 03 August 2024 05:38:37 +0000 (0:00:00.375) 0:00:13.727 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:162 Saturday 03 August 2024 05:38:38 +0000 (0:00:00.398) 0:00:14.125 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:171 Saturday 03 August 2024 05:38:38 +0000 (0:00:00.376) 0:00:14.502 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:180 Saturday 03 August 2024 05:38:39 +0000 (0:00:00.370) 0:00:14.872 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:189 Saturday 03 August 2024 05:38:39 +0000 (0:00:00.376) 0:00:15.248 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:198 Saturday 03 August 2024 05:38:39 +0000 (0:00:00.378) 0:00:15.627 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:207 Saturday 03 August 2024 05:38:40 +0000 (0:00:00.430) 0:00:16.057 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:216 Saturday 03 August 2024 05:38:40 +0000 (0:00:00.381) 0:00:16.439 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:225 Saturday 03 August 2024 05:38:41 +0000 (0:00:00.408) 0:00:16.847 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:234 Saturday 03 August 2024 05:38:41 +0000 (0:00:00.398) 0:00:17.245 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:243 Saturday 03 August 2024 05:38:41 +0000 (0:00:00.389) 0:00:17.635 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:252 Saturday 03 August 2024 05:38:42 +0000 (0:00:00.389) 0:00:18.025 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:260 Saturday 03 August 2024 05:38:42 +0000 (0:00:00.397) 0:00:18.423 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:268 Saturday 03 August 2024 05:38:43 +0000 (0:00:00.392) 0:00:18.816 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:276 Saturday 03 August 2024 05:38:43 +0000 (0:00:00.371) 0:00:19.187 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:284 Saturday 03 August 2024 05:38:43 +0000 (0:00:00.377) 0:00:19.565 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:292 Saturday 03 August 2024 05:38:44 +0000 (0:00:00.370) 0:00:19.935 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:301 Saturday 03 August 2024 05:38:44 +0000 (0:00:00.384) 0:00:20.320 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:310 Saturday 03 August 2024 05:38:44 +0000 (0:00:00.368) 0:00:20.689 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:319 Saturday 03 August 2024 05:38:45 +0000 (0:00:00.368) 0:00:21.057 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:328 Saturday 03 August 2024 05:38:45 +0000 (0:00:00.639) 0:00:21.697 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:337 Saturday 03 August 2024 05:38:46 +0000 (0:00:00.392) 0:00:22.090 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:346 Saturday 03 August 2024 05:38:46 +0000 (0:00:00.631) 0:00:22.721 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:355 Saturday 03 August 2024 05:38:47 +0000 (0:00:00.380) 0:00:23.102 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:367 Saturday 03 August 2024 05:38:47 +0000 (0:00:00.413) 0:00:23.515 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:379 Saturday 03 August 2024 05:38:48 +0000 (0:00:00.400) 0:00:23.915 ******* changed: [sut] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:387 Saturday 03 August 2024 05:38:48 +0000 (0:00:00.636) 0:00:24.552 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:392 Saturday 03 August 2024 05:38:48 +0000 (0:00:00.021) 0:00:24.573 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:402 Saturday 03 August 2024 05:38:49 +0000 (0:00:00.390) 0:00:24.964 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:412 Saturday 03 August 2024 05:38:49 +0000 (0:00:00.388) 0:00:25.352 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.289773", "end": "2024-08-03 05:38:49.954236", "rc": 0, "start": "2024-08-03 05:38:49.664463" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:416 Saturday 03 August 2024 05:38:49 +0000 (0:00:00.410) 0:00:25.763 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:423 Saturday 03 August 2024 05:38:50 +0000 (0:00:00.427) 0:00:26.190 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:430 Saturday 03 August 2024 05:38:50 +0000 (0:00:00.376) 0:00:26.567 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:440 Saturday 03 August 2024 05:38:51 +0000 (0:00:00.257) 0:00:26.825 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:448 Saturday 03 August 2024 05:38:51 +0000 (0:00:00.663) 0:00:27.488 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:456 Saturday 03 August 2024 05:38:52 +0000 (0:00:00.392) 0:00:27.881 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:465 Saturday 03 August 2024 05:38:52 +0000 (0:00:00.635) 0:00:28.516 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:474 Saturday 03 August 2024 05:38:53 +0000 (0:00:00.644) 0:00:29.161 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:483 Saturday 03 August 2024 05:38:54 +0000 (0:00:00.702) 0:00:29.863 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:492 Saturday 03 August 2024 05:38:54 +0000 (0:00:00.401) 0:00:30.264 ******* ok: [sut] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:501 Saturday 03 August 2024 05:38:55 +0000 (0:00:00.535) 0:00:30.800 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:510 Saturday 03 August 2024 05:38:55 +0000 (0:00:00.727) 0:00:31.527 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:519 Saturday 03 August 2024 05:38:56 +0000 (0:00:00.652) 0:00:32.180 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:528 Saturday 03 August 2024 05:38:57 +0000 (0:00:00.650) 0:00:32.830 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:539 Saturday 03 August 2024 05:38:57 +0000 (0:00:00.665) 0:00:33.496 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:547 Saturday 03 August 2024 05:38:58 +0000 (0:00:00.652) 0:00:34.149 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:555 Saturday 03 August 2024 05:38:58 +0000 (0:00:00.415) 0:00:34.564 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:572 Saturday 03 August 2024 05:38:59 +0000 (0:00:00.685) 0:00:35.250 ******* 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-ciu9bqsj6s/tests/tests_ansible.yml:581 Saturday 03 August 2024 05:38:59 +0000 (0:00:00.393) 0:00:35.643 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:588 Saturday 03 August 2024 05:39:00 +0000 (0:00:00.386) 0:00:36.029 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:595 Saturday 03 August 2024 05:39:00 +0000 (0:00:00.380) 0:00:36.409 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:602 Saturday 03 August 2024 05:39:01 +0000 (0:00:00.396) 0:00:36.806 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:613 Saturday 03 August 2024 05:39:01 +0000 (0:00:00.393) 0:00:37.199 ******* ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:624 Saturday 03 August 2024 05:39:01 +0000 (0:00:00.398) 0:00:37.598 ******* changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:643 Saturday 03 August 2024 05:39:02 +0000 (0:00:00.398) 0:00:37.997 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.319921", "end": "2024-08-03 05:39:02.642605", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:02.322684" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:649 Saturday 03 August 2024 05:39:02 +0000 (0:00:00.466) 0:00:38.463 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.306811", "end": "2024-08-03 05:39:03.086379", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:02.779568" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:655 Saturday 03 August 2024 05:39:03 +0000 (0:00:00.446) 0:00:38.909 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.305592", "end": "2024-08-03 05:39:03.529821", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:03.224229" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:661 Saturday 03 August 2024 05:39:03 +0000 (0:00:00.441) 0:00:39.351 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.305523", "end": "2024-08-03 05:39:03.968168", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:03.662645" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:667 Saturday 03 August 2024 05:39:03 +0000 (0:00:00.438) 0:00:39.789 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.314262", "end": "2024-08-03 05:39:04.421340", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:04.107078" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:673 Saturday 03 August 2024 05:39:04 +0000 (0:00:00.457) 0:00:40.247 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.303408", "end": "2024-08-03 05:39:04.861942", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:04.558534" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:679 Saturday 03 August 2024 05:39:04 +0000 (0:00:00.448) 0:00:40.695 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.305815", "end": "2024-08-03 05:39:05.314501", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:05.008686" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:685 Saturday 03 August 2024 05:39:05 +0000 (0:00:00.447) 0:00:41.143 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.307772", "end": "2024-08-03 05:39:05.763908", "failed_when_result": false, "rc": 22, "start": "2024-08-03 05:39:05.456136" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:691 Saturday 03 August 2024 05:39:05 +0000 (0:00:00.460) 0:00:41.603 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.346454", "end": "2024-08-03 05:39:06.312534", "rc": 0, "start": "2024-08-03 05:39:05.966080" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:697 Saturday 03 August 2024 05:39:06 +0000 (0:00:00.520) 0:00:42.124 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.520355", "end": "2024-08-03 05:39:06.956849", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:06.436494" } 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 03 August 2024 05:39:06 +0000 (0:00:00.653) 0:00:42.777 ******* =============================================================================== linux-system-roles.firewall : Gather firewall config if no arguments ---- 1.29s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 linux-system-roles.firewall : Enable and start firewalld service -------- 1.16s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:2 ---------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.74s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Reset default zone to defaults ------------------------------------------ 0.73s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:57 --------------------- Add valid protocol to custom service ------------------------------------ 0.73s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:501 -------------------- Add source_ports to custom service -------------------------------------- 0.70s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:474 -------------------- Add custom service with all the elements at once ------------------------ 0.69s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:555 -------------------- Add destination addresses ----------------------------------------------- 0.67s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:528 -------------------- Add custom service without details -------------------------------------- 0.66s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:440 -------------------- Reload firewalld -------------------------------------------------------- 0.65s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:697 -------------------- Remove valid protocol from customservice -------------------------------- 0.65s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:510 -------------------- Delete custom service --------------------------------------------------- 0.65s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:539 -------------------- Remove ports from custom service without deleting service --------------- 0.65s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:519 -------------------- Add short description to custom service --------------------------------- 0.64s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:465 -------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.64s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:319 -------------------- Firewalld custom zone --------------------------------------------------- 0.64s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:379 -------------------- Add description to custom service --------------------------------------- 0.64s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:456 -------------------- Reload firewalld -------------------------------------------------------- 0.63s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:72 --------------------- Ensure default target in permanent internal zone ------------------------ 0.63s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ansible.yml:337 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---