# 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-cip20j7bvt/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:2 Saturday 16 March 2024 06:25:29 +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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 16 March 2024 06:25:30 +0000 (0:00:00.753) 0:00:00.767 ******** included: /WORKDIR/git-weekly-cip20j7bvt/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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 16 March 2024 06:25:30 +0000 (0:00:00.012) 0:00:00.779 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 16 March 2024 06:25:30 +0000 (0:00:00.018) 0:00:00.798 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 16 March 2024 06:25:30 +0000 (0:00:00.202) 0:00:01.000 ******** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 16 March 2024 06:25:30 +0000 (0:00:00.021) 0:00:01.022 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 16 March 2024 06:25:31 +0000 (0:00:00.671) 0:00:01.693 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 16 March 2024 06:25:31 +0000 (0:00:00.019) 0:00:01.713 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 16 March 2024 06:25:31 +0000 (0:00:00.024) 0:00:01.737 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 16 March 2024 06:25:31 +0000 (0:00:00.380) 0:00:02.118 ******** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "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": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 16 March 2024 06:25:32 +0000 (0:00:01.029) 0:00:03.147 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 16 March 2024 06:25:32 +0000 (0:00:00.021) 0:00:03.169 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 16 March 2024 06:25:32 +0000 (0:00:00.019) 0:00:03.188 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 16 March 2024 06:25:32 +0000 (0:00:00.018) 0:00:03.207 ******** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 16 March 2024 06:25:32 +0000 (0:00:00.018) 0:00:03.226 ******** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 16 March 2024 06:25:32 +0000 (0:00:00.018) 0:00:03.244 ******** 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-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 16 March 2024 06:25:33 +0000 (0:00:00.019) 0:00:03.264 ******** 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": [ "irc", "snmp", "ftp", "amanda", "sip", "netbios-ns", "RAS", "h323", "proto-gre", "pptp", "tftp", "Q.931", "sane" ], "icmptypes": [ "neighbour-advertisement", "packet-too-big", "tos-host-redirect", "neighbour-solicitation", "bad-header", "network-redirect", "echo-reply", "protocol-unreachable", "host-prohibited", "time-exceeded", "source-route-failed", "source-quench", "tos-network-unreachable", "no-route", "tos-host-unreachable", "unknown-option", "parameter-problem", "host-redirect", "precedence-cutoff", "echo-request", "network-unreachable", "destination-unreachable", "ip-header-bad", "host-precedence-violation", "tos-network-redirect", "failed-policy", "unknown-header-type", "router-advertisement", "timestamp-reply", "host-unreachable", "ttl-zero-during-reassembly", "host-unknown", "timestamp-request", "reject-route", "beyond-scope", "network-unknown", "port-unreachable", "redirect", "router-solicitation", "communication-prohibited", "fragmentation-needed", "required-option-missing", "address-unreachable", "ttl-zero-during-transit", "network-prohibited" ], "services": [ "mssql", "slp", "rtsp", "snmptrap", "apcupsd", "mqtt-tls", "ipsec", "xdmcp", "freeipa-replication", "imap", "xmpp-local", "amanda-client", "jenkins", "nmea-0183", "kibana", "irc", "libvirt-tls", "sips", "zabbix-server", "bgp", "redis", "ldaps", "squid", "ganglia-master", "libvirt", "snmp", "rpc-bind", "wsman", "freeipa-ldaps", "http", "telnet", "ntp", "murmur", "tinc", "kprop", "syncthing-gui", "ftp", "ctdb", "svdrp", "nfs3", "matrix", "smtps", "ssh", "samba-client", "pmcd", "wbem-http", "amanda-k5-client", "syncthing", "radius", "proxy-dhcp", "privoxy", "bacula-client", "dhcpv6", "llmnr", "salt-master", "audit", "imaps", "smtp-submission", "dhcp", "iscsi-target", "kerberos", "docker-swarm", "ms-wbt", "ipp-client", "mysql", "puppetmaster", "elasticsearch", "amqps", "freeipa-ldap", "nut", "pmproxy", "pmwebapi", "vdsm", "klogin", "kshell", "high-availability", "sip", "etcd-server", "pop3", "finger", "zabbix-agent", "postgresql", "ovirt-storageconsole", "xmpp-client", "syslog-tls", "wsmans", "ldap", "vnc-server", "RH-Satellite-6", "tftp-client", "xmpp-server", "ptp", "spideroak-lansync", "minidlna", "tor-socks", "nfs", "svn", "cfengine", "ovirt-imageio", "bitcoin-testnet", "git", "wbem-https", "ganglia-client", "kpasswd", "samba-dc", "rsyncd", "tftp", "bitcoin-rpc", "pmwebapis", "etcd-client", "docker-registry", "dns", "rsh", "ceph-mon", "mqtt", "steam-streaming", "RH-Satellite-6-capsule", "transmission-client", "mountd", "upnp-client", "synergy", "bitcoin", "amqp", "ipp", "freeipa-trust", "sane", "condor-collector", "kadmin", "distcc", "gre", "dhcpv6-client", "mdns", "bitcoin-testnet-rpc", "ceph", "https", "ircs", "ovirt-vmconsole", "mongodb", "isns", "dropbox-lansync", "syslog", "samba", "smtp", "mosh", "plex", "bacula", "pop3s", "openvpn", "pulseaudio", "lightning-network", "xmpp-bosh", "quassel", "managesieve", "nrpe" ], "zones": [ "block", "drop", "external", "trusted", "public", "internal", "home", "work", "dmz" ] }, "default_zone": "public" } } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 16 March 2024 06:25:34 +0000 (0:00:01.019) 0:00:04.284 ******** 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": [ "irc", "snmp", "ftp", "amanda", "sip", "netbios-ns", "RAS", "h323", "proto-gre", "pptp", "tftp", "Q.931", "sane" ], "icmptypes": [ "neighbour-advertisement", "packet-too-big", "tos-host-redirect", "neighbour-solicitation", "bad-header", "network-redirect", "echo-reply", "protocol-unreachable", "host-prohibited", "time-exceeded", "source-route-failed", "source-quench", "tos-network-unreachable", "no-route", "tos-host-unreachable", "unknown-option", "parameter-problem", "host-redirect", "precedence-cutoff", "echo-request", "network-unreachable", "destination-unreachable", "ip-header-bad", "host-precedence-violation", "tos-network-redirect", "failed-policy", "unknown-header-type", "router-advertisement", "timestamp-reply", "host-unreachable", "ttl-zero-during-reassembly", "host-unknown", "timestamp-request", "reject-route", "beyond-scope", "network-unknown", "port-unreachable", "redirect", "router-solicitation", "communication-prohibited", "fragmentation-needed", "required-option-missing", "address-unreachable", "ttl-zero-during-transit", "network-prohibited" ], "services": [ "mssql", "slp", "rtsp", "snmptrap", "apcupsd", "mqtt-tls", "ipsec", "xdmcp", "freeipa-replication", "imap", "xmpp-local", "amanda-client", "jenkins", "nmea-0183", "kibana", "irc", "libvirt-tls", "sips", "zabbix-server", "bgp", "redis", "ldaps", "squid", "ganglia-master", "libvirt", "snmp", "rpc-bind", "wsman", "freeipa-ldaps", "http", "telnet", "ntp", "murmur", "tinc", "kprop", "syncthing-gui", "ftp", "ctdb", "svdrp", "nfs3", "matrix", "smtps", "ssh", "samba-client", "pmcd", "wbem-http", "amanda-k5-client", "syncthing", "radius", "proxy-dhcp", "privoxy", "bacula-client", "dhcpv6", "llmnr", "salt-master", "audit", "imaps", "smtp-submission", "dhcp", "iscsi-target", "kerberos", "docker-swarm", "ms-wbt", "ipp-client", "mysql", "puppetmaster", "elasticsearch", "amqps", "freeipa-ldap", "nut", "pmproxy", "pmwebapi", "vdsm", "klogin", "kshell", "high-availability", "sip", "etcd-server", "pop3", "finger", "zabbix-agent", "postgresql", "ovirt-storageconsole", "xmpp-client", "syslog-tls", "wsmans", "ldap", "vnc-server", "RH-Satellite-6", "tftp-client", "xmpp-server", "ptp", "spideroak-lansync", "minidlna", "tor-socks", "nfs", "svn", "cfengine", "ovirt-imageio", "bitcoin-testnet", "git", "wbem-https", "ganglia-client", "kpasswd", "samba-dc", "rsyncd", "tftp", "bitcoin-rpc", "pmwebapis", "etcd-client", "docker-registry", "dns", "rsh", "ceph-mon", "mqtt", "steam-streaming", "RH-Satellite-6-capsule", "transmission-client", "mountd", "upnp-client", "synergy", "bitcoin", "amqp", "ipp", "freeipa-trust", "sane", "condor-collector", "kadmin", "distcc", "gre", "dhcpv6-client", "mdns", "bitcoin-testnet-rpc", "ceph", "https", "ircs", "ovirt-vmconsole", "mongodb", "isns", "dropbox-lansync", "syslog", "samba", "smtp", "mosh", "plex", "bacula", "pop3s", "openvpn", "pulseaudio", "lightning-network", "xmpp-bosh", "quassel", "managesieve", "nrpe" ], "zones": [ "block", "drop", "external", "trusted", "public", "internal", "home", "work", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 16 March 2024 06:25:34 +0000 (0:00:00.024) 0:00:04.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 16 March 2024 06:25:34 +0000 (0:00:00.017) 0:00:04.326 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 16 March 2024 06:25:34 +0000 (0:00:00.017) 0:00:04.344 ******** skipping: [sut] => {} TASK [Get default zone] ******************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:11 Saturday 16 March 2024 06:25:34 +0000 (0:00:00.017) 0:00:04.362 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.337843", "end": "2024-03-16 06:25:34.624002", "rc": 0, "start": "2024-03-16 06:25:34.286159" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:21 Saturday 16 March 2024 06:25:34 +0000 (0:00:00.534) 0:00:04.897 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.299066", "end": "2024-03-16 06:25:35.052512", "failed_when_result": false, "rc": 112, "start": "2024-03-16 06:25:34.753446" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:27 Saturday 16 March 2024 06:25:35 +0000 (0:00:00.438) 0:00:05.335 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.357507", "end": "2024-03-16 06:25:35.547048", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:25:35.189541" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:33 Saturday 16 March 2024 06:25:35 +0000 (0:00:00.495) 0:00:05.831 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.310669", "end": "2024-03-16 06:25:35.997286", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:25:35.686617" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:39 Saturday 16 March 2024 06:25:36 +0000 (0:00:00.451) 0:00:06.283 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.325497", "end": "2024-03-16 06:25:36.464170", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:25:36.138673" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:45 Saturday 16 March 2024 06:25:36 +0000 (0:00:00.464) 0:00:06.747 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.311743", "end": "2024-03-16 06:25:36.914678", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:25:36.602935" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:51 Saturday 16 March 2024 06:25:36 +0000 (0:00:00.451) 0:00:07.199 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.309350", "end": "2024-03-16 06:25:37.363105", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:25:37.053755" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:57 Saturday 16 March 2024 06:25:37 +0000 (0:00:00.448) 0:00:07.648 ******** ok: [sut] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.621968", "end": "2024-03-16 06:25:38.127215", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:25:37.505247" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:66 Saturday 16 March 2024 06:25:38 +0000 (0:00:00.763) 0:00:08.411 ******** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.301250", "end": "2024-03-16 06:25:38.567969", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:25:38.266719" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:72 Saturday 16 March 2024 06:25:38 +0000 (0:00:00.443) 0:00:08.855 ******** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.506995", "end": "2024-03-16 06:25:39.218148", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:25:38.711153" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:80 Saturday 16 March 2024 06:25:39 +0000 (0:00:00.648) 0:00:09.503 ******** 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-cip20j7bvt/tests/tests_ansible.yml:88 Saturday 16 March 2024 06:25:39 +0000 (0:00:00.462) 0:00:09.966 ******** 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-cip20j7bvt/tests/tests_ansible.yml:96 Saturday 16 March 2024 06:25:40 +0000 (0:00:00.396) 0:00:10.363 ******** 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-cip20j7bvt/tests/tests_ansible.yml:104 Saturday 16 March 2024 06:25:40 +0000 (0:00:00.386) 0:00:10.750 ******** 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-cip20j7bvt/tests/tests_ansible.yml:112 Saturday 16 March 2024 06:25:40 +0000 (0:00:00.382) 0:00:11.132 ******** 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-cip20j7bvt/tests/tests_ansible.yml:120 Saturday 16 March 2024 06:25:41 +0000 (0:00:00.387) 0:00:11.520 ******** 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-cip20j7bvt/tests/tests_ansible.yml:128 Saturday 16 March 2024 06:25:41 +0000 (0:00:00.395) 0:00:11.915 ******** 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-cip20j7bvt/tests/tests_ansible.yml:136 Saturday 16 March 2024 06:25:42 +0000 (0:00:00.386) 0:00:12.302 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:144 Saturday 16 March 2024 06:25:42 +0000 (0:00:00.382) 0:00:12.685 ******** 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-cip20j7bvt/tests/tests_ansible.yml:153 Saturday 16 March 2024 06:25:42 +0000 (0:00:00.382) 0:00:13.067 ******** 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-cip20j7bvt/tests/tests_ansible.yml:162 Saturday 16 March 2024 06:25:43 +0000 (0:00:00.399) 0:00:13.467 ******** 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-cip20j7bvt/tests/tests_ansible.yml:171 Saturday 16 March 2024 06:25:43 +0000 (0:00:00.384) 0:00:13.851 ******** 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-cip20j7bvt/tests/tests_ansible.yml:180 Saturday 16 March 2024 06:25:43 +0000 (0:00:00.384) 0:00:14.236 ******** 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-cip20j7bvt/tests/tests_ansible.yml:189 Saturday 16 March 2024 06:25:44 +0000 (0:00:00.383) 0:00:14.620 ******** 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-cip20j7bvt/tests/tests_ansible.yml:198 Saturday 16 March 2024 06:25:44 +0000 (0:00:00.392) 0:00:15.012 ******** 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-cip20j7bvt/tests/tests_ansible.yml:207 Saturday 16 March 2024 06:25:45 +0000 (0:00:00.452) 0:00:15.464 ******** 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-cip20j7bvt/tests/tests_ansible.yml:216 Saturday 16 March 2024 06:25:45 +0000 (0:00:00.398) 0:00:15.863 ******** 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-cip20j7bvt/tests/tests_ansible.yml:225 Saturday 16 March 2024 06:25:46 +0000 (0:00:00.424) 0:00:16.287 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:234 Saturday 16 March 2024 06:25:46 +0000 (0:00:00.412) 0:00:16.700 ******** 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-cip20j7bvt/tests/tests_ansible.yml:243 Saturday 16 March 2024 06:25:46 +0000 (0:00:00.398) 0:00:17.098 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:252 Saturday 16 March 2024 06:25:47 +0000 (0:00:00.398) 0:00:17.497 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:260 Saturday 16 March 2024 06:25:47 +0000 (0:00:00.382) 0:00:17.879 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:268 Saturday 16 March 2024 06:25:48 +0000 (0:00:00.396) 0:00:18.276 ******** 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-cip20j7bvt/tests/tests_ansible.yml:276 Saturday 16 March 2024 06:25:48 +0000 (0:00:00.380) 0:00:18.656 ******** 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-cip20j7bvt/tests/tests_ansible.yml:284 Saturday 16 March 2024 06:25:48 +0000 (0:00:00.384) 0:00:19.040 ******** 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-cip20j7bvt/tests/tests_ansible.yml:292 Saturday 16 March 2024 06:25:49 +0000 (0:00:00.378) 0:00:19.419 ******** 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-cip20j7bvt/tests/tests_ansible.yml:301 Saturday 16 March 2024 06:25:49 +0000 (0:00:00.392) 0:00:19.812 ******** 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-cip20j7bvt/tests/tests_ansible.yml:310 Saturday 16 March 2024 06:25:49 +0000 (0:00:00.380) 0:00:20.192 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:319 Saturday 16 March 2024 06:25:50 +0000 (0:00:00.379) 0:00:20.572 ******** 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-cip20j7bvt/tests/tests_ansible.yml:328 Saturday 16 March 2024 06:25:50 +0000 (0:00:00.674) 0:00:21.246 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:337 Saturday 16 March 2024 06:25:51 +0000 (0:00:00.396) 0:00:21.642 ******** 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-cip20j7bvt/tests/tests_ansible.yml:346 Saturday 16 March 2024 06:25:52 +0000 (0:00:00.651) 0:00:22.293 ******** 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-cip20j7bvt/tests/tests_ansible.yml:355 Saturday 16 March 2024 06:25:52 +0000 (0:00:00.393) 0:00:22.686 ******** 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-cip20j7bvt/tests/tests_ansible.yml:367 Saturday 16 March 2024 06:25:52 +0000 (0:00:00.413) 0:00:23.099 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:379 Saturday 16 March 2024 06:25:53 +0000 (0:00:00.409) 0:00:23.509 ******** changed: [sut] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:387 Saturday 16 March 2024 06:25:53 +0000 (0:00:00.643) 0:00:24.153 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:392 Saturday 16 March 2024 06:25:53 +0000 (0:00:00.021) 0:00:24.174 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:402 Saturday 16 March 2024 06:25:54 +0000 (0:00:00.401) 0:00:24.576 ******** 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-cip20j7bvt/tests/tests_ansible.yml:412 Saturday 16 March 2024 06:25:54 +0000 (0:00:00.417) 0:00:24.993 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.303158", "end": "2024-03-16 06:25:55.155528", "rc": 0, "start": "2024-03-16 06:25:54.852370" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:416 Saturday 16 March 2024 06:25:55 +0000 (0:00:00.435) 0:00:25.429 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:423 Saturday 16 March 2024 06:25:55 +0000 (0:00:00.451) 0:00:25.881 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:430 Saturday 16 March 2024 06:25:56 +0000 (0:00:00.400) 0:00:26.282 ******** 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-cip20j7bvt/tests/tests_ansible.yml:440 Saturday 16 March 2024 06:25:56 +0000 (0:00:00.269) 0:00:26.551 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:448 Saturday 16 March 2024 06:25:57 +0000 (0:00:00.743) 0:00:27.295 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:456 Saturday 16 March 2024 06:25:57 +0000 (0:00:00.414) 0:00:27.710 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:465 Saturday 16 March 2024 06:25:58 +0000 (0:00:00.665) 0:00:28.376 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:474 Saturday 16 March 2024 06:25:58 +0000 (0:00:00.665) 0:00:29.041 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:483 Saturday 16 March 2024 06:25:59 +0000 (0:00:00.676) 0:00:29.717 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:492 Saturday 16 March 2024 06:25:59 +0000 (0:00:00.407) 0:00:30.124 ******** ok: [sut] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:501 Saturday 16 March 2024 06:26:00 +0000 (0:00:00.435) 0:00:30.560 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:510 Saturday 16 March 2024 06:26:00 +0000 (0:00:00.684) 0:00:31.244 ******** 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-cip20j7bvt/tests/tests_ansible.yml:519 Saturday 16 March 2024 06:26:01 +0000 (0:00:00.668) 0:00:31.913 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:528 Saturday 16 March 2024 06:26:02 +0000 (0:00:00.805) 0:00:32.718 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:539 Saturday 16 March 2024 06:26:03 +0000 (0:00:00.679) 0:00:33.398 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:547 Saturday 16 March 2024 06:26:03 +0000 (0:00:00.661) 0:00:34.059 ******** 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-cip20j7bvt/tests/tests_ansible.yml:555 Saturday 16 March 2024 06:26:04 +0000 (0:00:00.390) 0:00:34.450 ******** 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-cip20j7bvt/tests/tests_ansible.yml:572 Saturday 16 March 2024 06:26:04 +0000 (0:00:00.686) 0:00:35.136 ******** 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-cip20j7bvt/tests/tests_ansible.yml:581 Saturday 16 March 2024 06:26:05 +0000 (0:00:00.404) 0:00:35.541 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:588 Saturday 16 March 2024 06:26:05 +0000 (0:00:00.395) 0:00:35.937 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:595 Saturday 16 March 2024 06:26:06 +0000 (0:00:00.388) 0:00:36.325 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:602 Saturday 16 March 2024 06:26:06 +0000 (0:00:00.409) 0:00:36.735 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:613 Saturday 16 March 2024 06:26:06 +0000 (0:00:00.397) 0:00:37.133 ******** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:624 Saturday 16 March 2024 06:26:07 +0000 (0:00:00.391) 0:00:37.525 ******** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:643 Saturday 16 March 2024 06:26:07 +0000 (0:00:00.396) 0:00:37.921 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.332924", "end": "2024-03-16 06:26:08.110684", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:07.777760" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:649 Saturday 16 March 2024 06:26:08 +0000 (0:00:00.475) 0:00:38.396 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.316348", "end": "2024-03-16 06:26:08.569146", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:08.252798" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:655 Saturday 16 March 2024 06:26:08 +0000 (0:00:00.457) 0:00:38.854 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.316103", "end": "2024-03-16 06:26:09.025405", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:08.709302" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:661 Saturday 16 March 2024 06:26:09 +0000 (0:00:00.455) 0:00:39.310 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.316221", "end": "2024-03-16 06:26:09.482940", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:09.166719" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:667 Saturday 16 March 2024 06:26:09 +0000 (0:00:00.458) 0:00:39.768 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.325413", "end": "2024-03-16 06:26:09.948829", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:09.623416" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:673 Saturday 16 March 2024 06:26:09 +0000 (0:00:00.464) 0:00:40.233 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.310991", "end": "2024-03-16 06:26:10.400220", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:10.089229" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:679 Saturday 16 March 2024 06:26:10 +0000 (0:00:00.453) 0:00:40.687 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.314510", "end": "2024-03-16 06:26:10.856976", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:10.542466" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:685 Saturday 16 March 2024 06:26:10 +0000 (0:00:00.455) 0:00:41.142 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.314219", "end": "2024-03-16 06:26:11.313071", "failed_when_result": false, "rc": 22, "start": "2024-03-16 06:26:10.998852" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:691 Saturday 16 March 2024 06:26:11 +0000 (0:00:00.455) 0:00:41.598 ******** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.368287", "end": "2024-03-16 06:26:11.832942", "rc": 0, "start": "2024-03-16 06:26:11.464655" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:697 Saturday 16 March 2024 06:26:11 +0000 (0:00:00.508) 0:00:42.106 ******** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.527982", "end": "2024-03-16 06:26:12.490660", "failed_when_result": false, "rc": 0, "start": "2024-03-16 06:26:11.962678" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=93 changed=37 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Saturday 16 March 2024 06:26:12 +0000 (0:00:00.668) 0:00:42.774 ******** =============================================================================== linux-system-roles.firewall : Enable and start firewalld service -------- 1.03s /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Gather firewall config if no arguments ---- 1.02s /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Remove ports from custom service without deleting service --------------- 0.81s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:519 -------------------- Reset default zone to defaults ------------------------------------------ 0.76s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:57 --------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:2 ---------------------- Add custom service without details -------------------------------------- 0.74s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:440 -------------------- Add custom service with all the elements at once ------------------------ 0.69s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:555 -------------------- Add valid protocol to custom service ------------------------------------ 0.68s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:501 -------------------- Add destination addresses ----------------------------------------------- 0.68s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:528 -------------------- Add source_ports to custom service -------------------------------------- 0.68s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:474 -------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:319 -------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Remove valid protocol from customservice -------------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:510 -------------------- Reload firewalld -------------------------------------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:697 -------------------- Add description to custom service --------------------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:456 -------------------- Add short description to custom service --------------------------------- 0.67s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:465 -------------------- Delete custom service --------------------------------------------------- 0.66s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:539 -------------------- Ensure default target in permanent internal zone ------------------------ 0.65s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:337 -------------------- Reload firewalld -------------------------------------------------------- 0.65s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:72 --------------------- Firewalld custom zone --------------------------------------------------- 0.64s /WORKDIR/git-weekly-cip20j7bvt/tests/tests_ansible.yml:379 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---