# 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.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:2 Saturday 28 January 2023 05:25:48 +0000 (0:00:00.033) 0:00:00.033 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 28 January 2023 05:25:49 +0000 (0:00:00.852) 0:00:00.885 ****** included: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/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/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 28 January 2023 05:25:49 +0000 (0:00:00.041) 0:00:00.926 ****** ok: [sut] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Saturday 28 January 2023 05:25:50 +0000 (0:00:00.419) 0:00:01.346 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Saturday 28 January 2023 05:25:51 +0000 (0:00:01.790) 0:00:03.136 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Saturday 28 January 2023 05:25:51 +0000 (0:00:00.049) 0:00:03.186 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 28 January 2023 05:25:53 +0000 (0:00:01.687) 0:00:04.874 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target dbus.socket dbus.service polkit.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ipset.service nftables.service shutdown.target ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:11 Saturday 28 January 2023 05:25:55 +0000 (0:00:01.525) 0:00:06.399 ****** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:20 Saturday 28 January 2023 05:25:55 +0000 (0:00:00.057) 0:00:06.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 Saturday 28 January 2023 05:25:55 +0000 (0:00:00.048) 0:00:06.505 ****** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:90 Saturday 28 January 2023 05:25:55 +0000 (0:00:00.048) 0:00:06.553 ****** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:101 Saturday 28 January 2023 05:25:55 +0000 (0:00:00.049) 0:00:06.603 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:110 Saturday 28 January 2023 05:25:55 +0000 (0:00:00.050) 0:00:06.653 ****** ok: [sut] => { "changed": false, "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:115 Saturday 28 January 2023 05:25:56 +0000 (0:00:00.963) 0:00:07.617 ****** ok: [sut] => { "ansible_facts": { "firewall_config": { "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Saturday 28 January 2023 05:25:56 +0000 (0:00:00.062) 0:00:07.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Saturday 28 January 2023 05:25:56 +0000 (0:00:00.048) 0:00:07.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Saturday 28 January 2023 05:25:56 +0000 (0:00:00.049) 0:00:07.778 ****** skipping: [sut] => {} TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:16 Saturday 28 January 2023 05:25:56 +0000 (0:00:00.050) 0:00:07.829 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.444966", "end": "2023-01-28 05:25:57.297428", "failed_when_result": false, "rc": 112, "start": "2023-01-28 05:25:56.852462" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:22 Saturday 28 January 2023 05:25:57 +0000 (0:00:00.842) 0:00:08.671 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.466095", "end": "2023-01-28 05:25:58.025970", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:25:57.559875" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:28 Saturday 28 January 2023 05:25:58 +0000 (0:00:00.732) 0:00:09.404 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.406065", "end": "2023-01-28 05:25:58.698768", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:25:58.292703" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:34 Saturday 28 January 2023 05:25:58 +0000 (0:00:00.673) 0:00:10.078 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.406122", "end": "2023-01-28 05:25:59.369947", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:25:58.963825" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:40 Saturday 28 January 2023 05:25:59 +0000 (0:00:00.669) 0:00:10.747 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.405588", "end": "2023-01-28 05:26:00.038444", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:25:59.632856" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:46 Saturday 28 January 2023 05:26:00 +0000 (0:00:00.669) 0:00:11.416 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.416775", "end": "2023-01-28 05:26:00.722815", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:26:00.306040" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:52 Saturday 28 January 2023 05:26:00 +0000 (0:00:00.687) 0:00:12.104 ****** ok: [sut] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.804003", "end": "2023-01-28 05:26:01.797662", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:26:00.993659" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:61 Saturday 28 January 2023 05:26:01 +0000 (0:00:01.076) 0:00:13.181 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.408547", "end": "2023-01-28 05:26:02.481201", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:02.072654" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:67 Saturday 28 January 2023 05:26:02 +0000 (0:00:00.678) 0:00:13.859 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.841217", "end": "2023-01-28 05:26:03.586181", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:02.744964" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:75 Saturday 28 January 2023 05:26:03 +0000 (0:00:01.105) 0:00:14.965 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:83 Saturday 28 January 2023 05:26:04 +0000 (0:00:00.698) 0:00:15.664 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:91 Saturday 28 January 2023 05:26:04 +0000 (0:00:00.569) 0:00:16.233 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:99 Saturday 28 January 2023 05:26:05 +0000 (0:00:00.567) 0:00:16.800 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:107 Saturday 28 January 2023 05:26:06 +0000 (0:00:00.555) 0:00:17.356 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:115 Saturday 28 January 2023 05:26:06 +0000 (0:00:00.566) 0:00:17.922 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:123 Saturday 28 January 2023 05:26:07 +0000 (0:00:00.560) 0:00:18.482 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:131 Saturday 28 January 2023 05:26:07 +0000 (0:00:00.569) 0:00:19.052 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:139 Saturday 28 January 2023 05:26:08 +0000 (0:00:00.568) 0:00:19.620 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:148 Saturday 28 January 2023 05:26:08 +0000 (0:00:00.560) 0:00:20.181 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:157 Saturday 28 January 2023 05:26:09 +0000 (0:00:00.552) 0:00:20.734 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:166 Saturday 28 January 2023 05:26:09 +0000 (0:00:00.567) 0:00:21.301 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:175 Saturday 28 January 2023 05:26:10 +0000 (0:00:00.562) 0:00:21.863 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:184 Saturday 28 January 2023 05:26:11 +0000 (0:00:00.561) 0:00:22.425 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:193 Saturday 28 January 2023 05:26:11 +0000 (0:00:00.565) 0:00:22.990 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:202 Saturday 28 January 2023 05:26:12 +0000 (0:00:00.583) 0:00:23.573 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:211 Saturday 28 January 2023 05:26:12 +0000 (0:00:00.581) 0:00:24.154 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:219 Saturday 28 January 2023 05:26:13 +0000 (0:00:00.568) 0:00:24.723 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:227 Saturday 28 January 2023 05:26:13 +0000 (0:00:00.553) 0:00:25.277 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:235 Saturday 28 January 2023 05:26:14 +0000 (0:00:00.558) 0:00:25.836 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:243 Saturday 28 January 2023 05:26:15 +0000 (0:00:00.564) 0:00:26.400 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:251 Saturday 28 January 2023 05:26:15 +0000 (0:00:00.564) 0:00:26.964 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:260 Saturday 28 January 2023 05:26:16 +0000 (0:00:00.564) 0:00:27.528 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:269 Saturday 28 January 2023 05:26:16 +0000 (0:00:00.558) 0:00:28.087 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:278 Saturday 28 January 2023 05:26:17 +0000 (0:00:00.552) 0:00:28.640 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:287 Saturday 28 January 2023 05:26:18 +0000 (0:00:01.174) 0:00:29.814 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:296 Saturday 28 January 2023 05:26:19 +0000 (0:00:00.562) 0:00:30.376 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:305 Saturday 28 January 2023 05:26:20 +0000 (0:00:01.061) 0:00:31.438 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:314 Saturday 28 January 2023 05:26:20 +0000 (0:00:00.593) 0:00:32.032 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:326 Saturday 28 January 2023 05:26:21 +0000 (0:00:00.595) 0:00:32.627 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:338 Saturday 28 January 2023 05:26:21 +0000 (0:00:00.560) 0:00:33.188 ****** changed: [sut] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:346 Saturday 28 January 2023 05:26:22 +0000 (0:00:01.032) 0:00:34.221 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:351 Saturday 28 January 2023 05:26:22 +0000 (0:00:00.053) 0:00:34.274 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:361 Saturday 28 January 2023 05:26:23 +0000 (0:00:00.575) 0:00:34.850 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:371 Saturday 28 January 2023 05:26:24 +0000 (0:00:00.563) 0:00:35.414 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.392329", "end": "2023-01-28 05:26:24.695085", "rc": 0, "start": "2023-01-28 05:26:24.302756" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:375 Saturday 28 January 2023 05:26:24 +0000 (0:00:00.633) 0:00:36.047 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:382 Saturday 28 January 2023 05:26:25 +0000 (0:00:00.629) 0:00:36.677 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:389 Saturday 28 January 2023 05:26:25 +0000 (0:00:00.573) 0:00:37.250 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:399 Saturday 28 January 2023 05:26:26 +0000 (0:00:00.469) 0:00:37.719 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:407 Saturday 28 January 2023 05:26:27 +0000 (0:00:01.115) 0:00:38.835 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:415 Saturday 28 January 2023 05:26:28 +0000 (0:00:00.579) 0:00:39.415 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:424 Saturday 28 January 2023 05:26:29 +0000 (0:00:01.077) 0:00:40.492 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:433 Saturday 28 January 2023 05:26:30 +0000 (0:00:01.066) 0:00:41.558 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:442 Saturday 28 January 2023 05:26:31 +0000 (0:00:01.086) 0:00:42.645 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:451 Saturday 28 January 2023 05:26:31 +0000 (0:00:00.584) 0:00:43.230 ****** ok: [sut] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:460 Saturday 28 January 2023 05:26:32 +0000 (0:00:00.589) 0:00:43.819 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:469 Saturday 28 January 2023 05:26:33 +0000 (0:00:01.081) 0:00:44.900 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:478 Saturday 28 January 2023 05:26:34 +0000 (0:00:01.083) 0:00:45.983 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:487 Saturday 28 January 2023 05:26:35 +0000 (0:00:01.082) 0:00:47.066 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:498 Saturday 28 January 2023 05:26:36 +0000 (0:00:01.089) 0:00:48.155 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:506 Saturday 28 January 2023 05:26:37 +0000 (0:00:01.086) 0:00:49.242 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add custom service with all the elements at once] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:514 Saturday 28 January 2023 05:26:38 +0000 (0:00:00.568) 0:00:49.810 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add helper module that already is on customservice] ********************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:531 Saturday 28 January 2023 05:26:39 +0000 (0:00:01.103) 0:00:50.913 ****** 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/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:540 Saturday 28 January 2023 05:26:40 +0000 (0:00:00.585) 0:00:51.499 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:547 Saturday 28 January 2023 05:26:40 +0000 (0:00:00.588) 0:00:52.088 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:554 Saturday 28 January 2023 05:26:41 +0000 (0:00:00.576) 0:00:52.664 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:561 Saturday 28 January 2023 05:26:41 +0000 (0:00:00.575) 0:00:53.239 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:572 Saturday 28 January 2023 05:26:42 +0000 (0:00:00.580) 0:00:53.820 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:583 Saturday 28 January 2023 05:26:43 +0000 (0:00:00.566) 0:00:54.386 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:602 Saturday 28 January 2023 05:26:43 +0000 (0:00:00.571) 0:00:54.958 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.407522", "end": "2023-01-28 05:26:44.256007", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:43.848485" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:608 Saturday 28 January 2023 05:26:44 +0000 (0:00:00.678) 0:00:55.636 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:01.409248", "end": "2023-01-28 05:26:45.935055", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:44.525807" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:614 Saturday 28 January 2023 05:26:45 +0000 (0:00:01.678) 0:00:57.315 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.406323", "end": "2023-01-28 05:26:46.609600", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:46.203277" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:620 Saturday 28 January 2023 05:26:46 +0000 (0:00:00.673) 0:00:57.988 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.413523", "end": "2023-01-28 05:26:47.292484", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:46.878961" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:626 Saturday 28 January 2023 05:26:47 +0000 (0:00:00.683) 0:00:58.672 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.407408", "end": "2023-01-28 05:26:47.969102", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:47.561694" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:632 Saturday 28 January 2023 05:26:48 +0000 (0:00:00.676) 0:00:59.348 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.406433", "end": "2023-01-28 05:26:48.641074", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:48.234641" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:638 Saturday 28 January 2023 05:26:48 +0000 (0:00:00.673) 0:01:00.021 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.409867", "end": "2023-01-28 05:26:49.321361", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:48.911494" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:644 Saturday 28 January 2023 05:26:49 +0000 (0:00:00.679) 0:01:00.701 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.406807", "end": "2023-01-28 05:26:49.997896", "failed_when_result": false, "rc": 22, "start": "2023-01-28 05:26:49.591089" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:650 Saturday 28 January 2023 05:26:50 +0000 (0:00:00.675) 0:01:01.376 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.855511", "end": "2023-01-28 05:26:51.120943", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:26:50.265432" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=86 changed=35 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Saturday 28 January 2023 05:26:51 +0000 (0:00:01.120) 0:01:02.496 ****** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 1.79s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Remove customzone zone -------------------------------------------------- 1.68s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:608 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 1.53s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Ensure target ACCEPT in permanent internal zone ------------------------- 1.17s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:278 ----- Reload firewalld -------------------------------------------------------- 1.12s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:650 ----- Add custom service without details -------------------------------------- 1.12s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:399 ----- Reload firewalld -------------------------------------------------------- 1.11s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:67 ------ Add custom service with all the elements at once ------------------------ 1.10s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:514 ----- Add destination addresses ----------------------------------------------- 1.09s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:487 ----- Add source_ports to custom service -------------------------------------- 1.09s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:433 ----- Delete custom service --------------------------------------------------- 1.09s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:498 ----- Remove valid protocol from customservice -------------------------------- 1.08s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:469 ----- Remove ports from custom service without deleting service --------------- 1.08s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:478 ----- Add valid protocol to custom service ------------------------------------ 1.08s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:460 ----- Add description to custom service --------------------------------------- 1.08s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:415 ----- Reset default zone to defaults ------------------------------------------ 1.08s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:52 ------ Add short description to custom service --------------------------------- 1.07s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:424 ----- Ensure default target in permanent internal zone ------------------------ 1.06s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:296 ----- Firewalld custom zone --------------------------------------------------- 1.03s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_ansible.yml:338 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---