Formatting '/cache/fedora-35.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/cache/fedora-35.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpslpiqgh6 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: fedora-35_setup.yml ************************************************** 1 plays in /cache/fedora-35_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/fedora-35_setup.yml:1 Friday 22 July 2022 00:29:43 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Create EPEL 35 repo] ***************************************************** task path: /cache/fedora-35_setup.yml:5 Friday 22 July 2022 00:29:44 +0000 (0:00:01.216) 0:00:01.230 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/fedora-35_setup.yml:15 Friday 22 July 2022 00:29:44 +0000 (0:00:00.020) 0:00:01.250 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/fedora-35_setup.yml:21 Friday 22 July 2022 00:29:44 +0000 (0:00:00.018) 0:00:01.269 *********** changed: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/fedora-35_setup.yml:27 Friday 22 July 2022 00:30:23 +0000 (0:00:39.223) 0:00:40.492 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/fedora-35_setup.yml:35 Friday 22 July 2022 00:30:23 +0000 (0:00:00.022) 0:00:40.515 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=2 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 22 July 2022 00:30:23 +0000 (0:00:00.028) 0:00:40.543 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 39.22s /cache/fedora-35_setup.yml:21 ------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.22s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp_024_qub/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_024_qub/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:30:23 +0000 (0:00:00.013) 0:00:40.556 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp_024_qub/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:30:24 +0000 (0:00:00.808) 0:00:41.364 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:30:24 +0000 (0:00:00.031) 0:00:41.396 *********** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:30:25 +0000 (0:00:00.576) 0:00:41.973 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.4-1.fc35.noarch", "Installed: firewalld-1.0.4-1.fc35.noarch", "Installed: firewalld-filesystem-1.0.4-1.fc35.noarch", "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:30:31 +0000 (0:00:06.685) 0:00:48.658 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:30:31 +0000 (0:00:00.027) 0:00:48.686 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=6 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:30:33 +0000 (0:00:01.862) 0:00:50.549 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 39.22s /cache/fedora-35_setup.yml:21 ------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 6.69s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.86s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.22s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp_024_qub/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.58s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp_024_qub/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- PLAYBOOK: fedora-35_post_setup.yml ********************************************* 1 plays in /cache/fedora-35_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/fedora-35_post_setup.yml:5 Friday 22 July 2022 00:30:33 +0000 (0:00:00.019) 0:00:50.568 *********** changed: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/fedora-35_post_setup.yml:8 Friday 22 July 2022 00:30:34 +0000 (0:00:00.475) 0:00:51.043 *********** changed: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:30:34 +0000 (0:00:00.518) 0:00:51.562 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 39.22s /cache/fedora-35_setup.yml:21 ------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 6.69s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.86s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.22s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp_024_qub/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.58s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 shutdown guest ---------------------------------------------------------- 0.52s /cache/fedora-35_post_setup.yml:8 --------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.48s /cache/fedora-35_post_setup.yml:5 --------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp_024_qub/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpslpiqgh6 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmp_024_qub/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:1 Friday 22 July 2022 00:31:19 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:31:20 +0000 (0:00:01.150) 0:00:01.164 *********** included: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:31:20 +0000 (0:00:00.030) 0:00:01.195 *********** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:31:20 +0000 (0:00:00.511) 0:00:01.706 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:31:23 +0000 (0:00:02.427) 0:00:04.134 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:31:23 +0000 (0:00:00.028) 0:00:04.162 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:31:25 +0000 (0:00:01.813) 0:00:05.976 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:31:12 UTC", "ActiveEnterTimestampMonotonic": "3828993", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target polkit.service basic.target dbus.socket dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:31:12 UTC", "AssertTimestampMonotonic": "3569347", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "317170000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-07-22 00:31:12 UTC", "ConditionTimestampMonotonic": "3569344", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ipset.service nftables.service shutdown.target ebtables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Fri 2022-07-22 00:31:12 UTC", "ExecMainStartTimestampMonotonic": "3570545", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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=[Fri 2022-07-22 00:31:12 UTC] ; stop_time=[n/a] ; pid=700 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Fri 2022-07-22 00:31:12 UTC] ; stop_time=[n/a] ; pid=700 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-07-22 00:31:12 UTC", "InactiveExitTimestampMonotonic": "3570635", "InvocationID": "22ca7501e84945b59fb41085971c851c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "700", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "37609472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-07-22 00:31:12 UTC", "StateChangeTimestampMonotonic": "3828993", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:31:25 +0000 (0:00:00.771) 0:00:06.747 *********** ok: [/cache/fedora-35.qcow2.snap] => { "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: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:31:25 +0000 (0:00:00.047) 0:00:06.795 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:31:25 +0000 (0:00:00.031) 0:00:06.827 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:31:26 +0000 (0:00:00.034) 0:00:06.861 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:31:26 +0000 (0:00:00.031) 0:00:06.893 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:31:26 +0000 (0:00:00.031) 0:00:06.925 *********** skipping: [/cache/fedora-35.qcow2.snap] => {} META: role_complete for /cache/fedora-35.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:14 Friday 22 July 2022 00:31:26 +0000 (0:00:00.040) 0:00:06.966 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.221280", "end": "2022-07-22 00:31:26.051745", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:31:25.830465" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:19 Friday 22 July 2022 00:31:26 +0000 (0:00:00.708) 0:00:07.675 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.212470", "end": "2022-07-22 00:31:26.649962", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:26.437492" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:24 Friday 22 July 2022 00:31:27 +0000 (0:00:00.595) 0:00:08.270 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.231244", "end": "2022-07-22 00:31:27.264032", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:27.032788" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:29 Friday 22 July 2022 00:31:28 +0000 (0:00:00.622) 0:00:08.892 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.242649", "end": "2022-07-22 00:31:27.896883", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:27.654234" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:34 Friday 22 July 2022 00:31:28 +0000 (0:00:00.626) 0:00:09.519 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.232381", "end": "2022-07-22 00:31:28.595787", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:28.363406" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:39 Friday 22 July 2022 00:31:29 +0000 (0:00:00.700) 0:00:10.219 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.208368", "end": "2022-07-22 00:31:29.183794", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:28.975426" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:44 Friday 22 July 2022 00:31:29 +0000 (0:00:00.582) 0:00:10.802 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.435753", "end": "2022-07-22 00:31:29.995344", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:31:29.559591" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:52 Friday 22 July 2022 00:31:30 +0000 (0:00:00.813) 0:00:11.615 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.204446", "end": "2022-07-22 00:31:30.582824", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:31:30.378378" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:57 Friday 22 July 2022 00:31:31 +0000 (0:00:00.587) 0:00:12.202 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.322531", "end": "2022-07-22 00:31:31.270381", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:31:30.947850" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:64 Friday 22 July 2022 00:31:32 +0000 (0:00:00.692) 0:00:12.894 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:72 Friday 22 July 2022 00:31:32 +0000 (0:00:00.710) 0:00:13.605 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:80 Friday 22 July 2022 00:31:33 +0000 (0:00:00.931) 0:00:14.537 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:88 Friday 22 July 2022 00:31:34 +0000 (0:00:00.622) 0:00:15.160 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:96 Friday 22 July 2022 00:31:34 +0000 (0:00:00.628) 0:00:15.789 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:104 Friday 22 July 2022 00:31:35 +0000 (0:00:00.586) 0:00:16.375 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:112 Friday 22 July 2022 00:31:36 +0000 (0:00:00.548) 0:00:16.924 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:120 Friday 22 July 2022 00:31:36 +0000 (0:00:00.568) 0:00:17.493 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:128 Friday 22 July 2022 00:31:37 +0000 (0:00:00.541) 0:00:18.035 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:137 Friday 22 July 2022 00:31:37 +0000 (0:00:00.539) 0:00:18.575 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:146 Friday 22 July 2022 00:31:38 +0000 (0:00:00.525) 0:00:19.101 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmp_024_qub/tests/tests_ansible.yml:155 Friday 22 July 2022 00:31:38 +0000 (0:00:00.523) 0:00:19.624 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:164 Friday 22 July 2022 00:31:39 +0000 (0:00:00.535) 0:00:20.160 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:173 Friday 22 July 2022 00:31:39 +0000 (0:00:00.534) 0:00:20.694 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:182 Friday 22 July 2022 00:31:40 +0000 (0:00:00.513) 0:00:21.208 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:191 Friday 22 July 2022 00:31:40 +0000 (0:00:00.574) 0:00:21.782 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:200 Friday 22 July 2022 00:31:41 +0000 (0:00:00.546) 0:00:22.328 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:208 Friday 22 July 2022 00:31:42 +0000 (0:00:00.515) 0:00:22.844 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:216 Friday 22 July 2022 00:31:42 +0000 (0:00:00.517) 0:00:23.362 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:224 Friday 22 July 2022 00:31:43 +0000 (0:00:00.516) 0:00:23.879 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:232 Friday 22 July 2022 00:31:43 +0000 (0:00:00.517) 0:00:24.396 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:240 Friday 22 July 2022 00:31:44 +0000 (0:00:00.503) 0:00:24.900 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:249 Friday 22 July 2022 00:31:44 +0000 (0:00:00.549) 0:00:25.450 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:258 Friday 22 July 2022 00:31:45 +0000 (0:00:00.518) 0:00:25.968 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:267 Friday 22 July 2022 00:31:45 +0000 (0:00:00.515) 0:00:26.484 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:276 Friday 22 July 2022 00:31:46 +0000 (0:00:00.875) 0:00:27.360 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:285 Friday 22 July 2022 00:31:47 +0000 (0:00:00.541) 0:00:27.901 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:294 Friday 22 July 2022 00:31:47 +0000 (0:00:00.659) 0:00:28.561 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmp_024_qub/tests/tests_ansible.yml:303 Friday 22 July 2022 00:31:48 +0000 (0:00:00.584) 0:00:29.145 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmp_024_qub/tests/tests_ansible.yml:315 Friday 22 July 2022 00:31:48 +0000 (0:00:00.596) 0:00:29.741 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:327 Friday 22 July 2022 00:31:49 +0000 (0:00:00.510) 0:00:30.252 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:335 Friday 22 July 2022 00:31:50 +0000 (0:00:00.616) 0:00:30.868 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:340 Friday 22 July 2022 00:31:50 +0000 (0:00:00.034) 0:00:30.903 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:350 Friday 22 July 2022 00:31:50 +0000 (0:00:00.512) 0:00:31.416 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:360 Friday 22 July 2022 00:31:51 +0000 (0:00:00.503) 0:00:31.920 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.219078", "end": "2022-07-22 00:31:50.895197", "rc": 0, "start": "2022-07-22 00:31:50.676119" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:363 Friday 22 July 2022 00:31:51 +0000 (0:00:00.594) 0:00:32.515 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:370 Friday 22 July 2022 00:31:52 +0000 (0:00:00.550) 0:00:33.066 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:377 Friday 22 July 2022 00:31:52 +0000 (0:00:00.515) 0:00:33.581 *********** ok: [/cache/fedora-35.qcow2.snap] => { "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: /tmp/tmp_024_qub/tests/tests_ansible.yml:387 Friday 22 July 2022 00:31:53 +0000 (0:00:00.436) 0:00:34.018 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:395 Friday 22 July 2022 00:31:53 +0000 (0:00:00.685) 0:00:34.704 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:403 Friday 22 July 2022 00:31:54 +0000 (0:00:00.564) 0:00:35.269 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:412 Friday 22 July 2022 00:31:55 +0000 (0:00:00.862) 0:00:36.131 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:421 Friday 22 July 2022 00:31:56 +0000 (0:00:00.736) 0:00:36.868 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:430 Friday 22 July 2022 00:31:56 +0000 (0:00:00.702) 0:00:37.570 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:439 Friday 22 July 2022 00:31:57 +0000 (0:00:00.671) 0:00:38.242 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:448 Friday 22 July 2022 00:31:58 +0000 (0:00:00.643) 0:00:38.886 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:457 Friday 22 July 2022 00:31:58 +0000 (0:00:00.708) 0:00:39.594 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:466 Friday 22 July 2022 00:31:59 +0000 (0:00:00.699) 0:00:40.294 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:475 Friday 22 July 2022 00:32:00 +0000 (0:00:00.710) 0:00:41.004 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:486 Friday 22 July 2022 00:32:00 +0000 (0:00:00.682) 0:00:41.687 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:494 Friday 22 July 2022 00:32:01 +0000 (0:00:00.713) 0:00:42.400 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:502 Friday 22 July 2022 00:32:02 +0000 (0:00:00.599) 0:00:43.000 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:519 Friday 22 July 2022 00:32:02 +0000 (0:00:00.725) 0:00:43.726 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:528 Friday 22 July 2022 00:32:03 +0000 (0:00:00.560) 0:00:44.287 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:535 Friday 22 July 2022 00:32:04 +0000 (0:00:00.665) 0:00:44.952 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:542 Friday 22 July 2022 00:32:04 +0000 (0:00:00.619) 0:00:45.572 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:549 Friday 22 July 2022 00:32:05 +0000 (0:00:00.589) 0:00:46.161 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:560 Friday 22 July 2022 00:32:05 +0000 (0:00:00.528) 0:00:46.689 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:571 Friday 22 July 2022 00:32:06 +0000 (0:00:00.506) 0:00:47.196 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:590 Friday 22 July 2022 00:32:06 +0000 (0:00:00.531) 0:00:47.728 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.219230", "end": "2022-07-22 00:32:06.712483", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:06.493253" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:595 Friday 22 July 2022 00:32:07 +0000 (0:00:00.610) 0:00:48.338 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.219068", "end": "2022-07-22 00:32:07.332188", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:07.113120" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:600 Friday 22 July 2022 00:32:08 +0000 (0:00:00.617) 0:00:48.955 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.225201", "end": "2022-07-22 00:32:07.929085", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:07.703884" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:605 Friday 22 July 2022 00:32:08 +0000 (0:00:00.595) 0:00:49.551 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.213868", "end": "2022-07-22 00:32:08.522933", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:08.309065" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:610 Friday 22 July 2022 00:32:09 +0000 (0:00:00.590) 0:00:50.142 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.210590", "end": "2022-07-22 00:32:09.104115", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:08.893525" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:615 Friday 22 July 2022 00:32:09 +0000 (0:00:00.582) 0:00:50.725 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.219182", "end": "2022-07-22 00:32:09.701694", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:09.482512" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:620 Friday 22 July 2022 00:32:10 +0000 (0:00:00.597) 0:00:51.322 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.228088", "end": "2022-07-22 00:32:10.306196", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:10.078108" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:625 Friday 22 July 2022 00:32:11 +0000 (0:00:00.607) 0:00:51.929 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.213024", "end": "2022-07-22 00:32:10.904598", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:32:10.691574" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp_024_qub/tests/tests_ansible.yml:630 Friday 22 July 2022 00:32:11 +0000 (0:00:00.599) 0:00:52.528 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.385249", "end": "2022-07-22 00:32:11.677388", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:32:11.292139" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:32:12 +0000 (0:00:00.784) 0:00:53.313 *********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 2.43s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.81s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmp_024_qub/tests/tests_ansible.yml:1 ------------------------------------ Permit traffic in default zone for https service, again ----------------- 0.93s /tmp/tmp_024_qub/tests/tests_ansible.yml:72 ----------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.88s /tmp/tmp_024_qub/tests/tests_ansible.yml:267 ---------------------------------- add description to custom service --------------------------------------- 0.86s /tmp/tmp_024_qub/tests/tests_ansible.yml:403 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.81s /tmp/tmp_024_qub/tests/tests_ansible.yml:44 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.78s /tmp/tmp_024_qub/tests/tests_ansible.yml:630 ---------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.77s /tmp/tmp_024_qub/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- add short description to custom service --------------------------------- 0.74s /tmp/tmp_024_qub/tests/tests_ansible.yml:412 ---------------------------------- add custom service with all the elements at once ------------------------ 0.73s /tmp/tmp_024_qub/tests/tests_ansible.yml:502 ---------------------------------- delete custom service --------------------------------------------------- 0.71s /tmp/tmp_024_qub/tests/tests_ansible.yml:486 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.71s /tmp/tmp_024_qub/tests/tests_ansible.yml:64 ----------------------------------- remove ports from custom service without deleting service --------------- 0.71s /tmp/tmp_024_qub/tests/tests_ansible.yml:466 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.71s /tmp/tmp_024_qub/tests/tests_ansible.yml:14 ----------------------------------- add valid protocol to custom service ------------------------------------ 0.71s /tmp/tmp_024_qub/tests/tests_ansible.yml:448 ---------------------------------- add source_ports to custom service -------------------------------------- 0.70s /tmp/tmp_024_qub/tests/tests_ansible.yml:421 ---------------------------------- Reset drop zone to defaults --------------------------------------------- 0.70s /tmp/tmp_024_qub/tests/tests_ansible.yml:34 ----------------------------------- remove valid protocol from customservice -------------------------------- 0.70s /tmp/tmp_024_qub/tests/tests_ansible.yml:457 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.69s /tmp/tmp_024_qub/tests/tests_ansible.yml:57 ----------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpslpiqgh6 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:36:56 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:36:57 +0000 (0:00:01.169) 0:00:01.184 *********** included: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:36:57 +0000 (0:00:00.030) 0:00:01.215 *********** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:36:58 +0000 (0:00:00.509) 0:00:01.724 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:37:01 +0000 (0:00:02.535) 0:00:04.260 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:37:01 +0000 (0:00:00.026) 0:00:04.286 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:37:02 +0000 (0:00:01.797) 0:00:06.083 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:36:53 UTC", "ActiveEnterTimestampMonotonic": "3589212", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus-broker.service sysinit.target dbus.socket system.slice basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:36:53 UTC", "AssertTimestampMonotonic": "3341518", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "304010000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-07-22 00:36:53 UTC", "ConditionTimestampMonotonic": "3341516", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "701", "ExecMainStartTimestamp": "Fri 2022-07-22 00:36:53 UTC", "ExecMainStartTimestampMonotonic": "3342681", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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=[Fri 2022-07-22 00:36:53 UTC] ; stop_time=[n/a] ; pid=701 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Fri 2022-07-22 00:36:53 UTC] ; stop_time=[n/a] ; pid=701 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-07-22 00:36:53 UTC", "InactiveExitTimestampMonotonic": "3342725", "InvocationID": "c239286c0b2f4e1c83ee7dc8c0ebaffd", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "701", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "38903808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-07-22 00:36:53 UTC", "StateChangeTimestampMonotonic": "3589212", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:37:03 +0000 (0:00:00.802) 0:00:06.886 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:37:03 +0000 (0:00:00.047) 0:00:06.934 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:37:03 +0000 (0:00:00.032) 0:00:06.966 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:37:03 +0000 (0:00:00.034) 0:00:07.001 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:37:03 +0000 (0:00:00.032) 0:00:07.033 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:37:03 +0000 (0:00:00.033) 0:00:07.067 *********** skipping: [/cache/fedora-35.qcow2.snap] => {} META: role_complete for /cache/fedora-35.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:37:03 +0000 (0:00:00.047) 0:00:07.114 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.225292", "end": "2022-07-22 00:37:04.102494", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:37:03.877202" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:37:04 +0000 (0:00:00.749) 0:00:07.864 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.225859", "end": "2022-07-22 00:37:04.707647", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:04.481788" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:37:05 +0000 (0:00:00.603) 0:00:08.467 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.212003", "end": "2022-07-22 00:37:05.291938", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:05.079935" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:37:05 +0000 (0:00:00.583) 0:00:09.051 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.218623", "end": "2022-07-22 00:37:05.875399", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:05.656776" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:37:06 +0000 (0:00:00.591) 0:00:09.642 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.222581", "end": "2022-07-22 00:37:06.481562", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:06.258981" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:37:07 +0000 (0:00:00.600) 0:00:10.243 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.209227", "end": "2022-07-22 00:37:07.068513", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:06.859286" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:37:07 +0000 (0:00:00.586) 0:00:10.829 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.425680", "end": "2022-07-22 00:37:07.897818", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:07.472138" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:37:08 +0000 (0:00:00.827) 0:00:11.657 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.210009", "end": "2022-07-22 00:37:08.483217", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:08.273208" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:37:09 +0000 (0:00:00.587) 0:00:12.245 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.329091", "end": "2022-07-22 00:37:09.177592", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:08.848501" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:37:09 +0000 (0:00:00.700) 0:00:12.946 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:37:10 +0000 (0:00:00.634) 0:00:13.580 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:37:10 +0000 (0:00:00.526) 0:00:14.107 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:37:11 +0000 (0:00:00.540) 0:00:14.647 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:37:11 +0000 (0:00:00.539) 0:00:15.187 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:37:12 +0000 (0:00:00.501) 0:00:15.688 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:37:12 +0000 (0:00:00.499) 0:00:16.188 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:37:13 +0000 (0:00:00.513) 0:00:16.702 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:37:13 +0000 (0:00:00.496) 0:00:17.198 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:37:14 +0000 (0:00:00.499) 0:00:17.698 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:37:14 +0000 (0:00:00.511) 0:00:18.210 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:37:15 +0000 (0:00:00.510) 0:00:18.720 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:37:16 +0000 (0:00:00.506) 0:00:19.227 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:37:16 +0000 (0:00:00.508) 0:00:19.736 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:37:17 +0000 (0:00:00.491) 0:00:20.227 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:37:17 +0000 (0:00:00.512) 0:00:20.740 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:37:18 +0000 (0:00:00.520) 0:00:21.260 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:37:18 +0000 (0:00:00.504) 0:00:21.765 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:37:19 +0000 (0:00:00.513) 0:00:22.278 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:37:19 +0000 (0:00:00.530) 0:00:22.808 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:37:20 +0000 (0:00:00.524) 0:00:23.333 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:37:20 +0000 (0:00:00.520) 0:00:23.853 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:37:21 +0000 (0:00:00.518) 0:00:24.372 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:37:21 +0000 (0:00:00.553) 0:00:24.925 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:37:22 +0000 (0:00:00.531) 0:00:25.457 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:37:23 +0000 (0:00:00.840) 0:00:26.297 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:37:23 +0000 (0:00:00.539) 0:00:26.837 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:37:24 +0000 (0:00:00.674) 0:00:27.511 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:37:24 +0000 (0:00:00.559) 0:00:28.070 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__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: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:37:25 +0000 (0:00:00.571) 0:00:28.642 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:37:25 +0000 (0:00:00.526) 0:00:29.168 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:37:26 +0000 (0:00:00.652) 0:00:29.821 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:37:26 +0000 (0:00:00.035) 0:00:29.857 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:37:27 +0000 (0:00:00.515) 0:00:30.372 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:37:27 +0000 (0:00:00.484) 0:00:30.856 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.218155", "end": "2022-07-22 00:37:27.680978", "rc": 0, "start": "2022-07-22 00:37:27.462823" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:37:28 +0000 (0:00:00.582) 0:00:31.439 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:37:28 +0000 (0:00:00.539) 0:00:31.979 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:37:29 +0000 (0:00:00.524) 0:00:32.503 *********** ok: [/cache/fedora-35.qcow2.snap] => { "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: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:37:29 +0000 (0:00:00.435) 0:00:32.938 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:37:30 +0000 (0:00:00.680) 0:00:33.619 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:37:30 +0000 (0:00:00.514) 0:00:34.133 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:37:31 +0000 (0:00:00.632) 0:00:34.766 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:37:32 +0000 (0:00:00.649) 0:00:35.415 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:37:32 +0000 (0:00:00.658) 0:00:36.074 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:37:33 +0000 (0:00:00.511) 0:00:36.586 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:37:33 +0000 (0:00:00.528) 0:00:37.114 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:37:34 +0000 (0:00:00.660) 0:00:37.775 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:37:35 +0000 (0:00:00.664) 0:00:38.439 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:37:35 +0000 (0:00:00.672) 0:00:39.112 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:37:36 +0000 (0:00:00.690) 0:00:39.803 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:37:37 +0000 (0:00:00.679) 0:00:40.482 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:37:37 +0000 (0:00:00.517) 0:00:40.999 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:37:38 +0000 (0:00:00.669) 0:00:41.669 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:37:38 +0000 (0:00:00.540) 0:00:42.209 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:37:39 +0000 (0:00:00.560) 0:00:42.770 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:37:40 +0000 (0:00:00.524) 0:00:43.294 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:37:40 +0000 (0:00:00.552) 0:00:43.846 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:37:41 +0000 (0:00:00.497) 0:00:44.343 *********** ok: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:37:41 +0000 (0:00:00.519) 0:00:44.863 *********** changed: [/cache/fedora-35.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:37:42 +0000 (0:00:00.534) 0:00:45.398 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.216415", "end": "2022-07-22 00:37:42.238363", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:42.021948" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:37:42 +0000 (0:00:00.603) 0:00:46.001 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.208536", "end": "2022-07-22 00:37:42.821405", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:42.612869" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:37:43 +0000 (0:00:00.581) 0:00:46.583 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.216556", "end": "2022-07-22 00:37:43.411959", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:43.195403" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:37:43 +0000 (0:00:00.590) 0:00:47.174 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.212267", "end": "2022-07-22 00:37:43.992636", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:43.780369" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:37:44 +0000 (0:00:00.582) 0:00:47.757 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.206296", "end": "2022-07-22 00:37:44.575897", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:44.369601" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:37:45 +0000 (0:00:00.588) 0:00:48.345 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.228633", "end": "2022-07-22 00:37:45.178775", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:44.950142" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:37:45 +0000 (0:00:00.598) 0:00:48.943 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.213013", "end": "2022-07-22 00:37:45.839937", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:45.626924" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:37:46 +0000 (0:00:00.658) 0:00:49.602 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.207131", "end": "2022-07-22 00:37:46.404770", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:37:46.197639" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:37:46 +0000 (0:00:00.563) 0:00:50.165 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.310340", "end": "2022-07-22 00:37:47.091158", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:37:46.780818" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:37:47 +0000 (0:00:00.696) 0:00:50.862 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.54s /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.80s /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.84s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:265 ------------------------- Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.80s /tmp/tmpslpiqgh6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Remove custom zone ------------------------------------------------------ 0.75s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:14 -------------------------- Reload firewalld -------------------------------------------------------- 0.70s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:57 -------------------------- Reload firewalld -------------------------------------------------------- 0.70s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:624 ------------------------- add destination addresses ----------------------------------------------- 0.69s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:469 ------------------------- add custom service without details -------------------------------------- 0.68s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:381 ------------------------- delete custom service --------------------------------------------------- 0.68s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:480 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.67s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:283 ------------------------- remove ports from custom service without deleting service --------------- 0.67s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:460 ------------------------- add custom service with all the elements at once ------------------------ 0.67s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:496 ------------------------- remove valid protocol from customservice -------------------------------- 0.66s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:451 ------------------------- add valid protocol to custom service ------------------------------------ 0.66s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:442 ------------------------- add source_ports to custom service -------------------------------------- 0.66s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:415 ------------------------- Reset public zone to defaults ------------------------------------------- 0.66s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:614 ------------------------- Firewalld custom zone --------------------------------------------------- 0.65s /tmp/tmpwabtw809/tests/firewall/tests_ansible.yml:321 -------------------------